Image processing method, device, electronic device and storage medium
A technology of image processing and electronic equipment, applied in the field of image processing, can solve problems such as low image quality, still overexposure, gray scale loss, etc., and achieve the effect of improving image quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] image 3 A method flow diagram of an image processing provided by the embodiment of the present invention, the method comprising:
[0065] S301: Determine the average luminance value of the currently processed image with the brightness difference of the preset target luminance value.
[0066] The method of obtaining the average brightness value of the currently processed image is not limited, in order to improve the efficiency of calculating the average brightness value of the image, the present invention can divide the currently processed image into a plurality of image blocks, depending on each image The luminance value of the block determines the average brightness value of the image, in particular, when dividing the image into a plurality of image blocks, the same image block can be divided into the same size, the same shape is the same, and can of course be divided into multiple sizes. An image block having different shapes. Preferably, the number N of the divided imag...
Embodiment 2
[0086] On the basis of the above embodiment, in order to more accurately determine whether the image is DRC adjustment, the brightness difference and the pre-set brightness threshold are determined whether to perform DRC adjustment for the image includes:
[0087] It is judged whether or not the luminance difference is greater than the brightness threshold;
[0088] If yes, it is determined that the image is DRC adjustment;
[0089] Otherwise, it is determined that the image does not perform DRC adjustment.
[0090] Since the actual brightness of each wide pixel image is different, for example, the wide pixel image is exposed, and some wide pixel image portions are exposed, or some have no exposure problems, such as these wide pixels. When the image is processed by DRC, DRC adjustment may also be required, or DRC adjustment may also be required. In order to accurately determine if DRC adjustment is required, the brightness threshold is presented in advance in the embodiment of the...
Embodiment 3
[0093] Based on the above embodiments, in order to accurately determine the mapping coefficient of each preset luminance value, the average luminance value according to the image, the target luminance value, and the brightness threshold, each preset is determined. The mapping coefficient of the brightness value includes:
[0094] Determine the sum of the target luminance value and the brightness threshold;
[0095] The average luminance value is determined to the mapping coefficient of each preset luminance value.
[0096] In order to further improve the quality of the image, it is necessary to accurately determine the mapping coefficient of each preset luminance value, which can also be considered to be a preset luminance value corresponding to the adjustment coefficient. In the embodiment of the present invention, the adjustment coefficient corresponding to the preset luminance value can be calculated according to the following formula:
[0097]
[0098] Where, Coff represents ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


