1. Field of the Invention
The present invention relates to an image processing method and related apparatus applied to a display, and more particularly, to an image processing method and related apparatus that can reduce motion blur in an LCD (liquid crystal display).
2. Description of the Prior Art
Due to insufficient response times of liquid crystals and a hold-type displaying method, moving objects shown in LCD displays often have blurred edges.
Principles of the response time of liquid crystal and the hold-type displaying method are well known by those skilled in this art, and therefore further descriptions are omitted here. An over-drive (OD) method is generally used for improving the response time of the liquid crystal, where the over-drive method initially provides a new driving voltage over an original driving voltage to quicken a rotation speed of liquid crystal molecules, and then returns to the original driving voltage. However, the over-drive method is ineffective when the original driving voltage is a maximum driving voltage or a minimum driving voltage. In addition, for the hold-type displaying issue, a black frame insertion method, a gray frame insertion method and motion compensation method are used for improving the hold-type displaying issue. However, the above methods suffer from demerits such as brightness degradation and flicker and require large amounts of computation. As a result, there is still no optimal method for reducing motion blur.
It is therefore an objective of the present invention to provide an image processing method and related apparatus to solve the above-mentioned problems.
According to one embodiment of the present invention, an image processing method includes: performing an edge detection upon image data to generate an image edge detection result; determining an adjusting parameter corresponding to a target pixel according to the image edge detection result; and adjusting a gray value of the target pixel according to the adjusting parameter.
According to another embodiment of the present invention, an image processing apparatus includes an edge detection unit, an adjusting parameter calculation unit and a computation unit. The edge detection unit is utilized for performing an edge detection upon image data to generate an image edge detection result. The adjusting parameter calculation unit is coupled to the edge detection unit, and is utilized for determining an adjusting parameter corresponding to a target pixel according to the image edge detection result. The computation unit is coupled to the adjusting parameter calculation unit, and is utilized for adjusting a gray value of the target pixel according to the adjusting parameter.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
Please refer to
In Step 210, the edge detection unit 104 performs the edge detection upon the image data, and in this embodiment, the edge detection unit 104 uses a derivative filter corresponding to a spatial mask to perform the edge detection on the image data to generate the image edge detection unit. In addition, there are several methods capable of performing the edge detection, in this embodiment, a Sobel mask (also called a Sobel filter) is used to perform the edge detection. Please refer to
Edge detection result of P5=|(P7+2*P8+P9)−(P1−2*P2+P3)|+|(P3+2*P6+P9)−(P1+2*P4+P7)|
At this point, the operations of a pixel are completed. After that, each pixel in the current frame undergoes the above-mentioned operations to obtain an adjusted pixel value, and the image edge detection result is obtained when all the gray values of the pixels in the current frame are adjusted.
It is noted that the Sobel mask shown in
The image edge detection result generated in Step 210 can serve as an edge detection image, and the gray values of the pixels in the edge detection image are between 0-255. Because the image processing apparatus 100 performs the same operations on all the pixels, operations of only one pixel are described in the following description, and the pixel is named as a target pixel. In Step 220, the adjusting parameter calculation unit 106 normalizes the gray value of the target pixel of the image edge detection result to be between 0-2 in order to generate an intensity parameter K corresponding to the target pixel. In addition, a look-up table or linear reduction can be used as a normalization method. It is noted that the above-mentioned normalization method and the normalized range are for illustrative purposes only, and not limitations of the present invention.
In Step 230, the computation unit 108 generates an output gray value Fn′ according to the intensity parameter K in Step 220 and a gray value difference (Fn−Fn−1) between a gray value Fn of the target pixel in the current frame and a gray value Fn−1 of the target pixel in the previous frame. The calculation is described below:
Fn′=(Fn−Fn−1)*K+Fn
The edges of the moving objects in the image can be sharpened by replacing Fn by Fn′, and the blurred edges can thereby be improved. However, in order to prevent adjustment of pixel values of a static image, the gray value Fn and Fn−1 are original pixel values of the image (that is, unadjusted pixel values). All the pixel values in the image undergo the above-mentioned operations in Steps 210-230 to generate an adjusted image, and motion blur can be reduced by this gray value adjusting mechanism.
Please refer to
Please refer to
Compared with the embodiment shown in
In addition, the ratio parameter S can be determined according to a ratio parameter characteristic line or a Gamma-type ratio parameter characteristic curve.
It is noted that, in the above embodiments, the ratio parameter S is determined according to the gray value Fn−1 in the previous frame. However, in other embodiments of the present invention, the ratio parameter S can also be determined according to the gray value Fn in the current frame, or according to the gray value difference (Fn−Fn−1) between the gray value Fn in the current frame and the gray value Fn−1 in the previous frame. These alternative designs are all within the scope of the present invention.
In Step 540, the computation unit 108 generates an output gray value Fn′ according to the intensity parameter K in Step 520, the ratio parameter S in Step 530, and the gray value difference (Fn−Fn−1) between the gray value Fn of the target pixel in the current frame and the gray value Fn−1 of the target pixel in the previous frame. The calculation is described below:
Fn′=(Fn−Fn−1)*K*S+Fn
It is noted that, in the above formula, the gray value Fn and Fn−1 are original pixel values of the image (that is, unadjusted pixel values). All the pixel values in the image undergo the above-mentioned operations in Steps 510-530 to generate adjusted image, and motion blur can be reduced by this gray value adjusting mechanism.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
97123908 A | Jun 2008 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5706054 | Hannah | Jan 1998 | A |
6366699 | Kuwano et al. | Apr 2002 | B1 |
6944315 | Zipperer et al. | Sep 2005 | B1 |
7184608 | Moon | Feb 2007 | B2 |
20030081836 | Averbuch et al. | May 2003 | A1 |
20060181643 | De Haan | Aug 2006 | A1 |
20060251170 | Ali | Nov 2006 | A1 |
20060291741 | Gomi et al. | Dec 2006 | A1 |
Number | Date | Country |
---|---|---|
1771516 | May 2006 | CN |
1801288 | Jul 2006 | CN |
200717362 | May 2007 | TW |
200731767 | Aug 2007 | TW |
Entry |
---|
Feng Peng et al., “Noise-reduction of Digital Video Image Based on Time-recursive Filtering”, Journal of Chongqing University (Natural Science Edition), vol. 28, No. 2, Feb. 2005, p. 23-25. |
Number | Date | Country | |
---|---|---|---|
20090324122 A1 | Dec 2009 | US |