Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
COLOR IMAGE CHARACTERIZATION, ENHANCEMENT AND BALANCING PROCESS
Document Type and Number:
WIPO Patent Application WO/2005/070000
Kind Code:
A3
Abstract:
A method of characterizing and enhancing the pixels in an image, which is captured at all lighting conditions. The method enable dynamically enhancement of images captured at extremely low lighting conditions. Each pixel of the image, represented by I SUB (x, y) where x is the horizontal axis coordinate value and y is the vertical axis coordinate value, contains three color-components. Each pixel is characterized by defining a relationship between the three color-components of that pixel in its initial state. A nonlinear expansion function, which adaptively adjusts the expansion rate with respect to the statistical property of the original image, is used for enhancing the brightness of the image so that the poorly lighted pixels are enhanced in intensity more as compared to the amount of enhancement for the brighter pixels. The color property of each pixel in the enhanced image is then restored using the characteristic features previously defined by the relationship of the color components. This procedure provides an enhanced image, which is natural in its appearance and has sharp visibility to human observation. In addition, this new technique is fast enough to provide a real time enhancement of images from a video stream.

Inventors:
ASARI VIJAYAN K (US)
SEOW MING-JUNG (US)
Application Number:
PCT/US2005/002231
Publication Date:
July 12, 2007
Filing Date:
January 22, 2005
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
OLD DOMINION UNIVERSITY RES FO (US)
International Classes:
G06K9/00; G03F3/08; G06K9/40; G06T5/00; H04N1/60
Foreign References:
US20040114795A12004-06-17
US6507667B12003-01-14
US5991456A1999-11-23
US6580835B12003-06-17
Other References:
WILLIAMS B. ET AL.: "Image Enhancement Using The Modified Cosine Function and Semi-Histogram Equalization For Gray-Scale and Color Images", IEEE, 2001, pages 518 - 523, XP010567623
Attorney, Agent or Firm:
CHASTEEN, Kimberly, A. (Suite 200 Newport News, VA, US)
Download PDF:
Claims:

What is claimed is: 1. A method for improving a digital image, comprising : providing a digital image consisting of a plurality of pixels; characterizing the relationship between the red, green and blue components of at least one pixel; enhancing the image by increasing the intensity of at least one darker pixel of the image; and balancing the enhanced image based on the characterization of the relationship between the red, green and blue components of the at least one pixel.
2. The method as set forth in claim 1 wherein the relationship between the red, green and blue components of the at least one pixel is calculated using the equation: where wij is a relationship between a its color component with respect to ap color component.
3. The method as set forth in claim 2 wherein the relationship between the red, green and blue components of the at least one pixel is w = f (x, y).

4. The method as set forth in claim 3 wherein the relationship between the red, green and blue components of the at least one pixel is calculated by:

5. The method as set forth in claim 1 wherein the digital image is enhanced in accordance with I (x,y)(1)=T[Ix,y(0)] where Ix,y(0) is the red, green or blue component of the xth row yth column at a Oth iteration, T is a transfer function of the red, green or blue component and I(x,y)(1) is the red, green or blue component of the xth row myth column after a first iteration.

6. The method as set forth in claim 5 wherein the digital image is enhanced in accordance with 1 3 k2 - (.,.) j xY l l i-1 1 + exp-21c3 1 0 I _ slopex, y where k1, k2, k3, k4 are constants and (I_gaiya. xF yP I slope'. = (255-k,'.) (x-, V + k,' (...) where ksi is a shifting constant of an ith composite function of the red, green and blue components of the digital image, is a power constant of a ith composite function of the red, green and blue components of the digital image, FI(x,y)i is a low pass filtered image of the red, green and blue component of the xtl'row and yth column of an ith composite function, I_gain(x,y)i is a gain factor of the red, green and blue component of the xth row and yth column at the ith composite function.
7. The method as set forth in claim 6 wherein I _ gczifa Ic. r,, >, (xçy) (

8. The method as set forth in claim 1 wherein the digital image is enhanced in accordance with R(x,y)(1)=TR[R(x,y)(0)] G(x,y)(1)=TG[G(x,y)(0)] B (x,y)(1)=TB[B(x,y)(0)] where R(x,y)(0) is the red component of the x til row yth column at a 0th iteration, G(x,y)(0) is the green component of the xth row yth column at the 0th iteration, B(x,y)(0) is the blue component of the xth row yth column at the Oth iteration, TR [.] is a transfer function of the red component, TG [] is a transfer function of the green component, TB [.] is a transfer function of the blue component, R(x,y)(1) is the red component of the xth row yth column after a first iteration, G(x,y)(1) is the green component of the xth row yth column after a first iteration and B(x,y)(1) is the blue component of the xth row ytn column after a first iteration.

9. The method as set forth in claim 8 wherein the digital image is enhanced in accordance with 2 3 1 + exp 2x R _ slope , R (X, Y) (1) 255 x 2 ist 1+exp-2x 255 R slope) J (x, y) - 1 1+exp-2x G G_ slope () G (x'Y) lll _ 255 . G_slopex, y) l 3 api - 1 255 G _ slope (=. v) 2 1+exp-2x B --. 3-3 /oce' 3 tri ' ; =i 255 1 + exp-2 x B-slope (x, r) where R_slopei is a control parameter of the enhancement function of an ith composite (x,y) function of the red component of the xth row and yth column at the 0th iteration, G_slopi, is a<BR> (x,y)

control parameter of the enhancement function of an ith composite function of the green <BR> <BR> <BR> <BR> component of the xth row andyth colunn at the 0th iteration and B _ slope () is a control<BR> (X, Y) parameter of the enhancement function of an ith composite function of the blue component of the xth row and column at the 0th iteration.

10. The method as set forth in claim 9 wherein '6 R R (."Y) R 255-k'gain x F +k'. 255 6 /k$ I G _ gaan x FG J . ;, (-. j) L J 255$ 1i ; o _ gain x F x , = (255-) '",'- "'255' where k5i, k7i, and k9i are shifting constants of the ith composite function of the red component, green component, and blue component of the image respectively ; k6i, k8i, and acl0 are power constants in the ith composite function of the red component, green component, and blue component of the digital image respectively; FR is a low pass filtered image of the red (x,y) component of the xth row and yth column of the ith composite function; FGi, is a low pass (x,y) filtered image of the green component of the xth row and yth column of the itl composite function; FB is a low pass filtered image of the blue component (x,y) <BR> <BR> <BR> <BR> <BR> <BR> column of the ith composite function; R_gain is a gain factor of the red component of the<BR> <BR> (x,y) xth row and column at the itl composite function ; G_gain(x,y)i is a gain factor of the green <BR> <BR> <BR> <BR> <BR> <BR> <BR> component of the xth row and column at the ith composite function ; and B _ gaini is a gain<BR> <BR> (x,y) factor of the blue component of the xth row and yth column at the ith composite function.

11. The method as set forth in claim 10 wherein i u, zu f f T Fi n, 2 c G_ gaih' (x, y i, 3 a B _ gai. n (-"Y) r, v) BxY where k11i, k12i, and k13i are power constants of the ith composite function of the red component, green component and blue component of the digital image respectively.
12. The method as set forth in claim 2 wherein the enhanced digital image is balanced according to where Ix y (t + 1) is a color intensity I at an xth row, yth column at a (t+l) th iteration and Ix y (t) is a color intensity I at an xth row, yth column at a tth iteration.

13. The method as set forth in claim 4 wherein the enhanced digital image is balanced according to where Rx,y(t+1) is a color intensity R of the red component of the digital image at an xth row, myth column at a (t+l) th iteration ; Gx, y (t + 1) is a color intensity G of the green component of the digital image at an xth row, yth column at a (t+l) th iteration ; Bx,y(t+1) is a color intensity B of the blue component of the digital image at an Xth row, myth column at a (t+1)th iteration; Rx,y(t) is a color intensity R of the red component of the digital image at an xth row, myth column at a ttl'iteration ; Gx, y (t) is a color intensity G of the green component of the digital image at an xth row, myth column at a th iteration and Bx,y(t) is a color intensity B of the blue component of the digital image at an xth row, y column at a tt iteration.
Description:

COLOR IMAGE CHARACTERIZATION, ENHANCEMENT AND BALANCING PROCESS CROSS REFERENCE TO RELATED APPLICATIONS [Oll The present application claims priority from U. S. Provisional Application Ser. No.

60/538,998, filed January 23,2004.

BACKGROUND OF THE INVENTION 1. Field of the Invention [02] The invention relates to digital image enhancement process and more particularly to a process for color image characterization, enhancement, and balancing.

2. Description of Related Art [03] Electronic cameras based upon CCD detector arrays are quite capable of acquiring image data across a wide dynamic range on the order to 2500: 1. This range is suitable for handling most illumination variations within scenes and lens aperture changes are usually employed to encompass scene-to-scene illumination variations. Typically though, this dynamic range is lost when the image is digitized or when the much narrower dynamic range of print and display media are encountered. For example, most images are digitized to 8- bits/color band (256 gray levels/color band). Therefore, the images captured and displayed by photographic and electronic cameras suffer from a comparative loss of detail and color in shadowed zones. This is known as the dynamic range problem. One of the abilities of the human visual system is to steadily perceive a scene regardless of the changes in lighting conditions.

[04] Previous patents in this field include U. S. Pat. No. 6,580, 835 to Gallagher which improves digital images by performing a normalized tone scale conversion based on a central pixel of the image.

[05] U. S. Pat. No. 5,991, 456 to Rahman et al. describes a method for improving a digital image which calculates the image intensity at specified positions and adjusts the image intensity according to a mathematical equation.

[06] U. S. Pat. No. 5,640, 469 to Lewins et al. describes a method for improving images obtained from infrared or x-ray systems which do not obtain the image using visible light.

The method improves the intensity equalization of the obtained image data.

[07] An object of the present invention is to provide a method for enhancing digital images.

[08] Another object of the present invention is to provide a method for enhancing digital images captured in complex background and lighting environments.

[09] Another object of the present invention is to provide a method for enhancing digital images which models the human visual system using a ratio rule learning algorithm.

[10] Another object of the present invention is to provide a method for enhancing digital images which is a neural network concept and in which the enhancement is done mainly by processing an individual pixel of an image and does not rely heavily on information of neighboring pixels.

[11] Yet another object of the present invention is to provide a method for enhancing digital images in which the recurrent neural network learns based on the degree of similarity between the relative magnitudes of the output of each neuron with respect to that of all the other neurons.

[12] Finally, it is an object of the present invention to accomplish the foregoing objectives in a simple and cost effective manner.

SUMMARY OF THE INVENTION The present invention addresses these needs by providing a method for improving a digital image. The relationship between the red, green and blue components of all or a portion of the digital image is characterized. The image is then enhanced by increasing the intensity of darker pixels to a greater extent than lighter pixels. The image is then balanced based on the previously obtained characterization of the relationship between the red, green and blue components of the pixels of the digital image.

BRIEF DESCRIPTION OF THE DRAWINGS [13] A more complete description of the subject matter of the present invention and the advantages thereof, can be achieved by the reference to the following detailed description by which reference is made to the accompanying drawings in which : [14] Fig. 1 is a schematic view of the system in which the novel image processing process is carried out. The process consists of acquiring an image from a device, characterize the color, enhance the color, balance the color, and finally, display the enhanced image; [15] Fig. 2 shows the architecture of the ratio rule ; [16] Fig. 3 shows a pixel in the RGB color space; [17] Fig. 4 shows the characterization process in which the ratio rule learns the relationship of each color component with respect to another color component; [18] Fig. 5 shows the enhancement process using equations 7 (a)- (c) ; [19] Fig. 6 shows the slope factor in equations 8 (a)- (c) ; [20] Fig. 7 shows the gain factor in equations 9 (a)- (c) ; [21] Fig. 8 shows the balancing process using equation 10; [22] Fig. 9 shows the enhancement result of an image in unbalanced lighting environment; and [23] Fig. 10 shows the enhancement result of an image in low lighting environment.

Equations: where wiz is the relationship between the itl'color component with respect to the jth color component. where R(x,y)(0) is the red component of the xtll row yth column at the 0th iteration. G(x,y)(0) is the green component of the xth row yth column at the Oth iteration. B(x,y)(0) is the blue component of the xth row yth column at the 0th iteration. TR[.] is the transfer function of the red component. TG [.] is the transfer function of the green component. Ta [.] is the transfer function of the blue component. R(x,y)(1) is the red component of the xth row yth column after the first iteration. G(x,y)(1) is the green component of the xth row yth column after the first iteration. B(x,y)(1) is the blue component of the xth row yth column after the first iteration. where the current color intensity I at xth row myth column at (t+1)th iteration is depending on the previous color intensity I at xth row yth column at tth iteration multiplied by the weight divided by two. wij = f(x,y) (4) where x is one color component and y is the other color component. O RX, Y (°) RX, Y (°) .. (O) ,, (0) Rx. v O ,. (0) (0) Bxty (0) (0) Q 3 1., Y (°) ,, (0) j 3 L 1+exp-2---L- I _ slope (x, y) where kl, AC2, k3, k4 are constants. 2-1 3 I+exp 2x R _ slope. R 3 (R_slopet) 0 (7a) 3 ill «-3 255 - 1 1+exp-2x 55 R _ slope' (x, v) 2 o Gope' 3 1+exp 2x G_slope ; == ! U., (xiy) rl _ 255 G_slvpe. r, y) (7b 3 L. ici 1+exp-2c 55 G slope zozo - 1 3 1+exp 2x B_slope B (1) 255 E B_slopet)- (7C) 3 ill i=1 255 1+exp-2x 255 B _ slops (x, r) where R_slopei, is the control parameter of the enhancement function of the ith composite (x,y) function of the red component of the xth row and yth column at the Oth iteration. G_slope(x,y)i is the control parameter of the enhancement function of the ith composite function of the green <BR> <BR> <BR> <BR> component of the xtl'row and myth column at the 0th iteration. B_slope(x,y)i is the control<BR> (x,y) parameter of the enhancement function of the ith composite function of the blue component of the xth row and yth column at the 0th iteration. zur LRgaM'x vF' (xY J-f./Ct i (X, Y) (x, y)) k' ''''''255'' zu (-, Y) i C = (255/4) - :--L + (8b) i) 7 2.J $ IO Bgain xFB B slope'= (255-kgl) ( (x, i,)--- r. r, ) 2550 where k5, k7, and kg are the shifting constants of the ith composite function of the red component, green component, and blue component of the image respectively. k6i, k8i, and k10i are the power constant in the ith composite function of the red component, green component, and blue component of the image respectively. Fi is the low pass filtered (x,y) image (the original image convolved with a Gaussian filter) of the red component of the xth row and yth column of the i composite function. FG is the low pass filtered image (the (x,y) original image convolved with a Gaussian filter) of the green component of the xth row and ytl'column of the ith composite function. FB is the low pass filtered image (the original (x,y) image convolved with a Gaussian filter) of the blue component of the xth row and column of the ith composite function. R_gain(x,y)i is the gain factor of the red component of the'row (X,),) andyth column at the ith composite function. G_gaini(x,y)i is the gain factor of the green component of the xth row and yth column at the ith composite function. B_gain(x,y)i is the gain factor of the blue component of the xth row and yth column at the ith composite function. i k-ill ka R R, gaifa (X,') (9a i 3 r'Y" x, Y> a ', =-- (9c) "'. y) \ where k11i, k12i, and k13i are the power constants of the ith composite function of the red component, green component, and blue component of the image respectively. where Rx y (t +1), Gx,y(t+1) and Bx y (t + 1) are the color intensities R, G and B of the red component, green component and blue component, respectively, of the digital image at the xth row, yth column at the (t+1)th iteration ; and Rx,y(t), Gx,y(t) and Bx y (t) are the color intensities R, G and B of the red component, green component and blue component, respectively, of the digital image at an xth row, ytl'column at aih iteration.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT [24] The following detailed description is of the best presently contemplated modes of carrying out the invention. This description is not to be taken in a limiting sense, but is made merely for the purpose of illustrating general principles of embodiments of the invention.

[25] The present invention provides a fast and novel approach for enhancing digital images by means of color image characterization, enhancement and balancing process in the spatial domain. This procedure provides an enhanced image, which is natural in appearance and has sharp visibility to human observation. This new technique is fast enough to provide a real time enhancement of images from a video stream. This new technique can be used for video surveillance applications such as processing image/video in a low lighting environment.

[26] The method consists of three steps: color characterization; enhancement; and balancing. The characterization and balancing process is based on a novel ratio rule which is an unsupervised learning algorithm that does not required any external teacher. It can act as part of an image enhancement process that processes each pixel of the image. The characterization is done by modeling the relationship of the R, G, and B components of a pixel as prescribed by equation (5). The enhancement is done using equations (7)- (9). The balancing process is done by utilizing equation (10).

[27] FIG. 1 shows the process of the digital image enhancement. The characterization process utilizes the ratio rule. Basically, the ratio rule is an unsupervised learning algorithm that does not require any external teacher. It can be used for image enhancement that processes each pixel of the image. In the first step of the enhancement, the relationship of the RGB components of a pixel is modeled (or computed) by using equations (1) and (5).

[28] The term w£j (equation (4) ) represents the ratio between the state values of two neurons. This ratio finds the degree of similarity (or dissimilarity) between each neuron with other neurons. The network architecture is a single layer fully connected recurrent neural network as shown in FIG. 2. The output of the network is computed recursively using equations (3) and (10) until the network becomes stable. For instance, FIG. 3 shows the RGB components of a pixel at a particular image location I (x, y). FIG. 4 shows the relationship between the R-R, R-G, R-B, G-R, G-G G-B, B-R, B-G, and B-B components of a pixel using the ratio rule from equation (5). It can be seen that the ratio rule can encapsulate the meaning (or relationship) of a pixel by describing its components (R, G, and B) as a linear transfer function. That is, no matter how the pixel changes its value, the relationship between them is always described.

[29] Step two of the enhancement process involves utilizing equations (7)- (9) (see also equations (2) and (6) ), to enhance the darker part of the image while preserving the brighter part of the image using equations (7a) to (7c) in which R(x,y)(1), G(x,y)(1), B(x,y)(1) are the enhanced pixel of the red component, green component, blue component respectively of the xth row yth column. They are computed by merging three composite (or scale, i. e i=l, i=2, i=3,) normalized hyperbolic functions based on R_slopi(x,y), G_slopei,(x,y) and B_slopei(x,y) for better dynamic range compression and tonal rendition.

[30] FIG 5 shows an illustration based on the ith composite function as shown in equation (7). The R_slopei, G_slopei, and B_slopei control how much the red component, green (x,y) (x,y) (x,y) component, and blue component of the pixel respectively of the xth row yth column should be increased or decreased. A smaller slope factor would yield a brighter pixel whereas a larger slope factor would yield a darker pixel.

[31] R_slopei, G_slopei, and B_slopei are computed using equations (8a) to (8c) in (x,y) (x,y) (x,y) <BR> <BR> <BR> <BR> <BR> <BR> <BR> which R_gaini, G_gaini, and B_gaini control how much contrast is added to the<BR> <BR> (x,y) (x,y) (x,y) enhanced pixel of the red component, green component, and blue component respectively of the xth row and th column. FRi FGi, and FBi is the low pass filtered image (the original (x, y) (x,y) (x,y) image convolved with a Gaussian filter). tics, and and k9i define how small the slope function can be in the ith composite function. A, and klo define the power constants of the red component, green component, and blue component respectively. Notice that when the low pass filtered image has a smaller pixel value, depending on the gain factor, shifting constant and power constant, the pixel value will be increased because the slope factor is small. On the other hand, if the low pass filtered image has a high pixel value, depending on the gain factor, shifting constant and power constant, the slope factor will be high. As a result, the pixel value will be reduced. FIG 6 shows an illustration of the slope factor.

[32] R_slope(x,y)i, G_slope(x,y)i, and B_slope(x,y)i are computed using equation (9a) to (9c). The gain factors-R_gaini, G_gaini, and, B_gaini calculate how much contrast should be (x,y) (x,y) included in the enhancement. They are computed by taking a power of the ratio between the <BR> <BR> <BR> <BR> <BR> <BR> color components of a pixel (R(x,y), G(x,y), and B(x,y)) and its environment (FR FG, and<BR> <BR> 1 i) are FBi) at different ith scale. For example, if surrounding pixels (FR, FG, and FB) are (x,y) (x,y) (x,y) (x,y) darker than the pixel under consideration (R(x,y), G(x,y), and B(x,y)), the gain factor (R_sgaini, G_gaini, and B_gaini) will be less than one. If the power (k11i,k12i, and k13i) is (x,y) (x, y) (x,y) greater than one, the gain factor will become smaller. As a consequence, the slope factors (R_slope(x,y)i, G_slope(x,y)i, and B_slope(x,y)i), which control the brightness of the pixel, will become smaller and the pixel will become brighter as the result of the normalized hyperbolic tangent function, thus increasing the contrast between the pixel and the surrounded pixels. On the other hand, if surrounding pixels (FR, FG, and FB) are brighter'than the pixel (x,y) (x,y) (x,y) under consideration (R(x,y), G(x,y), and B(x,y)), the gain factor (R_gain(x,y)i, G_gain(x,y)i, and B_gain(x,y)i) will be greater than one. If the power (kl cl2, and, 3) is greater than one, the gain factor will become bigger. As a result, the slope factor (R_slope(x,y)i, G_slope(x,y)i, and B_slope) will become bigger and the pixel will become darker as a result of the hyperbolic<BR> (x,y) tangent function. FIG 7 shows an illustration of the gain factor.

[33] For step three, since the relationship of the RGB component of a pixel is offset by equations (7)- (9), the relationship between RGB components of the image can be retuned using equation (10). That is, although the pixel has a higher intensity, the relationship of the R, G, and B components of the image is still preserved. FIG. 8 shows the retuning of a pixel using the ratio rule learning algorithm.

[34] FIG 9 shows the result of an image in an unbalanced lighting environment. It can be seen that the proposed enhancement algorithm can correct those unbalanced lighting variations in the environment but preserve the brighter part of the image. FIG 10 shows the results of an image in a dark lighting environment. It can be observed that the enhancement process is able to enhance and produce a visually sharp image.

[35] Many improvements, modifications, and additions will be apparent to the skilled artisan without departing from the spirit and scope of the present invention as described herein and defined in the following claims.