• Laser & Optoelectronics Progress
  • Vol. 57, Issue 8, 081001 (2020)
Xiaoying Li*, Hengjie Yang, Zheng Yan, Fang Lian, and Meiqin Wu
Author Affiliations
  • College of Information Science and Engineering, Huaqiao University, Xiamen, Fujian 361021, China
  • show less
    DOI: 10.3788/LOP57.081001 Cite this Article Set citation alerts
    Xiaoying Li, Hengjie Yang, Zheng Yan, Fang Lian, Meiqin Wu. Image Background Blurring Algorithm Based on Color Constancy[J]. Laser & Optoelectronics Progress, 2020, 57(8): 081001 Copy Citation Text show less

    Abstract

    This study proposed an image background blurring algorithm based on color constancy. First, color constancy was used to detect the illumination of the image using which the Lambertian surface model was constructed. Next, the maximum mask pixel difference was compared with the maximum local pixel difference, and the image depth map was obtained using the soft matting algorithm. Furthermore, the image was divided by the gray value to obtain the foreground and background portions. Finally, the image background was blurred using the Gaussian filter. Using the proposed method, the foreground and background of the monocular image can be accurately obtained and the blurring effect is obvious.
    Xiaoying Li, Hengjie Yang, Zheng Yan, Fang Lian, Meiqin Wu. Image Background Blurring Algorithm Based on Color Constancy[J]. Laser & Optoelectronics Progress, 2020, 57(8): 081001
    Download Citation