Smartphone cameras today are increasingly approaching the versatility and quality of professional cameras through a combination of hardware and software advancements. However, fixed aperture remains a key limitation, preventing users from controlling the depth of field (DoF) of captured images. At the same time, many smartphones now have multiple cameras with different fixed apertures - specifically, an ultra-wide camera with wider field of view and deeper DoF and a higher resolution primary camera with shallower DoF. In this work, we propose $\text{DC}^2$, a system for defocus control for synthetically varying camera aperture, focus distance and arbitrary defocus effects by fusing information from such a dual-camera system. Our key insight is to leverage real-world smartphone camera dataset by using image refocus as a proxy task for learning to control defocus. Quantitative and qualitative evaluations on real-world data demonstrate our system's efficacy where we outperform state-of-the-art on defocus deblurring, bokeh rendering, and image refocus. Finally, we demonstrate creative post-capture defocus control enabled by our method, including tilt-shift and content-based defocus effects.
翻译:智能手机相机现在通过硬件和软件的组合不断接近专业相机的多功能性和质量。然而,固定光圈仍然是一个关键限制,使得用户无法控制所拍摄的图像的景深。同时,许多智能手机现在拥有不同固定光圈的多摄像头 - 具体来说,带有更广阔视野和较深景深的超广角相机和具有较浅景深的高分辨率主相机。在这项工作中,我们提出了$\text{DC}^2$,一种通过融合来自双摄像头系统的信息,实现合成变化的相机光圈、对焦距离和任意虚实效果的虚实控制系统。我们的关键洞察是利用真实世界智能手机相机数据集,将图像重新聚焦作为学习虚实控制的代理任务。在真实数据上的定量和定性评估证明了我们系统的有效性,其中在虚实去模糊、背景虚化渲染和图像重新聚焦方面超过了现有技术的水平。最后,我们演示了通过我们的方法实现的创造性的拍摄后虚实控制,包括倾斜移轴和基于内容的虚实效果。