Image blurring method and device, electronic equipment and readable storage medium
By determining the area to be compensated in the image blurring process and adjusting the target color value of the pixel points, the problem of difficult to balance the energy sense of light source and the brightness of color in the prior art is solved, and the effective improvement of the energy sense of light spots and brightness of color after blurring is achieved.
Patent Information
- Application Number
- CN202411783208.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-03-25
AI Technical Summary
When the prior art blurs the image, it is impossible to effectively balance the energy sense of the light source and the bright color, resulting in the blurred light spots not being bright enough.
By determining the area to be compensated based on the image to be blurred, the reference image and the depth map, the target color value is determined based on the initial color value and the preset color value of each pixel point, and the image is blurred in combination with the blur radius.
It effectively compensates for the color information of the highlight and overexposure sources in the image, so that the energy sense of the blurred spot is guaranteed, and at the same time, the color brightness and saturation of the spot are improved, and the energy sense and color brightness of the light source are balanced.