JP2007049341A - Image correction device - Google Patents

Image correction device Download PDF

Info

Publication number
JP2007049341A
JP2007049341A JP2005230607A JP2005230607A JP2007049341A JP 2007049341 A JP2007049341 A JP 2007049341A JP 2005230607 A JP2005230607 A JP 2005230607A JP 2005230607 A JP2005230607 A JP 2005230607A JP 2007049341 A JP2007049341 A JP 2007049341A
Authority
JP
Japan
Prior art keywords
color
correction
axis
luminance
saturation
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
JP2005230607A
Other languages
Japanese (ja)
Inventor
Yuji Kuronuma
祐二 黒沼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2005230607A priority Critical patent/JP2007049341A/en
Publication of JP2007049341A publication Critical patent/JP2007049341A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image correction device capable of performing processing where noise is inconspicuous, even if giving the effect of each color more and at the same time using other processing, such as gradation correction processing. <P>SOLUTION: The image correction device suppresses only the correction of color having a low frequency in colors subjected to frequency detection, and gives the correction effect of the other colors, thus reducing random noise on a video signal in all directions on a color vector with low luminance and chroma corresponding to a dark scene in which the noise becomes prominent when color correction is performed. More specifically, correction is performed according to a color frequency and average luminance on a screen, thus preventing a color correction effect from deteriorating. The random noise of the picture signal is mixed equally from the center of the color vector regardless of a color signal, thus suppressing the correction of a color axis range whose color frequency is small, suppressing the enhancement of the noise that may be on the color axis range, and hence reducing the noise in the entire low luminance and chroma. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、映像補正装置に関する。   The present invention relates to an image correction apparatus.

一般に、LCD(液晶ディスプレイ)パネルやPDP(プラズマディスプレイパネル)を採用したテレビ受像機には多様な機種があり、また、同じ機種であっても3原色の色度点がばらついている。そこで、特定の色及びその近傍の色のみを対象に色相、彩度、輝度などを補正する色補正回路が必要である。そして、色を補正するためには2つの色差信号R−Y、B−Yと輝度信号Yにまたがる3次元の補正が要求される。また、色の3つの独立要素として色相、彩度、輝度が直感的にも分かりやすい。それゆえ、色補正回路としてはこの3要素を独立に補正する構成が望ましい。   In general, there are various types of television receivers adopting an LCD (liquid crystal display) panel or a PDP (plasma display panel), and the chromaticity points of the three primary colors vary even in the same model. Therefore, there is a need for a color correction circuit that corrects hue, saturation, luminance, and the like for only a specific color and its neighboring colors. In order to correct the color, three-dimensional correction over the two color difference signals RY and BY and the luminance signal Y is required. In addition, hue, saturation, and luminance are intuitively easy to understand as three independent elements of color. Therefore, it is desirable that the color correction circuit correct these three elements independently.

このような色補正回路として、入力映像信号の輝度信号の平均値をフィールドごと又はフレームごとに検出して輝度信号の平均値が所定値より低い場合に信号レベル補正係数を漸減するようにしたものが提案されている。これらの色補正回路では、補正対象の色を鮮やかに補正することができるとともに、色補正を行うとノイズが目立つ暗いシーンであってもノイズが目立つことを防止することができる。また、フィールドごと又はフレームごとに設定される係数補正係数又は信号レベル補正係数をさらに時間方向にリーク型に積分して設定することによって、動画にも対応できる。   As such a color correction circuit, the average value of the luminance signal of the input video signal is detected for each field or frame, and the signal level correction coefficient is gradually decreased when the average value of the luminance signal is lower than a predetermined value. Has been proposed. In these color correction circuits, the color to be corrected can be corrected vividly, and when color correction is performed, noise can be prevented from being noticeable even in a dark scene where noise is conspicuous. Further, it is possible to cope with moving images by further setting the coefficient correction coefficient or the signal level correction coefficient set for each field or each frame in a leaky manner in the time direction.

このように近年提案されている色補正回路では、映像信号の平均輝度に応じて色補正効果を弱くするという制御を用いると入力映像信号の低輝度、低彩度での各色補正の色軸範囲上に均等に混入されているランダムノイズ低減ができる利点があるが、反面、色補正を行っている全色軸範囲の効果が小さくなり、色を鮮やかに補正したい部分の補正効果をも弱めてしまうという技術的課題があった。
特開平10−145805号公報 特開2001−128189号公報
As described above, in the color correction circuit proposed in recent years, the color axis range of each color correction at the low luminance and low saturation of the input video signal is used when the control of weakening the color correction effect according to the average luminance of the video signal is used. There is an advantage that random noise that is evenly mixed on the top can be reduced, but on the other hand, the effect of the entire color axis range where color correction is performed is reduced, and the correction effect of the part where the color is to be corrected is weakened. There was a technical problem.
JP-A-10-145805 JP 2001-128189 A

本発明は、上述した技術的課題に鑑みてなされたもので、より各色の効果を持たせつつ階調補正処理などの他の処理を併用してもノイズが目立たない処理ができる映像補正装置を提供することを目的とする。   The present invention has been made in view of the above-described technical problems, and provides a video correction apparatus that can perform processing that makes noise less noticeable even when other processing such as gradation correction processing is used in combination while providing the effect of each color. The purpose is to provide.

請求項1の発明の映像補正装置は、色差平面上の所定の角度範囲を1つの色軸範囲として、この色軸範囲を複数設定して、それぞれの色軸範囲内に含まれる入力映像信号のフィールドごと又はフレームごとの各画素の出現頻度を表す色頻度を検出する色頻度検出手段と、前記入力映像信号の輝度信号の平均値を前記フィールドごと又はフレームごとに検出する平均輝度検出手段と、色相、彩度、輝度を補正するために予め所定の値に設定されている前記色相、彩度、輝度に関する各補正値を、前記色頻度と前記平均輝度とを基にしてフィールドごと又はフレームごとに変化させる制御手段と、前記制御手段により変化させた前記色相、彩度、輝度に関する各補正値により前記入力映像信号を前記各色軸範囲ごとに補正する補正手段とを備えたものであって、映像信号の色成分を表す第1及び第2の色差信号の一方の色差信号のレベルをX軸、他方の色差信号のレベルを前記X軸と直交するY軸とする色差平面を前記色差平面とし、前記色差平面においてX軸とY軸との交点を中心とする回転方向の角度範囲を前記色軸範囲とするものである。   The video correction apparatus according to the first aspect of the present invention sets a plurality of color axis ranges by setting a predetermined angle range on the color difference plane as one color axis range, and sets the input video signal included in each color axis range. Color frequency detection means for detecting a color frequency representing the appearance frequency of each pixel for each field or frame; and an average luminance detection means for detecting an average value of the luminance signal of the input video signal for each field or for each frame; The correction values relating to the hue, saturation, and luminance that are set in advance to correct the hue, saturation, and luminance are set for each field or frame based on the color frequency and the average luminance. And a correction unit that corrects the input video signal for each color axis range based on the correction values related to the hue, saturation, and luminance changed by the control unit. A color difference plane in which the level of one color difference signal of the first and second color difference signals representing the color component of the video signal is the X axis and the level of the other color difference signal is the Y axis perpendicular to the X axis. The color difference plane is defined as an angle range in the rotation direction centered on the intersection of the X axis and the Y axis on the color difference plane.

本発明によれば、頻度検出している色の中で頻度の少ない色の補正だけを抑制し、その他の色の補正効果を持たせることで、色補正を行うとノイズが目立つ暗いシーンに相当する低輝度、低彩度での色ベクトル上の全方向において映像信号上にあるランダムノイズを低減できる。つまり、画面上で色頻度や平均輝度に応じて補正をかけることで色補正効果を落とすことがなく、また、映像信号のランダムノイズは色信号によらず色ベクトルの中心から均等に混入することで色頻度の少ない軸の補正を抑制することができ、その軸上にあるであろうノイズを強調することを抑えることができ、結果として、全体的な低輝度、低彩度におけるノイズの低減も図れる。   According to the present invention, only the correction of the infrequently detected color among the colors whose frequency is detected is suppressed, and the correction effect of the other colors is provided, which corresponds to a dark scene where noise is noticeable when color correction is performed. Thus, random noise on the video signal can be reduced in all directions on the color vector with low luminance and low saturation. In other words, the color correction effect is not reduced by applying correction according to the color frequency and average luminance on the screen, and random noise in the video signal is mixed evenly from the center of the color vector regardless of the color signal. Can suppress the correction of the axis with less color frequency, and can suppress the emphasis of noise that would be on that axis, resulting in the reduction of noise in the overall low brightness and low saturation Can also be planned.

以下、本発明の実施の形態を図に基づいて詳説する。図1は本発明の第1の実施の形態の映像補正装置を示すブロック図である。図1中の101が色頻度検出部、102が色補正回路であり、この2つを合わせて映像補正装置100が構成される。また図1中、103は入力画像の特徴検出部、104は本映像補正装置に内蔵される制御手段としてのCPU、105はCPU104に与える補正情報設定部である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a video correction apparatus according to a first embodiment of the present invention. In FIG. 1, reference numeral 101 denotes a color frequency detection unit, and reference numeral 102 denotes a color correction circuit. The video correction apparatus 100 is configured by combining these two. In FIG. 1, reference numeral 103 denotes an input image feature detection unit, 104 denotes a CPU as a control means built in the video correction apparatus, and 105 denotes a correction information setting unit to be given to the CPU 104.

図2は図1のCPU104の処理を示す説明図である。図2中の色頻度比較器200は、色補正の各軸からの頻度量CH1、CH2、…、CHnを比較し、どう制御するかを判定する。補正係数生成器201は、この色頻度比較器200で得られた信号CH_valueと画像の特徴検出部103で検出したAPL(Average Picture Level)とによって補正情報設定値から色補正回路102に与える補正値パラメータを決める。   FIG. 2 is an explanatory diagram showing processing of the CPU 104 of FIG. A color frequency comparator 200 in FIG. 2 compares frequency amounts CH1, CH2,..., CHn from each axis of color correction and determines how to control. The correction coefficient generator 201 uses the signal CH_value obtained by the color frequency comparator 200 and the APL (Average Picture Level) detected by the image feature detection unit 103 to provide a correction value to the color correction circuit 102 from the correction information setting value. Determine the parameters.

図3は、1フィールド又は1フレームである画面300内に設けられた所定の判定領域を示しており、判定領域内の輝度レベルに基づいて平均輝度(APL)を求めるAPL検出枠301と、色補正回路102において色補正範囲を指定して入力信号レベルより色頻度検出を行う色頻度検出枠302とを示している。図4に示すように映像信号R−Y、B−Yの直交座標における色補正範囲を1軸、2軸、3軸…n軸とし、図3に示した色頻度検出枠302内で各軸の色補正範囲内の検知される後述する補正関数M12の値を1フィールド又は1フレーム単位で表すと、図5に示すグラフとなる。これら算出した各軸の検出量をCPU104に与える。   FIG. 3 shows a predetermined determination area provided in the screen 300 that is one field or one frame. An APL detection frame 301 for obtaining an average luminance (APL) based on a luminance level in the determination area, and a color A color frequency detection frame 302 that performs color frequency detection from an input signal level by specifying a color correction range in the correction circuit 102 is shown. As shown in FIG. 4, the color correction ranges in the orthogonal coordinates of the video signals RY and BY are defined as one axis, two axes, three axes... N axis, and each axis within the color frequency detection frame 302 shown in FIG. If the value of a later-described correction function M12 detected within the color correction range is expressed in units of one field or one frame, a graph shown in FIG. 5 is obtained. These calculated detection amounts for each axis are given to the CPU 104.

図1に示す色補正回路102は図6に示す構成である。特に、肌色と赤色又は黄色の色範囲を指定する回路は図9に示す。色を補正するためには2つの色差信号R−Y、B−Yと輝度信号Yにまたがる3次元の補正が要求される。また、色の3つの独立要素として色相、彩度、輝度が直感的にも分かりやすいので、色補正回路はこの3要素を独立に補正するように構成するのが望ましい。   The color correction circuit 102 shown in FIG. 1 has the configuration shown in FIG. In particular, a circuit for designating the skin color and the color range of red or yellow is shown in FIG. In order to correct the color, a three-dimensional correction over the two color difference signals RY and BY and the luminance signal Y is required. In addition, since hue, saturation, and luminance are easy to understand intuitively as three independent elements of color, it is desirable that the color correction circuit is configured to correct these three elements independently.

図6に示す色補正回路102では、色差信号R−Y、B−Yはノイズ除去用のLPF1を介して角度T算出部2に印加され、角度T算出部2は色差信号R−Y、B−Yの角度Tを算出する。ここで、色差信号R−Y、B−Yは、例えば図7に示すようにB−YをX軸(横軸)、R−YをY軸(縦軸)とする色差平面で表すことができ、この色差平面では回転方向が色相を表し、半径方向が彩度を表す。また、図7(A)に示すように角度θ、θ、θ(θ<θ<θ)におけるL0、L1、L2は等色相線を表す。等色相線L0が補正の中心線であって補正中心角θにより設定され、角度θ〜θが補正領域である。補正係数算出部31〜3nには、それぞれの補正領域を決める角度θ、θ、θ、あるいは角度θと補正範囲Rが入力される。図6では、補正係数算出部31〜3nそれぞれに供給する各部をθ、θ、θと、その角度θ、θ、θをθ01、θ11、θ21〜θ0n、θ1n、θ2nと区別している。そして角度θ01〜θ0nを総称して角度θ、角度θ11〜θ1nを総称して角度θ、角度θ21〜θ2nを総称して角度θとする。なお、補正領域は重ねて設定することも可能である。 In the color correction circuit 102 shown in FIG. 6, the color difference signals RY and BY are applied to the angle T calculation unit 2 through the LPF 1 for noise removal, and the angle T calculation unit 2 receives the color difference signals RY and B. An angle T of −Y is calculated. Here, the color difference signals RY and BY are represented by a color difference plane having BY as the X axis (horizontal axis) and RY as the Y axis (vertical axis), for example, as shown in FIG. In this color difference plane, the rotation direction represents hue, and the radial direction represents saturation. Further, as shown in FIG. 7A, L0, L1, and L2 at angles θ 0 , θ 1 , and θ 2102 ) represent equal hue lines. The equi-hue line L0 is a correction center line and is set by the correction center angle θ 0 , and the angles θ 1 to θ 2 are correction regions. Angles θ 0 , θ 1 , θ 2 , or angle θ 0 and a correction range R that determine the respective correction regions are input to the correction coefficient calculation units 31 to 3 n. In FIG. 6, the units supplied to the correction coefficient calculation units 31 to 3n are θ 0 , θ 1 , θ 2 and their angles θ 0 , θ 1 , θ 2 are θ 01 , θ 11 , θ 21 to θ 0n , They are distinguished from θ 1n and θ 2n . The angles θ 01 to θ 0n are collectively referred to as an angle θ 0 , the angles θ 11 to θ 1n are collectively referred to as an angle θ 1 , and the angles θ 21 to θ 2n are collectively referred to as an angle θ 2 . The correction area can be set in an overlapping manner.

補正係数算出部31〜3nの機能について、図8を用いてさらに説明する。図7の等色相線L1よりも角度の大きい部分を示す関数をFL1とし、これをC言語にて表すと、次の(1)式となる。

Figure 2007049341
The function of the correction coefficient calculation units 31 to 3n will be further described with reference to FIG. The function indicating a large part of the angle than isochromatic line L1 in FIG. 7 and F L1, Expressing this in C language, the following equation (1).
Figure 2007049341

この(1)式は、図8(A)に示す特性となる。同様に、図7の等色相線L2よりも角度の小さい部分を示す関数をFL2とし、これをC言語にて表すと、(2)式となる。

Figure 2007049341
This equation (1) has the characteristics shown in FIG. Similarly, a function indicating a portion having a smaller angle than the equi-hue line L2 in FIG. 7 is denoted as FL2, and this is expressed in C language as shown in equation (2).
Figure 2007049341

この(2)式は、図8(B)に示す特性となる。   This equation (2) has the characteristics shown in FIG.

補正係数算出部31〜3nは、次の(3)式に基づいて、映像(色相、彩度、輝度)を補正するための第1の補正関数M12を生成する。

Figure 2007049341
The correction coefficient calculation units 31 to 3n generate a first correction function M12 for correcting the video (hue, saturation, luminance) based on the following equation (3).
Figure 2007049341

第1の補正関数M12は、(1)式で示されるFL1と(2)式で示されるFL2との小さい方を選択するものであり、図8(C)に示すように角度θに頂点を有する三角形状の特性となる。第1の補正関数M12の特性としては、三角形状に限定されることはなく、上限値を設けて台形状にしたり、余弦関数状にしたりしてもよい。なお、第1の補正関数M12は、補正範囲外である角度θ、θの外側を0とすることが必要である。 The first correction function M12 selects the smaller one of F L1 shown by the equation (1) and F L2 shown by the equation (2), and the angle θ 0 as shown in FIG. 8C. It has a triangular characteristic with a vertex at. The characteristic of the first correction function M12 is not limited to a triangular shape, and may be trapezoidal by providing an upper limit value or may be a cosine function. Note that the first correction function M12 needs to set the outside of the angles θ 1 and θ 2 outside the correction range to 0.

また、同様に、図7の等色相線Lよりも角度の大きい部分と小さい部分とを示す関数をFL0とし、これをC言語にて表すと、(4)式となる。

Figure 2007049341
Similarly, when a function indicating a portion having a larger angle and a portion having a smaller angle than the uniform hue line L 0 in FIG. 7 is represented by FL0, and expressed in C language, equation (4) is obtained.
Figure 2007049341

この(4)式は、図8(D)に示す特性となる。   This equation (4) has the characteristics shown in FIG.

補正係数算出部31〜3nは、次の(5)式に基づいて、映像(色相、彩度、輝度)を補正するための第2の補正関数M0l2を生成する。

Figure 2007049341
The correction coefficient calculation units 31 to 3n generate a second correction function M012 for correcting the video (hue, saturation, luminance) based on the following equation (5).
Figure 2007049341

第2の補正関数M012は、(4)式で示されるFL0と(1)式で示されるFL1との小さい方を選択し、さらに、これで得たM012と−FL2との大きい方を選択するものである。このようにして得た第2の補正関数M012は、図8(E)に示すように、角度θと角度θとの中央部に正の頂点を有する上に凸の三角形状と、角度θと角度θとの中央部に負の頂点を有する下に凸の三角形状とを合わせた特性となる。第2の補正関数M012も、補正範囲外である角度θ、θの外側を0とすることが必要である。 The second correction function M012 is, (4) F L0 (1) selecting the smaller of the F L1 of formula of formula, further, this larger the M012 and -F L2 obtained Is to select. As shown in FIG. 8E, the second correction function M012 obtained in this way has an upwardly convex triangular shape having a positive vertex at the center between the angles θ 1 and θ 0 , and an angle The characteristic is a combination of a downwardly convex triangular shape having a negative apex at the center of θ 0 and angle θ 2 . The second correction function M012 also needs to have 0 outside the angles θ 1 and θ 2 that are outside the correction range.

ところで、θ=θ−R、θ=θ+Rとしたとき、角度算出部4で算出された角度Tは0〜360°の値であり、角度θや角度θが0°又は360°をまたぐ場合には、角度の値に不連続が生じる。そこで、補正係数算出部31〜3nは、上記の(1)、(2)、(4)式で用いる角度TをC言語にて表す次の(6)式によって予め補正しておく。

Figure 2007049341
By the way, when θ 1 = θ 0 −R and θ 2 = θ 0 + R, the angle T calculated by the angle calculator 4 is a value of 0 to 360 °, and the angle θ 1 and the angle θ 2 are 0 °. Or, when crossing 360 °, discontinuity occurs in the angle value. Therefore, the correction coefficient calculation units 31 to 3n correct the angle T used in the above expressions (1), (2), and (4) in advance by the following expression (6) expressed in C language.
Figure 2007049341

この(6)式により、角度θや角度θが0°又は360°をまたぐ場合であっても、角度θ〜θの範囲内に角度Tが含まれるとき、角度Tを連続的な値に補正することによって角度θ〜θの範囲内で角度Tの値の不連続が生じないようにすることができる。よって、図8(C)、(E)に示す第1、第2の補正関数M12、M012を正しく生成することができる。以上のようにして、角度θを中心とする補正領域として、θ=θ−R、θ=θ+Rとしたとき、補正角度Rを180°近傍まで、すなわち、θ±180°の補正領域を設定することができる。 According to the equation (6), even when the angle θ 1 and the angle θ 2 cross 0 ° or 360 °, when the angle T is included in the range of the angles θ 1 to θ 2 , the angle T is continuously set. It is possible to prevent the discontinuity of the value of the angle T within the range of the angles θ 1 to θ 2 by correcting to a correct value. Therefore, the first and second correction functions M12 and M012 shown in FIGS. 8C and 8E can be correctly generated. As described above, when θ 1 = θ 0 −R and θ 2 = θ 0 + R are set as correction regions centered on the angle θ 0 , the correction angle R is close to 180 °, that is, θ 0 ± 180. A correction area of ° can be set.

補正係数算出部31、32〜3n(以下、任意の補正係数算出部を3iとする。ただし、i=1,2〜n)は補正対象の色の数に応じて設けられ、角度Tをパラメータとして補正対象の色の数に応じて彩度の補正係数S、色相の補正係数P、Y(輝度)ガンマの補正係数GYi、C(彩度)ガンマの補正係数GCiを算出する。このとき、補正係数算出部3iは補正対象の色に応じた所定の補正中心角θ、角度θ〜θを決める補正範囲Rと、補正の度合いをディスプレイごとに変化させるために色相の補正係数Pを補正する色相1の係数p1、色相2の係数p2、彩度の補正係数Sを補正する彩度係数s、彩度リミッタ、Yガンマの補正係数GYiを補正するYガンマ係数gy、Cガンマの補正係数GCiを補正するCガンマ係数gcが設定され、これらを用いて補正係数S、P、GYi、GCiを算出する。

Figure 2007049341
Correction coefficient calculation units 31 and 32 to 3n (hereinafter, an arbitrary correction coefficient calculation unit is 3i, where i = 1 to 2 to n) are provided according to the number of colors to be corrected, and the angle T is a parameter. The saturation correction coefficient S i , hue correction coefficient P i , Y (luminance) gamma correction coefficient G Yi , and C (saturation) gamma correction coefficient G Ci are calculated according to the number of colors to be corrected. . At this time, the correction coefficient calculation unit 3i determines a predetermined correction center angle θ 0 and angles θ 1 to θ 2 corresponding to the color to be corrected, and a hue range in order to change the degree of correction for each display. Y gamma correcting correction factor P factor of hue 1 i to correct p1, coefficient of hue 2 p2, saturation factor s for correcting the correction coefficient S i of saturation, saturation limiters, the correction coefficient G Yi of Y gamma C gamma coefficient gc for correcting coefficient gy and C gamma correction coefficient G Ci is set, and using these, correction coefficients S i , P i , G Yi , and G Ci are calculated.
Figure 2007049341

図6において、補正係数算出部31〜3nの出力であり、上記の(7)〜(10)式に示す補正係数算出式p(T)〜G(T)によって生成された色相、彩度、Yガンマ、Cガンマの補正係数をそれぞれP、S、GYi、GCi(i=1〜n)とする。 In FIG. 6, hues and saturations generated by the correction coefficient calculation formulas p (T) to G C (T) shown in the above formulas (7) to (10), which are outputs of the correction coefficient calculation units 31 to 3n. , Y gamma, and C gamma correction coefficients are P i , S i , G Yi , and G Ci (i = 1 to n), respectively.

(1)「色相1補正」では、図7(A)に示すように等色相線L0を中心としてL1〜L2内の色相をその中心の色相L0(又はL1、L2)に補正する。これにより例えば肌色の近傍の色を肌色に近づける。   (1) In “hue 1 correction”, as shown in FIG. 7A, the hue in L1 to L2 is corrected to the hue L0 (or L1, L2) at the center with the equihue line L0 as the center. Thereby, for example, the color near the skin color is brought close to the skin color.

(2)「色相2補正」では、図7(B)に示すようにL1〜L2内の色相を同一方向に回転して補正する。   (2) In “hue 2 correction”, the hues in L1 to L2 are rotated and corrected in the same direction as shown in FIG.

(3)「彩度補正」では、図7(C)に示すようにL1〜L2内の色における半径方向を補正する。   (3) In “saturation correction”, as shown in FIG. 7C, the radial direction of the colors in L1 and L2 is corrected.

(4)「Yガンマ補正」では、図7(C)と同様にL1〜L2内の色におけるY信号のガンマを補正する。   (4) In “Y gamma correction”, the gamma of the Y signal in the colors in L1 and L2 is corrected in the same manner as in FIG.

(5)「Cガンマ補正」では、「Yガンマ補正」に連動して彩度のガンマを補正する。   (5) In “C gamma correction”, saturation gamma is corrected in conjunction with “Y gamma correction”.

(6)「高彩度時の飽和補正」では、高彩度の色に対して、彩度増加時の飽和による色相変動を抑制する。補正(1)〜(5)は図6に示す補正係数算出部31、32〜3nで行う。   (6) “Saturation correction at high saturation” suppresses hue fluctuation due to saturation at the time of increase in saturation for a high saturation color. Corrections (1) to (5) are performed by the correction coefficient calculation units 31 and 32 to 3n shown in FIG.

図6に戻り、加算器4は補正係数算出部3iにより算出された彩度の補正係数Sを加算してその合計ΣSを求め、また、加算器5、6、7はそれぞれ、色相の補正係数Pの合計ΣP、Yガンマの補正係数GYiの合計ΣGYi、Cガンマの補正係数GCiの合計ΣGCiを求める。色相/彩度補正処理部8は色差信号R−Y、B−Yの彩度、色相をそれぞれ彩度の補正係数合計値ΣS、色相の補正係数合計値ΣPに基づいて積和演算して補正する。このとき、色差信号R−Y、B−Yをそれぞれiry、ibyとする補正演算式は次の通りである。

Figure 2007049341
Returning to FIG. 6, the adder 4 adds the saturation correction coefficients S i calculated by the correction coefficient calculation unit 3 i to obtain the sum ΣS i , and the adders 5, 6, and 7 total .SIGMA.P i of the correction coefficients P i, total ShigumaG Yi correction coefficient G Yi of Y gamma, a total ShigumaG Ci of C gamma correction coefficient G Ci determined. The hue / saturation correction processing unit 8 calculates the sum of the saturation and hue of the color difference signals RY and BY based on the saturation correction coefficient total value ΣS i and the hue correction coefficient total value ΣP i , respectively. To correct. At this time, the correction arithmetic expressions in which the color difference signals RY and BY are iri and iby are as follows.
Figure 2007049341

輝度ガンマ処理・彩度ガンマ処理部9はY信号の輝度ガンマと、色相/彩度補正処理部8により補正された色差信号R−Y、B−Yの彩度ガンマをそれぞれYガンマの補正係数合計値ΣGYi、Cガンマの補正係数合計値ΣGCiに基づいて補正する。また、輝度ガンマを補正すると彩度が見かけ上変化するので、これを防止するために彩度補正部10が輝度ガンマ処理・彩度ガンマ処理部9により補正されたY信号、色差信号R−Y、B−Yの彩度を補正係数SatCorrectに基づいて補正する。 The luminance gamma processing / saturation gamma processing unit 9 converts the luminance gamma of the Y signal and the saturation gammas of the color difference signals RY and BY corrected by the hue / saturation correction processing unit 8 into Y gamma correction coefficients. Correction is performed based on the total value ΣG Yi and the correction coefficient total value ΣG Ci of C gamma. Further, when luminance gamma is corrected, the saturation apparently changes. To prevent this, the saturation correction unit 10 corrects the Y signal and the color difference signal RY corrected by the luminance gamma processing / saturation gamma processing unit 9. , B-Y saturation is corrected based on the correction coefficient SatCorrect.

図9は、複数の補正領域を重ねて設定した場合にそれぞれの補正領域における補正が他の補正領域に及ぼす影響を軽減するための好適な実施の形態を示している。図9に示す回路構成は、図6の回路構成に加えるように構成される。前述のように、図6における累和器4〜7は、補正係数算出部31〜3nより出力された補正係数P、S、G、Gをそれぞれ累和する。図9に示す回路構成を図6の回路構成に加えた場合には、累和器4〜7には図9に示す回路によって置換又は調整された補正係数P、S、G、Gが入力される。累和器4〜7より後段の処理は前述の通りである。 FIG. 9 shows a preferred embodiment for reducing the influence of correction in each correction area on other correction areas when a plurality of correction areas are set in an overlapping manner. The circuit configuration shown in FIG. 9 is configured to be added to the circuit configuration of FIG. As described above, cumulative sum unit 4-7 in FIG. 6, the correction coefficient calculation unit 31~3n correction coefficient P output from, S, G Y, cumulatively sums respectively G C. When added to the circuit configuration shown in FIG. 9 to the circuit configuration of FIG. 6, the correction is the cumulative sum unit 4-7 is replaced or adjusted by the circuit shown in FIG. 9 coefficient P, S, G Y, G C is Entered. The processing subsequent to the accumulators 4 to 7 is as described above.

図10は複数の補正領域を重ねて設定した場合の一例を色差平面にて示している。補正領域として肌色と赤色と黄色を考える。ここでは肌色とは一般的な日本人の肌色を指しており、図10の色差平面の125°近辺にあり、赤色は110°近辺、黄色は160°近辺にある。図10に示すように、実線で囲んだ領域を肌色領域Aとして設定し、一点鎖線で囲んだ領域を赤色領域Bとして設定し、二点鎖線で囲んだ領域を黄色領域Cとして設定したとする。肌色領域Aと赤色領域Bとが一部で重なっており、肌色領域Aと黄色領域Cとが一部で重なっている。これらの3つの領域は、補正係数算出部31〜3nの内の3つを用いて設定する。   FIG. 10 shows an example of a color difference plane when a plurality of correction areas are set in an overlapping manner. Consider skin color, red, and yellow as correction areas. Here, the skin color refers to a general Japanese skin color, which is around 125 ° on the color difference plane of FIG. 10, red is around 110 °, and yellow is around 160 °. As shown in FIG. 10, it is assumed that a region surrounded by a solid line is set as a skin color region A, a region surrounded by a one-dot chain line is set as a red region B, and a region surrounded by a two-dot chain line is set as a yellow region C. . The skin color area A and the red area B partially overlap, and the skin color area A and the yellow area C partially overlap. These three areas are set using three of the correction coefficient calculation units 31 to 3n.

図9に示す補正係数調整回路は、色差信号R−Y、B−Yを入力して、色差信号R−Y、B−Yがなすベクトル長VCを算出するベクトル長算出部60、入力画素それぞれの輝度信号Yは外部パラメータ(3)と乗算してレベルを変える乗算器61、ベクトル長算出部60より出力されたベクトル長VCと先に述べたレベルを変化させた輝度信号Yを用いて色信号成分の濃淡の程度を検出する濃淡検出部62、この濃淡検出部62の出力にリミットを掛けるリミッタ63、このリミッタ63の出力と補正関数Ml2とを乗算する乗算器64、この乗算器64の出力値のレンジを調整するためのリミッタ65、外部パラメータとして与えられるパラメータ(1)をリミッタ65の出力から減算する減算器66、この減算器66の出力に対してリミットをかけ、領域Aの補正値(1)を得るリミッタ67、また減算器66の出力からこのリミッタ67の出力する補正値(1)を減算することで領域B、Cのそれぞれの補正値(2)を得る減算器68を備えている。   The correction coefficient adjusting circuit shown in FIG. 9 receives the color difference signals RY and BY and calculates a vector length VC formed by the color difference signals RY and BY, respectively, and the input pixels. The luminance signal Y is multiplied by the external parameter (3) to change the level, the vector length VC output from the vector length calculation unit 60 and the luminance signal Y whose level is changed as described above. A density detector 62 for detecting the degree of density of the signal component, a limiter 63 for limiting the output of the density detector 62, a multiplier 64 for multiplying the output of the limiter 63 and the correction function Ml 2, A limiter 65 for adjusting the range of the output value, a subtractor 66 for subtracting the parameter (1) given as an external parameter from the output of the limiter 65, and a limiter for the output of the subtractor 66 The limiter 67 that obtains the correction value (1) of the area A and the correction value (1) output from the limiter 67 from the output of the subtractor 66 is subtracted from the correction value of each of the areas B and C. A subtractor 68 for obtaining (2) is provided.

さらに、ベクトル長算出部60の出力VCにリミットを掛けるリミッタ71、このリミッタ71の出力に対して外部パラメータ(2)によって低彩度における補正範囲の閾値を設定するセレクタ72、このセレクタ72の出力に領域Aの補正範囲Ml2_sを乗算する乗算器73、この乗算器73の出力にリミットを掛け、領域Aの低彩度における補正値(3)を出力するリミッタ75を備え、また同じように、セレクタ72の出力を領域B、Cのそれぞれの補正範囲Ml2_x、Ml2_yと乗算する乗算器74、この乗算器74の出力にリミットを掛け、領域B、Cの低彩度におけるそれぞれの補正値(4)を得るリミッタ76を備えている。   Further, a limiter 71 that limits the output VC of the vector length calculation unit 60, a selector 72 that sets a correction range threshold value in low saturation by an external parameter (2) for the output of the limiter 71, and an output of the selector 72 Is provided with a multiplier 73 for multiplying the correction range Ml2_s of the region A, a limiter 75 for limiting the output of the multiplier 73 and outputting a correction value (3) in the low saturation of the region A, and similarly, A multiplier 74 that multiplies the output of the selector 72 by the respective correction ranges Ml2_x and Ml2_y of the regions B and C. The output of the multiplier 74 is limited, and each correction value (4 in the low saturation of the regions B and C). ) Is provided.

さらに、リミッタ67の出力する領域Aの補正値(1)とリミッタ75の出力する低彩度における補正値(3)とを乗算して領域Aの全体の補正値(5)を得る乗算器77、この乗算器77の出力にリミットを掛けて領域Aにおける補正係数P、S、G、Gの調整値を得るリミッタ78を備え、また、減算器68の出力する領域B、Cの補正値(2)とリミッタ76の出力する低彩度における補正値(4)を乗算して領域B、Cの全体の補正値(6)を得る乗算器79、この乗算器79の出力にリミットを掛けて領域B、Cにおける補正利得P、S、G、Gの調整値を得るリミッタ80を備えている。 Further, the multiplier 77 that multiplies the correction value (1) of the area A output from the limiter 67 and the correction value (3) in the low saturation output from the limiter 75 to obtain the entire correction value (5) of the area A. , the correction coefficient P in the region a over the limit on the output of the multiplier 77, S, G Y, provided with a limiter 78 to obtain the adjustment value G C, also the output region B of the subtracter 68, the correction of the C A multiplier 79 that multiplies the value (2) by the correction value (4) in the low saturation output from the limiter 76 to obtain the entire correction value (6) in the regions B and C, and limits the output of the multiplier 79. multiplied by the area B, the correction gain P in C, S, G Y, and a limiter 80 to obtain the adjustment value G C.

さらに加えて、リミッタ80の出力する領域B、Cにおける補正係数P、S、G、Gの調整値を赤色領域、黄色領域の信号に乗算する乗算器81とその出力に対する1/limitの除算を行う除算器82、またリミッタ78の出力する領域Aにおける補正係数P、S、G、Gの調整値を肌色領域の信号に乗算する乗算器83とその出力に対する1/limitの除算を行う除算器84を備えている。 In addition, the region to output of the limiter 80 B, the correction coefficient in the C P, S, G Y, the red region of the adjustment value G C, of 1 / limit a multiplier 81 for multiplying the signal in the yellow range with respect to its output correction coefficients P in the region a where the output to the divider 82, also limiter 78 performs division, S, G Y, the division of 1 / limit a multiplier 83 for multiplying the adjustment value G C into signals of skin color area for the output A divider 84 is provided.

図1に示した映像補正装置における画像の特徴検出部103は画像の特徴として、入力信号である輝度信号の平均値(APL)をフィールドごと又はフレームごとに算出する。CPU104には、補正の度合いをディスプレイごとに変化させるために補正情報設定部105によって補正情報設定値として、彩度の補正係数Sを補正する彩度係数s、Yガンマの補正係数GYiを補正するYガンマ係数gy、Cガンマの補正係数GCiを補正するCガンマ係数gc、さらに、肌色の色範囲を指定するために必要な輝度範囲パラメータθ,R(図9中に示すパラメータ(3))、肌色と隣り合う赤色、黄色との境界を設定するパラメータp1,p2(パラメータ(1)、(2))が設定される。そして、CPU104は図6に示す補正係数算出部31〜3nに与える補正値パラメータを、図2に示す補正係数生成器201によって生成する。すなわち、画像の特徴検出部103で得たAPLと色頻度検出部101で検出した色頻度量CHから上記補正情報設定部105から補正情報設定値を映像の場面に適した値に変化させた補正値パラメータを生成し、色補正回路102に与える。 The image feature detection unit 103 in the video correction apparatus shown in FIG. 1 calculates an average value (APL) of a luminance signal as an input signal for each field or frame as an image feature. The CPU 104, the degree of correction as the correction information set value by the correction information setting unit 105 in order to vary the display, saturation factor s for correcting the correction coefficient S i of saturation, the Y gamma correction coefficient G Yi Y gamma coefficient gy to be corrected, C gamma coefficient gc to correct C gamma correction coefficient G Ci, and luminance range parameters θ 0 , R (parameters shown in FIG. 9) necessary for specifying the skin color range. 3)), parameters p1 and p2 (parameters (1) and (2)) for setting the border between red and yellow adjacent to the skin color are set. Then, the CPU 104 generates correction value parameters to be given to the correction coefficient calculation units 31 to 3n shown in FIG. 6 by the correction coefficient generator 201 shown in FIG. That is, the correction in which the correction information setting value from the correction information setting unit 105 is changed to a value suitable for a video scene from the APL obtained by the image feature detection unit 103 and the color frequency amount CH detected by the color frequency detection unit 101. A value parameter is generated and given to the color correction circuit 102.

本実施の形態の場合、色補正回路102にて用いる補正値パラメータは、次のようにして求める。図5で示すように検出した各色軸範囲の色頻度量をCPU104に上げ、図2に示す色頻度比較器200にて各色軸範囲の頻度量を比較する。その結果がCH_valueである。CH_valueが、ある1軸範囲だけ頻度が大きく他の検出した色軸範囲の頻度が特に少ない時、頻度の少ない色軸範囲の補正は各係数s、gy、gcの設定値を抑圧する方向で行い、頻度の多いある1色軸範囲の補正は、ある一定値まで補正を行い、色補正効果を持たせるよう制御し、ある一定値以下では補正を抑制するように制御する。例えば、図11に示すようにAPLを2つの閾値s0、slと比較して、中、高輝度であるs1<APLの場合には各係数s、gy、gcの設定値をそのまま設定する。入力映像信号が低輝度であるs0<APL<s1の場合には、APLが小さいほど検出した色頻度の少ない色軸範囲に対して各係数s、gy、gcを0に設定し、色頻度の多い色軸範囲に対してだけは各係数s、gy、gcを小さく設定する。そして、APL<s0の場合には、全色軸範囲に対して、各係数s、gy、gcを0に設定する。色頻度による比較器の結果とAPLによって、低輝度になるほどノイズの目立つ色補正軸に対して色補正効果を適応的に弱めることでノイズの軽減を可能とする。また、閾値s0、s1の値を変化させることにより、ディスプレイごと、機種ごとのばらつきに対応することができる。   In the present embodiment, the correction value parameter used in the color correction circuit 102 is obtained as follows. As shown in FIG. 5, the detected color frequency amount of each color axis range is raised to the CPU 104, and the frequency amount of each color axis range is compared by the color frequency comparator 200 shown in FIG. The result is CH_value. When CH_value is large only in one axis range and the frequency of other detected color axis ranges is particularly small, correction of the color axis range that is infrequent is performed in a direction to suppress the set values of the coefficients s, gy, and gc. The frequent correction of one color axis range is performed by correcting to a certain fixed value so as to have a color correction effect, and controlling so as to suppress the correction below a certain fixed value. For example, as shown in FIG. 11, the APL is compared with the two threshold values s0 and sl, and the set values of the coefficients s, gy, and gc are set as they are when s1 <APL where the brightness is medium and high. In the case of s0 <APL <s1 where the input video signal has low luminance, the coefficients s, gy, and gc are set to 0 for the color axis range having a smaller color frequency as the APL is smaller. The coefficients s, gy, and gc are set small for only a large color axis range. When APL <s0, the coefficients s, gy, and gc are set to 0 for the entire color axis range. By the result of the comparator based on the color frequency and APL, the noise can be reduced by adaptively weakening the color correction effect with respect to the color correction axis where noise becomes more conspicuous as the luminance becomes lower. In addition, by changing the values of the threshold values s0 and s1, it is possible to deal with variations between displays and models.

ここで、上記の係数s、gy、gcをフィールドごと又はフレームごとに変化させると、変化が急峻になり、動画の場合に不具合が発生する可能性がある。そこで、上記の係数s、gy、gcの変化をある程度緩やかにすることが望まれる場合がある。APL、色頻度の変化が急峻に変化しても最終的に映像信号に掛ける補正値が緩やかに変化するようになれば動画の場合に不具合は発生しない。   Here, if the coefficients s, gy, and gc are changed for each field or each frame, the change becomes steep, and there is a possibility that a problem occurs in the case of a moving image. Therefore, it may be desired to moderately change the coefficients s, gy, and gc. Even if the change of APL and color frequency changes steeply, if the correction value to be applied to the video signal finally changes gradually, no problem occurs in the case of a moving image.

図12を用いて、一例として、彩度の係数sの生成例を説明する。加算器121と、レジスタ122と乗算器123は時間方向にリーク型の積分回路を構成し、レジスタ122には1フィールド前又は1フレーム前の係数、彩度1の係数sの値sk−1が格納されている。そして、このリーク型積分回路はCPUから今回のフィールド又はフレームの値skが入力されると、S=sk+sk−1×255/256の演算を行い、この演算結果がレジスタ122に格納される。そして、乗算器124はS’=S×(1/256)の演算を行い、この演算結果を今回のフィールド又はフレームの彩度の係数s1’として補正係数算出部31、32〜3nに設定する。 An example of generating the saturation coefficient s will be described with reference to FIG. The adder 121, the register 122, and the multiplier 123 constitute a leaky integration circuit in the time direction, and the register 122 has a coefficient one field before or one frame before and a value sk −1 of the coefficient s of saturation 1. Stored. When the current field or frame value sk is input from the CPU, the leak type integration circuit performs a calculation of S = sk + sk −1 × 255/256, and the calculation result is stored in the register 122. Then, the multiplier 124 calculates S ′ = S × (1/256), and sets the calculation result as the coefficient s1 ′ of the saturation of the current field or frame in the correction coefficient calculation units 31 and 32 to 3n. .

この構成により、スタティックな処理をダイナミックな処理にすることができる。また、色頻度比較器200の結果CH_valueもフィールドごと又はフレームごとに変化させると、動画によって急峻に値が変動する可能性があるので、上記の係数s、gy、gcの設定と同様に、図11の横軸をCH_valueとすることにより、ある程度緩やかに各軸の色頻度量を検出するようにすれば動画の場合に不具合は発生しない。この構成により、上記のAPL変動によるリーク型積分回路と合わせて、スタティックな処理をダイナミックな処理にすることができる。   With this configuration, static processing can be changed to dynamic processing. Further, if the result CH_value of the color frequency comparator 200 is also changed for each field or frame, the value may fluctuate sharply depending on the moving image. Therefore, similarly to the above settings of the coefficients s, gy, and gc, FIG. If the horizontal axis of 11 is set to CH_value so that the color frequency amount of each axis is detected moderately moderately, no problem occurs in the case of a moving image. With this configuration, the static processing can be changed to dynamic processing together with the above-described leaky integration circuit due to APL fluctuation.

(第2の実施の形態)
上記の係数の補正は、次のようにして行うことも可能である。図2に示す色頻度比較器200の結果CH_valueが、ある1色軸範囲だけ頻度が大きく、他の検出した色軸範囲の頻度が特に少ない時、図11に示すようにAPLを2つの閾値s0、s1と比較して、高輝度(s1<APLの場合)においては、頻度の多い1色軸範囲だけ、色が薄くなりがちなので、そういう時には係数sを大きくすることで色を濃く見せることができる。低・中輝度においては第1の実施の形態と同じ制御を行なう。色頻度による比較器200の結果とAPLによって低輝度になるほどノイズの目立つ色補正軸範囲に対して色補正効果を適応的に弱めることでノイズの軽減を可能とし、かつ色補正の鮮やかさを失うことなく映像の補正効果を得られる。
(Second Embodiment)
The correction of the coefficient can be performed as follows. When the result CH_value of the color frequency comparator 200 shown in FIG. 2 has a high frequency only in one color axis range and the frequency of the other detected color axis range is particularly low, the APL is set to two threshold values s0 as shown in FIG. Compared with s1, at high luminance (when s1 <APL), the color tends to become lighter only in the one-color axis range, which is frequently used. In such a case, increasing the coefficient s may make the color appear darker. it can. For low and medium luminance, the same control as in the first embodiment is performed. As the result of the comparator 200 based on the color frequency and the APL becomes lower in luminance, the noise can be reduced by adaptively weakening the color correction effect with respect to the color correction axis range where the noise is conspicuous, and the vividness of the color correction is lost. The correction effect of the picture can be obtained without.

(第3の実施の形態)
上記の係数の補正は、さらに次のようにして行うことも可能である。特に肌色軸範囲の補正に関して、入力映像信号の色相が指定した肌色領域に含まれていても輝度の差が大きい場合がある。見た目には輝度が高い白っぽい色や輝度が低い黒っぽい色でも色相が肌色領域内にあれば肌色軸範囲に指定した補正が効いてしまう。また肌色の領域は一般的な映像を見ても多くを占めているため、低輝度又は高輝度において肌色軸範囲の補正を行うと補正差による色ノイズが目立ってしまうことがある。そこで色頻度検出部101において検出した肌色の頻度がその他の色頻度よりも多い時、画像の特徴検出部103で検出したAPLから判断して、肌色軸範囲のみ補正値のコントロールを行う。検出したAPLより映像信号の輝度が、低輝度又は高輝度の時、各係数s、gy、gcを小さく設定し、補正効果を弱くする。中間輝度では各係数s、gy、gcを大きく設定し、効果を強く効かせる。このように、肌色軸範囲の補正に関して、肌色の色頻度が多い場合に肌色軸範囲に関連する補正値パラメータのみを補正し、低輝度又は高輝度のときには補正効果を小さくし、中間輝度のときには補正効果を大きくすることで、肌色の鮮やかさを保ちつつ、各色軸範囲の補正効果の差によるノイズの低減が図れる。
(Third embodiment)
The correction of the above coefficient can also be performed as follows. In particular, regarding correction of the skin color axis range, there may be a large difference in luminance even if the hue of the input video signal is included in the specified skin color region. If the hue is within the flesh color region, the correction specified in the flesh color axis range will be effective even if the appearance is whitish color with high luminance or blackish color with low luminance. In addition, since the skin color region occupies a large amount even when a general image is viewed, if the skin color axis range is corrected at low luminance or high luminance, color noise due to a correction difference may be conspicuous. Therefore, when the skin color frequency detected by the color frequency detection unit 101 is higher than the other color frequencies, the correction value is controlled only for the skin color axis range based on the APL detected by the image feature detection unit 103. When the luminance of the video signal is lower or higher than the detected APL, the coefficients s, gy, and gc are set to be small to weaken the correction effect. In the intermediate luminance, the coefficients s, gy, and gc are set large to make the effect strong. As described above, regarding the correction of the flesh color axis range, only the correction value parameter related to the flesh color axis range is corrected when the flesh color frequency is high, the correction effect is reduced when the luminance is low or high, and the correction effect is reduced when the luminance is intermediate. By increasing the correction effect, it is possible to reduce noise due to the difference in the correction effect of each color axis range while maintaining the vividness of the skin color.

(第4の実施の形態)
上記の係数の補正は、さらに次のようにして行うこともできる。画像の特徴検出部103で検出したAPLから判断して、肌色軸範囲を指定する輝度範囲を選択することで第3の実施の形態と同様の効果を得ることができる。輝度範囲の選択は図9のパラメータ(3)によって決まる。低輝度の肌色(黒っぽい色)を選択したくない場合には、このパラメータで輝度成分を小さくし、肌色軸範囲の補正範囲を狭める。補正範囲を狭めることで低輝度部分の補正が効かなくなり、色ノイズの低減が可能となる。逆に高輝度の肌色(白っぽい色)を選択する場合には、輝度成分をリミットし肌色軸範囲の補正範囲を決める。また、肌色と隣り合う赤色、黄色との境界を設定するパラメータ(1)、(2)を変動させることでも肌色の補正範囲を変化させることができる。
(Fourth embodiment)
The correction of the above coefficient can also be performed as follows. The same effect as that of the third embodiment can be obtained by selecting a luminance range that designates the skin color axis range based on the APL detected by the image feature detection unit 103. The selection of the luminance range is determined by the parameter (3) in FIG. When it is not desired to select a low-bright skin color (blackish color), this parameter is used to reduce the brightness component and narrow the skin color axis range correction range. By narrowing the correction range, the correction of the low luminance part becomes ineffective and the color noise can be reduced. Conversely, when selecting a skin color with a high brightness (whiter color), the brightness component is limited to determine the correction range of the skin color axis range. Further, the skin color correction range can be changed by changing the parameters (1) and (2) for setting the boundary between red and yellow adjacent to the skin color.

以上のように肌色軸範囲の補正範囲を変化させることができるので、検出した肌色の頻度量に応じて適応的に補正範囲を変化させることで、肌色の鮮やかさを保ちつつ、かつ補正による色ノイズの低減効果も得られる。また逆に、補正範囲を変えることで肌色軸範囲の色頻度量も変わってくる。そこで第3の実施の形態に示すような制御と組み合わせて使用することもできる。上記のパラメータの設定は第1の実施の形態で示したように時間方向にリーク型の積分回路を構成することで緩やかに変化させるようにすることで、スタティックな処理をダイナミックな処理にすることができる。   As described above, the correction range of the flesh color axis range can be changed, so by changing the correction range adaptively according to the detected amount of flesh color frequency, the color of the flesh color can be maintained while maintaining the vividness of the flesh color. Noise reduction effect can also be obtained. Conversely, changing the correction range also changes the color frequency amount in the skin color axis range. Therefore, it can also be used in combination with the control shown in the third embodiment. As described in the first embodiment, the setting of the above parameters can be changed gradually by configuring a leaky integration circuit in the time direction, thereby making static processing dynamic processing. Can do.

本発明の第1の実施の形態の映像補正装置のブロック図である。1 is a block diagram of a video correction apparatus according to a first embodiment of the present invention. 上記実施の形態におけるCPUの処理を示すブロック図である。It is a block diagram which shows the process of CPU in the said embodiment. 上記実施の形態による一画面内の判定領域と色頻度検出の一例を示す図である。It is a figure which shows an example of the determination area | region and color frequency detection in one screen by the said embodiment. 上記実施の形態による一画面内の判定領域と色頻度検出の別の例を示す図である。It is a figure which shows another example of the determination area | region and color frequency detection in one screen by the said embodiment. 上記実施の形態による一画面内の判定領域と色頻度検出のさらに別の例を示す図である。It is a figure which shows another example of the determination area | region in 1 screen and the color frequency detection by the said embodiment. 上記実施の形態における色補正回路のブロック図である。It is a block diagram of the color correction circuit in the said embodiment. 上記色補正回路による処理を示す説明図である。It is explanatory drawing which shows the process by the said color correction circuit. 上記実施の形態における色補正回路中の補正係数算出部31〜3nで用いる補正関数の説明図である。It is explanatory drawing of the correction function used with the correction coefficient calculation parts 31-3n in the color correction circuit in the said embodiment. 上記実施の形態における色補正回路にて追加的に採用する色補正肌色判定回路を示すブロック図である。It is a block diagram which shows the color correction skin color determination circuit additionally employ | adopted in the color correction circuit in the said embodiment. 複数の補正領域を重ねて設定した場合の色差平面の一例を示す図である。It is a figure which shows an example of the color difference plane at the time of setting a some correction | amendment area | region on overlapping. 上記実施の形態における彩度とAPLとの大小関係によって決定される補正係数の説明図である。It is explanatory drawing of the correction coefficient determined by the magnitude relationship of the saturation and APL in the said embodiment. 上記実施の形態において採用されるリーク型積分回路のブロック図である。It is a block diagram of a leak type integration circuit adopted in the above embodiment.

符号の説明Explanation of symbols

1 ローパスフィルタ(LPF)
2 角度T算出部
31〜3n 補正係数算出部
4〜7 累和演算器
8 色相/彩度補正処理部
9 輝度ガンマ処理・彩度ガンマ処理部
10 彩度補正部
60 ベクトル長算出部
61、64、73、74、77、79 乗算器
62 濃淡検出部
63、65、67、71、75、76、78、80 リミッタ
70 低彩度階調補正部
81、83 乗算器
82、84 除算器
100 映像補正装置
101 色頻度検出部
102 色補正回路
103 画像の特徴検出部
104 CPU
105 補正情報設定部
200 色頻度比較器
201 補正係数生成器
1 Low-pass filter (LPF)
2 Angle T calculation unit 31 to 3n Correction coefficient calculation unit 4 to 7 Accumulation calculator 8 Hue / saturation correction processing unit 9 Luminance gamma processing / saturation gamma processing unit 10 Saturation correction unit 60 Vector length calculation unit 61, 64 , 73, 74, 77, 79 Multiplier 62 Gradation detector 63, 65, 67, 71, 75, 76, 78, 80 Limiter 70 Low saturation gradation correction unit 81, 83 Multiplier 82, 84 Divider 100 Video Correction Device 101 Color Frequency Detection Unit 102 Color Correction Circuit 103 Image Feature Detection Unit 104 CPU
105 correction information setting unit 200 color frequency comparator 201 correction coefficient generator

Claims (1)

色差平面上の所定の角度範囲を1つの色軸範囲として、この色軸範囲を複数設定して、それぞれの色軸範囲内に含まれる入力映像信号のフィールドごと又はフレームごとの各画素の出現頻度を表す色頻度を検出する色頻度検出手段と、
前記入力映像信号の輝度信号の平均値を前記フィールドごと又はフレームごとに検出する平均輝度検出手段と、
色相、彩度、輝度を補正するために予め所定の値に設定されている前記色相、彩度、輝度に関する各補正値を、前記色頻度と前記平均輝度とを基にしてフィールドごと又はフレームごとに変化させる制御手段と、
前記制御手段により変化させた前記色相、彩度、輝度に関する各補正値により前記入力映像信号を前記各色軸範囲ごとに補正する補正手段とを備えた映像補正装置であって、
映像信号の色成分を表す第1及び第2の色差信号の一方の色差信号のレベルをX軸、他方の色差信号のレベルを前記X軸と直交するY軸とする色差平面を前記色差平面とし、
前記色差平面においてX軸とY軸との交点を中心とする回転方向の角度範囲を前記色軸範囲とするものである映像補正装置。
A predetermined angle range on the color difference plane is set as one color axis range, a plurality of color axis ranges are set, and the appearance frequency of each pixel for each field or frame of the input video signal included in each color axis range Color frequency detection means for detecting a color frequency representing
Average luminance detection means for detecting an average value of the luminance signal of the input video signal for each field or each frame;
The correction values relating to the hue, saturation, and luminance that are set in advance to correct the hue, saturation, and luminance are set for each field or frame based on the color frequency and the average luminance. Control means to change to,
A correction unit that corrects the input video signal for each of the color axis ranges using correction values related to the hue, saturation, and luminance changed by the control unit;
A color difference plane in which the level of one of the first and second color difference signals representing the color component of the video signal is the X axis and the level of the other color difference signal is the Y axis orthogonal to the X axis is the color difference plane. ,
An image correction apparatus in which an angular range in a rotation direction centering on an intersection of an X axis and a Y axis is the color axis range in the color difference plane.
JP2005230607A 2005-08-09 2005-08-09 Image correction device Withdrawn JP2007049341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005230607A JP2007049341A (en) 2005-08-09 2005-08-09 Image correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005230607A JP2007049341A (en) 2005-08-09 2005-08-09 Image correction device

Publications (1)

Publication Number Publication Date
JP2007049341A true JP2007049341A (en) 2007-02-22

Family

ID=37851820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005230607A Withdrawn JP2007049341A (en) 2005-08-09 2005-08-09 Image correction device

Country Status (1)

Country Link
JP (1) JP2007049341A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100999885B1 (en) 2008-12-31 2010-12-09 엠텍비젼 주식회사 Apparatus for Processing Image Siganls, Method for Reducing Chrominamce Noise in the Image Signal Processing Apparatus and Record Medium for Performing Method of Reducing Chrominance Noise
KR100999218B1 (en) 2008-12-29 2010-12-10 엠텍비젼 주식회사 Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise
CN102272794A (en) * 2008-10-23 2011-12-07 谷歌公司 Systems and methods for socially-based correction of tilted images
JP2018026794A (en) * 2016-08-01 2018-02-15 株式会社リコー Image processing system, image projection device, and image processing method
CN117934353A (en) * 2024-03-20 2024-04-26 上海玄戒技术有限公司 Image processing method, device, equipment, storage medium and chip

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102272794A (en) * 2008-10-23 2011-12-07 谷歌公司 Systems and methods for socially-based correction of tilted images
KR100999218B1 (en) 2008-12-29 2010-12-10 엠텍비젼 주식회사 Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise
KR100999885B1 (en) 2008-12-31 2010-12-09 엠텍비젼 주식회사 Apparatus for Processing Image Siganls, Method for Reducing Chrominamce Noise in the Image Signal Processing Apparatus and Record Medium for Performing Method of Reducing Chrominance Noise
JP2018026794A (en) * 2016-08-01 2018-02-15 株式会社リコー Image processing system, image projection device, and image processing method
CN117934353A (en) * 2024-03-20 2024-04-26 上海玄戒技术有限公司 Image processing method, device, equipment, storage medium and chip

Similar Documents

Publication Publication Date Title
JP3760815B2 (en) Video display device
JP4030560B2 (en) Image processing apparatus and image display apparatus
JP4648071B2 (en) Video display device and video signal color saturation control method
US8090198B2 (en) Image processing apparatus, image display apparatus, and image display method
JP3620529B2 (en) Video correction apparatus and method, video correction program, and recording medium recording the same
TWI511559B (en) Image processing method
JP4702132B2 (en) Image processing apparatus, liquid crystal display apparatus, and color correction method
JP2007142500A (en) Display device, signal processing circuit, program, and display method
JP4575963B2 (en) Image processing device
JP2006270417A (en) Video signal processing method and video signal processing apparatus
TW201410005A (en) Image processing method and image processing apparatus
JP2007049341A (en) Image correction device
US20120314969A1 (en) Image processing apparatus and display device including the same, and image processing method
JP2012015894A (en) Color correction apparatus and method
JP2007219792A (en) Image processing device and its method, program, and recording medium
US20120321178A1 (en) Method for stitching image in digital image processing apparatus
US20090268253A1 (en) Image processing apparatus
JP2005318137A (en) Color correction circuit
US8774548B2 (en) Image processing apparatus and image processing method
JP2014207663A (en) Picture processing device
JP2004342030A (en) Gradation correction device and gradation correction method
US8553154B2 (en) Method and/or apparatus for implementing a color management module
US20120287145A1 (en) Color corrector, video display device, and color correction method
JP4424154B2 (en) Video correction device
JP4189810B2 (en) Video correction device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071228

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20100303