arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.01322cs.CV
收藏

Harmonizer:学习执行白盒图像和视频协调

Harmonizer: Learning to Perform White-Box Image and Video Harmonization

City University of Hong Kong(香港城市大学);Australian National University(澳大利亚国立大学)

Zhanghan Ke, Chunyi Sun, Lei Zhu, Ke Xu, Rynson W. H. Lau

摘要:

最近的图像协调工作解决了这个问题,作为一个像素的图像翻译任务,通过大型自动编码器。在处理高分辨率图像时,它们的性能不令人满意,推理速度慢。在这项工作中,我们观察到,调整基本图像滤波器的输入参数,例如,亮度和对比度足以让人类从合成图像中产生逼真的图像。因此,我们将图像协调视为图像级回归问题,以学习人类用于任务的过滤器的参数。我们提出了一个图像协调框架。与基于黑盒自动编码器的现有方法不同,Harmonizer包含用于滤波器参数预测的神经网络和用于图像协调的几个白盒滤波器(基于预测的参数)。我们还引入了一个级联回归器和一个动态的损失策略的协调器学习滤波器参数更稳定,更准确。由于我们的网络只输出图像级别的参数,并且我们使用的滤波器是有效的,因此Harmonizer比现有方法更轻,更快。综合实验表明,Harmonizer明显优于现有的方法,特别是在高分辨率的输入。最后,我们将Harmonizer应用于视频协调,它在1080P分辨率下实现了跨帧和56 fps的一致结果。代码和模型可在https://github.com/ZHKKKe/Harmonizer上获得。

英文摘要:

Recent works on image harmonization solve the problem as a pixel-wise image translation task via large autoencoders. They have unsatisfactory performances and slow inference speeds when dealing with high-resolution images. In this work, we observe that adjusting the input arguments of basic image filters, e.g., brightness and contrast, is sufficient for humans to produce realistic images from the composite ones. Hence, we frame image harmonization as an image-level regression problem to learn the arguments of the filters that humans use for the task. We present a Harmonizer framework for image harmonization. Unlike prior methods that are based on black-box autoencoders, Harmonizer contains a neural network for filter argument prediction and several white-box filters (based on the predicted arguments) for image harmonization. We also introduce a cascade regressor and a dynamic loss strategy for Harmonizer to learn filter arguments more stably and precisely. Since our network only outputs image-level arguments and the filters we used are efficient, Harmonizer is much lighter and faster than existing methods. Comprehensive experiments demonstrate that Harmonizer surpasses existing methods notably, especially with high-resolution inputs. Finally, we apply Harmonizer to video harmonization, which achieves consistent results across frames and 56 fps at 1080P resolution. Code and models are available at: https://github.com/ZHKKKe/Harmonizer.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑