无角度先验的深度旋转校正
Deep Rotation Correction without Angle Prior
AI总结:
本文提出无角度先验的旋转校正任务,通过神经网络预测光流并采用网格变形与残差光流结合的弹性扭曲策略,在无需角度信息下实现高保真校正,优于需角度先验的现有方法。
摘要:
并非每个人都能具备专业的摄影技巧和充足的拍摄时间,因此拍摄的图像偶尔会出现倾斜。在本文中,我们提出了一项新颖且实用的任务,名为旋转校正,旨在旋转角度未知的条件下,自动校正倾斜并保持高内容保真度。该任务可以轻松集成到图像编辑应用中,使用户无需任何手动操作即可校正旋转图像。为此,我们利用神经网络预测光流,将倾斜图像扭曲为感知水平。然而,从单张图像进行逐像素光流估计极不稳定,尤其是在大角度倾斜图像中。为了增强其鲁棒性,我们提出了一种简单但有效的预测策略,以形成鲁棒的弹性扭曲。具体而言,我们首先回归网格变形,该变形可转换为鲁棒的初始光流。然后,我们估计残差光流,以赋予网络逐像素变形的灵活性,进一步校正倾斜图像的细节。为了建立评估基准并训练学习框架,我们提出了一个全面的旋转校正数据集,其场景和旋转角度具有高度多样性。大量实验表明,即使在缺乏角度先验的情况下,我们的算法也能优于其他需要该先验的最先进解决方案。代码和数据集可在 https://github.com/nie-lang/RotationCorrection 获取。
英文摘要:
Not everybody can be equipped with professional photography skills and sufficient shooting time, and there can be some tilts in the captured images occasionally. In this paper, we propose a new and practical task, named Rotation Correction, to automatically correct the tilt with high content fidelity in the condition that the rotated angle is unknown. This task can be easily integrated into image editing applications, allowing users to correct the rotated images without any manual operations. To this end, we leverage a neural network to predict the optical flows that can warp the tilted images to be perceptually horizontal. Nevertheless, the pixel-wise optical flow estimation from a single image is severely unstable, especially in large-angle tilted images. To enhance its robustness, we propose a simple but effective prediction strategy to form a robust elastic warp. Particularly, we first regress the mesh deformation that can be transformed into robust initial optical flows. Then we estimate residual optical flows to facilitate our network the flexibility of pixel-wise deformation, further correcting the details of the tilted images. To establish an evaluation benchmark and train the learning framework, a comprehensive rotation correction dataset is presented with a large diversity in scenes and rotated angles. Extensive experiments demonstrate that even in the absence of the angle prior, our algorithm can outperform other state-of-the-art solutions requiring this prior. The code and dataset are available at https://github.com/nie-lang/RotationCorrection.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。