1. Field of the Invention
The present invention relates to an image processing apparatus which performs image processing on an input image signal, which is brightness values input at intervals of a constant period of time, based on the frequency of the brightness change of the input image signal to improve a visual effect and other effects.
2. Description of the Related Art
The image display method and apparatus described in Japanese Patent Laid-Open Publication Kokai No. 2000-4380 are configured to be able to improve the contrast of an image display without increasing the circuit size by using an infinite impulse response (IIR) filter as a low pass filter.
To improve image visual effects, such as contrast, on an image, a low pass filter comprising a finite impulse response (FIR) filter that is more stable than an IIR filter is typically used.
In a method using such conventional LPFs, however, if an image includes a steep gradation change or a step input, like from zero to the maximum or vice versa between adjacent pixels, a phenomenon occurs in which the image on which a sharpening process has been performed becomes significantly different from the original one around the region where such gradation change occurs. Referring to
The present invention is directed to solve problems, including the above problem as an example, and has as its object to provide an image processing apparatus which can prevent an adverse effect of a sharpening process, that is, a phenomenon in which an original image is impaired.
The image processing apparatus according to the present invention receives an input image signal, performs an enhancement process on a high frequency component included in the input image signal on the basis of a low frequency component of the input image signal, and comprises: a combined wave component generator that extracts the low frequency component from the input image signal and combines a step variation component of the input image signal with the low frequency component to generate a combined wave component; and an enhancement processor that performs an enhancement process on the high frequency component obtained by removing the combined wave component from the input image signal.
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Referring to
The input image signal Vin is input not only to a LPF 20 but also to a subtracter 30 and an adder 50. The subtracter 30 subtracts a low frequency component Vlo output from the LPF 20 from the received input image signal Vin, and outputs a high frequency component Vh to a gain controller 40. The gain controller 40 multiplies the received high frequency component Vh by a predetermined gain G to obtain a gain-multiplied high frequency component Vhg, which is output to the adder 50. The adder 50 adds the gain-multiplied high frequency component Vhg to the input image signal Vin and outputs the result as the output image signal Vout to external circuits. The LPF 20 is a low pass filter that receives the input image signal Vin and outputs the low frequency component Vlo determined by a predetermined cut-off frequency. The input image signal Vin is input to a multiplier 22R in a multiplier group 22, a delay element 21a, and a slope detector 25b. The delay element 21a delays the received input image signal Vin by an amount corresponding to time D, and outputs the delayed signal to a slop detector 25a, the slop detector 25b, a delay element 21b, and a multiplier 22C in the multiplier group 22. The delay element 21b further delays the received input image signal Vin, which has been delayed by the time D, by an amount corresponding to the time D, and outputs the delayed signal to the slop detector 25a and a multiplier 22L in the multiplier group 22. The brightness value of the input image signal Vin delayed by the time 2D set by the delay elements 21a and 21b is denoted by VinL as an input brightness value corresponding to a pixel L; the value of the input image signal Vin delayed by the time D set by the delay element 21a is denoted by VinC as an input brightness value corresponding to a pixel C; and the value of the input image signal Vin without delay is denoted by VinR as an input brightness value corresponding to a pixel R.
The multiplier group 22 includes the multipliers 22L, 22C, and 22R having respective multiplication values or tap coefficients (hereinafter, referred to as “mixture coefficients”) aL, aC, and aR, which are specified by a mixture ratio controller 26. The multipliers 22L, 22C, and 22R multiply the input brightness values VinL, VinC, and VinR by the respective mixture coefficients aL, aC, and aR and output the results. The outputs from the multipliers 22L, 22C, and 22R are added together by an adder 24 and are output as the low frequency component Vlo. The low frequency component Vlo describing a brightness value is therefore given by the following equation.
Vlo=aL·VinL+aC·VinC+aRVinR
The slope detector 25a receives the input brightness values VinL and VinC, obtains the slope ΔLC between the two values, and outputs the result to the mixture ratio controller 26. The slope detector 25b receives the input brightness values VinC and VinR, obtains the slope ΔCR between the two values, and outputs the result to the mixture ratio controller 26. The slopes ΔLC and ΔCR are therefore given by the following equations.
ΔLC=VinC−VinL
ΔCR=VinR−VinC
The mixture ratio controller 26 calculates the tap coefficients or the mixture coefficients aL, aC, and aR based on the slopes ΔLC and ΔCR output from the slope detectors 25a and 25b, respectively, and outputs the results to the multiplier group 22, thereby controlling the mixture ratio. The mixture coefficients aL, aC, and aR are calculated by, for example, the following equations.
aL=aL0×2f(ΔCR)/(f(ΔLC)+f(ΔCR))
aC=aC0
aR=aR0×2f(ΔLC)/(f(ΔLC)+f(ΔCR))
In the above equations, aL0, aC0, and aR0 are tap coefficients determined in the ordinary FIR filter design based on the cut-off frequency. The coefficients aL0, aC0, and aR0 have values of, for example, 0.25, 0.5, and 0.25, respectively. The function f(Δ) is an arbitrary monotonically increasing function such as, for example, f(Δ)=|Δ|, f(Δ)=Δ2, or f(Δ)=log(Δ).
The mixture control based on the above mixture coefficients implies that it is performed so as to reduce the mixture ratio of the brightness values on the side of having a steeper slope and at the same time to increase the mixture ratio of the brightness values on the side of having a more gradual slope. The LPF 20 thereby outputs a combined wave component as the low frequency component Vlo, in which a step variation component is added to a low frequency component extracted by an ordinary LPF.
The calculations of the mixture coefficients aL, aC, and aR are not restricted to use of the above equations, but any equations may be used that can reduce the mixture ratio of the brightness values on the side of having a steeper slope and at the same time can increase the mixture ratio of the brightness values on the side of having a more gradual slope.
Referring to
The output brightness value of the LPF 20a receiving the input image signal Vin is denoted by L1, that of the LPF 20b receiving the output brightness value L1 by L2, and that of the LPF 20c receiving the output brightness value L2 by L3. If it is assumed that each of the LPFs 20a to 20c has the same set of the tap coefficients such as, for example, aL0=0.25, aC0=0.5, aR0=0.25, the frequency bands or cut-off frequencies of the LPFs at the stages L1, L2, and L3 have a relation of lower<L3<L2<L1<higher.
Referring to
Referring to
Accordingly, as in the conventional apparatus, the image processing apparatus of the present invention can improve the effect of fineness, which is a purpose of the sharpening process, even in the time range where the input image has no step variation.
Assuming the frequency band 72 of the conventional low pass filter, the applicable range of a sharpening process is restricted to the region obtained by removing the frequency band 72 from the region of the frequency band 73. Assuming the frequency band 71 of the low pass filter of the present invention, however, the applicable range of the sharpening process is extended to the wider region obtained by removing the frequency band 71 from the region of the frequency band 73. This implies that the sharpening process can be applied to a signal having a wide frequency band including a lower frequency range.
As is clear from the above embodiments, according to the image processing apparatus of the present invention, the sharpening process can improve the fineness of an entire image in the same extent as the conventional apparatus while suppressing an excessive overshoot occurring around a step response region in an image, which is an adverse effect of the sharpening process. Further, when the frequency band to which a sharpening process is applied is widen to enhance the sharpening effect by configuring an LPF with a multi-stage structure, only the fineness of an image can be improved without increasing the adverse overshoot.
The present invention has been described with reference to the preferred embodiments. Those skilled in the art will recognize that further variations and modifications are possible within the scope of the appended claims.
The present application is based on Japanese Patent Application No. 2005-097056, the content of which is herein incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2005-097056 | Mar 2005 | JP | national |