Removing image artifacts due to dirty camera lenses and thin occluders

Dirt on camera lenses, and occlusions from thin objects such as fences, are two important types of artifacts in digital imaging systems. These artifacts are not only an annoyance for photographers, but also a hindrance to computer vision and digital forensics. In this paper, we show that both effects can be described by a single image formation model, wherein an intermediate layer (of dust, dirt or thin occluders) both attenuates the incoming light and scatters stray light towards the camera. Because of camera defocus, these artifacts are low-frequency and either additive or multiplicative, which gives us the power to recover the original scene radiance pointwise. We develop a number of physics-based methods to remove these effects from digital photographs and videos. For dirty camera lenses, we propose two methods to estimate the attenuation and the scattering of the lens dirt and remove the artifacts -- either by taking several pictures of a structured calibration pattern beforehand, or by leveraging natural image statistics for post-processing existing images. For artifacts from thin occluders, we propose a simple yet effective iterative method that recovers the original scene from multiple apertures. The method requires two images if the depths of the scene and the occluder layer are known, or three images if the depths are unknown. The effectiveness of our proposed methods are demonstrated by both simulated and real experimental results.

[1]  Guillermo Sapiro,et al.  Image inpainting , 2000, SIGGRAPH.

[2]  Akira Ishimaru,et al.  Wave propagation and scattering in random media , 1997 .

[3]  Stephen Lin,et al.  Removal of Image Artifacts Due to Sensor Dust , 2007, 2007 IEEE Conference on Computer Vision and Pattern Recognition.

[4]  Ibrahim Zeid,et al.  Fixed‐point iteration to nonlinear finite element analysis. Part I: Mathematical theory and background , 1985 .

[5]  Raanan Fattal,et al.  Single image dehazing , 2008, ACM Trans. Graph..

[6]  Jianhong Shen,et al.  Deblurring images: Matrices, spectra, and filtering , 2007, Math. Comput..

[7]  Yousef Saad,et al.  Iterative methods for sparse linear systems , 2003 .

[8]  S. Nayar,et al.  What are good apertures for defocus deblurring? , 2009, 2009 IEEE International Conference on Computational Photography (ICCP).

[9]  Yoav Y Schechner,et al.  Polarization-based vision through haze. , 2008, Applied optics.

[10]  Antonio Torralba,et al.  Ieee Transactions on Pattern Analysis and Machine Intelligence 1 80 Million Tiny Images: a Large Dataset for Non-parametric Object and Scene Recognition , 2022 .

[11]  Frédo Durand,et al.  Defocus video matting , 2005, ACM Trans. Graph..

[12]  Shree K. Nayar,et al.  Dirty Glass: Rendering Contamination on Transparent Surfaces , 2007, Rendering Techniques.

[13]  Harry Shum,et al.  Image completion with structure propagation , 2005, ACM Trans. Graph..

[14]  Nikos Komodakis,et al.  Image Completion Using Global Optimization , 2006, 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'06).

[15]  Y.Y. Schechner,et al.  Recovery of underwater visibility and structure by polarization analysis , 2005, IEEE Journal of Oceanic Engineering.

[16]  Andrew E. Johnson,et al.  AN OPTICAL MODEL FOR IMAGE ARTIFACTS PRODUCED BY DUST PARTICLES ON LENSES , 2005 .

[17]  Marc Levoy,et al.  Veiling glare in high dynamic range imaging , 2007, ACM Trans. Graph..

[18]  J. Joseph,et al.  The delta-Eddington approximation for radiative flux transfer , 1976 .

[19]  P. Belhumeur,et al.  Removing image artifacts due to dirty camera lenses and thin occluders , 2009, SIGGRAPH 2009.

[20]  Yanxi Liu,et al.  Image de-fencing , 2008, 2008 IEEE Conference on Computer Vision and Pattern Recognition.

[21]  S. Jacques,et al.  Angular dependence of HeNe laser light scattering by human dermis , 1988 .

[22]  Alexei A. Efros,et al.  Image quilting for texture synthesis and transfer , 2001, SIGGRAPH.

[23]  Stefano Soatto,et al.  Seeing beyond occlusions (and other marvels of a finite lens aperture) , 2003, 2003 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2003. Proceedings..

[24]  T. Treibitz,et al.  Recovery limits in pointwise degradation , 2009, 2009 IEEE International Conference on Computational Photography (ICCP).

[25]  Kaleem Siddiqi,et al.  Automated Removal of Partial Occlusion Blur , 2007, ACCV.

[26]  Shree K. Nayar,et al.  Contrast Restoration of Weather Degraded Images , 2003, IEEE Trans. Pattern Anal. Mach. Intell..

[27]  Kiriakos N. Kutulakos,et al.  A Layer-Based Restoration Framework for Variable-Aperture Photography , 2007, 2007 IEEE 11th International Conference on Computer Vision.

[28]  G. J. Burton,et al.  Color and spatial structure in natural scenes. , 1987, Applied optics.

[29]  Assaf Zomet,et al.  Learning how to inpaint from global image statistics , 2003, Proceedings Ninth IEEE International Conference on Computer Vision.

[30]  Shree K. Nayar,et al.  Priors for Large Photo Collections and What They Reveal about Cameras , 2008, ECCV.

[31]  OsherStanley,et al.  Nonlinear total variation based noise removal algorithms , 1992 .

[32]  Ramesh Raskar,et al.  Glare aware photography: 4D ray sampling for reducing glare effects of camera lenses , 2008, ACM Trans. Graph..

[33]  Dianne P. O'Leary,et al.  Deblurring Images: Matrices, Spectra and Filtering , 2006, J. Electronic Imaging.

[34]  Marc Levoy,et al.  Reconstructing Occluded Surfaces Using Synthetic Apertures: Stereo, Focus and Robust Measures , 2006, 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'06).

[35]  L. Rudin,et al.  Nonlinear total variation based noise removal algorithms , 1992 .

[36]  Frédo Durand,et al.  Image and depth from a conventional camera with a coded aperture , 2007, ACM Trans. Graph..

[37]  Y. Schechner,et al.  Geometry by deflaring , 2009, 2009 IEEE International Conference on Computational Photography (ICCP).

[38]  Shree K. Nayar,et al.  Minimal operator set for passive depth from defocus , 1996, Proceedings CVPR IEEE Computer Society Conference on Computer Vision and Pattern Recognition.

[39]  Ramesh Raskar,et al.  Fast separation of direct and global components of a scene using high frequency illumination , 2006, SIGGRAPH 2006.

[40]  John Hart,et al.  ACM Transactions on Graphics , 2004, SIGGRAPH 2004.

[41]  Shree K. Nayar,et al.  Instant dehazing of images using polarization , 2001, Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. CVPR 2001.