The present invention relates to the field of image processing, and more particularly to an image restoration with gain control and shoot suppression.
In digital image processing applications, image restoration is usually used for restoring an original image from a blurred and noisy observed image where prior knowledge of the system point spread function (PSF) or blurring function is available. However, two most prevalent shortcomings of conventional image restoration techniques are introduction of ringing around edges (ringing artifact) and amplified noise, causing false texturing in the flat regions (noise amplification), into restored images. To obtain better understanding of such artifacts, consider a linear shift invariant (LSI) image acquisition process, wherein the degraded observed image g(x,y) is acquired by passing the original image ƒ(x,y) to the blurring operator H and adding the additive noise ν(x,y), as:
g(x,y)=H[ƒ(x,y)]+ν(x,y). (1)
A restored image r(x,y) can be obtained by applying the restore operator G directly to the observed image g(x,y), as:
It can be seen from relation (2) that the restored image r(x,y) is equal to the original image ƒ(x,y) with additions of two error terms due to ringing effect er(x,y) and noise effect en(x,y). The trade off between these two errors is the crucial issue in regularized image restoration and has been analyzed in many studies. Some literatures provide a method of choosing the proper regularization parameter γ in the image restoration.
Generally speaking, the effects of the regularization parameter γ in image restoration to the noise and ringing artifacts are as follows. As the value of γ becomes small (underregularized), the restored operator G is close to the inverse operator of the blurring operator H. Therefore, the operator (GH-I) in the ringing error term is close to the null operator and makes the ringing error er(x,y) small. However, since blurring operator H in general is a lowpass filter, the restored operator G (which is close to inverse of H) becomes a highpass filter. Then, the high frequency components of the noise ν(x,y) are amplified which makes the error term en(x,y)=G[ν(x,y)] dominate the solution. On the other hand, when the value of γ is large (overregularized), the noise error en(x,y) becomes smaller since the smoothness constraint in the regularized image restoration is imposed. However, the restored operator G becomes very different from the inverse operator of H and leads to the ringing artifact in the restored image.
The present invention addresses the above shortcomings. An object of the present invention is to provide a method of both controlling the level of image enhancement and suppressing the shoots around edges as well as noise amplification in flat regions of the restored image from an observed image in an image restoration process. A method of globally controlling the level of image enhancement and locally suppressing the over/under shoots around the edges as well as noise amplification in the flat regions of restored image in an image restoration process, is provided.
An embodiment of an image restoration process using gain control and shoot suppression according to the present invention comprises the steps of: (a) for each sample of the input observed image, a restored sample is determined by image restoration; (b) a shoot suppression coefficient is calculated by a shoot detector; (c) a global gain is multiplied to a detail component, wherein the detail component is calculated by subtracting the input sample from the restored sample; (d) the result of the calculation is multiplied by the shoot suppression coefficient to obtain globally and locally controlled detail component, which is added back to the input sample wherein the result is a restored sample gain control and shoot suppression.
Other features and advantages of the present invention will be apparent from the following specifications taken in conjunction with the following drawings.
Preferred embodiments of the present invention are described below in more detail with reference to the accompanying drawings.
Global Gain Control Module
The global gain control module 102 in the system 100 comprises an image restoration block 106 and a gain control, wherein the gain α is used to globally control the level of image enhancement in image restoration. Further, a shoot suppression coefficient β(x,y) (described further below) is used as an additional control (besides the gain α) for locally suppressing the over/under shoots around edges as well as noise amplification in the flat region in the global gain control module 102.
The restored image output r(x,y) of the image restoration block 106 is obtained by applying image restoration to the input image g(x,y). Then, a difference r(x,y)−g(x,y) is determined by subtracting the input image g(x,y) from the resulting restored image r(x,y) in an adder junction 110. The difference value fundamentally represents the “detail”, or high frequency component, of the input image. Next, the difference value is multiplied by a constant gain α≧0 by the multiplier 112. Finally, the multiplication result is added back to the input image g(x,y) by an adder junction 114 to generate output image ƒOUT(x,y), as:
ƒOUT(x,y)=g(x,y)+α[r(x,y)−g(x,y)]. (3)
It is noted that the gain α is primarily used to control the level of image enhancement to the input image. Specifically, the resulting output image ƒOUT(x,y) can be viewed as the summation of the input image and gain controlled detail (high frequency) component. By adjusting the gain α in relation (3), the output image can represent many interesting cases. For example, for α=0, the second term (controlled detail component) in relation (3) becomes zero and ƒOUT(x,y)=g(x,y). For α=1, the output image ƒOUT(x,y) equals the restored image r(x,y). In cases where 0<α<1 and α>1, the levels of enhancements in output image ƒOUT(x,y) are, respectively, less and more contributed from the detail component.
Because in general the restored image r(x,y) may contain overshoot/undershoot (ringing) artifact around the edge areas, the shoot suppression module 104 in the system 100 of
ƒOUT(x,y)=g(x,y)+αβ(x,y)[r(x,y)−g(x,y)]. (4)
Typically, the shoot suppression coefficient β(x,y) varies from 0 to 1 depending on the degree of shooting effect and noise amplification at an arbitrary coordinate (x,y). Generally: (1) if the coordinate (x,y) is near the edge (sharp transition) area in the input image, it tends to suffer significantly from ringing effect, or (2) if the coordinate (x,y) is among the flat region of the input image, it tends to contain an amplified noise in the restored image, then the appropriate shoot suppression coefficient β(x,y) should be close to zero. Otherwise, the shoot suppression coefficient β(x,y) of those coordinates not classified as the ringing or noise artifact should be close to one.
An example of the shoot detection process 116 implemented in the shoot suppression module 104 according to the present invention is now provided. Let S denote the set of integer numbers which represents neighbor indices with respect to the considered (selected) coordinate (x,y). Three gradient sets dR(x,y;S), dL(x,y;S), and dLR(x,y;S) are defined as:
The three gradient sets in relations (5), (6), and (7) contain the horizontal gradient estimates according to the set S at the coordinate (x,y) of the input image to the left, right, and both sides of the sample at coordinate (x,y), respectively. Next, scalar coefficients τ(x,y;S) and κ(x,y;S) are defined as:
The detail component r(x,y)−g(x,y) used to enhance the detail of the input image is controlled both globally by the gain a and locally by the shoot suppression coefficient β(x,y). Therefore, the output image ƒOUT(x,y) possesses greater detail when compared to the input mage g(x,y) without suffering from ringing artifact around the edges and noise amplification in the flat regions.
Thereafter, the shoot suppression coefficient according to an embodiment the present invention is obtained by determining the minimum between 1.0 and the product of three scalar coefficients τ(x,y,S1), τ(x,y,S2), and κ(x,y,S3), where sets S1={1}, S2={1, 2, 3, 4, 5}, and S3={1, 2, 3}, according to relation (10) above.
The shoot suppression module 104 reduces ringing and the gain control module 106 globally controls the level of image enhancement in image restoration. With these two modules 104 and 106, in one aspect the present invention provides global control of the level of image enhancement and, at the same time, local suppression of the shoots (ringing) around the edges as well as noise amplification in the flat regions of restored image in image restoration process.
The present invention has been described in considerable detail with reference to certain preferred versions thereof; however, other versions are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the preferred versions contained herein.