Image enhancement method using local illumination correction
First Claim
1. A method for processing an input image, comprising:
- employing a processor forproviding digital input image pixels indexed to represent positions on a display, each pixel being indicative of an intensity value for each position; and
determining pixel illumination correction for a pixel based on control parameters computed based on content and the local brightness of said input image, and adjusting the intensity value for the pixel based on the illumination correction to generate an enhanced value, wherein determining pixel illumination correction further includes;
estimating the local illumination of the input image by performing a weighted low pass filter (WLPF) operation on the image pixels;
separating the filtered image into illumination and reflectance images;
adjusting the pixel intensity value of the illumination images using a non-linear mapping function as illumination correction, based on the estimated local illumination at each pixel location, wherein adjusting said intensity value using said illumination correction further includes;
separating said input image YIN(x,y) into illumination image L(x,y) and reflectance image R(x,y) as YIN(x,y)=L(x,y)·
R(x,y),correcting the illumination image L(x,y) by calculating where Y′
IN(x,y) is the corrected illumination image, Lmax is the maximum value of the input image, and γ
is the correction value; and
combining the adjusted illumination image with the reflectance image to generate an output image, wherein said illumination image is estimated by using a weighted low pass filter of the size m×
n as;
wherein the weighting function g(X) is determined as;
wherein X is an input intensity difference value, σ
is an predefined variance, and τ
1 and τ
2 are first and second thresholds, respectively.
1 Assignment
0 Petitions
Accused Products
Abstract
An image processing system for implementing a variant of Retinex algorithm based on local illumination correction is provided to improve an intensity value of each position of an input image. The image processing system provides the ability to distinguish details when compressing dynamic range of a given image. Specifically, first the illumination of the image is estimated by performing a weighted low pass filter (WLPF) operation, and the original image is separated into the illumination and the reflectance images. Next, the estimated illumination is modified by using a non-linear mapping function based on local illumination at each pixel location. Then, the modified illumination image is combined with the reflectance image. Finally, an enhanced image is obtained after a contrast correction procedure.
85 Citations
16 Claims
-
1. A method for processing an input image, comprising:
- employing a processor for
providing digital input image pixels indexed to represent positions on a display, each pixel being indicative of an intensity value for each position; and determining pixel illumination correction for a pixel based on control parameters computed based on content and the local brightness of said input image, and adjusting the intensity value for the pixel based on the illumination correction to generate an enhanced value, wherein determining pixel illumination correction further includes; estimating the local illumination of the input image by performing a weighted low pass filter (WLPF) operation on the image pixels; separating the filtered image into illumination and reflectance images; adjusting the pixel intensity value of the illumination images using a non-linear mapping function as illumination correction, based on the estimated local illumination at each pixel location, wherein adjusting said intensity value using said illumination correction further includes; separating said input image YIN(x,y) into illumination image L(x,y) and reflectance image R(x,y) as YIN(x,y)=L(x,y)·
R(x,y),correcting the illumination image L(x,y) by calculating where Y′
IN(x,y) is the corrected illumination image, Lmax is the maximum value of the input image, and γ
is the correction value; andcombining the adjusted illumination image with the reflectance image to generate an output image, wherein said illumination image is estimated by using a weighted low pass filter of the size m×
n as;wherein the weighting function g(X) is determined as; wherein X is an input intensity difference value, σ
is an predefined variance, and τ
1 and τ
2 are first and second thresholds, respectively.- View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 16)
where, YOUT(x,y) represents the contrast corrected output image, σ
z represents a standard deviation of an image Z, and Zmean is a mean value of Z at the location (x,y).
- employing a processor for
-
4. The method of claim 3 wherein said correction value γ
- is determined by calculating γ
=1+(γ
0−
1)·
LPF(γ
1·
γ
2), where γ
0 is a user input greater than 1, LPF(x) indicates low pass filtering, γ
1 and γ
2 are first and second control parameters computed based on the content and the local brightness of said input image, respectively.
- is determined by calculating γ
-
5. The method of claim 4 further including the steps of calculating wherein the first control parameter γ
-
1 as;
γ
1=1−
g(ε
d), where ε
d represents average value of difference values d(x,y) at each pixel location (x,y) between two windows over the entire image, with different window sizes, m×
n, and M×
N, respectively.
-
1 as;
-
6. The method of claim 5 further including the step of calculating the average value ε
-
d as;
wherein |S| represents total size of the input image.
-
d as;
-
7. The method of claim 4 wherein the second control parameter γ
-
2 is computed as;
γ
2=g(B), wherein B(x,y) represents brightness ratio at a pixel location (x,y).
-
2 is computed as;
-
8. The method of claim 7 further including the steps of determining the brightness ratio B(x,y) as:
wherein G is an average brightness of the illumination image L(x,y).
-
16. The method of claim 1, wherein the content comprises high frequency components and low frequency components of the input image.
-
9. An image enhancement system for enhancing a digital input image comprising pixels, the system comprising:
-
means for receiving digital input image pixels indexed to represent positions on a display, each pixel being indicative of an intensity value for each position; and an illumination correction module that performs local illumination correction by determining pixel illumination correction value for a pixel, and correcting the intensity value for the pixel based on control parameters computed based on content and the local brightness of said input image the illumination correction value to generate an enhanced value, the illumination correction module further comprises; an illumination estimator that estimates the local illumination of the input image by performing a weighted low pass filter (WLPF) operation on the image pixels to generate the illumination correction value; a separation module that separates the filtered image into illumination and reflectance images, an adjustment module that corrects said intensity value by adjusting said pixel intensity value of the illumination image using a non-linear mapping function as illumination correction value based on the estimated local illumination at each pixel location; and a combining module that combines the adjusted illumination image with the reflectance image to generate an output image; and a contrast enhancement module that performs contrast enhancement on the output image to generate an enhanced output image, wherein; the separation module separates the input image YIN(x,y) into illumination image L(x,y) and reflectance image R(x,y) as YIN(x,y)=L(x,y)·
R(x,y),the adjustment module adjusts said intensity value using said illumination correction value further by adjusting the illumination image L(x,y) by calculating where Y′
IN(x,y) is the corrected illumination image, Lmax is the maximum value of the input image, and γ
is the correction value, and the separation module estimates the illumination image L(x,y) further by using a weighted low pass filter of the size m×
n as;wherein the weighting function g(X) is determined as; wherein X is an input intensity difference value, σ
is a predefined variance, and τ
1 and τ
2 are first and second thresholds, respectively.- View Dependent Claims (10, 11, 12, 13, 14, 15)
where, YOUT(x,y) represents the contrast corrected output image, σ
Z represents a standard deviation of an image Z, and Zmean is a mean value of Z at the location (x,y).
-
-
11. The system of claim 10 wherein the adjustment module further determines an adjustment value γ
- for adjusting said intensity value, by calculating γ
=1+(γ
0−
1)·
LPF(γ
1·
γ
2), where γ
0 is a user input greater than 1, LPF(x) indicates low pass filtering, γ
1 and γ
2 are first and second control parameters computed based on the content and the local brightness of said input image, respectively.
- for adjusting said intensity value, by calculating γ
-
12. The system of claim 11 wherein the adjustment module calculates the first control parameter γ
-
1 as;
γ
1=1−
g(ε
d), where ε
d represents average value of difference values d(x,y) at each pixel location (x,y) between two windows over the entire image, with different window sizes, m×
n, and M×
N, respectively.
-
1 as;
-
13. The system of claim 12 wherein the adjustment module further calculates the average value ε
-
d as;
wherein |S| represents total size of the input image.
-
d as;
-
14. The system of claim 11 wherein the adjustment module calculates the second control parameter γ
-
2 as;
γ
2=g(B), wherein B(x,y) represents brightness ratio at a pixel location (x,y).
-
2 as;
-
15. The system of claim 14 wherein adjustment determining the brightness ratio B(x,y) as:
wherein G is a average brightness of the illumination image L(x,y).
Specification