IP Library Granted Patent US 11,120,532
Granted Patent B2
US 11,120,532 · App. 16/789,517 · Granted Sep 14, 2021

Methods for enhancing image contrast and related image processing systems thereof

Inventors: Fuwen Li (Beijing, CN); Yichen Li (Beijing, CN)
Assignee: SHANGHAI ZHAOXIN SEMICONDUCTOR CO., LTD.
G06T5/009G06T5/40G06T2207/20008G06T2207/20072
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,120,532
App. No.
16/789,517
Granted
Sep 14, 2021
Kind
B2
Abstract

An image processing method and corresponding system operate by obtaining a first image and generating a first histogram information based on the first image. The method then obtains a cumulative-distribution-function (CDF) curve according to the first histogram information and generates an adaptive curve according to a high-contrast curve and a low-contrast curve. Finally, the method uses the adaptive curve to adjust the CDF curve to generate a mapping curve, and adjusts the first image by using the mapping curve to generate a second image with contrast enhancement effect.

Claims (53)

1. A method for enhancing image contrast applied to an image processing system, comprising:

obtaining a first image;

generating a first histogram information based on the first image;

obtaining a cumulative-distribution-function (CDF) curve according to the first histogram information;

generating an adaptive curve according to a high-contrast curve and a low-contrast curve;

using the adaptive curve to adjust the CDF curve to generate a mapping curve; and

adjusting the first image by using the mapping curve to generate a second image with contrast enhancement effect.

2. The method for enhancing image contrast of claim 1 , wherein the high-contrast curve is used to enhance the contrast of the first image, and the low-contrast curve is used to enhance details in the dark area of the first image.

3. The method for enhancing image contrast of claim 1 , wherein the adaptive curve is determined by performing a weighted calculation based on the high-contrast curve with a third weight and the low-contrast curve with a fourth weight, wherein the adaptive curve falls between the high-contrast curve and the low-contrast curve.

4. The method for enhancing image contrast of claim 1 , wherein a negative correlation exists between a third weight corresponding to the high-contrast curve and a median bin value of luminance in the first histogram information, and a positive correlation exists between a fourth weight corresponding to the low-contrast curve and the median bin value of luminance.

5. The method for enhancing image contrast of claim 1 , wherein the mapping curve is obtained according to the following equation:

map LUT [ i ]= yLUT [ j ]+(cdf[ i ]− xLUT [ j ])*( yLUT [ j +1]− yLUT [ j ])/( xLUT [ j +1]− xLUT [ j ]),

where i and j are non-negative numbers, mapLUT[i] is the value of the mapping point corresponding to the i-th interpolation point cdf[i] of the CDF curve,

xLUT[j] and yLUT[j] are the (x, y) coordinates of the jth item of the adaptive curve, respectively, and

xLUT[j+1] and yLUT[j+1] are the (x, y) coordinates of the (j+1)-th item of the adaptive curve yLUT, respectively.

6. The method for enhancing image contrast of claim 1 , further comprising:

normalizing the CDF curve to generate a normalized CDF curve; and

adjusting the normalized CDF curve based on the adaptive curve to generate the mapping curve.

7. The method for enhancing image contrast of claim 6 , wherein the mapping curve is obtained according to the following equation:

map LUT [ i ]= yLUT [ j ]+(cdfNorm[ i ]− xLUT [ j ])*( yLUT [ j +1]− yLUT [ j ])/( xLUT [ j +1]− xLUT [ j ]),

where i and j are positive integers, mapLUT[i] is the value of the mapping point corresponding to the i-th interpolation point cdfNorm[i] of the normalized CDF curve,

xLUT[j] and yLUT[j] are the (x, y) coordinates of the jth item of the adaptive curve, respectively, and

xLUT[j+1] and yLUT[j+1] are the (x, y) coordinates of the (j+1)-th item of the adaptive curve yLUT, respectively.

8. The method for enhancing image contrast of claim 1 , further comprising:

obtaining a first parameter and a second parameter of the first image based on the first histogram information; and

obtaining the CDF curve based on the first parameter and the second parameter;

wherein the first parameter is related to the size/number of homogeneous regions of the first image, the second parameter is related to the average luminance of the first image.

9. The method for enhancing image contrast of claim 8 , wherein the first parameter is the number of bins whose number of pixels exceeds the average number of pixels in the N bins of the first image and a negative correlation exists between the first parameter and the size/number of homogeneous regions of the first image, the second parameter is related to an average luminance of the first image and a negative correlation exists between the second parameter and the average luminance of the first image.

10. The method for enhancing image contrast of claim 8 , further comprising:

performing a weighted calculation based on the first parameter and the second parameter to determine a restriction parameter;

performing a contrast limited histogram equalization processing on the first histogram information by using the restriction parameter to generate a second histogram information; and

obtaining the CDF curve based on the second histogram information.

11. An image processing system comprising:

an image input device;

a storage device; and

an image processor coupled to the image input device and the storage device, wherein the image processor obtains a first image from the image input device or the storage device, generates a first histogram information based on the first image, obtains a cumulative-distribution-function (CDF) curve according to the first histogram information, generates an adaptive curve according to a high-contrast curve and a low-contrast curve, uses the adaptive curve to adjust the CDF curve to generate a mapping curve, and adjusts the first image by using the mapping curve to generate a second image with contrast enhancement effect.

12. The image processing system of claim 11 , wherein the high-contrast curve is used to enhance the contrast of the first image, and the low-contrast curve is used to enhance details in the dark area of the first image.

13. The image processing system of claim 11 , wherein the adaptive curve is determined by performing a weighted calculation based on the high-contrast curve with a third weight and the low-contrast curve with a fourth weight, wherein the adaptive curve falls between the high-contrast curve and the low-contrast curve.

14. The image data processing system of claim 11 , wherein a negative correlation exists between a third weight corresponding to the high-contrast curve and a median bin value of luminance in the first histogram information, and a positive correlation exists between a fourth weight corresponding to the low-contrast curve and the median bin value of luminance.

15. The image processing system of claim 11 , wherein the mapping curve is obtained according to the following equation:

map LUT [ i ]= yLUT [ j ]+(cdf[ i ]− xLUT [ j ])*( yLUT [ j +1]− yLUT [ j ])/( xLUT [ j +1]− xLUT [ j ]),

where i and j are non-negative numbers, mapLUT[i] is the value of the mapping point corresponding to the i-th interpolation point cdf[i] of the CDF curve,

xLUT[j] and yLUT[j] are the (x, y) coordinates of the jth item of the adaptive curve, respectively, and

xLUT[j+1] and yLUT[j+1] are the (x, y) coordinates of the (j+1)-th item of the adaptive curve yLUT, respectively.

16. The image processing system of claim 11 , wherein the image processor further normalizes the CDF curve to generate a normalized CDF curve, and adjusts the normalized CDF curve based on the adaptive curve to generate the mapping curve.

17. The image processing system of claim 16 , wherein the mapping curve is obtained according to the following equation:

map LUT [ i ]= yLUT [ j ]+(cdfNorm[ i ]− xLUT [ j ])*( yLUT [ j +1]− yLUT [ j ])/( xLUT [ j +1]− xLUT [ j ]),

where i and j are positive integers, mapLUT[i] is the value of the mapping point corresponding to the i-th interpolation point cdfNorm[i] of the normalized CDF curve,

xLUT[j] and yLUT[j] are the (x, y) coordinates of the jth item of the adaptive curve, respectively, and

xLUT[j+1] and yLUT[j+1] are the (x, y) coordinates of the (j+1)-th item of the adaptive curve yLUT, respectively.

18. The image processing system of claim 11 , wherein the image processor further obtains a first parameter and a second parameter of the first image based on the first histogram information, and obtains the CDF curve based on the first parameter and the second parameter, wherein the first parameter is related to the size/number of homogeneous regions of the first image, the second parameter is related to the average luminance of the first image.

19. The image processing system of claim 18 , wherein the first parameter is the number of bins whose number of pixels exceeds the average number of pixels in the N bins of the first image and a negative correlation exists between the first parameter and the size/number of homogeneous regions of the first image, the second parameter is related to an average luminance of the first image and a negative correlation exists between the second parameter and the average luminance of the first image.

20. The image processing system of claim 18 , wherein the image processor further performs a weighted calculation based on the first parameter and the second parameter to determine a restriction parameter, performs a contrast limited histogram equalization processing on the first histogram information by using the restriction parameter to generate a second histogram information, and obtains the CDF curve based on the second histogram information.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 18, 2021
From: SHANGHAI ZHAOXIN SEMICONDUCTOR CO., LTD.
To: GLENFLY TECH CO., LTD.
Reel/Frame 058965/0042 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 13, 2020
From: LI, FUWEN; LI, YICHEN
To: SHANGHAI ZHAOXIN SEMICONDUCTOR CO., LTD.
Reel/Frame 051807/0493 →
Priority Claims (1)
CN 201710659808.4 · Aug 4, 2017 · national
Continuity (2)
Division 15810728 · Nov 13, 2017
Related Publication 20200184613A1 · Jun 11, 2020
Cited By (1)
US 12,511,725