The present invention relates to a digital low color shift (DLCS) edge smoothing method and a related DLCS device, and more particularly, to a digital low color shift (DLCS) edge smoothing method and a related DLCS device capable of improving viewing angle of DLCS.
The conventional vertical alignment (VA) panel has an issue of color shift in brightness and color when a viewing angle is different. A digital low color shift (DLCS) technique is implemented to improve the color shift issue by adjusting gray values of the sub-pixels of the pixels with signal control. The spatial sub-pixels share a digital multi-domain effect, e.g. adjacent sub-pixels are respectively displayed with a high gray value and a low gray value.
However, the bright edge contents occur when the DLCS technique is implemented on the panel. Therefore, improvements are necessary to the conventional technique.
In light of this, the present invention provides a digital low color shift (DLCS) edge smoothing method and a related DLCS device to improve VA type panel viewing angle.
An embodiment of the present invention discloses a digital low color shift (DLCS) edge smoothing method, for a display panel having a plurality of pixels. The edge smoothing method comprises determining an edge gain of a first pixel of the plurality of pixels of the display panel; and smoothing the edge of the first pixel and the other neighbor pixels of the plurality of pixels of the display panel according to a spatial filter.
Another embodiment of the present invention discloses a digital low color shift (DLCS) edge smoothing device, for a display panel having a plurality of pixels. The DLCS edge smoothing device comprises an edge gain calculation circuit, configured to determine an edge gain of a first pixel of the plurality of pixels of the display panel; and an edge smoothing circuit, configured to smooth the edge of the first pixel and the other neighbor pixels of the plurality of pixels of the display panel according to a spatial filter.
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.
When the conventional DLCS technique is implemented on the display panel, the first pixel data value H and the second pixel data value L are almost 0, i.e. bright content, at edge contents. That is, the bright edge occurs at the boundary of the content.
In order to reduce the data pixel value difference between the first pixel data value H and the second pixel data value L to alleviate the bright edge contents, an edge gain is utilized for decreasing a difference of pixel data value between the first pixel data value H and the second pixel data value L.
First, a plurality of edge differences between the current pixel R(x,y) and each of the neighbor pixels R(x−1,y−1), R(x,y−1), R(x+1,y−1), R(x−1,y), R(x+1,y), R(x−1,y+1), R(x,y+1), R(x+1,y+1) of the 3*3 block base of the display panel are determined. In this example, a data value difference of the sub-pixel values is calculated, and then the edge differences are determined after taking an absolute value of the data value difference respectively. A maximal edge difference corresponding to the R/G/B sub-pixels of the edge differences between the current pixel R(x,y) and each of the neighbor pixels of the 3*3 block base of the display panel is determined.
The edge gain of the current pixel R(x,y) corresponding to each of the R/G/B sub-pixels is determined by looking up the table LUT_Edgegain, as shown in
In an embodiment, the determined edge gain is applied to the first pixel data value H and the second pixel data value L of each sub-pixel R/G/B of the pixels.
A gamma curve table Gamma_LUT shows relations of R/G/B sub-pixel values and pixel values of a gamma curve, a high domain lookup table H_LUT shows relations of R/G/B sub-pixel values and the first pixel data value H, a low domain lookup table L_LUT shows relations of R/G/B sub-pixel values and the second pixel data value L, and the table LUT_Edgegain shows relations of R/G/B sub-pixel values and the edge gains.
In an example, when the gamma values of the current pixel is 128 and the edge gain is 0.55 by looking up the table LUT_Edgegain, a gamma gray high value gamma_H_VAL is 128+50*0.55=156 and a low gamma gray value gamma_L_VAL is 128-25*0.55=114 to represent the current pixel R(x,y), and is utilized for the multi-domain vertical alignment type panel.
After the edge gain of the current pixel R(x,y) is determined, a spatial filter is utilized for smoothing the edge of the current pixel R(x,y) and the other neighbor pixels.
The spatial filter includes a plurality of smooth weighting values SF11-SF53 respectively corresponding to the edge gains GN11-GN53 of the pixels, and is utilized for spreading the edge gains of the pixels spatially.
Take a smooth edge gain GN32_SF for example, the smooth edge gain GN32_SF is determined by formula (1) with the spatial filter:
Similarly, the smooth edge gains of other pixels may be determined according to a weighting effect of the spatial filter. In this example, the spatial filter corresponds to the 5*3 pixels for smoothing corresponding edge gains of the pixels. Notably, the spatial filter is not limited to the 5*3 pixels spatial filter, the spatial filter with other dimensions or weighting values is applicable to the present invention.
In the example of
In another embodiment, when the spatial filter is utilized for multiple pixels of the display panel with edge gains of 0, the edge gains after the smoothing may still present the original edge gains.
Assume that the weighting effect of the spatial filter is shown in
Notably, in the example of
An operation of the DLCS edge smoothing process may be summarized to a DLCS edge smoothing method 70 for the display panel. The DLCS edge smoothing method 70 includes the following steps:
Please refer to the above embodiments for the operation of the DLCS edge smoothing method 70, which is not narrated herein again.
In addition, the DLCS edge smoothing method 70 may be implemented on a timing controller of the display panel. Please refer to
The edge gain calculation circuit 802 is configured to determine the edge gain of the current pixel R(x,y). The edge calculation circuit 804 is configured to determine the edge differences between the current pixel R(x,y) and each of the neighbor pixels of the display panel, and to determine the edge gain of the current pixel R(x,y) according to the maximal edge difference of the edge differences between the current pixel R(x,y) and each of the neighbor pixels of the display panel.
The edge smoothing circuit 806 is configured to smooth the edge of the current pixel R(x,y) and the other neighbor pixels of the plurality of pixels of the display panel according to the spatial filter.
The DLCS circuit 808 includes an H/L setting circuit 808_HL, a high domain lookup table 808_H_LUT, a low domain lookup table 808_L_LUT and a gamma curve table 808_Gamma_LUT, wherein the H/L setting circuit 808_HL is a setting map of corresponding pixels of the display panel, e.g. the high gamma gray value gamma_H_VAL and the low gamma gray value gamma_L_VAL are in staggered distribution. The DLCS circuit 808 is configured to determine the high gamma gray value gamma_H_VAL of the high digital domain according to the edge gain of the current pixel R(x,y) of the pixels of the display panel, and to determine the low gamma gray value gamma_L_VAL of the low digital domain according to the edge gain of the current pixel R(x,y) of the pixels of the display panel.
Notably, those skilled in the art may properly design the DLCS edge smoothing method and the DLCS edge smoothing device according to different requirements, e.g. the weighting values and the weighting effect of the spatial filter, the dimension of the spatial filter, which are applicable to the present invention and not limited thereto.
In summary, the present invention provides a digital low color shift (DLCS) edge smoothing method and related DLCS edge smoothing device, which performs the smoothing for edge contents to improve VA type panel viewing angle.
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. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.