Content-Aware Rotation

Kaiming He *Huiwen Chang Jian Sun
Microsoft Research Asia Tsinghua University Microsoft Research Asia


* This work was done when Huiwen was an intern in MSRA, as an undergraduate student.


We present an image editing tool called Content-Aware Rotation. Casually shot photos can appear tilted, and are often corrected by rotation and cropping. This trivial solution may remove desired content and hurt image integrity. Instead of doing rigid rotation, we propose a warping method that creates the perception of rotation and avoids cropping. Human vision studies suggest that the perception of rotation is mainly due to horizontal/vertical lines. We design an optimization-based method that preserves the rotation of horizontal/vertical lines, maintains the completeness of the image content, and reduces the warping distortion. An efficient algorithm is developed to address the challenging optimization. We demonstrate our content-aware rotation method on a variety of practical cases.



More Resources:

See also:


Content-Aware Rotation is a feature highly desired by users.