Japanese Patent Application No. 2014-029745, filed on Feb. 19, 2014, and entitled, “Image Processing Apparatus and Image Processing Method,” is incorporated by reference herein in its entirety.
1. Field
One or more embodiments described herein relate to an image processing apparatus and an image processing method.
2. Description of the Related Art
A variety of displays have recently been developed. Examples include liquid crystal displays (LCDs) and organic electroluminescent displays. In these and other types of displays, a color reproduction region of the display has been gradually expanded along with the enhancement in color display technology. For example, a color reproduction region wider than an existing international standard for color reproduction, standard RGB (sRGB), and Adobe RGB has been proposed for an LCD using light emitting diode (LED) backlight or a self-emissive organic EL display.
For example, International Telecommunication Union Radiocommuncation (ITU-R) Recommendation BT 2020 defines a color space for Ultra High Definition Television (UHDTV). According to this Recommendation, image content having a wide color gamut according to a color space for UHDTV may be provided to a display.
When image content having the wide color gamut according to the color space for UHDTV is provided to a display, the display having a typical color gamut, such as an sRGB color space or an Adobe RGB color space, may attempt to generate images having a wider color gamut. When a signal corresponding to a wide color gamut is input to a display having a narrow color gamut, the display may use a color conversion technology in attempt to convert the wide color gamut into the narrow color gamut. However, such a conversion may result in a color reproduction that does not adhere to a standard and/or produces inaccurate or unrealistic color in the generated images.
In accordance with one or more embodiments, an image processing apparatus includes a signal input converter to convert input signals having a first color gamut representing image data to first image signals that are at least substantially linear; a color gamut converter to convert the first image signals to second image signals having a second color gamut narrower than the first color gamut, the image signals having the second color gamut to be displayed; a blend coefficient setter to set a blend coefficient corresponding to a synthesis ratio of the first image signals and the second image signals based on saturation obtained from the input signals; and a color synthesizer to generate synthesized image signals obtained by synthesizing the first image signals and the second image signals at a ratio according to the set blend coefficient.
The blend coefficient setter sets an upper bound of saturation based on a color difference between a boundary of the first color gamut and a boundary of the second color gamut and based on a chroma component of the boundary of the first color gamut, and the blend coefficient setter sets the upper bound of saturation when the boundary of the first color gamut and the boundary of the second color gamut are converted into an L*a*b space, the upper bound of saturation corresponding to when synthesized image signals generated by the color synthesizer based on the blend coefficient become the second image signals.
The blend coefficient setter may set the upper bound of saturation according to a quotient, and the quotient may be obtained by dividing the color difference between the boundary of the first color gamut and the boundary of the second color gamut by the chroma component of the boundary of the first color gamut.
The blend coefficient setter may decrease the upper bound of saturation under according to an increase in a quotient, and the quotient may be obtained by dividing the color difference between the boundary of the first color gamut and the boundary of the second color gamut by the chroma component of the boundary of the first color gamut.
A change rate of the upper bound of saturation to the quotient may linearly vary, and, under the upper bound of saturation, the synthesized image signals generated by the color synthesizer based on the blend coefficient may become the second image signals.
Before and after the upper bound of saturation, under which the synthesized image signals generated by the color synthesizer based on the blend coefficient become the first image signals, becomes 0.5, a change rate of the upper bound of saturation, under which the synthesized image signals generated by the color synthesizer based on the blend coefficient become the second image signals, to the quotient may be different.
In accordance with one or more other embodiments, an image processing method includes converting input signals having a first color gamut representing image data to first image signals that are at least substantially linear; converting the first image signals to second image signals having a second color gamut narrower than the first color gamut, the second image signals having the second color gamut to be displayed; setting a blend coefficient corresponding to a synthesis ratio of the first image signals and the second image signals based on saturation obtained from the input signals; and generating synthesized image signals obtained by synthesizing the first image signals and the second image signals at a ratio according to a set blend coefficient. An upper bound of saturation is set based on a color difference between a boundary of the first color gamut and a boundary of the second color gamut and based on a chroma component of the boundary of the first color gamut, and the boundary of the first color gamut and the boundary of the second color gamut are converted into an L*a*b space, the an upper bound of saturation corresponding to when synthesized image signals generated based on the blend coefficient become the second image signals.
In accordance with one or more other embodiments, an image processing apparatus includes a signal input converter to convert input signals having a first color gamut to first image signals; a color gamut converter to convert the first image signals to second image signals having a second color gamut narrower than the first color gamut; a blend coefficient setter to set a blend coefficient corresponding to a synthesis ratio of the first and second image signals based on saturation obtained from the input signals; and a color synthesizer to generate synthesized image signals obtained by synthesizing the first and second image signals at a ratio based on the blend coefficient. The blend coefficient setter sets saturation to a range based on a color difference between a boundary of the first color gamut and a boundary of the second color gamut and based on a chroma component of the boundary of the first color gamut, and the blend coefficient setter sets the saturation range when the boundary of the first color gamut and the boundary of the second color gamut are converted into a predetermined space, the saturation range corresponding to when synthesized image signals generated by the color synthesizer based on the blend coefficient become the second image signals.
Features will become apparent to those of skill in the art by describing in detail exemplary embodiments with reference to the attached drawings in which:
Example embodiments are be described more fully hereinafter with reference to the accompanying drawings; however, they may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey exemplary implementations to those skilled in the art. In the drawings, the dimensions of layers and regions may be exaggerated for clarity of illustration. Like reference numerals refer to like elements throughout.
Referring to
The signal input unit 100 receives input signals Rin, Gin, and Bin that are input images. The input signals Rin, Gin, and Bin may be expressed by numerical values in a predetermined range, e.g., 0 to 1. The signal input unit 100 performs exponential function conversion on each of received input signals Rin, Gin, and Bin to generate linear image signals Vr, Vg, and Vb.
The linear image signals Vr, Vg, and Vb may be calculated based on Equation 1. For example, when the input signals Rin, Gin, and Bin conform to a sRGB color space, a gamma γ value is 2.2. Thus, it is possible to generate image signals Vr, Vg, and Vb by raising the input signals Rin, Gin, and Bin to the 2.2nd power.
The image signals obtained by raising the input signals Rin, Gin, and Bin to the gamma γ value power are linear image signals Vr, Vg, and Vb.
The color gamut conversion unit 102 uses a conversion matrix to convert the image signals Vr, Vg, and Vb generated at the signal input unit 100 into image signals having a narrow color gamut.
When a color gamut is converted from UHDTV into Adobe RGB, image signals are converted into image signals having a narrow color gamut. In any case, whenever the characteristic of a display does not match an Adobe RGB color gamut, the color gamut of the image signals may be converted.
In a display device having a narrow color gamut, the color gamut conversion unit 102 uses a conversion matrix to convert an image having a wide color gamut into an image having a narrow color gamut. Image signals Vr′, Vg′ and Vb′ obtained through conversion are then output. For example, when [Mwc] is a wide color gamut conversion matrix, [Mnc] is a narrow color gamut conversion matrix, and [Mc]=[Mnc]−1 [Mwc], Equations (2) and (3) are performed:
In ITU-R Recommendation BT 2020, an UHDTV color gamut is a wide color gamut, an Adobe RGB color gamut is a narrow color gamut, and a color gamut conversion operation in such a case is exemplarily described.
Table 1 represents examples of CIE xy coordinate values of each of UHDTV and Adobe RGB, and
When at least one of the coordinate points of R, G and B values on the CIE xy chromacity diagram or the CIE xy coordinate values is inside a wide color gamut coordinate, it is defined as a narrow color gamut. For example, when the boundary of the color gamut is inside the wide color gamut, it may be defined as a narrow color gamut. Conversely, when, for example, a color coordinate corresponding to B on the CIE xy chromacity diagram is outside UHDTV but color coordinates corresponding to R and G are inside the UHDTV, it is defined as a narrow color gamut.
Tables 2 to 4 represent examples of conversion matrices of UHDTV and Adobe RGB and [Mc] for Equation (3) above.
The α setting unit 104 sets the blend coefficient α based on saturation S that may be obtained from input signals Rin, Gin, and Bin. The blend coefficient α defines the synthesis ratio of the image signals Vr, Vg, and Vb and the image signals Vr′, Vg′, and Vb′ synthesized at the color synthesis unit 106.
In one embodiment, the blend coefficient α is set so as not to cause an overflow state in which a synthesized image signal is not included in the range of 0 to 1. Depending on the synthesis ratio, when the blend coefficient α is 1, the image signals Vr′, Vg′, and Vb′ become 100%. When the blend coefficient α is 0, the image signals Vr, Vg, and Vb become 100%.
When the image signals Vr′, Vg′ and Vb′ after color conversion correspond to the boundary of a color gamut, the α setting unit 104 may previously examine how input RGB data is distributed in an HSV color space, and may then determine the blend coefficient. In this example, an image display apparatus having a narrow color gamut performs the inverse conversion of a conversion matrix for displaying a wide color gamut, performs exponential function conversion, finds R, G, and B data, and calculates HSV values.
In addition, the α setting unit 104 defines the values of brightness V and/or saturation S that may avoid overflow, and sets the blend coefficient α to a different value depending on whether the brightness V and the saturation S are equal to or larger than defined values S1 and V1 or smaller than them.
The α setting unit 104 sets the blend coefficient α to 0 when the values of brightness V and/or saturation S are equal to or larger than defined values S1 and V1, and sets the blend coefficient α to a value between 0 and 1 when they are smaller than the defined values S1 and V1.
The α setting unit 104 may also use a function to set α so that α changes between 0 and 1, when brightness V and/or saturation S are less than the defined values S1 and V1. For example, in the relationship between saturation S and α, when α is less than S1, α may be set using an exponential function, a linear function, a sigmoid function, or a fitting function. Also, in the relationship between brightness V and α, α less than V1 may be set using a linear function.
The color synthesis unit 106 synthesizes the image signals Vr, Vg, and Vb generated at the signal input unit 100 and the image signals Vr′, Vg′, and Vb′ generated at the color gamut conversion unit 102 at a synthesis ratio according to the blend coefficient α set at the blend coefficient setting unit 104. In this example, α decreases when the image signals Vr′, Vg′, and Vb′ overflow and α increases when they do not overflow. The color synthesis unit 106 generates and outputs synthesized image signals Vrb, Vgb and Vbb. For example, the color synthesis unit 106 blends obtained image signals Vr, Vg, and Vb and image signals Vr′, Vg′, and Vb′ using the blend coefficient α and generates synthesized image signals Vrb, Vgb and Vbb. The synthesized image signals Vrb, Vgb, and Vbb may be found, for example, using the Equations (4) to (6).
Vrb=(1−α)Vr+αVr′ (4)
Vgb=(1−α)Vg+αVg′ (5)
Vbb=(1−α)Vb+αVb′ (6)
When α is 1, the synthesized image signals Vrb, Vgb, and Vbb become the image signals Vr′, Vg′, and Vb′. When α is 0, the synthesized image signals Vrb, Vgb, and Vbb become the image signals Vr, Vg, and Vb. When α is greater than 0 and less than 1, the synthesized image signals Vrb, Vgb, and Vbb are set to values obtained by splitting the image signals Vr, Vg, and Vb and the image signals Vr′, Vg′ and Vb′ according to the ratio of α.
The signal output unit 108 receives the synthesized image signals Vrb, Vgb, and Vbb from the color synthesis unit 106. The signal output unit 108 performs exponential function conversion on the synthesized image signals Vrb, Vgb, and Vbb to generate output signals Rout, Gout and Bout. For example, 1/2.2 exponential function conversion is performed on the synthesized image signals Vrb, Vgb, and Vbb and a required number of bits of signals Rout, Gout, and Bout are generated. The output signals Rout, Gout, and Bout are provided to image display apparatuses such as a display and projector.
In an sRGB color space, the gamma value γ is 2.2. Thus, the output signals Rout, Gout, and Bout may be generated based on Equation 7.
An embodiment of a method for setting the value of α based on a fitting function when saturation is less than S1 will now be described. For example, the lower bound S1 of saturation S making the value of a zero and the upper bound S2 of saturation S making the value of α one are determined. That is, when the value of saturation S is less than S2, the value of a becomes 1. When the value of saturation S exceeds S1, the value of a becomes 0.
When the value of saturation S is S1 to S2, it is possible to determine fitting points represented by a plurality of round points to determine the value of α using a fitting function passing through the points when the value of saturation S is S1 to S2, as represented in
When the value of a for the value of saturation S is denoted by α(S), α(S) may be determined based on a fitting function by ten fitting points as represented in
In
An example of the conversion matrix [Mnc] between UHDTV and R-rotation is represented in Table 6.
An example of [Mc]=[Mnc]−1[Mwc] is represented in Table 7.
An example of the conversion matrix [Mnc] between UHDTV and L-rotation is represented in Table 8.
An example of [Mc]=[Mnc]−1[Mwc] is represented in Table 9.
When the characteristic of an image display apparatus conforms to an Adobe RGB color space and a color gamut in which an image is displayed varies, a unnatural color change may occur when the α value is determined according to the above-described fitting function for performing color gamut conversion.
An embodiment of a method for calculating α to prevent an unnatural color change involves the α setting unit 104 storing an index that is dE*r and based on dE* and C*wc. For example, information on quotient dE*/C*wc obtained by dividing dE* by C*wc is stored in the α setting unit 104. In this example, when brightness and saturation are 1s, dE* and C*wc are values that may be obtained by converting the boundary Bwcg of the wide color gamut of an input image signal (e.g., UHDTV color gamut) and the boundary Bncg of the narrow color gamut of a display apparatus (e.g., R-ration or L-rotation) into an L*a*b color space.
In this example, the L*a*b* color space is a CIE 1976 color space. A CIE XYZ color space may be converted into the L*a*b* color space by letting, the coordinate values of CIE XYZ of a white point being a reference point, be Xn, Yn and Zn and using L*=116f(Y/Yn)−16, a*=500(f(X/Xn)−f(Y/Yn)), and b*=200(f(Y/Yn)−f(Z/Zn)). Also, f(t) is defined as t1/3 where t>(6/29)3, and as (1/3)(29/6)2t+4·29 where t (6/29)3.
Referring to
S2 may be calculated and the α value may be calculated, for example, as represented in
Referring to
In Setting 2 in
When the relationship between dE*r and S2 by Relation 1 in
When dE*r is equal to or greater than dE*rmid in Setting 1 in
In Setting 3 in
By applying Setting 3 in
When the relationship between dE*r and S2 by Relation 2 in
When dE*r is less than or equal to dE*rmid in Relation 3 in
In one example, input signals Rin, Gin, and Bin having H fixed and having S varied from 0 to 1 are input to an image processing apparatus, a simulation result of changes in signals Rout, Gout, and Bout output by the signal output unit 108 is represented, and an effect according to one embodiment is described. In this example, RGB is 8 bit data and V is fixed to 0.7. For example, the maximum values of the input signals Rin, Bin, and Gin are 178.
By way of summation and review, when image content having a wide color gamut according to a color space for UHDTV is provided to a display, the display having a typical color gamut, such as an sRGB color space or an Adobe RGB color space, may attempt to generate images having a wider color gamut. Thus, when a signal corresponding to a wide color gamut is input to such a display having a narrow color gamut, the display may use a color conversion technology to convert the wide color gamut into the narrow color gamut. However, the color reproduction region implemented may not match a color reproduction region defined according to a standard.
Color conversion methods have been proposed in attempt to accurately convert a wide color gamut into a narrow color gamut. These methods involve finding values for hue H, saturation S, and brightness V from input data and synthesizing an input data value with a data value obtained by converting the input data into the narrow color gamut according to the values to generate output data.
However, in these methods, data after the color conversion may not be included in a range (e.g., 0 to 1) originally predicted, but in this case may take a value less than 0 or greater than 1. This situation may be defined as an overflow phenomenon. When overflow occurs and a circuit operates, data is fixed to 0 when the data is equal to or less than 0 and the data is fixed to 1 when the data is equal to or greater than 1. Because an image is fixed to another value instead of a value to be originally changed, the image may not be accurately displayed.
In attempt to prevent this situation, the proposed methods have an S value under r=0.5 as a threshold value and change the threshold value according to the difference in color gamut between the wide color gamut and the narrow color gamut, when the synthesis ratio r of two data values is determined by the saturation S value. However, the color reproduction region implemented for each of a plurality of displays may not match a color reproduction region defined according to a standard using the proposed methods.
In accordance with one or more of the aforementioned embodiments, an image processing apparatus and method reduces or prevents an unnatural change in color even when a color reproduction region implemented for each of a plurality of displays does not match a color reproduction region defined by a standard.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and are to be interpreted in a generic and descriptive sense only and not for purpose of limitation. In some instances, as would be apparent to one of skill in the art as of the filing of the present application, features, characteristics, and/or elements described in connection with a particular embodiment may be used singly or in combination with features, characteristics, and/or elements described in connection with other embodiments unless otherwise indicated. Accordingly, it will be understood by those of skill in the art that various changes in form and details may be made without departing from the spirit and scope of the present invention as set forth in the following claims.
Number | Date | Country | Kind |
---|---|---|---|
2014-029745 | Feb 2014 | JP | national |