The present disclosure relates to an image processing method and a display apparatus and more particularly, to an image processing method and a display apparatus using the same.
In recent years, various technologies have been developed to expand a color gamut of an image displayed in a display apparatus.
Viewers of display apparatuses have been shown to be particularly sensitive to distortions in displayed skin color.
Various methods have been suggested for compensating for distortions in displayed skin color, but these methods require excessive matrix calculations and are thus computationally expensive.
The present disclosure provides an image processing method capable of preventing image colors from being distorted during a color gamut mapping process.
The present disclosure provides a display apparatus capable of displaying an image using the image processing method.
Embodiments of the inventive concept provide an image processing method including receiving RGB data. The RGB data is converted to an HSV data configured to include a hue, a saturation, and a value. The HSV data is compensated for on a basis of a hue data of the HSV data. The compensated HSV data is converted to a compensated RGB data.
Embodiments of the inventive concept provide a method for processing image data including receiving image data represented in an RGB color space, the received image data having a first color gamut. The received image data represented in the RGB color space is converted into an HSV color space, the converted image data represented in the HSV color space having a second color gamut that is less robust than the first color gamut. Changes of skin tone within the converted image data represented in the HSV color space are compensated for based on a hue data of the converted image data represented in the HSV color space. The compensated image data represented in the HSV color space is converted back into the RGB color space.
The compensating of the HSV data may include reading out a compensation data corresponding to the hue data from a look-up table and compensating for the HSV data using the compensation data.
The look-up table may be a one-dimensional look-up table in which the hue-difference data, the saturation-difference data, and the value-difference data according to the hue data are stored.
Embodiments of the inventive concept provide a display apparatus including an RGB-to-HSV converter, a compensator, an HSV-to-RGB converter, and a display unit. The RGB-to-HSV converter receives RGB data and converts the RGB data to an HSV data. The compensator compensates for the HSV data on a basis of a hue data of the HSV data. The HSV-to-RGB converter receives the compensated HSV data and converts the compensated HSV data to a compensated RGB data. The display unit receives the compensated RGB data and displays an image on a basis of the compensated RGB data.
According to the above, the data are compensated on the basis of the hue in the HSV color space and the saturation and value are preserved, and thus the image, e.g., the memory color like the skin color, may be prevented from being distorted.
In addition, since the data may be compensated using the one-dimensional look-up table, the amount of calculations performed is reduced and a size of the memory is reduced.
The above and other aspects of the present disclosure will become readily apparent by reference to the following detailed description when considered in conjunction with the accompanying drawings wherein:
It will be understood that when an element or layer is referred to as being “on”, “connected to” or “coupled to” another element or layer, it can be directly on, connected or coupled to the other element or layer or intervening elements or layers may be present. Like numbers may refer to like elements throughout the disclosure and the figures.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms, “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. Hereinafter, the present invention will be explained in detail with reference to the accompanying drawings.
Referring to
The RGB color space defines colors using a property that a white color is obtained by mixing the three primary colors, i.e., the red, green, and blue colors. Thus any desired color may be represented in terms of a value for red, a value for green, and a value for blue that combine to provide the desired color.
The color gamut for a display device refers to the number and shades of unique colors that the display device is capable of accurately displaying. A color gamut for a particular display device may be limited to a smaller set of colors than what the RGB color space may define.
In general, since a color gamut of a display panel is limited, a process of mapping the RGB data RGB to the color gamut of the display panel may be used. In this case, the RGB data ROB are data-compensated on the basis of the red, green, and blue colors, and thus calculations may be computationally expensive.
The RGB data are converted to HSV data HnSnVn (S2). The HSV data HnSnVn are data of color space configured to include hue, saturation, and value. The HSV data HnSnVn may be divided into hue data Hn, saturation data Sn, and value data Vn. Here, the hue data Hn include angle information of the hue in the HSV color space and range information from about 0 degree to about 360 degrees.
The HSV color space defines color using hue, saturation, and value on the basis of an intuitive view.
When the HSV data HnSnVn are displayed on the display panel without being data-compensated, distortion may occur to the color of the image. In this case, the data corresponding to the distortion of the image may be represented as compensation data dHdSdV in the HSV color space. The compensation data dHdSdV may be represented as hue-difference data dH, saturation-difference data dS, and value-difference data dV in the HSV color space.
The HSV data HnSnVn are compensated based on the hue data Hn (S3).
According to exemplary embodiments of the present invention, the HSV data HnSnVn may be compensated exclusively by adjusting the hue data Hn since the human eyes react more sensitively to the hue-difference than to the saturation-difference or the value-difference.
Referring to
The look-up table LUT stores the hue-difference data dH, the saturation-difference data dS, and the value-difference data dV according to the hue data Hn. The look-up table LUT is a one-dimensional look-up table in accordance with the hue data Hn.
The hue data Hn have value from 0 to m (where m is a positive integer) according to a number of data bits.
Each of the hue-difference data dH, the saturation-difference data dS, and the value-difference data dV, which are stored in the look-up table LUT, is expressed as a K bit number (where K is a positive integer), e.g., 6 bits.
The HSV data HnSnVn are compensated when the hue data tin satisfies a first range. The hue-difference data dH, the saturation-difference data dS, and the value-difference data dV, which correspond to the hue data Hn separated from the first range, may thus be stored as 0.
The first range may be a range corresponding to the skin color of human beings. In the HSV color space, the range corresponding to the skin color of human beings may include ranges respectively corresponding to the hue H, the saturation S, and the value V. However, since the range of the hue H is the most important, the first range will be described on the assumption that the first range is limited to the hue H. The first range may be determined by both the human psychological perception and the characteristic of display.
The first range is 0°≦H°≦50°, for example, 14°≦H°≦28°. Here, the H° is a hue-angle data obtained by converting the hue data Hn to an angle.
According to an exemplary embodiment, the compensation for the HSV data HnSnVn will be described only when the hue data Hn corresponds to the first range, but the invention is not limited to this particular example. Multiple ranges may be further set to compensate for other memory colors besides skin color. The HSV data HnSnVn may be compensated by the following Equation 1.
HoSoVo=HnSnVn+dHdSdV Equation 1
In Equation 1, HnSnVn denotes the HSV data, dHdSdV denotes the compensation data, and HoSoVo denotes compensated HSV data.
In addition,
In this case, the hue-difference data dH are used to compensate for the hue data Hn, the saturation-difference data dS used to preserve original saturation after the hue is compensated, and the value-difference data dV used to preserve original value after the hue is compensated.
Referring to
The compensated RGB data RGB′ are output (S5). The compensated RGB data RGB′ are converted to data voltages in the display apparatus and displayed as the images.
Referring to
These are results may be obtained by selectively compensating for the hue data on the basis of the hue data using the look-up table and preserving the saturation data and the value data.
In
According to an image processing method of the present disclosure, the data are compensated on the basis of the hue in the HSV color space and the saturation and value are preserved, and thus the image, e.g., the memory color like the skin color, may be substantially prevented from being distorted. In addition, since the data may be compensated using the one-dimensional look-up table, the computational burden of image compensation becomes smaller and a size of the memory required is reduced.
Hereinafter, an example of the display device will be described.
Referring to
The image processing unit 100 may be used to perform the processes described above with reference to
The image processing unit 100 includes an RGB-to-HSV converter 110, a compensator 120, an HSV-to-RGB converter 130, and a look-up table LUT.
The RGB-to-HSV converter 110 receives the RGB data RGB from an external source (not shown). The RGB-to-HSV converter 110 converts the RGB data RGB to the HSV data HnSnVn and applies the HSV data HnSnVn to the compensator 120.
The look-up table LUT is substantially the same as the look-up table described above with reference to
The compensator 120 compensates for the HSV data HnSnVn on the basis of the hue data Hn. For example, the compensator 120 reads out the hue-difference data dH, the saturation-difference data dS, and the value-difference data dV, which correspond to the hue data Hn, from the look-up table LUT and calculates the hue-difference data dH, the saturation-difference data dS, and the value-difference data dV with the HSV data HnSnVn.
The compensator 120 generates the compensated HSV data HoSoVo and applies the compensated HSV data HoSoVo to the HSV-to-RGB converter 130.
The HSV-to-RGB converter 130 converts the compensated HSC data HoSoVo to the compensated RGB data RGB′ and applies the compensated RGB data RGB′ to the display unit 200.
Although not shown in
The driving unit includes a timing controller, a data driver, and a gate driver. The driving unit receives the compensated RGB data RGB′ and converts the compensated RGB data RGB′ to the data voltages, and then the driving unit applies the data voltages to the display panel.
The display panel displays the image corresponding to the data voltage. The display panel may be formed from various display panels, such as an organic light emitting display panel, a liquid crystal display panel, a plasma display panel, an electrophoretic display panel, an electrowetting display panel, etc.
Although exemplary embodiments of the present invention have been described, it is understood that the present invention should not be limited to these exemplary embodiments but various changes and modifications can be made by one ordinary skilled in the art within the spirit and scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
10-2013-0017628 | Feb 2013 | KR | national |
This U.S. non-provisional patent application claims priority under 35 U.S.C. §119 to Korean Patent Application No. 10-2013-0017628, filed on Feb. 19, 2013, the contents of which are hereby incorporated by reference in its entirety.