An image processing method includes: determining a brightness value of an image; and enhancing a brightness of the image when the brightness value of the image is less than an image brightness threshold. Enhancing the brightness of the image includes: determining each pixel of the image as a target pixel; determining a brightness enhancement value of the target pixel based on the brightness value of the image, an initial brightness value of the target pixel, and initial brightness values of neighboring pixels of the target pixel; and using the brightness enhancement value as an enhanced brightness value of the target pixel.
Legal claims defining the scope of protection, as filed with the USPTO.
5. The method according to claim 4, wherein the sampling interval comprises a first interval component in a row direction and a second interval component in a column direction of the pixels of the image, the first interval component being a value obtained by dividing a quantity of pixels in the row direction by the sampling rate, and the second interval component being a value obtained by dividing a quantity of pixels in the column direction by the sampling rate.
7. The method according to claim 1, wherein the neighboring pixels of the target pixel comprise other pixels in a region with the target pixel as a central point.
12. The apparatus according to claim 11, wherein the processor is further configured to: sample pixels of the image at a sampling interval to obtain brightness components in YUV color space data of the sampled pixels; add the brightness components of the sampled pixels to obtain a sum of brightness of the sampled pixels; perform sampling rate smoothing on the sum of the brightness of the sampled pixels to obtain a smoothed brightness value; and determine the smoothed brightness value as the brightness value of the image.
13. The apparatus according to claim 12, wherein the sampling interval comprises a first interval component in a row direction and a second interval component in a column direction of the pixels of the image, the first interval component being a value obtained by dividing a quantity of pixels in the row direction by the sampling rate, and the second interval component being a value obtained by dividing a quantity of pixels in the column direction by the sampling rate.
14. The apparatus according to claim 12, wherein the processor is further configured to: divide the sum of the brightness of the sampled pixels by a square of the sampling rate to obtain the smoothed brightness value.
15. The apparatus according to claim 10, wherein the neighboring pixels of the target pixel comprise other pixels in a region with the target pixel as a central point.
16. The apparatus according to claim 10, wherein the processor is further configured to: determine a weighted sum of the initial brightness value of the target pixel and the initial brightness values of the neighboring pixels; and determine the weighted sum as the filtered brightness value of the target pixel.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
January 10, 2022
May 14, 2024
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.