Single image defocus map estimation through patch blurriness classification and its applications

被引:4
作者
Galetto, Fernando [1 ]
Deng, Guang [1 ]
机构
[1] La Trobe Univ, Dept Engn, Bundoora, Vic 3086, Australia
关键词
Defocus blur estimation; CNN; Adaptive image enhancement; Shallow depth of field; QUALITY ASSESSMENT; BLUR; DEPTH; SEGMENTATION;
D O I
10.1007/s00371-022-02609-9
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Depth information is useful in many image processing applications. However, since taking a picture is a process of projection of a 3D scene onto a 2D imaging sensor, the depth information is embedded in the image. Extracting the depth information from the image is a challenging task. A guiding principle is that the level of blurriness due to defocus is related to the distance between the object and the focal plane. Based on this principle and the widely used assumption that Gaussian blur is a good model for defocus blur, we formulate the problem of estimating the spatially varying defocus blurriness as a Gaussian blur classification problem. We solve the problem by training a deep neural network to classify image patches into one of the 20 levels of blurriness. We have created a dataset of more than 500,000 image patches of size 32 x 32 which does not require human labelling. The dataset is used to train and test several well-known network models. We find that MobileNetV2 is suitable for this application due to its low memory requirement and high accuracy. The trained model is used to determine the patch blurriness which is then refined by applying an iterative weighted guided filter. The result is a defocus map that carries the information of the degree of blurriness for each pixel. We compare the proposed method with state-of-the-art techniques and we demonstrate its successful applications in adaptive image enhancement and defocus magnification limited to images that present a clear distinction between defocus levels.
引用
收藏
页码:4555 / 4571
页数:17
相关论文
共 81 条
[1]   SLIC Superpixels Compared to State-of-the-Art Superpixel Methods [J].
Achanta, Radhakrishna ;
Shaji, Appu ;
Smith, Kevin ;
Lucchi, Aurelien ;
Fua, Pascal ;
Suesstrunk, Sabine .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2012, 34 (11) :2274-2281
[2]   NTIRE 2017 Challenge on Single Image Super-Resolution: Dataset and Study [J].
Agustsson, Eirikur ;
Timofte, Radu .
2017 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION WORKSHOPS (CVPRW), 2017, :1122-1131
[3]  
Al-Obaidi FE., 2015, AM J SIGN PROCESS, V5, P51, DOI DOI 10.5923/J.AJSP.20150503.01
[4]   Diving deeper into underwater image enhancement: A survey [J].
Anwar, Saeed ;
Li, Chongyi .
SIGNAL PROCESSING-IMAGE COMMUNICATION, 2020, 89
[5]   Defocus magnification [J].
Bac, Soorimin ;
Durand, Fredo .
COMPUTER GRAPHICS FORUM, 2007, 26 (03) :571-579
[6]   Fast depth from defocus from focal stacks [J].
Bailey, Stephen W. ;
Echevarria, Jose I. ;
Bodenheimer, Bobby ;
Gutierrez, Diego .
VISUAL COMPUTER, 2015, 31 (12) :1697-1708
[7]   TextureToMTF: predicting spatial frequency response in the wild [J].
Bohra, Murtuza ;
Maheshwari, Sajal ;
Gandhi, Vineet .
SIGNAL IMAGE AND VIDEO PROCESSING, 2020, 14 (06) :1163-1170
[8]   Analyzing Spatially-varying Blur [J].
Chakrabarti, Ayan ;
Zickler, Todd ;
Freeman, William T. .
2010 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2010, :2512-2519
[9]  
Chan SH, 2011, IEEE IMAGE PROC, P677, DOI 10.1109/ICIP.2011.6116643
[10]  
Chen DJ, 2016, IEEE IMAGE PROC, P3962, DOI 10.1109/ICIP.2016.7533103