WO2013128549A1 - Color saturation adjustment circuit and method for controlling same - Google Patents

Color saturation adjustment circuit and method for controlling same Download PDF

Info

Publication number
WO2013128549A1
WO2013128549A1 PCT/JP2012/054780 JP2012054780W WO2013128549A1 WO 2013128549 A1 WO2013128549 A1 WO 2013128549A1 JP 2012054780 W JP2012054780 W JP 2012054780W WO 2013128549 A1 WO2013128549 A1 WO 2013128549A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
saturation
correction
red
green
Prior art date
Application number
PCT/JP2012/054780
Other languages
French (fr)
Japanese (ja)
Inventor
健 森本
Original Assignee
Necディスプレイソリューションズ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Necディスプレイソリューションズ株式会社 filed Critical Necディスプレイソリューションズ株式会社
Priority to PCT/JP2012/054780 priority Critical patent/WO2013128549A1/en
Publication of WO2013128549A1 publication Critical patent/WO2013128549A1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/02Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/02Improving the quality of display appearance
    • G09G2320/0242Compensation of deficiencies in the appearance of colours

Definitions

  • the present invention relates to a saturation adjustment circuit that performs spot color correction and a control method thereof.
  • the saturation adjustment circuit disclosed in Patent Document 1 when the saturation is increased by spot color correction using red as a special color, the video signal is corrected so as to increase the red data value, and the red data value is corrected.
  • the saturation is increased by increasing the difference between the color value and the data value of other colors.
  • the red data value in the original video signal is high and the lightness is high, the upper limit value is reached even if the red data value is increased, and the color saturation state is reached and saturation adjustment can be performed. It may not be possible.
  • An object of the present invention is to provide a saturation adjustment circuit capable of performing saturation adjustment even when the brightness of a video signal is high, and a control method therefor.
  • a calculation unit When a reference color, which is a reference color among red, green, and blue, is determined according to the specific color, and the fact that the saturation is increased by the special color correction is input, according to the increase amount of the saturation Calculating a correction amount for reducing the data value of the color other than the reference color among red, green, and blue, multiplying the calculated correction amount by the spot color degree calculated by the spot color degree calculating unit, A correction calculator to output; And an adder that adds the output of the correction calculator to the data value indicated in the video signal for each of the red, green, and blue color components.
  • the saturation adjustment circuit performs spot color correction that adjusts the saturation of a video signal in a certain range of hues centered on a spot color that is a specific color specified in advance.
  • the saturation adjustment circuit of this embodiment performs spot color correction for six colors of red, green, blue, cyan, magenta, and yellow.
  • the video signal RGBin which is a signal in the RGB color space, is input from the external video signal to the HSV calculation unit 101, the special color calculation unit 102, and the addition unit 114.
  • the calculated special color degree ⁇ Cc is output to the cyan correction calculation unit 106, the calculated special color degree ⁇ Mc is output to the magenta correction calculation unit 107, and the calculated special color degree ⁇ Yc is output to the yellow correction calculation unit 108.
  • the red correction calculation unit 103 generates correction signals dRr, dRg, dRb indicating correction values of the data values Rin, Gin, Bin by the special color correction for red according to the saturation adjustment coefficient Rcnt and the special color degree ⁇ Rc, The result is output to the adding unit 109.
  • the blue correction calculation unit 105 generates correction signals dBr, dBg, and dBb indicating correction values of the data values Rin, Gin, and Bin by the special color correction for blue according to the saturation adjustment coefficient Bcnt and the special color degree ⁇ Bc. The result is output to the adding unit 110.
  • the cyan correction calculation unit 106 generates correction signals dCr, dCg, dCb indicating correction values of data values Rin, Gin, Bin by special color correction for cyan according to the saturation adjustment coefficient Ccnt and the special color degree ⁇ Cc. The result is output to the adding unit 111.
  • the yellow correction calculation unit 108 generates correction signals dYr, dYg, dYb indicating correction values of the data values Rin, Gin, Bin by the special color correction for yellow according to the saturation adjustment coefficient Ycnt and the special color degree ⁇ Yc, The result is output to the adding unit 113.
  • the adder 109 adds the correction signals dRr, dRg, dRb input from the red correction calculator 103 and the correction signals dGr, dGg, dGb input from the green correction calculator 104 for each of the red, green, and blue color components. Addition and output to the adder 110.
  • the adder 113 adds the input from the adder 112 and the correction signals dYr, dYg, dYb input from the yellow correction calculator 108 for each color component, and data values Rin, Gin, Signals AddR, AddG, and AddB obtained by adding the bin correction values are output to the adder 114.
  • the adder 114 adds the correction values indicated by the signals AddR, AddG, and AddB input from the adder 113 to the data values Rin, Gin, and Bin, and outputs the data values of red, green, and blue to the limiter 115. .
  • the limiter 115 performs a process of clipping so that the red, green, and blue data values input from the adding unit 114 exceed the upper limit value, and the input value is input from the adding unit 114.
  • the data values of red, green, and blue are negative, a process of setting to 0 is performed, and the corrected video signal RGBout is output to the outside of the saturation adjustment circuit 100.
  • red, green, and blue data values are each represented by 8 bits. Therefore, the red, green, and blue data values each take a value in the range of 0 to 255.
  • the saturation adjustment coefficient takes a value in the range of 0 to 2.0, is colorless when it is 0, and doubles the saturation when it is 2.0. Is a value indicating.
  • the HSV calculation unit 101 converts the data values Rin, Gin, Bin taking values in the range of 0 to 255 into values in the range of 0 to 1.0 in order to calculate the hue H, saturation S, and brightness V. To do.
  • data values Rin, Gin, Bin converted to values in the range of 0 to 1.0 are expressed as data values R, G, B, respectively.
  • the HSV calculation unit 101 calculates the hue H using the following equation (1).
  • a and B ′ are values determined based on the data values Rin, Gin, and Bin, as shown in FIG.
  • Max () is a function for obtaining the maximum value
  • Min () is a function for obtaining the minimum value.
  • FIG. 3 shows the relationship between the identification (T) and hue shown in FIG.
  • the HSV calculation unit 101 calculates the saturation S using the following equation (2).
  • the HSV calculation unit 101 calculates the lightness V using the following equation (3).
  • pos (x) is a function that is x when x is positive, and 0 otherwise.
  • Hc1 represents the center hue for spot color correction.
  • FIG. 4 is a diagram showing the relationship between the central hue Hc1 and the corrected hue range m1.
  • the color within the range of angles from Hc1 ⁇ m1 / 2 to Hc1 + m1 / 2 with the central hue Hc1 as the center is the range where the special color correction with the central hue Hc1 as the special color extends.
  • FIG. 5 is a diagram showing the relationship between the hue H and the special color degree ⁇ 1 when the saturation is S and the brightness is V.
  • FIG. 5 is a diagram showing the relationship between the hue H and the special color degree ⁇ 1 when the saturation is S and the brightness is V.
  • the special color degree ⁇ 1 has a maximum value of S ⁇ V, and as the hue H moves away from Hc, the special color degree ⁇ 1 decreases linearly.
  • FIG. 6 is a diagram illustrating the characteristic degree ⁇ Rc for red.
  • the special color degree ⁇ Rc is 1.0, and it can be seen that the special color degree ⁇ Rc approaches 0 as it moves to another color.
  • the special color degree calculation unit 102 calculates the special color degrees ⁇ Rc, ⁇ Gc, ⁇ Bc, ⁇ Cc, ⁇ Mc, ⁇ Yc using the equation (4).
  • FIG. 7 shows values to be substituted for Hc1 in the equation (4) when calculating the special color degrees ⁇ Rc, ⁇ Gc, ⁇ Bc, ⁇ Cc, ⁇ Mc, ⁇ Yc.
  • specific equations for calculating each of the special color degrees ⁇ Rc, ⁇ Gc, ⁇ Bc, ⁇ Cc, ⁇ Mc, ⁇ Yc are shown.
  • the special color degree calculation unit 102 calculates the special color degrees ⁇ Rc, ⁇ Gc, ⁇ Bc, ⁇ Cc, ⁇ Mc, ⁇ Yc using the above formulas (5) to (11).
  • the red correction calculation unit 103 determines red as a reference color in order to perform a special color correction for red, and according to the saturation adjustment coefficient Rcnt, the data value of the reference color and other than the reference color among red, green, and blue Increase or decrease the difference from the color data value.
  • FIG. 8 is a diagram illustrating an example of an example of levels of data values Rin, Gin, and Bin indicated in the video signal RGBin.
  • the saturation adjustment coefficient Rcnt indicates that the saturation should be 0 by the spot color correction for red, as shown in FIG. .
  • the green and blue data values are raised to the same level as the red data values. That is, when the saturation adjustment coefficient Rcnt indicates that the saturation is decreased, the red correction calculation unit 103 decreases the difference between the data value of the reference color and the data value of the color other than the reference color. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
  • the red correction calculation unit 103 indicates that the saturation adjustment coefficient Rcnt increases the saturation
  • the red data value can be increased, as shown in FIG. Increase the red data value and decrease the green and blue data values. That is, the red correction calculation unit 103 increases the difference between the data value of the reference color and the data value of the color other than the reference color when the saturation adjustment coefficient Rcnt indicates that the saturation is increased. .
  • This makes it possible to increase the saturation as is clear from the equation (2), and not simply to increase the data value of the reference color, so that the data value Rin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
  • the red correction calculation unit 103 calculates the color differences iRmR, iRmG, iRmB based on red using the following formulas (12) to (14).
  • the red correction calculation unit 103 calculates iGRmG and iGRmB using the following equations (15) and (16).
  • the red correction calculation unit 103 increases the red data value when the saturation adjustment coefficient Rcnt indicates that the saturation is increased, and the saturation adjustment coefficient Rcnt increases the saturation. In the case of indicating to decrease, the red data value is left as it is. Therefore, the red correction calculation unit 103 calculates iGRmR using the following equation (17).
  • Equation (15) to Equation (17) may include a fractional part. In this case, the decimal part may be discarded.
  • the green correction calculation unit 104 reduces the difference between the data value of the reference color and the data value of the color other than the reference color when the saturation adjustment coefficient Gcnt indicates that the saturation is decreased. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
  • the green correction calculation unit 104 increases the green data value if the green data value can be increased. Reduce the red and blue data values. That is, when the saturation adjustment coefficient Gcnt indicates that the saturation is increased, the green correction calculation unit 104 increases the difference between the data value of the reference color and the data value of the color other than the reference color. . This makes it possible to increase the saturation as is apparent from the equation (2), and not simply to increase the data value of the reference color, so that the data value Gin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
  • the green correction calculation unit 104 calculates iGGmR and iGBmB using the following equations (24) and (25).
  • the green correction calculation unit 104 increases the green data value when the saturation adjustment coefficient Gcnt indicates that the green saturation is increased, and the saturation adjustment coefficient Gcnt If it indicates that the degree is to be decreased, the green data value is left as it is. Therefore, the green correction calculation unit 104 calculates iGGmG using the following equation (26).
  • the calculation result of Expression (24) to Expression (26) may include a fractional part. In this case, the decimal part may be discarded.
  • the green correction calculation unit 104 generates correction signals dGr, dGg, and dGb using the following equations (27) to (29).
  • the correction strength can be given by multiplying by the special color degree ⁇ Gc.
  • the blue correction calculation unit 105 determines blue as a reference color in order to perform a special color correction for blue, and according to the saturation adjustment coefficient Bcnt, the data value of the reference color and a color other than the reference color among red, green, and blue Increase or decrease the difference from the color data value.
  • the saturation adjustment coefficient Bcnt indicates that the saturation is reduced by the special color correction for blue
  • the blue data value is left as it is, and the red and green values are corrected.
  • Increase the data value that is, when the saturation adjustment coefficient Bcnt indicates that the saturation is decreased, the blue correction calculation unit 105 decreases the difference between the data value of the reference color and the data value of the color other than the reference color. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
  • the blue correction calculation unit 105 increases the blue data value if the blue data value can be increased. Reduce the red and green data values. That is, when the saturation adjustment coefficient Bcnt indicates that the saturation is increased, the blue correction calculation unit 105 increases the difference between the data value of the reference color and the data value of the color other than the reference color. . This makes it possible to increase the saturation as is apparent from the equation (2), and not simply to increase the data value of the reference color, so that the data value Bin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
  • the blue correction calculation unit 105 calculates iGBmR and iGBmG using the following equations (33) and (34).
  • the blue correction calculation unit 105 increases the blue data value when the saturation adjustment coefficient Bcnt indicates that the saturation of blue is increased, and the saturation adjustment coefficient Bcnt is increased by the saturation adjustment coefficient Bcnt. If it indicates that the degree is to be decreased, the blue data value is left as it is. Therefore, the blue correction calculation unit 105 calculates iGBmB using the following equation (35).
  • the calculation result of Expression (33) to Expression (35) may include a fractional part. In this case, the decimal part may be discarded.
  • cyan correction calculation unit 106 determines blue and green as reference colors in order to perform special color correction for cyan, and determines the reference color according to the saturation adjustment coefficient Ccnt. Increase or decrease the difference between the data value and the data value of a color other than the reference color among red, green, and blue.
  • the saturation adjustment coefficient Ccnt indicates that the saturation is reduced by the special color correction for cyan, among the blue and green determined as the reference color
  • the level of the data value of the other color and red determined as the reference color is matched with the data value of one color. That is, when the saturation adjustment coefficient Ccnt indicates that the saturation is decreased, the cyan correction calculation unit 106 decreases the difference between the data value of the reference color and the data value of the color other than the reference color. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
  • the cyan correction calculation unit 106 determines that the blue and green data can be increased if the blue and green data values can be increased. Increase the value and decrease the red data value. That is, when the saturation adjustment coefficient Ccnt indicates that the saturation is increased, the cyan correction calculation unit 106 increases the difference between the data value of the reference color and the data value of the color other than the reference color. . This makes it possible to increase the saturation as is apparent from the equation (2), and not simply to increase the data value of the reference color, so that the data value Bin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
  • the cyan correction calculation unit 106 calculates the color differences iCmR, iCmG, iCmB, iCBmG based on cyan using the following equations (39) to (42).
  • the color difference iCBmG is calculated so that the level of the green data value matches the level of the blue data value when the saturation is reduced by the special color correction for cyan.
  • the cyan correction calculation unit 106 calculates iGCmR, iGCmG, iGCmB, and iGCBmG using the following equations (43) to (46).
  • the calculation result of Expression (43) to Expression (46) may include a fractional part. In this case, the decimal part may be discarded.
  • the cyan correction calculation unit 106 generates correction signals dCr, dCg, and dCb using the following equations (47) to (49).
  • the correction strength can be given by multiplying by the special color degree ⁇ Cc.
  • the saturation adjustment coefficient Ccnt indicates that the saturation is to be decreased
  • the example has been described in which the green and red data values are combined with the blue data value, but the present invention is not limited to this.
  • the blue data value may be matched with the green data value.
  • magenta correction calculation unit 107 determines red and blue as reference colors in order to perform a special color correction for magenta, and determines the reference color according to the saturation adjustment coefficient Mcnt. Increase or decrease the difference between the data value and the data value of a color other than the reference color among red, green, and blue.
  • the magenta correction calculation unit 107 when the saturation adjustment coefficient Mcnt indicates that the saturation is reduced by the special color correction for magenta, of red and blue determined as the reference color, The level of the data value of the other color and green determined as the reference color is matched with the data value of one color. That is, the magenta correction calculation unit 107 reduces the difference between the data value of the reference color and the data value of the color other than the reference color when the saturation adjustment coefficient Mcnt indicates that the saturation is decreased. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
  • the magenta correction calculation unit 107 determines that the red and blue data values can be increased if the red and blue data values can be increased. Increase the value and decrease the green data value. That is, the magenta correction calculation unit 107 increases the difference between the data value of the reference color and the data value of the color other than the reference color when the saturation adjustment coefficient Mcnt indicates that the saturation is increased. . This makes it possible to increase the saturation as is clear from the equation (2), and not simply to increase the data value of the reference color, so that the data value Rin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
  • magenta correction calculation unit 107 will be described in more detail.
  • description will be given using an example in which blue and green data values are combined with red data values when the saturation adjustment coefficient Mcnt indicates that saturation is to be reduced.
  • the magenta correction calculation unit 107 calculates the color differences iMmR, iMmG, iMmB, and iMRmB with respect to magenta using the following formulas (50) to (53).
  • the color difference iMRmB is calculated so that the blue data value matches the level of the red data value when the saturation is reduced by the special color correction for magenta.
  • the magenta correction calculation unit 107 calculates iGMmR, iGMmG, iGMmB, and iGMRmB using the following equations (54) to (57).
  • Equation (54) to Equation (57) may include a fractional part. In this case, the decimal part may be discarded.
  • the addition unit 113 adds all the red components, the signal AddR, all the green components AddD, and all the blue components of the correction signals output from the red correction calculation unit 103 to the yellow correction calculation unit 108.
  • the signal AddB is output to the adder 114.
  • the addition unit 114 adds the correction values indicated by the signals AddR, AddG, and AddB to the data values Rin, Gin, and Bin, respectively, and outputs the result to the limiter 115.
  • the red, green, and blue data values are represented by 8 bits and take values in the range of 0 to 255.
  • the saturation adjustment circuit 100 determines the reference color from red, green, and blue according to the spot color for which the spot color correction is performed, and the saturation adjustment coefficient increases the saturation. In the case of indicating the video signal, the video signal is corrected so as to lower the data value of the color other than the reference color.
  • Decreasing the data value of the color other than the reference color and increasing the difference between the data value of the reference color and the data value of the color other than the reference color can increase the saturation without increasing the data value of the reference color. Therefore, saturation adjustment can be performed even when the brightness of the original video signal is high.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

This color saturation adjustment circuit performs a selective color correction that adjusts the color saturation of a video signal having a fixed range of hues centering on a specific color, the color saturation adjustment circuit having: a specific color level calculating unit for calculating a specific color level indicating a degree of similarity between a color indicated by the video signal and the specific color, when a video signal indicating a data value for each of red, green and blue is inputted, and for outputting the result of this calculation; a correction computation unit for determining, in accordance with the specific color, a reference color, which is the color from among red, green, and blue that will be the reference, and when an instruction to the effect of increasing the color saturation by selective color correction is inputted, for calculating the correction amount for minimizing the data values of colors other than the reference color from among the red, green, and blue in accordance with the amount of increase in the color saturation, multiplying the specific color level calculated by the specific color level calculating unit by the calculated correction amount, and outputting the result of this multiplication; and an adder for adding the output of the correction computation unit to the data value indicated in the video signal for each of the color components red, green and blue, and outputting the result thereof.

Description

彩度調整回路およびその制御方法Saturation adjustment circuit and control method thereof
 本発明は、特色補正を行う彩度調整回路およびその制御方法に関する。 The present invention relates to a saturation adjustment circuit that performs spot color correction and a control method thereof.
 プロジェクタなどの表示装置の中には、例えば、映像信号に示される映像内の特定の色をより鮮やかに表示するために、その特定の色(以下、特色と称する)を中心とした一定の範囲の色相の映像信号の彩度を調整する特色補正を行う彩度調整回路を備えるものがある。このような彩度調整回路の一例が、特許文献1(特開平10-198795号公報)に開示されている。 In a display device such as a projector, for example, in order to display a specific color in a video indicated by a video signal more vividly, a certain range centered on the specific color (hereinafter referred to as a spot color) Some of them have a saturation adjustment circuit for performing spot color correction for adjusting the saturation of the video signal of the hue. An example of such a saturation adjustment circuit is disclosed in Patent Document 1 (Japanese Patent Laid-Open No. 10-198795).
 特許文献1に開示の彩度調整回路は、予め指定された特色に応じて、入力された映像信号に示される赤、緑、青それぞれのデータ値の補正値を算出するとともに、その映像信号に示される色と特色との近似度を示す特色度を算出し、算出した補正値に特色度を乗算したものを元の映像信号に加算することで特色補正を行う。 The saturation adjustment circuit disclosed in Patent Document 1 calculates correction values for red, green, and blue data values indicated in an input video signal according to a special color designated in advance, and adds the correction value to the video signal. The spot color correction is performed by calculating the spot color degree indicating the degree of approximation between the displayed color and the spot color, and adding the calculated correction value multiplied by the spot color degree to the original video signal.
特開平10-198795号公報Japanese Patent Laid-Open No. 10-198795
 特許文献1に開示されるような彩度調整回路においては、例えば、赤を特色とした特色補正により彩度を上げる場合、赤のデータ値を上げるように映像信号を補正し、赤のデータ値と他の色のデータ値との差を大きくすることで彩度が上げられる。ここで、元の映像信号における赤のデータ値が高く、明度が高い場合には、赤のデータ値を上げようとしても上限値に達してしまい、色飽和状態となり、彩度調整を行うことができなくなることがある。 In the saturation adjustment circuit disclosed in Patent Document 1, for example, when the saturation is increased by spot color correction using red as a special color, the video signal is corrected so as to increase the red data value, and the red data value is corrected. The saturation is increased by increasing the difference between the color value and the data value of other colors. Here, when the red data value in the original video signal is high and the lightness is high, the upper limit value is reached even if the red data value is increased, and the color saturation state is reached and saturation adjustment can be performed. It may not be possible.
 本発明の目的は、映像信号の明度が高い場合にも彩度調整を行うことができる彩度調整回路およびその制御方法を提供することにある。 An object of the present invention is to provide a saturation adjustment circuit capable of performing saturation adjustment even when the brightness of a video signal is high, and a control method therefor.
 上記目的を達成するために本発明の彩度調整回路は、
 特定の色を中心とした一定の範囲の色相の映像信号の彩度を調整する特色補正を行う彩度調整回路であって、
 赤、緑、青それぞれのデータ値を示す映像信号が入力されると、前記映像信号に示される色と前記特定の色との近似度を示す特色度を算出し、算出結果を出力する特色度算出部と、
 赤、緑、青のうち基準とする色である基準色を前記特定の色に応じて決定し、前記特色補正により彩度を増加させる旨が入力されると、前記彩度の増加量に応じて赤、緑、青のうち前記基準色以外の色のデータ値を小さくする補正量を算出し、該算出した補正量に前記特色度算出部により算出された特色度を乗算し、乗算結果を出力する補正計算部と、
 赤、緑、青の色成分ごとに前記映像信号に示されるデータ値に前記補正計算部の出力を加算して出力する加算部と、を有する。
In order to achieve the above object, the saturation adjustment circuit of the present invention provides:
A saturation adjustment circuit that performs spot color correction that adjusts the saturation of a video signal in a certain range of hues centered on a specific color,
When a video signal indicating each data value of red, green, and blue is input, a special color degree indicating a degree of approximation between the color indicated in the video signal and the specific color is calculated, and a calculation result is output. A calculation unit;
When a reference color, which is a reference color among red, green, and blue, is determined according to the specific color, and the fact that the saturation is increased by the special color correction is input, according to the increase amount of the saturation Calculating a correction amount for reducing the data value of the color other than the reference color among red, green, and blue, multiplying the calculated correction amount by the spot color degree calculated by the spot color degree calculating unit, A correction calculator to output;
And an adder that adds the output of the correction calculator to the data value indicated in the video signal for each of the red, green, and blue color components.
 上記目的を達成するために本発明の彩度調整回路の制御方法は、
 特定の色を中心とした一定の範囲の色相の映像信号の彩度を調整する特色補正を行う彩度調整回路であって、
 赤、緑、青それぞれのデータ値を示す映像信号が入力されると、前記映像信号に示される色と前記特定の色との近似度を示す特色度を算出し、
 赤、緑、青のうち基準とする色である基準色を前記特定の色に応じて決定し、前記特色補正により彩度を増加させる旨が入力されると、前記彩度の増加量に応じて、赤、緑、青のうち前記基準色以外の色のデータ値を小さくする補正量を算出し、該算出した補正量に前記算出した特色度を乗算し、
 赤、緑、青の色成分ごとに前記映像信号に示されるデータ値に前記算出した補正値に前記算出した特色度を乗算したものを加算する。
In order to achieve the above object, a method for controlling the saturation adjusting circuit of the present invention includes:
A saturation adjustment circuit that performs spot color correction that adjusts the saturation of a video signal in a certain range of hues centered on a specific color,
When a video signal indicating each data value of red, green, and blue is input, a special color indicating a degree of approximation between the color indicated in the video signal and the specific color is calculated,
When a reference color, which is a reference color among red, green, and blue, is determined according to the specific color, and the fact that the saturation is increased by the special color correction is input, according to the increase amount of the saturation Calculating a correction amount for reducing a data value of a color other than the reference color among red, green, and blue, multiplying the calculated correction amount by the calculated characteristic color degree,
For each of the red, green, and blue color components, a value obtained by multiplying the calculated correction value by the calculated special color is added to the data value indicated in the video signal.
 本発明によれば、映像信号の明度が高い場合にも彩度調整を行うことができる。 According to the present invention, the saturation can be adjusted even when the brightness of the video signal is high.
本発明の一実施形態の彩度調整回路の構成を示すブロック図である。It is a block diagram which shows the structure of the saturation adjustment circuit of one Embodiment of this invention. 図1に示す映像信号RGBinに示される赤、緑、青のデータ値と式(1)におけるAおよびB’との関係を示す図である。It is a figure which shows the relationship between the data value of red, green, and blue shown by the video signal RGBin shown in FIG. 1, and A and B 'in Formula (1). 図2に示す識別(T)と色相との関係を示す図である。It is a figure which shows the relationship between identification (T) shown in FIG. 2, and a hue. 特色補正の中心色相Hc1と補正色相範囲m1との関係を示す図である。It is a figure which shows the relationship between the center hue Hc1 of special color correction, and the correction | amendment hue range m1. 彩度S,明度Vである場合の色相Hと特色度Δ1との関係を示す図である。It is a figure which shows the relationship between the hue H in the case of saturation S and the brightness V, and special color degree (DELTA) 1. 赤色に関する特色度ΔRcを示す図である。It is a figure which shows the special color degree (DELTA) Rc regarding red. 特色と式(4)におけるHc1との関係を示す図である。It is a figure which shows the relationship between a spot color and Hc1 in Formula (4). 図1に示す映像信号RGBinに示される赤、緑、青のデータ値のレベルの一例を示す図である。It is a figure which shows an example of the level of the data value of red, green, and blue shown by the video signal RGBin shown in FIG. 図1に示す赤補正計算部の動作を説明するための図である。It is a figure for demonstrating operation | movement of the red correction | amendment calculation part shown in FIG. 図1に示す赤補正計算部の動作を説明するための図である。It is a figure for demonstrating operation | movement of the red correction | amendment calculation part shown in FIG.
 以下に、本発明を実施するための形態について図面を参照して説明する。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
 本発明の一実施形態の彩度調整回路は、予め指定された特定の色である特色を中心とした一定の範囲の色相の映像信号の彩度を調整する特色補正を行うものである。以下では、本実施形態の彩度調整回路は、赤、緑、青、シアン、マゼンタ、黄色の6色について特色補正を行うものとする。 The saturation adjustment circuit according to an embodiment of the present invention performs spot color correction that adjusts the saturation of a video signal in a certain range of hues centered on a spot color that is a specific color specified in advance. In the following, it is assumed that the saturation adjustment circuit of this embodiment performs spot color correction for six colors of red, green, blue, cyan, magenta, and yellow.
 図1は、本実施形態の彩度調整回路100の構成を示すブロック図である。 FIG. 1 is a block diagram showing a configuration of the saturation adjustment circuit 100 of the present embodiment.
 図1に示す彩度調整回路100は、HSV算出部101と、特色度算出部102と、赤補正計算部103と、緑補正計算部104と、青補正計算部105と、シアン補正計算部106と、マゼンタ補正計算部107と、黄色補正計算部108と、加算部109~114と、リミッタ115と、を有する。 A saturation adjustment circuit 100 shown in FIG. 1 includes an HSV calculation unit 101, a spot color calculation unit 102, a red correction calculation unit 103, a green correction calculation unit 104, a blue correction calculation unit 105, and a cyan correction calculation unit 106. A magenta correction calculation unit 107, a yellow correction calculation unit 108, addition units 109 to 114, and a limiter 115.
 RGB色空間の信号である映像信号RGBinが、外部の映像信号からHSV算出部101と、特色度算出部102と、加算部114と、に入力される。 The video signal RGBin, which is a signal in the RGB color space, is input from the external video signal to the HSV calculation unit 101, the special color calculation unit 102, and the addition unit 114.
 また、赤、緑、青、シアン、マゼンタ、黄色それぞれについての特色補正による彩度の増減を示す彩度調整係数Rcnt,Gcnt,Bcnt,Ccnt,Mcnt,Ycntがそれぞれ、赤補正計算部103、緑補正計算部104、青補正計算部105、シアン補正計算部106、マゼンタ補正計算部107、黄色補正計算部108に入力される。 Further, saturation adjustment coefficients Rcnt, Gcnt, Bcnt, Ccnt, Mcnt, and Ycnt indicating the increase or decrease in saturation due to spot color correction for red, green, blue, cyan, magenta, and yellow, respectively, are red correction calculation unit 103, green The correction calculation unit 104, the blue correction calculation unit 105, the cyan correction calculation unit 106, the magenta correction calculation unit 107, and the yellow correction calculation unit 108 are input.
 また、特色補正を行う色相の範囲を指定する補正色相範囲m1が、特色度算出部102に入力される。彩度調整係数Rcnt,Gcnt,Bcnt,Ccnt,Mcnt,Ycntおよび補正色相範囲m1は、例えば、予めユーザにより設定される値である。 Also, a corrected hue range m1 for designating a hue range for performing spot color correction is input to the spot color degree calculation unit 102. The saturation adjustment coefficients Rcnt, Gcnt, Bcnt, Ccnt, Mcnt, Ycnt and the corrected hue range m1 are values set in advance by the user, for example.
 HSV算出部101は、入力された映像信号RGBinを、RGB色空間の信号からHSV色空間の信号に変換する。具体的には、HSV算出部101は、映像信号RGBinに示される赤、緑、青それぞれのデータ値Rin,Gin,Binに基づいて、色相H、彩度Sおよび明度Vを算出し、算出結果を特色度算出部102に出力する。 The HSV calculation unit 101 converts the input video signal RGBin from an RGB color space signal to an HSV color space signal. Specifically, the HSV calculation unit 101 calculates the hue H, the saturation S, and the brightness V based on the data values Rin, Gin, and Bin of red, green, and blue indicated in the video signal RGBin, and the calculation result Is output to the spot color calculation unit 102.
 特色度算出部102は、HSV算出部101の算出結果と補正色相範囲m1とに基づいて、赤、緑、青、シアン、マゼンタ、黄色それぞれの特色について、映像信号RGBinに示される色とその特色との近似度を示す特色度ΔRc,ΔGc,ΔBc,ΔCc,ΔMc,ΔYcを算出する。また、特色度算出部102は、算出した特色度ΔRcを赤補正計算部103に出力し、算出した特色度ΔGcを緑補正計算部104に出力し、算出した特色度ΔBcを青補正計算部105に出力し、算出した特色度ΔCcをシアン補正計算部106に出力し、算出した特色度ΔMcをマゼンタ補正計算部107に出力し、算出した特色度ΔYcを黄色補正計算部108に出力する。 Based on the calculation result of the HSV calculation unit 101 and the corrected hue range m1, the spot color degree calculation unit 102, for each of the red, green, blue, cyan, magenta, and yellow spot colors, the color indicated by the video signal RGBin and its spot color. The special color degrees ΔRc, ΔGc, ΔBc, ΔCc, ΔMc, and ΔYc indicating the degree of approximation are calculated. Further, the spot color degree calculation unit 102 outputs the calculated spot color degree ΔRc to the red correction calculation unit 103, outputs the calculated spot color degree ΔGc to the green correction calculation unit 104, and calculates the calculated spot color degree ΔBc to the blue correction calculation unit 105. The calculated special color degree ΔCc is output to the cyan correction calculation unit 106, the calculated special color degree ΔMc is output to the magenta correction calculation unit 107, and the calculated special color degree ΔYc is output to the yellow correction calculation unit 108.
 赤補正計算部103は、彩度調整係数Rcntと特色度ΔRcとに応じて、赤についての特色補正によるデータ値Rin,Gin,Binの補正値を示す補正信号dRr,dRg,dRbを生成し、加算部109に出力する。 The red correction calculation unit 103 generates correction signals dRr, dRg, dRb indicating correction values of the data values Rin, Gin, Bin by the special color correction for red according to the saturation adjustment coefficient Rcnt and the special color degree ΔRc, The result is output to the adding unit 109.
 緑補正計算部104は、彩度調整係数Gcntと特色度ΔGcとに応じて、緑についての特色補正によるデータ値Rin,Gin,Binの補正値を示す補正信号dGr,dGg,dGbを生成し、加算部109に出力する。 The green correction calculation unit 104 generates correction signals dGr, dGg, dGb indicating correction values of the data values Rin, Gin, Bin by the special color correction for green according to the saturation adjustment coefficient Gcnt and the special color degree ΔGc, The result is output to the adding unit 109.
 青補正計算部105は、彩度調整係数Bcntと特色度ΔBcとに応じて、青についての特色補正によるデータ値Rin,Gin,Binの補正値を示す補正信号dBr,dBg,dBbを生成し、加算部110に出力する。 The blue correction calculation unit 105 generates correction signals dBr, dBg, and dBb indicating correction values of the data values Rin, Gin, and Bin by the special color correction for blue according to the saturation adjustment coefficient Bcnt and the special color degree ΔBc. The result is output to the adding unit 110.
 シアン補正計算部106は、彩度調整係数Ccntと特色度ΔCcとに応じて、シアンについての特色補正によるデータ値Rin,Gin,Binの補正値を示す補正信号dCr,dCg,dCbを生成し、加算部111に出力する。 The cyan correction calculation unit 106 generates correction signals dCr, dCg, dCb indicating correction values of data values Rin, Gin, Bin by special color correction for cyan according to the saturation adjustment coefficient Ccnt and the special color degree ΔCc. The result is output to the adding unit 111.
 マゼンタ補正計算部107は、彩度調整係数Mcntと特色度ΔMcとに応じて、マゼンタについての特色補正によるデータ値Rin,Gin,Binの補正値を示す補正信号dMr,dMg,dMbを生成し、加算部112に出力する。 The magenta correction calculation unit 107 generates correction signals dMr, dMg, dMb indicating correction values of the data values Rin, Gin, Bin by the special color correction for magenta according to the saturation adjustment coefficient Mcnt and the special color degree ΔMc. The result is output to the adding unit 112.
 黄色補正計算部108は、彩度調整係数Ycntと特色度ΔYcとに応じて、黄色についての特色補正によるデータ値Rin,Gin,Binの補正値を示す補正信号dYr,dYg,dYbを生成し、加算部113に出力する。 The yellow correction calculation unit 108 generates correction signals dYr, dYg, dYb indicating correction values of the data values Rin, Gin, Bin by the special color correction for yellow according to the saturation adjustment coefficient Ycnt and the special color degree ΔYc, The result is output to the adding unit 113.
 加算部109は、赤補正計算部103から入力された補正信号dRr,dRg,dRbと緑補正計算部104から入力された補正信号dGr,dGg,dGbとを赤、緑、青の色成分ごとに加算して、加算部110に出力する。 The adder 109 adds the correction signals dRr, dRg, dRb input from the red correction calculator 103 and the correction signals dGr, dGg, dGb input from the green correction calculator 104 for each of the red, green, and blue color components. Addition and output to the adder 110.
 加算部110は、加算部109からの入力と青補正計算部105から入力された補正信号dBr,dBg,dBbとを色成分ごとに加算して、加算部111に出力する。 The addition unit 110 adds the input from the addition unit 109 and the correction signals dBr, dBg, and dBb input from the blue correction calculation unit 105 for each color component, and outputs the result to the addition unit 111.
 加算部111は、加算部110からの入力とシアン補正計算部106から入力された補正信号dCr,dCg,dCbとを色成分ごとに加算して、加算部112に出力する。 The addition unit 111 adds the input from the addition unit 110 and the correction signals dCr, dCg, and dCb input from the cyan correction calculation unit 106 for each color component, and outputs the result to the addition unit 112.
 加算部112は、加算部111からの入力とマゼンタ補正計算部107から入力された補正信号dMr,dMg,dMbとを色成分ごとに加算して、加算部113に出力する。 The addition unit 112 adds the input from the addition unit 111 and the correction signals dMr, dMg, and dMb input from the magenta correction calculation unit 107 for each color component, and outputs the result to the addition unit 113.
 加算部113は、加算部112からの入力と黄色補正計算部108から入力された補正信号dYr,dYg,dYbとを色成分ごとに加算し、各特色についての特色補正によるデータ値Rin,Gin,Binの補正値を合計した信号AddR,AddG,AddBを加算部114に出力する。 The adder 113 adds the input from the adder 112 and the correction signals dYr, dYg, dYb input from the yellow correction calculator 108 for each color component, and data values Rin, Gin, Signals AddR, AddG, and AddB obtained by adding the bin correction values are output to the adder 114.
 加算部114は、データ値Rin,Gin,Binに加算部113から入力された信号AddR,AddG,AddBに示される補正値を加算し、赤、緑、青それぞれのデータ値をリミッタ115に出力する。 The adder 114 adds the correction values indicated by the signals AddR, AddG, and AddB input from the adder 113 to the data values Rin, Gin, and Bin, and outputs the data values of red, green, and blue to the limiter 115. .
 リミッタ115は、加算部114から入力された赤、緑、青それぞれのデータ値が上限値を超えている場合には、上限値となるようにクリップする処理を行い、また、加算部114から入力された赤、緑、青それぞれのデータ値がマイナスになる場合には0にする処理を行い、補正後の映像信号RGBoutとして彩度調整回路100の外部に出力する。 The limiter 115 performs a process of clipping so that the red, green, and blue data values input from the adding unit 114 exceed the upper limit value, and the input value is input from the adding unit 114. When the data values of red, green, and blue are negative, a process of setting to 0 is performed, and the corrected video signal RGBout is output to the outside of the saturation adjustment circuit 100.
 次に、上述した各部の動作についてより詳細に説明する。 Next, the operation of each unit described above will be described in more detail.
 なお、以下では、赤、緑、青のデータ値はそれぞれ8ビットで示されるものとする。したがって、赤、緑、青のデータ値はそれぞれ、0~255の範囲の値をとる。また、以下では、彩度調整係数は、0から2.0の範囲の値をとるものであるとし、0であるときは無色とし、2.0であるときは彩度を2倍とする旨を示す値であるとする。 In the following, red, green, and blue data values are each represented by 8 bits. Therefore, the red, green, and blue data values each take a value in the range of 0 to 255. In the following, it is assumed that the saturation adjustment coefficient takes a value in the range of 0 to 2.0, is colorless when it is 0, and doubles the saturation when it is 2.0. Is a value indicating.
 まず、HSV算出部101の動作について説明する。 First, the operation of the HSV calculation unit 101 will be described.
 HSV算出部101は、色相H、彩度Sおよび明度Vを算出するために、0~255の範囲の値をとるデータ値Rin,Gin,Binを、0~1.0の範囲の値に変換する。以下では、データ値Rin,Gin,Binをそれぞれ、0~1.0の範囲の値に変換したものをデータ値R,G,Bと表記する。 The HSV calculation unit 101 converts the data values Rin, Gin, Bin taking values in the range of 0 to 255 into values in the range of 0 to 1.0 in order to calculate the hue H, saturation S, and brightness V. To do. In the following, data values Rin, Gin, Bin converted to values in the range of 0 to 1.0 are expressed as data values R, G, B, respectively.
 次に、HSV算出部101は、以下の式(1)を用いて、色相Hを算出する。 Next, the HSV calculation unit 101 calculates the hue H using the following equation (1).
Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000001
  式(1)において、AおよびB’は、図2に示すように、データ値Rin,Gin,Binに基づいて決まる値である。また、式(1)において、Max()は最大値を取得する関数であり、Min()は最小値を取得する関数である。 式 In Equation (1), A and B ′ are values determined based on the data values Rin, Gin, and Bin, as shown in FIG. In Expression (1), Max () is a function for obtaining the maximum value, and Min () is a function for obtaining the minimum value.
 図2に示す識別(T)と色相との関係を図3に示す。 FIG. 3 shows the relationship between the identification (T) and hue shown in FIG.
 図3に示すように、T=0のとき色相Hは赤となり、T=1のとき色相Hは黄色となり、T=2のとき色相Hは緑となり、T=3のとき色相Hはシアンとなり、T=4のとき色相Hは青となり、T=5のとき色相Hはマゼンタとなる。 As shown in FIG. 3, the hue H is red when T = 0, the hue H is yellow when T = 1, the hue H is green when T = 2, and the hue H is cyan when T = 3. When T = 4, the hue H is blue, and when T = 5, the hue H is magenta.
 また、HSV算出部101は、以下の式(2)を用いて、彩度Sを算出する。 Further, the HSV calculation unit 101 calculates the saturation S using the following equation (2).
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
  また、HSV算出部101は、以下の式(3)を用いて、明度Vを算出する。 Also, the HSV calculation unit 101 calculates the lightness V using the following equation (3).
Figure JPOXMLDOC01-appb-M000003
Figure JPOXMLDOC01-appb-M000003
  次に、特色度算出部102の動作について説明する。 動作 Next, the operation of the special color degree calculation unit 102 will be described.
 特色度算出部102は、色相H、彩度Sおよび明度Vと補正色相範囲m1とに基づいて、以下の式(4)を用いて、特色度Δ1を算出する。 The special color degree calculation unit 102 calculates the special color degree Δ1 using the following equation (4) based on the hue H, the saturation S, the lightness V, and the corrected hue range m1.
Figure JPOXMLDOC01-appb-M000004
Figure JPOXMLDOC01-appb-M000004
 式(4)において、pos(x)は、xが正のときはxで、その他のときは0となる関数である。また、Hc1は、特色補正の中心色相を示す。 In equation (4), pos (x) is a function that is x when x is positive, and 0 otherwise. Hc1 represents the center hue for spot color correction.
 式(4)から明らかなように、特色度Δ1は、映像信号RGBinが色相H=Hc1、最大彩度、最大明度である場合に1.0となり、また、映像信号RGBinが中心色相Hc1から離れ、彩度、明度が下がるほど、小さくなる。 As is apparent from the equation (4), the special color degree Δ1 is 1.0 when the video signal RGBin has a hue H = Hc1, maximum saturation, and maximum brightness, and the video signal RGBin is separated from the central hue Hc1. The smaller the saturation and lightness, the smaller.
 図4は、中心色相Hc1と補正色相範囲m1との関係を示す図である。 FIG. 4 is a diagram showing the relationship between the central hue Hc1 and the corrected hue range m1.
 図4に示すように、中心色相Hc1を中心として、Hc1-m1/2からHc1+m1/2の角度の範囲内の色が、中心色相Hc1を特色とする特色補正が及ぶ範囲となる。 As shown in FIG. 4, the color within the range of angles from Hc1−m1 / 2 to Hc1 + m1 / 2 with the central hue Hc1 as the center is the range where the special color correction with the central hue Hc1 as the special color extends.
 図5は、彩度S,明度Vである場合の色相Hと特色度Δ1との関係を示す図である。 FIG. 5 is a diagram showing the relationship between the hue H and the special color degree Δ1 when the saturation is S and the brightness is V. FIG.
 図5に示すように、色相H=Hcのときに、特色度Δ1はS×Vで最大値となり、色相HがHcから離れるにつれて、特色度Δ1は、直線的に減少する。 As shown in FIG. 5, when the hue H = Hc, the special color degree Δ1 has a maximum value of S × V, and as the hue H moves away from Hc, the special color degree Δ1 decreases linearly.
 図6は、赤色に関する特色度ΔRcを示す図である。 FIG. 6 is a diagram illustrating the characteristic degree ΔRc for red.
 色相Hが赤である場合に特色度ΔRcは1.0となり、他の色へ向かうにつれて、特色度ΔRcが0に近づいていることが分かる。 When the hue H is red, the special color degree ΔRc is 1.0, and it can be seen that the special color degree ΔRc approaches 0 as it moves to another color.
 特色度算出部102は、式(4)を用いて、特色度ΔRc,ΔGc,ΔBc,ΔCc,ΔMc,ΔYcを算出する。なお、特色度ΔRc,ΔGc,ΔBc,ΔCc,ΔMc,ΔYcそれぞれを算出する場合に、式(4)のHc1に代入する値を図7に示す。以下に、特色度ΔRc,ΔGc,ΔBc,ΔCc,ΔMc,ΔYcそれぞれを算出するための式を具体的に示す。 The special color degree calculation unit 102 calculates the special color degrees ΔRc, ΔGc, ΔBc, ΔCc, ΔMc, ΔYc using the equation (4). FIG. 7 shows values to be substituted for Hc1 in the equation (4) when calculating the special color degrees ΔRc, ΔGc, ΔBc, ΔCc, ΔMc, ΔYc. In the following, specific equations for calculating each of the special color degrees ΔRc, ΔGc, ΔBc, ΔCc, ΔMc, ΔYc are shown.
Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000005
 なお、特色度ΔMcの算出にあたっては、データ値R,Bの大小関係によって用いられる式が異なる。 It should be noted that the formula used for calculating the characteristic color ΔMc differs depending on the magnitude relationship between the data values R and B.
 R>Bの場合には以下の式(9)が用いられる。 When R> B, the following formula (9) is used.
Figure JPOXMLDOC01-appb-M000006
Figure JPOXMLDOC01-appb-M000006
 その他の場合には以下の式(10)が用いられる。 In other cases, the following formula (10) is used.
Figure JPOXMLDOC01-appb-M000007
Figure JPOXMLDOC01-appb-M000007
 特色度算出部102は、上記の式(5)から式(11)を用いて、特色度ΔRc,ΔGc,ΔBc,ΔCc,ΔMc,ΔYcを算出する。 The special color degree calculation unit 102 calculates the special color degrees ΔRc, ΔGc, ΔBc, ΔCc, ΔMc, ΔYc using the above formulas (5) to (11).
 次に、赤補正計算部103の動作について説明する。 Next, the operation of the red correction calculation unit 103 will be described.
 まず、赤補正計算部103の動作の概要について説明する。 First, an outline of the operation of the red correction calculation unit 103 will be described.
 赤補正計算部103は、赤についての特色補正を行うために赤を基準色として決定し、彩度調整係数Rcntに応じて、基準色のデータ値と赤、緑、青のうち基準色以外の色のデータ値との差を増減させる。 The red correction calculation unit 103 determines red as a reference color in order to perform a special color correction for red, and according to the saturation adjustment coefficient Rcnt, the data value of the reference color and other than the reference color among red, green, and blue Increase or decrease the difference from the color data value.
 赤補正計算部103の動作について、図8から図10を参照して説明する。 The operation of the red correction calculation unit 103 will be described with reference to FIGS.
 図8は、映像信号RGBinに示されるデータ値Rin,Gin,Binのレベルの一例を示す一例を示す図である。 FIG. 8 is a diagram illustrating an example of an example of levels of data values Rin, Gin, and Bin indicated in the video signal RGBin.
 ここで、赤補正計算部103は、彩度調整係数Rcntが赤についての特色補正により彩度を0とすべき旨を示すものである場合には、図9に示すように、赤のデータ値はそのままで、緑および青のデータ値を赤のデータ値と同じレベルにまで上げる。すなわち、赤補正計算部103は、彩度調整係数Rcntが彩度を減少させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を減少させる。こうすることで、式(2)から明らかなように、彩度を減少させることができる。 Here, when the saturation adjustment coefficient Rcnt indicates that the saturation should be 0 by the spot color correction for red, as shown in FIG. , The green and blue data values are raised to the same level as the red data values. That is, when the saturation adjustment coefficient Rcnt indicates that the saturation is decreased, the red correction calculation unit 103 decreases the difference between the data value of the reference color and the data value of the color other than the reference color. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
 一方、赤補正計算部103は、彩度調整係数Rcntが彩度を増加させる旨を示すものである場合には、赤のデータ値を上げることが可能であれば、図10に示すように、赤のデータ値を上げるとともに、緑および青のデータ値を下げる。すなわち、赤補正計算部103は、彩度調整係数Rcntが彩度を増加させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を増加させる。こうすることで、式(2)から明らかなように、彩度を上げることができ、また、単に基準色のデータ値を増加させるのではないので、データ値Rinが高く、明度が高い場合にも、色飽和状態となることを防ぎ、彩度調整を行うことができる。 On the other hand, if the red correction calculation unit 103 indicates that the saturation adjustment coefficient Rcnt increases the saturation, if the red data value can be increased, as shown in FIG. Increase the red data value and decrease the green and blue data values. That is, the red correction calculation unit 103 increases the difference between the data value of the reference color and the data value of the color other than the reference color when the saturation adjustment coefficient Rcnt indicates that the saturation is increased. . This makes it possible to increase the saturation as is clear from the equation (2), and not simply to increase the data value of the reference color, so that the data value Rin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
 以下、赤補正計算部103の動作についてより詳細に説明する。 Hereinafter, the operation of the red correction calculation unit 103 will be described in more detail.
 まず、赤補正計算部103は、以下の式(12)から式(14)を用いて、赤を基準とした色差iRmR,iRmG,iRmBを算出する。 First, the red correction calculation unit 103 calculates the color differences iRmR, iRmG, iRmB based on red using the following formulas (12) to (14).
Figure JPOXMLDOC01-appb-M000008
Figure JPOXMLDOC01-appb-M000008
 次に、赤補正計算部103は、以下の式(15)、式(16)を用いて、iGRmG,iGRmBを算出する。 Next, the red correction calculation unit 103 calculates iGRmG and iGRmB using the following equations (15) and (16).
Figure JPOXMLDOC01-appb-M000009
Figure JPOXMLDOC01-appb-M000009
  また、上述したように、赤補正計算部103は、彩度調整係数Rcntが彩度を増加させる旨を示すものである場合には赤のデータ値を上げ、彩度調整係数Rcntが彩度を減少させる旨を示すものである場合には、赤のデータ値はそのままとする。したがって、赤補正計算部103は、以下の式(17)を用いて、iGRmRを算出する。 As described above, the red correction calculation unit 103 increases the red data value when the saturation adjustment coefficient Rcnt indicates that the saturation is increased, and the saturation adjustment coefficient Rcnt increases the saturation. In the case of indicating to decrease, the red data value is left as it is. Therefore, the red correction calculation unit 103 calculates iGRmR using the following equation (17).
Figure JPOXMLDOC01-appb-M000010
Figure JPOXMLDOC01-appb-M000010
  なお、式(15)から式(17)の算出結果には、小数部が含まれる場合がある。この場合、小数部については切り捨てても構わない。 な お Note that the calculation results of Equation (15) to Equation (17) may include a fractional part. In this case, the decimal part may be discarded.
 次に、赤補正計算部103は、以下の式(18)から式(20)を用いて、補正信号dRr,dRg,dRbを生成する。式(18)から式(20)において、特色度ΔRcを乗算することで、補正強度を与えることができる。 Next, the red correction calculation unit 103 generates correction signals dRr, dRg, and dRb using the following equations (18) to (20). In Expressions (18) to (20), the correction strength can be given by multiplying by the special color degree ΔRc.
Figure JPOXMLDOC01-appb-M000011
Figure JPOXMLDOC01-appb-M000011
  なお、一般に、彩度調整を行う場合には、マトリックス変換による色差算出などが必要となり、回路構成が複雑になるが、本実施形態の彩度調整回路100においては、マトリックス変換による色差算出などが不要となるため、回路構成を簡素化することができる。 In general, when performing saturation adjustment, it is necessary to calculate color difference by matrix conversion and the circuit configuration becomes complicated. However, in the saturation adjustment circuit 100 of this embodiment, color difference calculation by matrix conversion is performed. Since it becomes unnecessary, the circuit configuration can be simplified.
 次に、緑補正計算部104の動作について説明する。 Next, the operation of the green correction calculation unit 104 will be described.
 緑補正計算部104は、緑についての特色補正を行うために緑を基準色として決定し、彩度調整係数Gcntに応じて、基準色のデータ値と赤、緑、青のうち基準色以外の色のデータ値との差を増減させる。 The green correction calculation unit 104 determines green as a reference color in order to perform a special color correction for green, and determines a data value of the reference color and a color other than the reference color among red, green, and blue according to the saturation adjustment coefficient Gcnt. Increase or decrease the difference from the color data value.
 具体的には、緑補正計算部104は、彩度調整係数Gcntが緑についての特色補正により彩度を減少させる旨を示すものである場合には、緑のデータ値はそのままで、赤および青のデータ値を上げる。すなわち、緑補正計算部104は、彩度調整係数Gcntが彩度を減少させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を減少させる。こうすることで、式(2)から明らかなように、彩度を減少させることができる。 Specifically, when the saturation adjustment coefficient Gcnt indicates that the saturation is decreased by the spot color correction for green, the green data value is left as it is, and the red and blue are corrected. Increase the data value. That is, the green correction calculation unit 104 reduces the difference between the data value of the reference color and the data value of the color other than the reference color when the saturation adjustment coefficient Gcnt indicates that the saturation is decreased. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
 一方、緑補正計算部104は、彩度調整係数Gcntが彩度を増加させる旨を示すものである場合には、緑のデータ値を上げることが可能であれば、緑のデータ値を上げるとともに、赤および青のデータ値を下げる。すなわち、緑補正計算部104は、彩度調整係数Gcntが彩度を増加させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を増加させる。こうすることで、式(2)から明らかなように、彩度を上げることができ、また、単に基準色のデータ値を増加させるのではないので、データ値Ginが高く、明度が高い場合にも、色飽和状態となることを防ぎ、彩度調整を行うことができる。 On the other hand, if the saturation adjustment coefficient Gcnt indicates that the saturation is increased, the green correction calculation unit 104 increases the green data value if the green data value can be increased. Reduce the red and blue data values. That is, when the saturation adjustment coefficient Gcnt indicates that the saturation is increased, the green correction calculation unit 104 increases the difference between the data value of the reference color and the data value of the color other than the reference color. . This makes it possible to increase the saturation as is apparent from the equation (2), and not simply to increase the data value of the reference color, so that the data value Gin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
 以下、緑補正計算部104の動作についてより詳細に説明する。 Hereinafter, the operation of the green correction calculation unit 104 will be described in more detail.
 まず、緑補正計算部104は、以下の式(21)から式(23)を用いて、緑を基準とした色差iGmR,iGmG,iGmBを算出する。 First, the green correction calculation unit 104 calculates the color differences iGmR, iGmG, and iGmB based on green using the following formulas (21) to (23).
Figure JPOXMLDOC01-appb-M000012
Figure JPOXMLDOC01-appb-M000012
 次に、緑補正計算部104は、以下の式(24)、式(25)を用いて、iGGmR,iGBmBを算出する。 Next, the green correction calculation unit 104 calculates iGGmR and iGBmB using the following equations (24) and (25).
Figure JPOXMLDOC01-appb-M000013
Figure JPOXMLDOC01-appb-M000013
  また、上述したように、緑補正計算部104は、彩度調整係数Gcntが緑の彩度を増加させる旨を示すものである場合には緑のデータ値を上げ、彩度調整係数Gcntが彩度を減少させる旨を示すものである場合には、緑のデータ値はそのままとする。したがって、緑補正計算部104は、以下の式(26)を用いて、iGGmGを算出する。 As described above, the green correction calculation unit 104 increases the green data value when the saturation adjustment coefficient Gcnt indicates that the green saturation is increased, and the saturation adjustment coefficient Gcnt If it indicates that the degree is to be decreased, the green data value is left as it is. Therefore, the green correction calculation unit 104 calculates iGGmG using the following equation (26).
Figure JPOXMLDOC01-appb-M000014
Figure JPOXMLDOC01-appb-M000014
  なお、式(24)から式(26)の算出結果には、小数部が含まれる場合がある。この場合、小数部については切り捨てても構わない。 な お Note that the calculation result of Expression (24) to Expression (26) may include a fractional part. In this case, the decimal part may be discarded.
 次に、緑補正計算部104は、以下の式(27)から式(29)を用いて、補正信号dGr,dGg,dGbを生成する。式(27)から式(29)において、特色度ΔGcを乗算することで、補正強度を与えることができる。 Next, the green correction calculation unit 104 generates correction signals dGr, dGg, and dGb using the following equations (27) to (29). In Expressions (27) to (29), the correction strength can be given by multiplying by the special color degree ΔGc.
Figure JPOXMLDOC01-appb-M000015
Figure JPOXMLDOC01-appb-M000015
  次に、青補正計算部105の動作について説明する。 Next, the operation of the blue correction calculation unit 105 will be described.
 青補正計算部105は、青についての特色補正を行うために青を基準色として決定し、彩度調整係数Bcntに応じて、基準色のデータ値と赤、緑、青のうち基準色以外の色のデータ値との差を増減させる。 The blue correction calculation unit 105 determines blue as a reference color in order to perform a special color correction for blue, and according to the saturation adjustment coefficient Bcnt, the data value of the reference color and a color other than the reference color among red, green, and blue Increase or decrease the difference from the color data value.
 具体的には、青補正計算部105は、彩度調整係数Bcntが青についての特色補正により彩度を減少させる旨を示すものである場合には、青のデータ値はそのままで、赤および緑のデータ値を上げる。すなわち、青補正計算部105は、彩度調整係数Bcntが彩度を減少させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を減少させる。こうすることで、式(2)から明らかなように、彩度を減少させることができる。 Specifically, when the saturation adjustment coefficient Bcnt indicates that the saturation is reduced by the special color correction for blue, the blue data value is left as it is, and the red and green values are corrected. Increase the data value. That is, when the saturation adjustment coefficient Bcnt indicates that the saturation is decreased, the blue correction calculation unit 105 decreases the difference between the data value of the reference color and the data value of the color other than the reference color. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
 一方、青補正計算部105は、彩度調整係数Bcntが彩度を増加させる旨を示すものである場合には、青のデータ値を上げることが可能であれば、青のデータ値を上げるとともに、赤および緑のデータ値を下げる。すなわち、青補正計算部105は、彩度調整係数Bcntが彩度を増加させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を増加させる。こうすることで、式(2)から明らかなように、彩度を上げることができ、また、単に基準色のデータ値を増加させるのではないので、データ値Binが高く、明度が高い場合にも、色飽和状態となることを防ぎ、彩度調整を行うことができる。 On the other hand, if the saturation adjustment coefficient Bcnt indicates that the saturation is increased, the blue correction calculation unit 105 increases the blue data value if the blue data value can be increased. Reduce the red and green data values. That is, when the saturation adjustment coefficient Bcnt indicates that the saturation is increased, the blue correction calculation unit 105 increases the difference between the data value of the reference color and the data value of the color other than the reference color. . This makes it possible to increase the saturation as is apparent from the equation (2), and not simply to increase the data value of the reference color, so that the data value Bin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
 以下、青補正計算部105の動作についてより詳細に説明する。 Hereinafter, the operation of the blue correction calculation unit 105 will be described in more detail.
 まず、青補正計算部105は、以下の式(30)から式(32)を用いて、青を基準とした色差iBmR,iBmG,iBmBを算出する。 First, the blue correction calculation unit 105 calculates the color differences iBmR, iBmG, and iBmB based on blue using the following equations (30) to (32).
Figure JPOXMLDOC01-appb-M000016
Figure JPOXMLDOC01-appb-M000016
  次に、青補正計算部105は、以下の式(33)、式(34)を用いて、iGBmR,iGBmGを算出する。 青 Next, the blue correction calculation unit 105 calculates iGBmR and iGBmG using the following equations (33) and (34).
Figure JPOXMLDOC01-appb-M000017
Figure JPOXMLDOC01-appb-M000017
  また、上述したように、青補正計算部105は、彩度調整係数Bcntが青の彩度を増加させる旨を示すものである場合には青のデータ値を上げ、彩度調整係数Bcntが彩度を減少させる旨を示すものである場合には、青のデータ値はそのままとする。したがって、青補正計算部105は、以下の式(35)を用いて、iGBmBを算出する。 Further, as described above, the blue correction calculation unit 105 increases the blue data value when the saturation adjustment coefficient Bcnt indicates that the saturation of blue is increased, and the saturation adjustment coefficient Bcnt is increased by the saturation adjustment coefficient Bcnt. If it indicates that the degree is to be decreased, the blue data value is left as it is. Therefore, the blue correction calculation unit 105 calculates iGBmB using the following equation (35).
Figure JPOXMLDOC01-appb-M000018
Figure JPOXMLDOC01-appb-M000018
  なお、式(33)から式(35)の算出結果には、小数部が含まれる場合がある。この場合、小数部については切り捨てても構わない。 な お Note that the calculation result of Expression (33) to Expression (35) may include a fractional part. In this case, the decimal part may be discarded.
 次に、青補正計算部105は、以下の式(36)から式(38)を用いて、補正信号dBr,dBg,dBbを生成する。式(36)から式(38)において、特色度ΔBcを乗算することで、補正強度を与えることができる。 Next, the blue correction calculation unit 105 generates correction signals dBr, dBg, and dBb using the following formulas (36) to (38). In Expressions (36) to (38), the correction strength can be given by multiplying by the special color degree ΔBc.
Figure JPOXMLDOC01-appb-M000019
Figure JPOXMLDOC01-appb-M000019
  次に、シアン補正計算部106の動作について説明する。 Next, the operation of the cyan correction calculation unit 106 will be described.
 シアン補正計算部106は、シアンが青と緑の混色であるため、シアンについての特色補正を行うために青と緑とを基準色として決定し、彩度調整係数Ccntに応じて、基準色のデータ値と赤、緑、青のうち基準色以外の色のデータ値との差を増減させる。 Since cyan is a mixed color of blue and green, cyan correction calculation unit 106 determines blue and green as reference colors in order to perform special color correction for cyan, and determines the reference color according to the saturation adjustment coefficient Ccnt. Increase or decrease the difference between the data value and the data value of a color other than the reference color among red, green, and blue.
 具体的には、シアン補正計算部106は、彩度調整係数Ccntがシアンについての特色補正により彩度を減少させる旨を示すものである場合には、基準色として決定した青と緑のうち、一方の色のデータ値に、基準色として決定した他方の色および赤のデータ値のレベルを合わせる。すなわち、シアン補正計算部106は、彩度調整係数Ccntが彩度を減少させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を減少させる。こうすることで、式(2)から明らかなように、彩度を減少させることができる。 Specifically, when the saturation adjustment coefficient Ccnt indicates that the saturation is reduced by the special color correction for cyan, among the blue and green determined as the reference color, The level of the data value of the other color and red determined as the reference color is matched with the data value of one color. That is, when the saturation adjustment coefficient Ccnt indicates that the saturation is decreased, the cyan correction calculation unit 106 decreases the difference between the data value of the reference color and the data value of the color other than the reference color. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
 一方、シアン補正計算部106は、彩度調整係数Ccntが彩度を増加させる旨を示すものである場合には、青および緑のデータ値を上げることが可能であれば、青および緑のデータ値を上げるとともに、赤のデータ値を下げる。すなわち、シアン補正計算部106は、彩度調整係数Ccntが彩度を増加させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を増加させる。こうすることで、式(2)から明らかなように、彩度を上げることができ、また、単に基準色のデータ値を増加させるのではないので、データ値Binが高く、明度が高い場合にも、色飽和状態となることを防ぎ、彩度調整を行うことができる。 On the other hand, if the saturation adjustment coefficient Ccnt indicates that the saturation is to be increased, the cyan correction calculation unit 106 determines that the blue and green data can be increased if the blue and green data values can be increased. Increase the value and decrease the red data value. That is, when the saturation adjustment coefficient Ccnt indicates that the saturation is increased, the cyan correction calculation unit 106 increases the difference between the data value of the reference color and the data value of the color other than the reference color. . This makes it possible to increase the saturation as is apparent from the equation (2), and not simply to increase the data value of the reference color, so that the data value Bin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
 以下、シアン補正計算部106の動作についてより詳細に説明する。なお、以下では、彩度調整係数Ccntが彩度を減少させる旨を示すものである場合に、青のデータ値に緑および赤のデータ値を合わせる例を用いて説明する。 Hereinafter, the operation of the cyan correction calculation unit 106 will be described in more detail. In the following description, an example in which green and red data values are combined with blue data values when the saturation adjustment coefficient Ccnt indicates that saturation is to be reduced will be described.
 まず、シアン補正計算部106は、以下の式(39)から式(42)を用いて、シアンを基準とした色差iCmR,iCmG,iCmB,iCBmGを算出する。 First, the cyan correction calculation unit 106 calculates the color differences iCmR, iCmG, iCmB, iCBmG based on cyan using the following equations (39) to (42).
Figure JPOXMLDOC01-appb-M000020
Figure JPOXMLDOC01-appb-M000020
  なお、色差iCBmGについては、シアンについての特色補正により彩度を減少させる場合に、緑のデータ値のレベルを青のデータ値のレベルに合わせるために算出している。 Note that the color difference iCBmG is calculated so that the level of the green data value matches the level of the blue data value when the saturation is reduced by the special color correction for cyan.
 次に、シアン補正計算部106は、以下の式(43)から式(46)を用いて、iGCmR,iGCmG,iGCmB,iGCBmGを算出する。 Next, the cyan correction calculation unit 106 calculates iGCmR, iGCmG, iGCmB, and iGCBmG using the following equations (43) to (46).
Figure JPOXMLDOC01-appb-M000021
Figure JPOXMLDOC01-appb-M000021
  なお、式(43)から式(46)の算出結果には、小数部が含まれる場合がある。この場合、小数部については切り捨てても構わない。 な お Note that the calculation result of Expression (43) to Expression (46) may include a fractional part. In this case, the decimal part may be discarded.
 次に、シアン補正計算部106は、以下の式(47)から式(49)を用いて、補正信号dCr,dCg,dCbを生成する。式(47)から式(49)において、特色度ΔCcを乗算することで、補正強度を与えることができる。 Next, the cyan correction calculation unit 106 generates correction signals dCr, dCg, and dCb using the following equations (47) to (49). In Expression (47) to Expression (49), the correction strength can be given by multiplying by the special color degree ΔCc.
Figure JPOXMLDOC01-appb-M000022
Figure JPOXMLDOC01-appb-M000022
  なお、彩度調整係数Ccntが彩度を減少させる旨を示すものである場合に、青のデータ値に緑および赤のデータ値を合わせる例を用いて説明したが、これに限られるものではなく、緑のデータ値に青および赤のデータ値を合わせるようにしてもよい。 Note that, in the case where the saturation adjustment coefficient Ccnt indicates that the saturation is to be decreased, the example has been described in which the green and red data values are combined with the blue data value, but the present invention is not limited to this. The blue data value may be matched with the green data value.
 次に、マゼンタ補正計算部107の動作について説明する。 Next, the operation of the magenta correction calculation unit 107 will be described.
 マゼンタ補正計算部107は、マゼンタが赤と青の混色であるため、マゼンタについての特色補正を行うために赤と青とを基準色として決定し、彩度調整係数Mcntに応じて、基準色のデータ値と赤、緑、青のうち基準色以外の色のデータ値との差を増減させる。 Since magenta is a mixed color of red and blue, the magenta correction calculation unit 107 determines red and blue as reference colors in order to perform a special color correction for magenta, and determines the reference color according to the saturation adjustment coefficient Mcnt. Increase or decrease the difference between the data value and the data value of a color other than the reference color among red, green, and blue.
 具体的には、マゼンタ補正計算部107は、彩度調整係数Mcntがマゼンタについての特色補正により彩度を減少させる旨を示すものである場合には、基準色として決定した赤と青のうち、一方の色のデータ値に、基準色として決定した他方の色および緑のデータ値のレベルを合わせる。すなわち、マゼンタ補正計算部107は、彩度調整係数Mcntが彩度を減少させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を減少させる。こうすることで、式(2)から明らかなように、彩度を減少させることができる。 Specifically, the magenta correction calculation unit 107, when the saturation adjustment coefficient Mcnt indicates that the saturation is reduced by the special color correction for magenta, of red and blue determined as the reference color, The level of the data value of the other color and green determined as the reference color is matched with the data value of one color. That is, the magenta correction calculation unit 107 reduces the difference between the data value of the reference color and the data value of the color other than the reference color when the saturation adjustment coefficient Mcnt indicates that the saturation is decreased. . By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
 一方、マゼンタ補正計算部107は、彩度調整係数Mcntが彩度を増加させる旨を示すものである場合には、赤および青のデータ値を上げることが可能であれば、赤および青のデータ値を上げるとともに、緑のデータ値を下げる。すなわち、マゼンタ補正計算部107は、彩度調整係数Mcntが彩度を増加させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を増加させる。こうすることで、式(2)から明らかなように、彩度を上げることができ、また、単に基準色のデータ値を増加させるのではないので、データ値Rinが高く、明度が高い場合にも、色飽和状態となることを防ぎ、彩度調整を行うことができる。 On the other hand, if the saturation adjustment coefficient Mcnt indicates that the saturation is to be increased, the magenta correction calculation unit 107 determines that the red and blue data values can be increased if the red and blue data values can be increased. Increase the value and decrease the green data value. That is, the magenta correction calculation unit 107 increases the difference between the data value of the reference color and the data value of the color other than the reference color when the saturation adjustment coefficient Mcnt indicates that the saturation is increased. . This makes it possible to increase the saturation as is clear from the equation (2), and not simply to increase the data value of the reference color, so that the data value Rin is high and the lightness is high. In addition, it is possible to prevent saturation and adjust the saturation.
 以下、マゼンタ補正計算部107の動作についてより詳細に説明する。なお、以下では、彩度調整係数Mcntが彩度を減少させる旨を示すものである場合に、赤のデータ値に青および緑のデータ値を合わせる例を用いて説明する。 Hereinafter, the operation of the magenta correction calculation unit 107 will be described in more detail. In the following, description will be given using an example in which blue and green data values are combined with red data values when the saturation adjustment coefficient Mcnt indicates that saturation is to be reduced.
 まず、マゼンタ補正計算部107は、以下の式(50)から式(53)を用いて、マゼンタを基準とした色差iMmR,iMmG,iMmB,iMRmBを算出する。 First, the magenta correction calculation unit 107 calculates the color differences iMmR, iMmG, iMmB, and iMRmB with respect to magenta using the following formulas (50) to (53).
Figure JPOXMLDOC01-appb-M000023
Figure JPOXMLDOC01-appb-M000023
  なお、色差iMRmBについては、マゼンタについての特色補正により彩度を減少させる場合に、青のデータ値を赤のデータ値のレベルに合わせるために算出している。 色 The color difference iMRmB is calculated so that the blue data value matches the level of the red data value when the saturation is reduced by the special color correction for magenta.
 次に、マゼンタ補正計算部107は、以下の式(54)から式(57)を用いて、iGMmR,iGMmG,iGMmB,iGMRmBを算出する。 Next, the magenta correction calculation unit 107 calculates iGMmR, iGMmG, iGMmB, and iGMRmB using the following equations (54) to (57).
Figure JPOXMLDOC01-appb-M000024
Figure JPOXMLDOC01-appb-M000024
  なお、式(54)から式(57)の算出結果には、小数部が含まれる場合がある。この場合、小数部については切り捨てても構わない。 な お Note that the calculation result of Equation (54) to Equation (57) may include a fractional part. In this case, the decimal part may be discarded.
 次に、マゼンタ補正計算部107は、以下の式(58)から式(60)を用いて、補正信号dMr,dMg,dMbを生成する。式(58)から式(60)において、特色度ΔMcを乗算することで、補正強度を与えることができる。 Next, the magenta correction calculation unit 107 generates correction signals dMr, dMg, and dMb using the following equations (58) to (60). In Expression (58) to Expression (60), the correction strength can be given by multiplying by the special color degree ΔMc.
Figure JPOXMLDOC01-appb-M000025
Figure JPOXMLDOC01-appb-M000025
  なお、彩度調整係数Mcntが彩度を減少させる旨を示すものである場合に、赤のデータ値に青および緑のデータ値を合わせる例を用いて説明したが、これに限られるものではなく、青のデータ値に赤および緑のデータ値を合わせるようにしてもよい。 Note that, in the case where the saturation adjustment coefficient Mcnt indicates that the saturation is to be decreased, the example has been described in which the blue and green data values are combined with the red data value. However, the present invention is not limited to this. The blue data value may be matched with the red and green data values.
 次に、黄色補正計算部108の動作について説明する。 Next, the operation of the yellow correction calculation unit 108 will be described.
 黄色補正計算部108は、黄色が緑と赤の混色であるため、黄色についての特色補正を行うために緑と赤とを基準色として決定し、彩度調整係数Ycntに応じて、基準色のデータ値と赤、緑、青のうち基準色以外の色のデータ値との差を増減させる。 Since yellow is a mixed color of green and red, the yellow correction calculation unit 108 determines green and red as reference colors in order to perform spot color correction for yellow, and determines the reference color according to the saturation adjustment coefficient Ycnt. Increase or decrease the difference between the data value and the data value of a color other than the reference color among red, green, and blue.
 具体的には、黄色補正計算部108は、彩度調整係数Ycntが黄色についての特色補正により彩度を減少させる旨を示すものである場合には、基準色として決定した緑と赤のうち、一方の色のデータ値に、基準色として決定した他方の色および青のデータ値のレベルを合わせる。すなわち、黄色補正計算部108は、彩度調整係数Ycntが彩度を減少させる旨を示すものである場合には、緑および赤のデータ値を上げることが可能であれば、緑および赤のデータ値を上げるとともに、青のデータ値を下げる。こうすることで、式(2)から明らかなように、彩度を減少させることができる。 Specifically, when the saturation adjustment coefficient Ycnt indicates that the saturation is reduced by the spot color correction for yellow, among the green and red determined as the reference color, The level of the data value of the other color and blue determined as the reference color is matched with the data value of one color. In other words, if the saturation adjustment coefficient Ycnt indicates that the saturation is decreased, the yellow correction calculation unit 108 can increase the data values of green and red if the data values of green and red can be increased. Increase the value and decrease the blue data value. By doing so, it is possible to reduce the saturation as is apparent from the equation (2).
 一方、黄色補正計算部108は、彩度調整係数Ycntが彩度を増加させる旨を示すものである場合には、緑および赤のデータ値を上げることが可能であれば、緑および赤のデータ値を上げるとともに、青のデータ値を下げる。すなわち、黄色補正計算部108は、彩度調整係数Ycntが彩度を増加させる旨を示すものである場合には、基準色のデータ値と基準色以外の色のデータ値との差を増加させる。こうすることで、式(2)から明らかなように、彩度を上げることができ、また、単に緑のデータ値を増加させるのではないので、データ値Ginが高く、明度が高い場合にも、色飽和状態となることを防ぎ、彩度調整を行うことができる。 On the other hand, if the saturation adjustment coefficient Ycnt indicates that the saturation is increased, the yellow correction calculation unit 108 can increase the data values of green and red if the data values of green and red can be increased. Increase the value and decrease the blue data value. That is, when the saturation adjustment coefficient Ycnt indicates that the saturation is increased, the yellow correction calculation unit 108 increases the difference between the data value of the reference color and the data value of the color other than the reference color. . This makes it possible to increase the saturation as is clear from the equation (2), and because it does not simply increase the green data value, even when the data value Gin is high and the lightness is high. Therefore, it is possible to prevent saturation and to adjust the saturation.
 以下、黄色補正計算部108の動作についてより詳細に説明する。なお、以下では、彩度調整係数Ycntが彩度を減少させる旨を示すものである場合に、赤のデータ値に青および緑のデータ値を合わせる例を用いて説明する。 Hereinafter, the operation of the yellow correction calculation unit 108 will be described in more detail. In the following description, an example in which blue and green data values are combined with red data values when the saturation adjustment coefficient Ycnt indicates that saturation is to be reduced will be described.
 まず、黄色補正計算部108は、以下の式(61)から式(64)を用いて、黄色を基準とした色差iYmR,iYmG,iYmB,iYGmRを算出する。 First, the yellow correction calculation unit 108 calculates the color differences iYmR, iYmG, iYmB, iYGmR based on yellow using the following formulas (61) to (64).
Figure JPOXMLDOC01-appb-M000026
Figure JPOXMLDOC01-appb-M000026
  なお、色差iYGmRについては、黄色についての特色補正により彩度を減少させる場合に、赤のデータ値を緑のデータ値に合わせるために算出している。 色 Note that the color difference iYGmR is calculated to match the red data value with the green data value when the saturation is reduced by the spot color correction for yellow.
 次に、黄色補正計算部108は、以下の式(65)から式(68)を用いて、iGYmR,iGYGmR,iGYmG,iGYmBを算出する。 Next, the yellow correction calculation unit 108 calculates iGYmR, iGYGmR, iGYmG, and iGYmB using the following formulas (65) to (68).
Figure JPOXMLDOC01-appb-M000027
Figure JPOXMLDOC01-appb-M000027
 なお、式(65)から式(68)の算出結果には、小数部が含まれる場合がある。この場合、小数部については切り捨てても構わない。 In addition, the calculation result of Formula (65) to Formula (68) may include a fractional part. In this case, the decimal part may be discarded.
 次に、黄色補正計算部108は、以下の式(69)から式(71)を用いて、補正信号dYr,dYg,dYbを生成する。式(69)から式(71)において、特色度ΔYcを乗算することで、補正強度を与えることができる。 Next, the yellow correction calculation unit 108 generates correction signals dYr, dYg, and dYb using the following equations (69) to (71). In Expressions (69) to (71), the correction strength can be given by multiplying by the special color degree ΔYc.
Figure JPOXMLDOC01-appb-M000028
Figure JPOXMLDOC01-appb-M000028
  なお、彩度調整係数Ycntが彩度を減少させる旨を示すものである場合に、赤のデータ値に青および緑のデータ値を合わせる例を用いて説明したが、これに限られるものではなく、青のデータ値に赤および緑のデータ値を合わせるようにしてもよい。 Note that, in the case where the saturation adjustment coefficient Ycnt indicates that the saturation is to be decreased, the example has been described in which the blue and green data values are combined with the red data value, but the present invention is not limited to this. The blue data value may be matched with the red and green data values.
 赤補正計算部103ないし黄色補正計算部108から出力された補正信号は、加算部109から加算部113により色成分ごとに加算される。 The correction signals output from the red correction calculation unit 103 to the yellow correction calculation unit 108 are added by the addition unit 109 to the addition unit 113 for each color component.
 加算部113は、赤補正計算部103ないし黄色補正計算部108から出力された補正信号のうち、赤成分をすべて加算した信号AddR、緑成分をすべて加算した信号AddG、および、青成分をすべて加算した信号AddBを加算部114に出力する。 The addition unit 113 adds all the red components, the signal AddR, all the green components AddD, and all the blue components of the correction signals output from the red correction calculation unit 103 to the yellow correction calculation unit 108. The signal AddB is output to the adder 114.
 ここで、信号AddR,AddG,AddBはそれぞれ、以下の式(72)から式(74)のように示される。 Here, the signals AddR, AddG, and AddB are respectively expressed by the following equations (72) to (74).
Figure JPOXMLDOC01-appb-M000029
Figure JPOXMLDOC01-appb-M000029
  加算部114は、データ値Rin,Gin,Binにそれぞれ、信号AddR,AddG,AddBに示される補正値を加算して、リミッタ115に出力する。 The addition unit 114 adds the correction values indicated by the signals AddR, AddG, and AddB to the data values Rin, Gin, and Bin, respectively, and outputs the result to the limiter 115.
 次に、リミッタ115の動作について説明する。 Next, the operation of the limiter 115 will be described.
 上述したように、本実施形態においては、赤、緑、青のデータ値は8ビットで示され、0~255の範囲の値をとる。 As described above, in this embodiment, the red, green, and blue data values are represented by 8 bits and take values in the range of 0 to 255.
 リミッタ115は、加算部114から入力された赤、緑、青それぞれのデータ値が、上限値255を超えている場合には、上限値となるようにクリップする処理を行い、また、赤、緑、青それぞれのデータ値がマイナスになる場合には0にする処理を行う。すなわち、補正後の映像信号RGBoutに示される赤、緑、青のデータ値をそれぞれRout,Gput,Boutとすると、リミッタ115の処理は、以下の式(75)から式(77)のように示される。 When the data values of red, green, and blue input from the adding unit 114 exceed the upper limit value 255, the limiter 115 performs a process of clipping so that the upper limit value is reached, and the red, green When the data values of blue and blue are negative, a process of setting to 0 is performed. That is, assuming that the red, green, and blue data values indicated in the corrected video signal RGBout are Rout, Gput, and Bout, respectively, the processing of the limiter 115 is expressed by the following equations (75) to (77). It is.
Figure JPOXMLDOC01-appb-M000030
Figure JPOXMLDOC01-appb-M000030
  このように本実施形態によれば、彩度調整回路100は、特色補正を行う特色に応じて赤、緑、青の中から基準色を決定し、彩度調整係数が彩度を増加させる旨を示すものである場合には、基準色以外の色のデータ値を下げるように映像信号を補正する。 As described above, according to the present embodiment, the saturation adjustment circuit 100 determines the reference color from red, green, and blue according to the spot color for which the spot color correction is performed, and the saturation adjustment coefficient increases the saturation. In the case of indicating the video signal, the video signal is corrected so as to lower the data value of the color other than the reference color.
 基準色以外の色のデータ値を下げ、基準色のデータ値と基準色以外の色のデータ値との差分を大きくすることで、基準色のデータ値を上げなくても彩度を上げることができるため、元の映像信号の明度が高い場合にも、彩度調整を行うことができる。 Decreasing the data value of the color other than the reference color and increasing the difference between the data value of the reference color and the data value of the color other than the reference color can increase the saturation without increasing the data value of the reference color. Therefore, saturation adjustment can be performed even when the brightness of the original video signal is high.
 以上、実施形態を参照して本願発明を説明したが、本発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の範囲内で当業者が理解し得る様々な変更をすることができる。 As mentioned above, although this invention was demonstrated with reference to embodiment, this invention is not limited to the said embodiment. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

Claims (4)

  1.  特定の色を中心とした一定の範囲の色相の映像信号の彩度を調整する特色補正を行う彩度調整回路であって、
     赤、緑、青それぞれのデータ値を示す映像信号が入力されると、前記映像信号に示される色と前記特定の色との近似度を示す特色度を算出し、算出結果を出力する特色度算出部と、
     赤、緑、青のうち基準とする色である基準色を前記特定の色に応じて決定し、前記特色補正により彩度を増加させる旨が入力されると、前記彩度の増加量に応じて赤、緑、青のうち前記基準色以外の色のデータ値を小さくする補正量を算出し、該算出した補正量に前記特色度算出部により算出された特色度を乗算し、乗算結果を出力する補正計算部と、
     赤、緑、青の色成分ごとに前記映像信号に示されるデータ値に前記補正計算部の出力を加算して出力する加算部と、を有することを特徴とする彩度調整回路。
    A saturation adjustment circuit that performs spot color correction that adjusts the saturation of a video signal in a certain range of hues centered on a specific color,
    When a video signal indicating each data value of red, green, and blue is input, a special color degree indicating a degree of approximation between the color indicated in the video signal and the specific color is calculated, and a calculation result is output. A calculation unit;
    When a reference color, which is a reference color among red, green, and blue, is determined according to the specific color, and the fact that the saturation is increased by the special color correction is input, according to the increase amount of the saturation Calculating a correction amount for reducing the data value of the color other than the reference color among red, green, and blue, multiplying the calculated correction amount by the spot color degree calculated by the spot color degree calculating unit, A correction calculator to output;
    A saturation adjustment circuit, comprising: an addition unit that adds the output of the correction calculation unit to the data value indicated in the video signal for each of the red, green, and blue color components;
  2.  請求項1記載の彩度調整回路において、
     前記補正計算部は、前記特色補正により彩度を減少させる旨が入力されると、前記彩度の減少量に応じて赤、緑、青のうち前記基準色以外の色のデータ値を大きくする補正量を算出することを特徴とする彩度調整回路。
    The saturation adjustment circuit according to claim 1,
    When the effect of decreasing the saturation by the spot color correction is input, the correction calculation unit increases the data value of a color other than the reference color among red, green, and blue according to the amount of decrease in the saturation. A saturation adjustment circuit characterized by calculating a correction amount.
  3.  特定の色を中心とした一定の範囲の色相の映像信号の彩度を調整する特色補正を行う彩度調整回路であって、
     赤、緑、青それぞれのデータ値を示す映像信号が入力されると、前記映像信号に示される色と前記特定の色との近似度を示す特色度を算出し、
     赤、緑、青のうち基準とする色である基準色を前記特定の色に応じて決定し、前記特色補正により彩度を増加させる旨が入力されると、前記彩度の増加量に応じて、赤、緑、青のうち前記基準色以外の色のデータ値を小さくする補正量を算出し、該算出した補正量に前記算出した特色度を乗算し、
     赤、緑、青の色成分ごとに前記映像信号に示されるデータ値に前記算出した補正値に前記算出した特色度を乗算したものを加算する、ことを特徴とする彩度調整回路の制御方法。
    A saturation adjustment circuit that performs spot color correction that adjusts the saturation of a video signal in a certain range of hues centered on a specific color,
    When a video signal indicating each data value of red, green, and blue is input, a special color indicating a degree of approximation between the color indicated in the video signal and the specific color is calculated,
    When a reference color, which is a reference color among red, green, and blue, is determined according to the specific color, and the fact that the saturation is increased by the special color correction is input, according to the increase amount of the saturation Calculating a correction amount for reducing a data value of a color other than the reference color among red, green, and blue, multiplying the calculated correction amount by the calculated characteristic color degree,
    A method for controlling a saturation adjusting circuit, comprising: adding a value obtained by multiplying the calculated correction value to the calculated characteristic color for each data component of red, green, and blue to a data value indicated by the video signal .
  4.  請求項3記載の彩度調整回路の制御方法において、
     前記特色補正により彩度を減少させる旨が入力されると、前記彩度の減少量に応じて赤、緑、青のうち前記基準色以外の色のデータ値を大きくする補正量を算出することを特徴とする彩度調整回路の制御方法。
     
    In the control method of the saturation adjusting circuit according to claim 3,
    When it is input that the saturation is reduced by the special color correction, a correction amount for increasing the data value of a color other than the reference color among red, green, and blue is calculated according to the reduction amount of the saturation. A method for controlling a saturation adjusting circuit characterized by the above.
PCT/JP2012/054780 2012-02-27 2012-02-27 Color saturation adjustment circuit and method for controlling same WO2013128549A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/054780 WO2013128549A1 (en) 2012-02-27 2012-02-27 Color saturation adjustment circuit and method for controlling same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2012/054780 WO2013128549A1 (en) 2012-02-27 2012-02-27 Color saturation adjustment circuit and method for controlling same

Publications (1)

Publication Number Publication Date
WO2013128549A1 true WO2013128549A1 (en) 2013-09-06

Family

ID=49081808

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/054780 WO2013128549A1 (en) 2012-02-27 2012-02-27 Color saturation adjustment circuit and method for controlling same

Country Status (1)

Country Link
WO (1) WO2013128549A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10198795A (en) * 1996-11-18 1998-07-31 Nec Corp Image color correction device, and recording medium recording color correction program
JP2004356930A (en) * 2003-05-29 2004-12-16 Matsushita Electric Ind Co Ltd Apparatus and method for adjusting color
WO2006059573A1 (en) * 2004-12-02 2006-06-08 Matsushita Electric Industrial Co., Ltd. Color adjusting device and method
JP2007036415A (en) * 2005-07-25 2007-02-08 Brother Ind Ltd Image processing apparatus, image processing program, and image processing method
JP2007243666A (en) * 2006-03-09 2007-09-20 Nec Electronics Corp Color correction device, color correction method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10198795A (en) * 1996-11-18 1998-07-31 Nec Corp Image color correction device, and recording medium recording color correction program
JP2004356930A (en) * 2003-05-29 2004-12-16 Matsushita Electric Ind Co Ltd Apparatus and method for adjusting color
WO2006059573A1 (en) * 2004-12-02 2006-06-08 Matsushita Electric Industrial Co., Ltd. Color adjusting device and method
JP2007036415A (en) * 2005-07-25 2007-02-08 Brother Ind Ltd Image processing apparatus, image processing program, and image processing method
JP2007243666A (en) * 2006-03-09 2007-09-20 Nec Electronics Corp Color correction device, color correction method, and program

Similar Documents

Publication Publication Date Title
JP4495126B2 (en) Apparatus and method for adjusting specific color attributes
JP5481021B2 (en) Heterogeneous color gamut mapping method and apparatus
KR101927968B1 (en) METHOD AND DEVICE FOR DISPLAYING IMAGE BASED ON METADATA, AND RECORDING MEDIUM THEREFOR
JP2004356930A (en) Apparatus and method for adjusting color
JP2014506757A (en) Image brightness conversion method and apparatus
JP2006229925A (en) Dynamic image saturation enhancement apparatus
US8248432B2 (en) Display apparatus and method of image enhancement thereof
JP2008107507A (en) Video data converter and video display apparatus
US9916811B2 (en) Color conversion data generation device, color conversion data generation method, and display device
US9794450B2 (en) Image processor, image display device, and image processing method for correcting input image
US10152945B2 (en) Image processing apparatus capable of performing conversion on input image data for wide dynamic range
JP5664261B2 (en) Image processing apparatus and image processing program
US20130093915A1 (en) Multi-Illuminant Color Matrix Representation and Interpolation Based on Estimated White Points
JP6015359B2 (en) Color video signal processing apparatus, processing method, and processing program
US20170249888A1 (en) Color correction apparatus, display apparatus, and color correction method
JPWO2006095496A1 (en) Color conversion device, program, image display device, and portable terminal device
WO2013128549A1 (en) Color saturation adjustment circuit and method for controlling same
US11158285B2 (en) Color conversion processor, control method thereof and storage medium
US8630488B2 (en) Creating a duotone color effect using an ICC profile
US20160012572A1 (en) Electronic apparatus and method for controlling the same
JP2017158170A (en) Color correction device, display device and color correction method
TWI495352B (en) Color adjustment device and color adjustment method
US10455125B2 (en) Image processing method and device
KR20160007319A (en) Electronic apparatus and Method for controlling the electronic apparatus thereof
JP2019126025A (en) Color conversion processing apparatus and control method of the same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12870309

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12870309

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP