US 12,094,088 B2
Image enhancement method and apparatus, and computer-readable storage medium
Zhihuai Xie, Guangdong (CN); Shan Liu, San Jose, CA (US); and Songnan Li, Guangdong (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Guangdong (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Guangdong (CN)
Filed on Oct. 28, 2021, as Appl. No. 17/452,679.
Application 17/452,679 is a continuation of application No. PCT/CN2020/119916, filed on Oct. 9, 2020.
Claims priority of application No. 201911319915.8 (CN), filed on Dec. 19, 2019.
Prior Publication US 2022/0051370 A1, Feb. 17, 2022
Int. Cl. G06T 5/70 (2024.01); G06T 5/20 (2006.01); G06T 5/50 (2006.01)
CPC G06T 5/70 (2024.01) [G06T 5/20 (2013.01); G06T 5/50 (2013.01); G06T 2207/20024 (2013.01); G06T 2207/20216 (2013.01); G06T 2207/20224 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An image enhancement method, comprising:
obtaining an image;
extracting high-frequency components of the image;
calculating an average pixel value of pixels corresponding to the extracted high-frequency components;
performing enhancement on pixels in the image that have pixel values greater than or equal to the calculated average pixel value to obtain an enhanced image;
obtaining a correction coefficient;
calculating a correction threshold according to the obtained correction coefficient and the average pixel value; and
correcting a pixel value of an enhanced pixel that is in the enhanced image and that corresponds to a first pixel when the pixel value of the first pixel is greater than the calculated correction threshold, the first pixel being a pixel in the pixels corresponding to the high-frequency components.
 
11. An image enhancement apparatus, comprising:
processing circuitry configured to
obtain an image;
extract high-frequency components of the image;
calculate an average pixel value of pixels corresponding to the extracted high-frequency components;
perform enhancement on pixels in the image that are determined to be enhanced to obtain an enhanced image;
obtain a correction coefficient;
calculate a correction threshold according to the obtained correction coefficient and the average pixel value; and
correct a pixel value of an enhanced pixel that is in the enhanced image and that corresponds to a first pixel when the pixel value of the first pixel is greater than the calculated correction threshold, the first pixel being a pixel in the pixels corresponding to the high-frequency components.
 
13. A non-transitory computer-readable storage medium, storing one or more first instructions, the one or more first instructions that when executed by processing circuitry cause the processing circuitry to perform:
obtaining an image;
extracting high-frequency components of the image;
calculating an average pixel value of pixels corresponding to the extracted high-frequency components;
performing enhancement on pixels in the image that have pixel values greater than or equal to the calculated average pixel value to obtain an enhanced image;
obtaining a correction coefficient;
calculating a correction threshold according to the obtained correction coefficient and the average pixel value; and
correcting a pixel value of an enhanced pixel that is in the enhanced image and that corresponds to a first pixel when the pixel value of the first pixel is greater than the calculated correction threshold, the first pixel being a pixel in the pixels corresponding to the high-frequency components.