JP2012142755A - Image signal adjustment apparatus and image signal adjustment method - Google Patents

Image signal adjustment apparatus and image signal adjustment method Download PDF

Info

Publication number
JP2012142755A
JP2012142755A JP2010293446A JP2010293446A JP2012142755A JP 2012142755 A JP2012142755 A JP 2012142755A JP 2010293446 A JP2010293446 A JP 2010293446A JP 2010293446 A JP2010293446 A JP 2010293446A JP 2012142755 A JP2012142755 A JP 2012142755A
Authority
JP
Japan
Prior art keywords
skin color
video signal
hue
color
area
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.)
Pending
Application number
JP2010293446A
Other languages
Japanese (ja)
Inventor
Chihiro Hanaoka
千尋 華岡
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.)
JVCKenwood Corp
Original Assignee
JVCKenwood Corp
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 JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2010293446A priority Critical patent/JP2012142755A/en
Publication of JP2012142755A publication Critical patent/JP2012142755A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To effectively suppress a phenomenon in which a skin color in an image looks like a different color due to psychological complementary color.SOLUTION: An image signal adjustment apparatus 10 comprises: a skin color area detection circuit 11 for detecting a skin color area in an image signal; a skin color area expansion circuit 12 which detects a skin color peripheral area that is the peripheral area of the skin color area detected by the skin color area detection circuit 11; a hue detection circuit 13 which detects the pixels of a predetermined hue, in the skin color peripheral area; an integration circuit 14 which integrates the number of pixels of the predetermined hue detected by the hue detection circuit 13; and an image signal adjustment circuit 15 which when the number of pixels of the predetermined hue integrated by the integration circuit 14 exceeds a predetermined threshold, adjusts the image signal of at least one of the skin color in the skin color area or a predetermined hue in the skin color peripheral area.

Description

本発明は、映像信号を調整する映像信号調整装置および映像信号調整方法に関する。   The present invention relates to a video signal adjusting device and a video signal adjusting method for adjusting a video signal.

デジタル放送の視聴エリア拡大と、デジタル対応受像機、およびブルーレイ(登録商標)等の高画質記録メディアの急速な普及により、一般家庭における高精細、高画質視聴環境が整備されつつある。これに伴い、ディスプレイに対するユーザの色調整機能への要求がいっそう高まってきている。   With the expansion of the viewing area for digital broadcasting and the rapid spread of high-definition recording media such as digital-compatible receivers and Blu-ray (registered trademark), a high-definition and high-quality viewing environment in ordinary homes is being prepared. Along with this, there is a growing demand for user color adjustment functions for displays.

液晶表示装置は、独自の色再現範囲を持ち、映像撮影の色再現範囲とは一致しないことから、双方の色相を調整する色調整回路を持つものが一般的である。この色調整回路では、肌色や特徴的な色に対し補正するといった、複数の色変換を行うものが多い。   Since a liquid crystal display device has a unique color reproduction range and does not match the color reproduction range of video shooting, a liquid crystal display device generally has a color adjustment circuit that adjusts both hues. Many of these color adjustment circuits perform a plurality of color conversions such as correction for skin color or characteristic color.

そこで、従来、画像全体の中で、一番多く使われている支配色を検出して、その支配色の補色に対して、彩度、輝度を調節することにより、従来の色補正にさらに色覚的効果を加えることにより、色のコントラストを強調して、ユーザに実際の色再現性以上に良好な印象の映像を得る画像補正装置および方法がある(例えば、特許文献1参照)。   Therefore, by detecting the dominant color that has been used most frequently in the entire image, and adjusting the saturation and brightness for the complementary color of the dominant color, color vision can be further improved. There is an image correction apparatus and method that enhances the color contrast and gives the user an image with a better impression than the actual color reproducibility by adding a special effect (see, for example, Patent Document 1).

特開2009−278227号公報JP 2009-278227 A

しかし、このような色調整回路を持つものであっても、液晶表示装置の大画面化に伴い、心理補色により、特に、肌色への心理的な色相変化が生じている。例えば、人の顔の直近の周囲に、肌色の補色成分を有し彩度の高い均一な背景色が存在する場合、その背景色に順応して負の残像(背景色による心理補色)が現れ、それが肌色と混色することで色相が変化して見える。これにより人の顔色がくすんでしまうなどの現象が生じることがある。   However, even with such a color adjustment circuit, a psychological hue change to the skin color occurs in particular due to the complementary color due to the increase in the screen size of the liquid crystal display device. For example, if there is a uniform background color that has a skin color complementary color component and high saturation around the human face, a negative afterimage (psychological complementary color based on the background color) appears in accordance with the background color. , It appears to change hue as it mixes with the skin color. As a result, a phenomenon such as dullness of the human face may occur.

本発明は上記に鑑みてなされたもので、心理補色の影響により映像における肌色が異なる色に見える現象を効果的に抑えることができる映像信号調整装置および映像信号調整方法を提供することを目的とする。   The present invention has been made in view of the above, and it is an object of the present invention to provide a video signal adjustment device and a video signal adjustment method that can effectively suppress a phenomenon in which skin color in a video looks different due to the influence of psychological complementary colors. To do.

上記課題を解決するため、本発明の映像信号調整装置の第1の特徴は、映像信号における肌色領域を検出する肌色領域検出部(11)と、前記肌色領域検出部によって検出された前記肌色領域の周辺領域である肌色周辺領域を検出する周辺領域検出部(12)と、前記肌色周辺領域において、所定の色相の画素を検出する色相検出部(13)と、前記色相検出部によって検出された前記所定の色相の画素数を積算する積算部(14)と、前記積算部によって積算された前記所定の色相の画素数が所定の閾値を超えた場合、前記肌色領域の肌色あるいは前記肌色周辺領域における前記所定の色相の少なくとも一方の映像信号を調整する映像信号調整部(15)と、を有することにある。   In order to solve the above problems, a first feature of the video signal adjustment device of the present invention is that a skin color area detection unit (11) for detecting a skin color area in a video signal and the skin color area detected by the skin color area detection unit A peripheral region detection unit (12) that detects a skin color peripheral region, a hue detection unit (13) that detects pixels of a predetermined hue in the skin color peripheral region, and the hue detection unit An integration unit (14) that integrates the number of pixels of the predetermined hue, and a skin color of the skin color region or the skin color peripheral region when the number of pixels of the predetermined hue integrated by the integration unit exceeds a predetermined threshold And a video signal adjusting unit (15) for adjusting at least one video signal of the predetermined hue.

また、本発明の映像信号調整装置の第2の特徴は、前記色相検出部(13)は、前記所定の色相として、前記映像信号の肌色と補色関係にある色相を検出する、ことにある。   A second feature of the video signal adjusting apparatus according to the present invention is that the hue detector (13) detects a hue having a complementary color relationship with the skin color of the video signal as the predetermined hue.

また、本発明の映像信号調整装置の第3の特徴は、前記映像信号調整部(15)は、前記肌色領域の肌色あるいは前記肌色周辺領域の前記所定の色相の映像信号の色相と彩度とのうち少なくとも一方を調整する、ことにある。   According to a third feature of the video signal adjusting device of the present invention, the video signal adjusting unit (15) includes the hue and saturation of the video signal of the predetermined hue in the skin color of the skin color area or the skin color peripheral area. It is to adjust at least one of them.

また、本発明の映像信号調整装置の第4の特徴は、前記肌色領域検出部(11)によって検出された前記肌色領域の映像信号と前記映像信号調整部(15)によって調整された前記肌色領域の映像信号、または前記周辺領域検出部(12)によって検出された前記肌色周辺領域の映像信号と前記映像信号調整部(15)によって調整された前記肌色周辺領域の映像信号のいずれか一方を、前記映像信号調整部(15)が調整した領域に対応して表示させ、前記映像信号調整部(15)による映像信号の調整を施すか否かを選択するボタンを表示させるOSD表示部(18)をさらに有し、前記映像信号調整部(15)による映像信号の調整を施すことが選択されると前記映像信号調整部(15)の調整を実行する、ことにある。   According to a fourth aspect of the video signal adjustment device of the present invention, the skin color area video signal detected by the skin color area detection unit (11) and the skin color area adjusted by the video signal adjustment unit (15) are provided. Or the video signal of the skin color peripheral area detected by the peripheral area detection unit (12) and the video signal of the skin color peripheral area adjusted by the video signal adjustment unit (15), An OSD display unit (18) that displays corresponding to the area adjusted by the video signal adjustment unit (15) and displays a button for selecting whether or not to adjust the video signal by the video signal adjustment unit (15). And when the video signal adjustment unit (15) is selected to adjust the video signal, the video signal adjustment unit (15) is adjusted.

また、本発明の映像信号調整方法の第1の特徴は、映像信号における肌色領域を検出するステップと、前記肌色領域の周辺領域である肌色周辺領域を検出するステップと、前記肌色周辺領域において、所定の色相の画素を検出するステップと、前記所定の色相の画素数を積算するステップと、前記所定の色相の画素数が所定の閾値を超えた場合、前記肌色領域の肌色あるいは前記肌色周辺領域における前記所定の色相の少なくとも一方の映像信号を調整するステップと、を有することにある。   Further, the first feature of the video signal adjustment method of the present invention is a step of detecting a skin color area in the video signal, a step of detecting a skin color peripheral area that is a peripheral area of the skin color area, and the skin color peripheral area, Detecting a pixel of a predetermined hue; integrating the number of pixels of the predetermined hue; and if the number of pixels of the predetermined hue exceeds a predetermined threshold, the skin color of the skin color region or the skin color peripheral region And adjusting the video signal of at least one of the predetermined hues.

また、本発明の映像信号調整方法の第2の特徴は、前記所定の色相の画素を検出するステップにおいて、前記所定の色相として、前記映像信号の肌色と補色関係にある色相を検出する、ことにある。   According to a second feature of the video signal adjustment method of the present invention, in the step of detecting pixels of the predetermined hue, a hue having a complementary color relationship with the skin color of the video signal is detected as the predetermined hue. It is in.

また、本発明の映像信号調整方法の第3の特徴は、前記映像信号を調整するステップにおいて、前記肌色領域の肌色あるいは前記肌色周辺領域の前記所定の色相の映像信号の色相と彩度とのうち少なくとも一方を調整する、ことにある。   According to a third feature of the video signal adjustment method of the present invention, in the step of adjusting the video signal, the hue and saturation of the video signal of the predetermined hue in the skin color of the skin color area or the skin color peripheral area are selected. It is to adjust at least one of them.

また、本発明の映像信号調整方法の第4の特徴は、前記肌色領域の映像信号と前記映像信号を調整するステップで調整された前記肌色領域の映像信号、または前記肌色周辺領域の映像信号と前記映像信号を調整するステップで調整された前記肌色周辺領域の映像信号のいずれか一方を、前記映像信号を調整するステップで調整された領域に対応してOSD表示し、映像信号の調整を施すか否かを選択するボタンをOSD表示するステップと、映像信号の調整を施すことが選択されると調整を実行するステップとをさらに有する、ことにある。   The fourth feature of the video signal adjustment method of the present invention is that the skin color region video signal and the skin color region video signal adjusted in the step of adjusting the video signal or the skin color peripheral region video signal are adjusted. One of the video signals in the skin tone peripheral area adjusted in the step of adjusting the video signal is OSD-displayed corresponding to the area adjusted in the step of adjusting the video signal, and the video signal is adjusted. A button for selecting whether or not to perform an OSD display, and a step of executing an adjustment when the adjustment of the video signal is selected.

本発明によれば、心理補色の影響により映像における肌色が異なる色に見える現象を効果的に抑えることができる。   According to the present invention, it is possible to effectively suppress a phenomenon in which a skin color in an image looks different due to the influence of psychological complementary colors.

心理補色を示す色相環の一例を示す図である。It is a figure which shows an example of the hue ring which shows a psychological complementary color. 背景色が緑の場合の肌色の色相変化を示す図である。It is a figure which shows the hue change of the skin color when a background color is green. 背景色が赤の場合の肌色の色相変化を示す図である。It is a figure which shows the hue change of the skin color when a background color is red. 本発明に係る実施形態1の映像信号映像信号調整装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the video signal video signal adjustment apparatus of Embodiment 1 which concerns on this invention. 本発明の実施形態1のY軸、U軸、V軸おのおのにUPPERリミット(UL)、LOWERリミット(LL)を定めたときの領域を表す説明図である。It is explanatory drawing showing the area | region when the UPPER limit (UL) and the LOWER limit (LL) are defined for each of the Y-axis, U-axis, and V-axis according to the first embodiment of the present invention. 図1に示す実施形態1の肌色領域検出回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the skin color area | region detection circuit of Embodiment 1 shown in FIG. (a)〜(d)、それぞれ、図6に示すY信号リミッタ、U信号リミッタ、およびV信号リミッタから出力されたY’信号、U’信号、V’信号の波形と、それらの信号の論理積信号の一例を示す図である。(A) to (d), waveforms of Y ′ signal, U ′ signal, V ′ signal output from Y signal limiter, U signal limiter, and V signal limiter shown in FIG. It is a figure which shows an example of a product signal. 肌色領域検出回路が映像信号として取得する画像情報の一例を示す図である。It is a figure which shows an example of the image information which a skin color area | region detection circuit acquires as a video signal. (a)〜(d)、それぞれ、図9に示す画像情報における人の顔、肌色領域、肌色領域の拡張、肌色拡張領域、肌色周辺領域の一例を示す説明図である。(A)-(d), respectively, is explanatory drawing which shows an example of the human face in the image information shown in FIG. 9, a skin color area | region, the extension of a skin color area | region, a skin color extended area | region, and a skin color periphery area | region. 重心からの3つの距離レベルにおける重み付け係数の一例を示す図である。It is a figure which shows an example of the weighting coefficient in three distance levels from a gravity center. 図1に示す実施形態1の積算回路の内部構成例を示すブロック図である。It is a block diagram which shows the example of an internal structure of the integrating circuit of Embodiment 1 shown in FIG. 図1に示す実施形態1の映像信号調整回路の内部構成例を示すブロック図である。FIG. 2 is a block diagram illustrating an internal configuration example of a video signal adjustment circuit according to the first embodiment illustrated in FIG. 1. 本発明に係る実施形態2の映像信号映像信号調整装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the video signal video signal adjustment apparatus of Embodiment 2 which concerns on this invention. 実施形態2の映像信号処理装置の動作を示すフローチャートである。6 is a flowchart illustrating an operation of the video signal processing apparatus according to the second embodiment. 実施形態2により画像上に重畳して表示されるに肌色検出枠と背景色検出枠のOSD情報の一例を示す図である。It is a figure which shows an example of the OSD information of the skin color detection frame and the background color detection frame which are displayed superimposed on the image according to the second embodiment. 実施形態2における肌色自動補正欄のOSD情報の一例を示す図である。It is a figure which shows an example of the OSD information of the skin color automatic correction column in Embodiment 2. 実施形態2における背景色自動補正欄のOSD情報の一例を示す図である。It is a figure which shows an example of the OSD information of the background color automatic correction column in Embodiment 2.

本発明に係る映像信号調整装置および映像信号補正方法の実施形態について説明する前に、まず、心理補色が色相に与える影響について説明する。   Before describing the embodiments of the video signal adjusting apparatus and the video signal correcting method according to the present invention, first, the influence of the psychological complementary color on the hue will be described.

(心理補色の影響について)
例えば、肌色の背景色として、緑と赤の2種類があった場合、同じ肌色であっても、背景色が緑である場合には、その肌色が「赤」を帯びて見える。一方、背景色が赤である場合には、肌色が「緑」を帯びて見える。
(About the influence of psychological complementary colors)
For example, when there are two types of skin color background colors, green and red, even if the skin color is the same, if the background color is green, the skin color appears to be “red”. On the other hand, when the background color is red, the skin color appears to be “green”.

これは、色相対比によって起こる現象である。背景色が緑の場合は、緑の心理補色である赤紫の影響を受ける一方、背景色が赤の場合は、赤の心理補色である青緑の影響を受けるからである。   This is a phenomenon caused by the color relative ratio. This is because, when the background color is green, it is affected by magenta, which is a psychological complementary color of green, and when it is red, it is influenced by blue-green, which is a psychological complementary color of red.

図1は、心理補色の関係を対で並べた色相環の図である。   FIG. 1 is a diagram of a hue circle in which psychological complementary color relationships are arranged in pairs.

この色相環において互いに心理補色の関係にある場合は、色相の変化は生じない。しかし、互いに心理補色の関係で無い場合、例えば、肌色に緑の背景や、肌色に赤の背景の場合は、それぞれ、図2、図3に示す矢印の方向に、肌色の色相が「赤みがかった肌色」や「緑がかった肌色」に変化して見える。   If the hue circles are in a mutually complementary relationship, the hue does not change. However, when there is no relationship between the complementary colors of each other, for example, when the skin color is a green background or the skin color is a red background, the hue of the skin color is “reddish” in the direction of the arrows shown in FIGS. It appears to change to “skin color” or “greenish skin color”.

また、彩度については、同じ肌色であっても、彩度の低い背景色上では、肌色の彩度が高められて見える。これに対し、彩度の高い背景色上では、肌色の彩度が低くなったように見える。これは、彩度対比によって起こる現象で、異なる彩度を持つ色の組み合わせがあった場合、互いの彩度の差を強調するように変化して見えるからである。   As for the saturation, even if the skin color is the same, the saturation of the skin color appears to be enhanced on the background color with low saturation. On the other hand, on the background color with high saturation, it seems that the saturation of the skin color is low. This is a phenomenon caused by saturation contrast, and when there is a combination of colors having different saturations, it seems to change so as to emphasize the difference in saturation between each other.

そこで、本発明に係る映像信号調整装置および映像信号補正方法の実施形態では、上記のように心理補色の影響により、「赤みがかった肌色」や「緑がかった肌色」、または「彩度の高い肌色」や「彩度の低い肌色」等の色相対比や彩度対比が生じている場合、背景色または肌色のそれぞれの色相と彩度のうち少なくとも一方に対し、色相対比または彩度対比の影響を打ち消すように最適な色相と彩度とにシフトすることで、顔色等の肌色が悪く見えるシーンを回避するようにする。   Therefore, in the embodiments of the video signal adjustment device and the video signal correction method according to the present invention, “reddish skin color”, “greenish skin color”, or “highly saturated skin color” due to the influence of psychological complementary color as described above. '' Or `` Saturated skin color '' or other color relative ratio or saturation contrast, the influence of the color relative ratio or saturation contrast on at least one of the hue or saturation of each of the background color or skin color. By shifting to the optimum hue and saturation so as to cancel out, a scene in which the skin color such as the face color looks bad is avoided.

また、本発明に係る映像信号調整装置および映像信号補正方法の実施形態では、肌色の色相と彩度との変換については、顔が注目を集める映像や、シーンチェンジが短い間隔で起こる映像など、見ている者に違和感を与える可能性を考慮し、肌色ではなく、その背景色のみに色相または彩度の変換処理を行うことも可能にする。   Further, in the embodiment of the video signal adjustment apparatus and the video signal correction method according to the present invention, for the conversion between the hue and saturation of the skin color, the video that attracts attention from the face, the video that occurs at short intervals, etc. Considering the possibility of giving the viewer a sense of incongruity, it is also possible to perform hue or saturation conversion processing only on the background color, not on the skin color.

なお、本発明に係る映像信号調整装置および映像信号補正方法の実施形態は、肌色だけではなく、任意の色に対して、色相または彩度の対比現象を抑えたい色として、その色の情報を特定すれば、同じ手法を用いて色相または彩度対比の影響を打ち消すように最適な色相または彩度にシフトすることで、色変換を行うことができる。   The embodiment of the video signal adjusting device and the video signal correcting method according to the present invention uses not only the skin color but also any color as the color for which the hue or saturation contrast phenomenon is to be suppressed, and information on the color is used. If specified, color conversion can be performed by shifting to the optimum hue or saturation so as to cancel the influence of hue or saturation contrast using the same method.

(実施形態1の映像信号調整装置および映像信号補正方法の説明)
次に、本発明に係る映像信号調整装置および映像信号補正方法の実施形態1について説明する。
(Description of Video Signal Adjustment Device and Video Signal Correction Method of Embodiment 1)
Next, Embodiment 1 of the video signal adjusting device and the video signal correcting method according to the present invention will be described.

ここで、映像信号調整装置には、ディスプレイやモニタを備えた映像信号表示装置や、ディスプレイやモニタを備えず、ディスプレイやモニタを接続して映像を表示するハードディスクや、DVD、Blu−rayディスクを含む高画質記録メディアの記録・再生機器や、小型液晶表示装置が一体化、もしくは付属されているデジタルカメラ、カムコーダー等の撮像機器が含まれる。   Here, the video signal adjusting device includes a video signal display device provided with a display and a monitor, a hard disk, a DVD, and a Blu-ray disc that are not provided with a display and a monitor and are connected to the display and the monitor. Including high-definition recording media recording / playback devices, and imaging devices such as digital cameras and camcorders with which a small liquid crystal display device is integrated or attached.

図4は、本発明に係る映像信号調整装置の実施形態1の構成例を示すブロック図である。   FIG. 4 is a block diagram showing a configuration example of Embodiment 1 of the video signal adjustment device according to the present invention.

図4に示すように、実施形態1の映像信号調整装置10は、肌色領域検出回路11と、肌色領域拡張回路12と、色相検出回路13と、積算回路14と、映像信号調整回路15と、第1遅延器16と、第2遅延器17とを備える。映像信号調整装置10は、TV信号等がデコードされた原色信号(RGB信号)や、パーソナルコンピュータ(PC)のRGB信号等の映像信号S1の、肌色または背景色を補正すなわち調整する。   As shown in FIG. 4, the video signal adjustment device 10 according to the first embodiment includes a flesh color area detection circuit 11, a flesh color area expansion circuit 12, a hue detection circuit 13, an integration circuit 14, a video signal adjustment circuit 15, A first delay device 16 and a second delay device 17 are provided. The video signal adjustment device 10 corrects or adjusts the skin color or background color of the video signal S1 such as a primary color signal (RGB signal) obtained by decoding a TV signal or the like, or an RGB signal of a personal computer (PC).

次に、映像信号調整装置10の動作を、簡単に説明する。   Next, the operation of the video signal adjustment apparatus 10 will be briefly described.

まず、肌色領域検出回路11は、映像信号S1を受け取り、肌色の領域である肌色領域を示す肌色領域信号S2を、肌色領域拡張回路12へ出力する。映像信号S1は例えば、YUV信号、またはRGB信号である。   First, the skin color area detection circuit 11 receives the video signal S1 and outputs a skin color area signal S2 indicating a skin color area, which is a skin color area, to the skin color area expansion circuit 12. The video signal S1 is, for example, a YUV signal or an RGB signal.

肌色領域拡張回路12では、肌色への補色効果が及ぶ領域を得るため、肌色領域検出回路11から出力された肌色領域を示す肌色領域信号S2に基づいて肌色領域を含む肌色拡張領域を検出し、肌色領域と肌色拡張領域とより、肌色領域周辺の領域(以下、肌色周辺領域)を示す肌色周辺領域信号S3を色相検出回路13へ出力する。肌色拡張領域とは、肌色領域を含み、肌色領域よりも面積の大きい領域であれば良く、肌色領域を中心として肌色領域よりも拡張した領域を有したものでも良い。   The flesh color area expansion circuit 12 detects a flesh color expansion area including the flesh color area based on the flesh color area signal S2 indicating the flesh color area output from the flesh color area detection circuit 11 in order to obtain an area that has a complementary color effect on the flesh color. A skin color peripheral region signal S3 indicating a region around the skin color region (hereinafter referred to as a skin color peripheral region) is output to the hue detection circuit 13 from the skin color region and the skin color extension region. The skin color extended region may be a region that includes the skin color region and has a larger area than the skin color region, and may have a region extended from the skin color region around the skin color region.

色相検出回路13では、肌色領域拡張回路12から出力された肌色周辺領域信号S3を受け取り、その肌色周辺領域信号S3に基づいて、映像信号S1の肌色周辺領域において主に肌色と特定の関係、すなわち補色関係、にある色相を検出する。そのため、色相検出回路13は、主に肌色との補色関係にある色相を検出できるように予め特定の検出すべき色相情報が設定ないしは記憶されている。   The hue detection circuit 13 receives the flesh color peripheral area signal S3 output from the flesh color area expansion circuit 12, and based on the flesh color peripheral area signal S3, a specific relationship mainly with the flesh color in the flesh color peripheral area of the video signal S1, that is, Hue that is in the complementary color relationship is detected. For this reason, the hue detection circuit 13 is set or stored in advance with specific hue information to be detected so that a hue having a complementary color relationship with the skin color can be detected.

ここで、この色相情報とは、中心となる色相と、その色相の幅を持つことが望ましい。また、色相を示す色空間としては、輝度情報を包含するRGB信号よりも、UV軸で色相情報を分離して扱えるYUV信号を用いることが望ましい。RGB信号からYUV信号への変換は、ITU−R BT.601規格に従う。ITU−R BT.601規格では、YUV信号と、RGB信号との関係が、下記に示す数式(1)で定められている。   Here, it is desirable that the hue information has a central hue and a width of the hue. Further, as the color space indicating the hue, it is desirable to use a YUV signal that can handle the hue information separately on the UV axis, rather than an RGB signal including luminance information. The conversion from RGB signals to YUV signals is performed by ITU-R BT. Follow the 601 standard. ITU-R BT. In the 601 standard, the relationship between the YUV signal and the RGB signal is defined by the following formula (1).

Y = 0.299×R + 0.587×G + 0.114×B
U =−0.168×R − 0.331×G + 0.500×B …(1)
V = 0.500×R − 0.419×G − 0.081×B
色相検出回路13は、予め設定等しておいた検出すべき色相情報に従い、色相情報の範囲内の色情報を検出した場合、検出信号S4を積算回路14へ出力する。すなわち色相検出回路13は、肌色周辺領域信号S3と映像信号S1とに基づいて、肌色周辺領域において、予め定めた主に肌色との補色関係にある色相情報を有する画素を検出した場合には、検出信号S4を積算回路14へ出力する。色相検出回路13は、複数の色相情報を設定し、各色相情報に該当する画素を検出することも可能である。その際、検出信号S4は、設定した色相情報の数(n)だけ積算回路14へ出力される(S41〜S4n)。
Y = 0.299 × R + 0.587 × G + 0.114 × B
U = −0.168 × R−0.331 × G + 0.500 × B (1)
V = 0.500 × R−0.419 × G−0.081 × B
The hue detection circuit 13 outputs a detection signal S4 to the integration circuit 14 when detecting color information within the range of the hue information in accordance with the hue information to be detected set in advance. That is, when the hue detection circuit 13 detects a pixel having hue information mainly in a complementary color relationship with the skin color in the skin color peripheral region based on the skin color peripheral region signal S3 and the video signal S1, The detection signal S4 is output to the integrating circuit 14. The hue detection circuit 13 can also set a plurality of hue information and detect pixels corresponding to each hue information. At this time, the detection signal S4 is output to the integration circuit 14 by the number (n) of the set hue information (S41 to S4n).

積算回路14は、色相検出回路13によって検出された肌色周辺領域において特定の色相、本実施形態では肌色と捕色関係にある色相の画素数を積算するものである。具体的には、積算回路14は、色相検出回路13から出力された検出信号S4に基づいて肌色周辺領域における肌色と捕色関係にある所定の色相信号の有無と量的判定とを行う。例えば、検出信号S4が入力された回数にて肌色周辺領域内の所定の色相の画素数を1画面内で積算し、その画素数の積算値が所定の閾値を超えるか否かを判断する。そして、その画素数の積算値が所定の閾値を超えた場合、積算値信号S5を、映像信号調整回路15へ出力する。   The integration circuit 14 integrates the number of pixels of a specific hue in the skin color peripheral area detected by the hue detection circuit 13, that is, a hue having a color-catching relationship with the skin color in this embodiment. Specifically, the integrating circuit 14 performs the presence / absence and quantitative determination of a predetermined hue signal having a color-catching relationship with the skin color in the skin color peripheral region based on the detection signal S4 output from the hue detection circuit 13. For example, the number of pixels of a predetermined hue in the skin color peripheral region is integrated within one screen by the number of times the detection signal S4 is input, and it is determined whether or not the integrated value of the number of pixels exceeds a predetermined threshold. When the integrated value of the number of pixels exceeds a predetermined threshold value, an integrated value signal S5 is output to the video signal adjustment circuit 15.

映像信号調整回路15は、肌色領域の肌色あるいは肌色周辺領域の所定の色相の映像信号を調整するものである。具体的には、映像信号調整回路15は、積算回路14から積算値信号S5が送られてくると、肌色領域の肌色あるいは肌色周辺領域の所定の色相の映像信号に対して色相の調整すなわち補正処理を行って、出力映像信号S6として出力する。この色相の調整処理は、1フレーム単位で行われる。映像信号調整回路15が肌色領域または肌色周辺領域のうちいずれの領域の映像信号を調整するかは、予め定めておけばよい。   The video signal adjustment circuit 15 adjusts a video signal of a predetermined hue in the skin color of the skin color area or the skin color peripheral area. Specifically, when the integrated value signal S5 is sent from the integrating circuit 14, the video signal adjusting circuit 15 adjusts or corrects the hue of the video signal having a predetermined hue in the flesh color in the flesh color area or in the flesh color peripheral area. Processing is performed and output as an output video signal S6. This hue adjustment process is performed in units of one frame. Whether the video signal adjustment circuit 15 adjusts the video signal in the skin color area or the skin color peripheral area may be determined in advance.

なお、映像信号調整回路15の出力形式は、YUV信号で上記色相の調整(補正)処理を行った場合、RGB信号に変換して、出力映像信号S6とする。また、映像信号調整装置10に入力する映像信号S1については、RGB信号だけでなく、YUV信号を扱う場合にも、同様に処理をする。この場合、最前段の肌色領域検出回路11では、RGB信号をYUV信号に変換する処理は必要とせず、最終段の映像信号調整回路15では、YUV信号をRGB信号に変換して出力映像信号S6として出力する。   Note that the output format of the video signal adjustment circuit 15 is converted into an RGB signal when the hue adjustment (correction) processing is performed with a YUV signal, and is set as an output video signal S6. The video signal S1 input to the video signal adjustment apparatus 10 is processed in the same way when handling not only RGB signals but also YUV signals. In this case, the skin color area detection circuit 11 in the foremost stage does not need to convert RGB signals into YUV signals, and the video signal adjustment circuit 15 in the last stage converts the YUV signals into RGB signals and outputs the output video signal S6. Output as.

なお、本実施形態1では、色相検出回路13で設定する色相についても、設定する色相軸の数を限定しない。   In the first embodiment, the number of hue axes to be set is not limited for the hue set by the hue detection circuit 13.

また、本実施形態1では、肌色領域検出回路11と肌色領域拡張回路12での処理を行う上での時間調整のために第1遅延器16を設けると共に、色相検出回路13と積算回路14での処理を行う上での時間調整のために第2遅延器17とを設けている。   In the first embodiment, the first delay unit 16 is provided to adjust the time for performing the processing in the flesh color area detection circuit 11 and the flesh color area expansion circuit 12, and the hue detection circuit 13 and the integration circuit 14 The second delay unit 17 is provided for time adjustment in performing the above process.

次に、図4の映像信号調整装置10を構成する各構成要素の詳細な構成および動作例について説明する。   Next, a detailed configuration and an operation example of each component constituting the video signal adjustment device 10 of FIG. 4 will be described.

(肌色領域検出回路11の構成および動作の詳細)
肌色領域検出回路11は、前述の通り、入力された映像信号S1(YUV信号)から特定の肌色を示す肌色領域成分を検出して、この肌色領域成分を有する肌色領域を示す信号として肌色領域信号S2を出力する。この際、肌色領域検出回路11は、肌色を中心にある程度の色相の幅を設け、肌色近傍色を含めて検出している。
(Details of Configuration and Operation of Skin Color Area Detection Circuit 11)
As described above, the flesh color area detection circuit 11 detects a flesh color area component indicating a specific flesh color from the input video signal S1 (YUV signal), and outputs a flesh color area signal as a signal indicating the flesh color area having the flesh color area component. S2 is output. At this time, the flesh color area detection circuit 11 provides a certain hue width centering on the flesh color and detects the flesh color vicinity color.

つまり、肌色領域検出回路11は、肌色の近傍色を含めて検出する場合には、例えば、図5に示すように、Y軸、U軸、V軸の各々に、上限値(UL;UPPERリミット)と下限値(LL;LOWERリミット)である、Y軸上限値YUL,Y軸下限値YLL、U軸上限値UUL,U軸下限値ULL、V軸上限値VUL,V軸下限値VLLを定める。   That is, when detecting the skin color region detection circuit 11 including the neighboring colors of the skin color, for example, as shown in FIG. 5, the upper limit value (UL; UPPER limit) is set for each of the Y axis, the U axis, and the V axis. ) And lower limit value (LL; LOWER limit), Y axis upper limit value YUL, Y axis lower limit value YLL, U axis upper limit value UUL, U axis lower limit value ULL, V axis upper limit value VUL, and V axis lower limit value VLL are determined. .

図6は、肌色領域検出回路11の構成例を示すブロック図である。   FIG. 6 is a block diagram illustrating a configuration example of the flesh color area detection circuit 11.

図6において、肌色領域検出回路11は、RGB・YUV変換回路111と、Y信号リミッタ112と、U信号リミッタ113と、V信号リミッタ114とを有している。なお、映像信号S1としてYUV信号を入力する場合には、RGB・YUV変換回路111は、省略可能である。   In FIG. 6, the skin color area detection circuit 11 includes an RGB / YUV conversion circuit 111, a Y signal limiter 112, a U signal limiter 113, and a V signal limiter 114. When a YUV signal is input as the video signal S1, the RGB / YUV conversion circuit 111 can be omitted.

ここで、Y信号リミッタ112と、U信号リミッタ113と、V信号リミッタ114とは、それぞれ、リミット値x,yで定める領域をリミット関数LM(x,y)とすると、図6のブロック図に示すように、Y軸に対しLM(YLL,YUL)、U軸に対しLM(ULL,UUL)、V軸に対しLM(VLL,VUL)によりリミット処理を行う。つまり、Y、U、Vそれぞれの検出値に対し、Y、U、Vそれぞれ特定の閾値(リミット関数LM)と比較し、例えば、特定の閾値以上の場合は“1”を割り当てる一方、特定の閾値より小さい場合は“0”を割り当てて、それぞれ、Y’、U ’、V’として出力する。その結果、肌色領域検出回路11は、肌色と、リミット関数LM(x,y)によりその近傍の幅を持たせた肌色の近傍色を検出することができる。   Here, the Y signal limiter 112, the U signal limiter 113, and the V signal limiter 114 are respectively shown in the block diagram of FIG. 6 when the region defined by the limit values x and y is the limit function LM (x, y). As shown, limit processing is performed by LM (YLL, YUL) for the Y axis, LM (ULL, UUL) for the U axis, and LM (VLL, VUL) for the V axis. That is, each of the detected values of Y, U, and V is compared with a specific threshold value (limit function LM) for each of Y, U, and V. For example, if the detected value is greater than or equal to a specific threshold value, “1” is assigned. If it is smaller than the threshold, “0” is assigned and output as Y ′, U ′, V ′, respectively. As a result, the flesh color area detection circuit 11 can detect the flesh color and the flesh color neighborhood color having a width near the flesh color by the limit function LM (x, y).

図7(a)〜(d)は、それぞれ、Y信号リミッタ112から出力されたY’信号の波形、U信号リミッタ113から出力されたU’信号の波形、およびV信号リミッタ114から出力されたV’信号の波形と、Y’信号とU’信号とV’信号との論理積信号の一例を示す図である。   7A to 7D show the waveform of the Y ′ signal output from the Y signal limiter 112, the waveform of the U ′ signal output from the U signal limiter 113, and the waveform output from the V signal limiter 114, respectively. It is a figure which shows an example of the waveform of a V 'signal, and the AND signal of a Y' signal, a U 'signal, and a V' signal.

図7(d)に示すY’信号、U’信号、V’信号の論理積信号を、数式により表すと、次の数式(2)に示すようになる。   The logical product signal of the Y ′ signal, U ′ signal, and V ′ signal shown in FIG. 7D is represented by the following mathematical formula (2).

LM(YLL,YUL)&LM(ULL,UUL)&LM(VLL,VUL) …(2)
なお、数式(2)において、“&”が論理積を示している。
LM (YLL, YUL) & LM (ULL, UUL) & LM (VLL, VUL) (2)
In formula (2), “&” indicates a logical product.

以上から肌色領域検出回路11では、特定の範囲内の肌色領域を検出することが可能になる。   As described above, the skin color area detection circuit 11 can detect a skin color area within a specific range.

(肌色領域拡張回路12の詳細動作)
通常、映像信号において肌色を見る場合、人の顔色がその大半を占める。
(Detailed operation of the skin color area expansion circuit 12)
Usually, when the skin color is seen in the video signal, the human face color occupies the majority.

例えば、肌色領域検出回路11は、映像信号S1として、例えば、図8に示すような画像91を取得すると、まずは、輝度の検出や顔の特徴認識などによる公知の顔認識技術により、図9(a)に示すように人物の顔または顔の領域を検出する。次いで、肌色領域検出回路11は、図9(b)に示すように輝度や色相等から人物の顔の肌色領域Aを検出して、肌色領域信号S2として肌色領域拡張回路12へ出力する。   For example, when the skin color area detection circuit 11 acquires an image 91 as shown in FIG. 8 as the video signal S1, for example, first, a known face recognition technique such as luminance detection or facial feature recognition is used as shown in FIG. As shown in a), a human face or face area is detected. Next, the flesh color area detection circuit 11 detects the flesh color area A of the person's face from the luminance, hue, and the like as shown in FIG. 9B, and outputs the flesh color area signal S2 to the flesh color area expansion circuit 12.

肌色領域拡張回路12は、肌色領域検出回路11から肌色領域信号S2が入力されると、図9(c)に示すように肌色領域Aを所定範囲だけ拡張することにより、図9(d)に示すような肌色拡張領域Bを生成する。本実施形態では、肌色領域Aを中心として同心円状に領域を拡張した肌色拡張領域Bとした。   When the flesh color area detection circuit 11 receives the flesh color area signal S2, the flesh color area expansion circuit 12 expands the flesh color area A by a predetermined range as shown in FIG. A skin color expansion region B as shown is generated. In this embodiment, it is set as the skin color expansion | extension area | region B which extended the area | region concentrically centering on the skin color area | region A.

ここで、肌色拡張領域B⊃肌色領域A、すなわち肌色拡張領域Bに肌色領域Aが含まれる。このため、肌色領域拡張回路12は、肌色拡張領域Bから肌色領域Aを減算することにより、図9(e)に示すような肌色周辺領域Cを得ることができる。   Here, the skin color region A is included in the skin color extension region B⊃skin color region A, that is, the skin color extension region B. Therefore, the skin color area expansion circuit 12 can obtain the skin color peripheral area C as shown in FIG. 9E by subtracting the skin color area A from the skin color expansion area B.

次に、肌色領域拡張回路12における肌色周辺領域Cの検出例を、2つほど以下に挙げる。   Next, two detection examples of the skin color peripheral region C in the skin color region expansion circuit 12 are given below.

(肌色周辺領域Cの第1検出例)
第1検出例では、肌色領域拡張回路12において、図7(d)に示すY’信号、U’信号、V’信号の論理積信号“1“に対し、領域拡張のための処理として、LPF(Low Pass Filter)を施す方法である。
(First detection example of skin color peripheral region C)
In the first detection example, the skin color region expansion circuit 12 performs LPF as a process for region expansion on the logical product signal “1” of the Y ′ signal, the U ′ signal, and the V ′ signal shown in FIG. (Low Pass Filter).

このLPFの構成は様々なものが考えられるが、一例として、次のような手法を説明する。LPF処理により、通常U信号、V信号の値が極端に小さくなるため、LPF処理を行う前に重み付け処理を行う。   Various configurations of this LPF can be considered, but the following method will be described as an example. Since the values of the normal U signal and V signal become extremely small due to the LPF processing, the weighting processing is performed before the LPF processing.

つまり、肌色領域拡張回路12は、図7(d)に示すY’信号、U’信号、V’信号の論理積信号“1”に対し、重み付け係数M(Mは1より大きい)を乗算した後、LPF処理を行い、その後、閾値処理、すなわち特定の閾値より大きい場合“1”を割り当て、その他は“0”を割り当てて領域信号を得る。肌色領域拡張回路12は、これらの一連の処理によって、図9に示すような、肌色領域Aを拡張した肌色拡張領域Bを設定し、肌色拡張領域Bより肌色領域Aを除いた肌色周辺領域Cを示す肌色周辺領域信号S3を生成することができる。   That is, the flesh color region expansion circuit 12 multiplies the logical product signal “1” of the Y ′ signal, U ′ signal, and V ′ signal shown in FIG. 7D by a weighting coefficient M (M is greater than 1). Thereafter, LPF processing is performed, and thereafter, threshold value processing, that is, “1” is assigned when the threshold value is larger than a specific threshold value, and “0” is assigned otherwise, thereby obtaining a region signal. The skin color area expansion circuit 12 sets a skin color expansion area B obtained by extending the skin color area A as shown in FIG. 9 and a skin color peripheral area C obtained by removing the skin color area A from the skin color expansion area B as shown in FIG. Can be generated.

ここで、肌色領域Aを拡張して肌色拡張領域Bを設定するためには、LPFの次数を大きくする必要があり、水平および垂直方向に高次のLPFを施すことが望ましい。ただし、図8に示すような画像91から図9(b)に示すような顔を肌色領域Aとして検出した場合、その肌色領域Aの左右に隣接する領域には背景の画像、上方向に隣接する領域には髪の毛や帽子の画像、下方向に隣接する領域には衣服の画像などが存在する可能性が高い。このため肌色周辺領域Cのうち、肌色領域Aの上下方向(垂直方向)の領域に肌色と同じ色相の色があることはまれである。従って肌色周辺領域Cのうち、心理補色として肌色に影響を与えるのは、頬や額と水平方向に並んでいる領域、すなわち肌色領域Aの左右方向に隣接する背景領域に一定の色相の色が連続して存在するケースである。   Here, in order to expand the flesh-color area A and set the flesh-color expansion area B, it is necessary to increase the order of the LPF, and it is desirable to apply a high-order LPF in the horizontal and vertical directions. However, when a face as shown in FIG. 9B is detected as the skin color area A from the image 91 as shown in FIG. 8, the background image is adjacent to the left and right areas of the skin color area A, and is adjacent in the upward direction. There is a high possibility that an image of hair or a hat is present in the region to be worn, and an image of clothing or the like is present in the region adjacent downward. For this reason, in the skin color peripheral area C, it is rare that the skin color area A has a color having the same hue as the skin color in the vertical direction (vertical direction). Therefore, in the skin color peripheral region C, the skin color is affected as a psychological complementary color by a color of a certain hue in a region horizontally aligned with the cheeks and forehead, that is, a background region adjacent to the skin color region A in the left-right direction. This is a case that exists continuously.

また、画面の垂直方向に、高次のLPFを施すことは、メモリ等のハードウェアを多く必要とする。   Further, applying a high-order LPF in the vertical direction of the screen requires a lot of hardware such as a memory.

このような理由から肌色領域拡張回路12は、領域拡張のためのLPFを、水平方向処理のみとして、垂直方向のLPF処理に必要なメモリを省略することも可能となる。   For this reason, the flesh color region expansion circuit 12 can use only the horizontal direction processing for the LPF for region expansion and omit the memory necessary for the LPF processing in the vertical direction.

肌色領域拡張回路12は、以上のような手法で肌色領域Aより肌色領域Aの周辺の領域となる肌色周辺領域Cを求め、肌色周辺領域Cを示す肌色周辺領域信号S3を、色相検出回路13へ出力する。   The flesh color area expansion circuit 12 obtains a flesh color peripheral area C that is a peripheral area of the flesh color area A from the flesh color area A by the above-described method, and uses the flesh color peripheral area signal S3 indicating the flesh color peripheral area C as a hue detection circuit 13. Output to.

(肌色周辺領域Cの第2検出例)
肌色領域拡張回路12は、肌色周辺領域信号S3を色相検出回路13へ出力し、色相検出回路13では肌色周辺領域信号S3を基に色相信号S41を算出する。その際、色相検出回路13は、色相信号S41に対し、肌色領域Aの重心からの距離に依存する重み付けを行うようにしても良い。なぜなら肌色周辺領域Cに心理補色が存在する場合でも、肌色周辺領域Cのうち肌色領域Aの最外周と接する領域に心理補色が存在する場合と肌色周辺領域Cの最外周付近の領域、すなわち肌色領域Aから最も離れた領域、に心理補色が存在する場合とでは心理補色が肌色領域Aに与える影響が異なる。肌色周辺領域Cのうち肌色領域Aにより近い領域ほど心理補色が肌色領域Aに与える影響は最も大きく、肌色領域Aからの距離が大きくなるにつれて影響は小さくなる。
(Second detection example of skin color peripheral region C)
The skin color area expansion circuit 12 outputs a skin color peripheral area signal S3 to the hue detection circuit 13, and the hue detection circuit 13 calculates a hue signal S41 based on the skin color peripheral area signal S3. At that time, the hue detection circuit 13 may weight the hue signal S41 depending on the distance from the center of gravity of the skin color region A. This is because even when there is a psychological complementary color in the skin color peripheral area C, there is a case where a psychological complementary color exists in an area in contact with the outermost periphery of the skin color area A in the skin color peripheral area C and an area near the outermost periphery of the skin color peripheral area C, The influence of the psychological complementary color on the skin color area A differs from the case where the psychological complementary color exists in the area farthest from the area A. Of the skin color peripheral region C, the region closer to the skin color region A has the greatest influence of the psychological complementary color on the skin color region A, and the effect decreases as the distance from the skin color region A increases.

そのため、色相検出回路13は、肌色領域Aにおける重心を求め、重心から肌色領域Aと肌色周辺領域Cの境界(最外周)までいくつかのポイントを定めて、重心からの距離を算出する。そして、それらを閾値処理し、近距離a、中距離b、遠距離cとしてレベルを設け分類する。   Therefore, the hue detection circuit 13 calculates the center of gravity in the skin color region A, determines several points from the center of gravity to the boundary (outermost circumference) between the skin color region A and the skin color peripheral region C, and calculates the distance from the center of gravity. Then, they are threshold-processed, and levels are provided and classified as short distance a, medium distance b, and long distance c.

図10は、色相検出回路13が色相信号S41に対し重み付けを行う、肌色領域Aの重心からの距離に依存する重み付け係数の一例を示す図である。   FIG. 10 is a diagram illustrating an example of a weighting coefficient depending on the distance from the center of gravity of the flesh color region A, in which the hue detection circuit 13 weights the hue signal S41.

本実施形態では図10に示すように、重心からの距離が遠くなるにつれて、重み付け係数を小さくしている。すなわち近距離aの重み付け係数を最も大きく設定する。なお、ここでは例として、近距離a、中距離b、遠距離cという3つの距離における重み付け係数を設定したが、その他に、最も一般的な方法として、距離に対し一次関数等を用いて重み付け係数を算出する手法を使用して良い。いずれにおいても、重心からの距離が増すにつれ、重み付け係数が小さくなるという上記の特性を条件として満たしていれば、その方法は限定しない。また、重心からの距離については、水平および垂直方向に扱うことが望ましいが、肌色周辺領域Cの第1検出例にて説明したように、心理補色として肌色に影響を与える色は、頬や額等のように水平方向に並んでいる背景領域の場合が多いことから、水平方向のみの距離を選出し、重み付け係数を算出しても良い。   In this embodiment, as shown in FIG. 10, the weighting coefficient is reduced as the distance from the center of gravity increases. That is, the weighting coefficient for the short distance a is set to the largest. Here, as an example, weighting coefficients at three distances, short distance a, medium distance b, and long distance c, are set as an example. However, as the most general method, weighting is performed using a linear function or the like for the distance. A technique for calculating a coefficient may be used. In any case, the method is not limited as long as the above characteristic that the weighting coefficient decreases as the distance from the center of gravity increases is satisfied. The distance from the center of gravity is preferably handled in the horizontal and vertical directions, but as described in the first detection example of the skin color peripheral region C, colors that affect the skin color as a psychological complementary color are cheeks and foreheads. Since there are many cases where the background regions are arranged in the horizontal direction, the distance in the horizontal direction alone may be selected and the weighting coefficient may be calculated.

肌色領域A、肌色拡張領域B、肌色周辺領域Cの検出方法は、上述したものに限定されず、周知の技術によって検出すればよい。例えば特開2008−15641号公報(発明の名称「人体領域抽出方法および装置並びにプログラム」)に記載の人体領域抽出方法を用いて肌色や顔の領域を抽出してもよい。   The detection method of the skin color area A, the skin color extension area B, and the skin color peripheral area C is not limited to the above-described method, and may be detected by a known technique. For example, the skin color and face area may be extracted using a human body area extraction method described in Japanese Patent Application Laid-Open No. 2008-15641 (name of invention “human body area extraction method and apparatus and program”).

(色相検出回路13の詳細動作)
色相検出回路13では、第1遅延器16を通過した映像信号S1に対して、肌色領域検出回路11と同様に必要あればRGB信号からYUV信号へ変換した後、主に肌色との補色関係にある色相を検出できるよう、予め特定の検出すべき色相情報(Y、U、V)を設定しておく。この色相情報は、肌色の色相範囲の抽出を行ったときと同様に、中心となる色相とその色相幅を持つことが望ましい。ここでは一例として、2種類の色相軸1、色相軸2を設定し、それぞれ色相の幅を持たせているが、設定する色相軸の数を制限するものではない。色相検出回路13では、肌色検出する処理と同様に、色相軸1、色相軸2において、おのおの図5のようにY軸、U軸、V軸それぞれに上限値(UL)、下限値(LL)を定め、図6にて説明したリミッタ処理を行う。
(Detailed operation of the hue detection circuit 13)
In the hue detection circuit 13, the video signal S1 that has passed through the first delay device 16 is converted from an RGB signal to a YUV signal, if necessary, in the same manner as in the skin color area detection circuit 11, and then has a complementary color relationship mainly with the skin color. Specific hue information (Y, U, V) to be detected is set in advance so that a certain hue can be detected. It is desirable that this hue information has a central hue and its hue width in the same manner as when the flesh color hue range is extracted. Here, as an example, two types of hue axis 1 and hue axis 2 are set and each has a hue range, but the number of hue axes to be set is not limited. In the hue detection circuit 13, in the hue axis 1 and the hue axis 2, the upper limit value (UL) and the lower limit value (LL) are respectively shown in the Y axis, the U axis, and the V axis as shown in FIG. And the limiter processing described with reference to FIG. 6 is performed.

色相検出回路13は、設定した色相情報を有する映像信号を検出すると、検出すべき色相を有する画素を検出したことを示す検出信号S4を積算回路14へ出力する。これによって、肌色周辺領域内に肌色との補色関係にあるY、U、Vの組み合わせが存在するか、存在しないかが判別可能となる。本実施形態では、色相検出回路13にて肌色周辺領域Cにおける所定の色相(補色)の画素を検出したが、肌色拡張領域Bより所定の色相の画素を検出してもよい。その際、肌色領域拡張回路12は肌色拡張領域Bを示す信号を色相検出回路13に供給すればよい。   When detecting the video signal having the set hue information, the hue detection circuit 13 outputs a detection signal S4 indicating that the pixel having the hue to be detected has been detected to the integration circuit. This makes it possible to determine whether or not there is a combination of Y, U, and V that are complementary to the skin color in the skin color peripheral area. In the present embodiment, pixels of a predetermined hue (complementary color) in the skin color peripheral area C are detected by the hue detection circuit 13, but pixels of a predetermined hue may be detected from the skin color expansion area B. At that time, the flesh color area expansion circuit 12 may supply a signal indicating the flesh color expansion area B to the hue detection circuit 13.

(積算回路14の詳細動作)
積算回路14では、色相検出回路13から検出信号S4が入力されると、検出信号S4を積算し、積算した検出信号S4に基づく積算値信号S5を映像信号調整回路15へ出力する。
(Detailed operation of integrating circuit 14)
When the detection signal S4 is input from the hue detection circuit 13, the integration circuit 14 integrates the detection signal S4 and outputs an integrated value signal S5 based on the integrated detection signal S4 to the video signal adjustment circuit 15.

映像信号調整回路15は、積算回路14から積算値信号S5が入力されると、積算値信号S5に応じて、第1遅延器16および第2遅延器17を介し時間を調整して入力された映像信号S1の色相もしくは彩度のうち少なくとも一方の調整を行い、出力映像信号S6として出力する。   When the integration value signal S5 is input from the integration circuit 14, the video signal adjustment circuit 15 is input with the time adjusted via the first delay device 16 and the second delay device 17 in accordance with the integration value signal S5. At least one of the hue and saturation of the video signal S1 is adjusted and output as the output video signal S6.

図11は、積算回路14の構成例を示すブロック図である。   FIG. 11 is a block diagram illustrating a configuration example of the integrating circuit 14.

図11において、積算回路14は、選択器141と、加算器142と、リミッタ143と、除算器144とを有している。   In FIG. 11, the integrating circuit 14 includes a selector 141, an adder 142, a limiter 143, and a divider 144.

積算回路14においては、例えば、選択器141が色相検出回路13からの検出信号S4を1画面内で積算した積算値を出力する。選択器141は、検出信号S4として“1”が入力されると、検出信号S4を加算器142へ出力する。なお、加算器142は、リセット信号Rの入力により、その積算結果をリセットする。   In the integrating circuit 14, for example, the selector 141 outputs an integrated value obtained by integrating the detection signal S4 from the hue detecting circuit 13 within one screen. When “1” is input as the detection signal S4, the selector 141 outputs the detection signal S4 to the adder 142. Note that the adder 142 resets the integration result in response to the input of the reset signal R.

検出信号S4が“1”の場合は、肌色周辺領域C内に特定の色相(肌色の補色)の画素が存在することを示している。   When the detection signal S4 is “1”, it indicates that a pixel of a specific hue (skin color complementary color) exists in the skin color peripheral area C.

加算器142では、検出信号S4を加算した値をリミッタ143に出力すると同時に、加算器142へ入力し、続いて入力される検出信号S4へ加算する。なお、加算結果は、一定以上の大きさに達すれば、それ以上は必要ないため、図11に示す積算回路14の一例においては、リミッタ143により制限を行う。こうして得た肌色周辺領域C内の所定の色相の画素数を示す積算値は、通常、除算器144により振幅が調整され、積算値信号S5として出力される。ここで、簡易的には、除算器144において、積算値信号S5を示すビット長の下位を切捨てることにより振幅を調整する。なお、加算器142における積算は、映像信号調整装置10に入力される映像信号S1あるいは映像信号調整装置10から出力される映像信号S6の1フレームに相当する単位で行う。そのため、加算器142を1フレーム毎に一旦“0”とリセットする必要があり、これをリセット信号Rによって行っている。   In the adder 142, a value obtained by adding the detection signal S4 is output to the limiter 143, and simultaneously input to the adder 142 and then added to the input detection signal S4. Note that if the addition result reaches a certain size or more, it is not necessary any more, so in the example of the integration circuit 14 shown in FIG. The integrated value indicating the number of pixels of a predetermined hue in the skin color peripheral area C thus obtained is normally adjusted in amplitude by the divider 144 and output as an integrated value signal S5. Here, simply, the divider 144 adjusts the amplitude by truncating the lower part of the bit length indicating the integrated value signal S5. The integration in the adder 142 is performed in units corresponding to one frame of the video signal S1 input to the video signal adjustment device 10 or the video signal S6 output from the video signal adjustment device 10. Therefore, it is necessary to reset the adder 142 once to “0” for each frame, and this is performed by the reset signal R.

なお、リセット信号Rは1フレーム毎に入力される必要はなく、演算に時間を要する構成の場合、複数フレームに一度入力されても良い。なぜなら、心理補色は心理的効果であり、1フレームの周期より長い認知周期を持っているからである。今回の例では、説明の便宜上、1フレーム単位としている。以上の処理により、積算回路14は、映像信号調整を行うための制御信号である積算値信号S5を生成して、映像信号調整回路15へ出力する。なお、複数の補色の色相軸を設定した際には、同様の回路によって各色相軸における積算値信号S5の生成を行う。   Note that the reset signal R does not need to be input every frame, and may be input once in a plurality of frames in the case of a configuration that requires time for calculation. This is because psychological complementary color is a psychological effect and has a cognitive period longer than the period of one frame. In this example, for convenience of explanation, the unit is one frame. Through the above processing, the integrating circuit 14 generates an integrated value signal S5 that is a control signal for performing video signal adjustment, and outputs the integrated value signal S5 to the video signal adjusting circuit 15. When a plurality of complementary hue axes are set, the integrated value signal S5 is generated for each hue axis by a similar circuit.

(映像信号調整回路15の詳細構成および動作)
図12は、映像信号調整回路15の構成例を示すブロック図である。
(Detailed configuration and operation of video signal adjustment circuit 15)
FIG. 12 is a block diagram illustrating a configuration example of the video signal adjustment circuit 15.

図12において、映像信号調整回路15は、補正量設定部151と、色相・彩度補正処理部152とを有している。補正量設定部151は、積算回路14から積算値信号S5が入力される。積算回路14において、色相軸1、色相軸2における積算値信号S51,S52が生成された場合には、積算値信号S51,S52が補正量設定部151に入力される。   In FIG. 12, the video signal adjustment circuit 15 includes a correction amount setting unit 151 and a hue / saturation correction processing unit 152. The correction value setting unit 151 receives the integrated value signal S <b> 5 from the integrating circuit 14. When the integration circuit 14 generates integration value signals S51 and S52 for the hue axis 1 and the hue axis 2, the integration value signals S51 and S52 are input to the correction amount setting unit 151.

補正量設定部151では、色相軸毎に積算値に対する色相および彩度の補正量を予め設定してある。従って、補正量設定部151では、各色相軸1,2に対する積算値信号S51,S52が入力されると、その積算値信号S51,S52の大きさに応じて、色相と彩度の補正量信号である色相軸1の色相補正量信号S511、色相軸1の彩度補正量信号S512、色相軸2の色相補正量信号S521、色相軸2の彩度補正量信号S522を、色相・彩度補正処理部152へ出力する。ここで、この補正量設定部151では、実際の映像を見ながら調整を要するために、変更が容易なルックアップテーブルなどを利用するようにしても良い。   In the correction amount setting unit 151, correction amounts of hue and saturation with respect to the integrated value are set in advance for each hue axis. Accordingly, when the integrated value signals S51 and S52 for the hue axes 1 and 2 are input to the correction amount setting unit 151, the correction amount signals for the hue and saturation depending on the magnitudes of the integrated value signals S51 and S52. The hue correction amount signal S511 of the hue axis 1, the saturation correction amount signal S512 of the hue axis 1, the hue correction amount signal S521 of the hue axis 2, and the saturation correction amount signal S522 of the hue axis 2 are hue / saturation correction. The data is output to the processing unit 152. Here, since the correction amount setting unit 151 requires adjustment while watching an actual video, a lookup table that can be easily changed may be used.

色相・彩度補正処理部152では、入力映像信号S1の色相もしくは彩度の制御を行うため、入力映像信号S1のYUV信号に対し、色相軸ごとの色相と彩度を検出して、色相と彩度のうち少なくとも一方の補正処理を行う。本実施形態の色相・彩度補正処理部152は、RGB信号で入力映像信号S1が入力され、図示しないRGB・YUV変換回路にてRGB信号をYUV信号に変換する。   The hue / saturation correction processing unit 152 detects the hue and saturation for each hue axis with respect to the YUV signal of the input video signal S1 in order to control the hue or saturation of the input video signal S1. At least one of the saturation is corrected. The hue / saturation correction processing unit 152 of the present embodiment receives the input video signal S1 as an RGB signal, and converts the RGB signal into a YUV signal by an RGB / YUV conversion circuit (not shown).

ここで、本実施形態1の色相・彩度補正処理部152では、入力映像信号S1のうち肌色領域Aの肌色について、色相軸ごとの色相と彩度を検出して、色相と彩度のうち少なくとも一方の補正処理を行うことにより、肌色周辺領域Cの背景色による心理補色の影響により肌色領域Aの肌色が異なる色に見える現象を抑えるようにしても良いし、あるいは、入力映像信号S1のうち肌色周辺領域Cの背景色について、色相軸ごとの色相と彩度を検出して、色相と彩度のうち少なくとも一方の補正処理を行うことにより、背景色による心理補色の影響により肌色が異なる色に見える現象を抑えるようにしても良い。   Here, the hue / saturation correction processing unit 152 of the first embodiment detects the hue and saturation for each hue axis for the skin color of the skin color region A in the input video signal S1, and out of the hue and saturation. By performing at least one of the correction processes, a phenomenon in which the skin color of the skin color area A looks different due to the influence of the psychological complementary color due to the background color of the skin color peripheral area C may be suppressed, or the input video signal S1 Of these, the background color of the skin color peripheral region C is detected by detecting the hue and saturation for each hue axis, and performing correction processing of at least one of the hue and saturation, so that the skin color differs due to the influence of the psychological complementary color by the background color. You may make it suppress the phenomenon seen in a color.

以上のように、肌色近傍色の検出によって肌色近傍色の肌色領域Aを検出すると共に、肌色領域Aを拡張して肌色領域Aを除いた肌色周辺領域Cを検出して、肌色周辺領域Cの背景色の影響により肌色領域Aの肌色ないしは肌色近傍色が異なる色に見える心理補色の問題を解決することができる。   As described above, the skin color area A of the skin color vicinity color is detected by detecting the skin color vicinity color, and the skin color peripheral area C excluding the skin color area A by expanding the skin color area A is detected. It is possible to solve the problem of the complementary color that the skin color in the skin color region A or the skin color near the skin color looks different due to the influence of the background color.

なお、この映像信号調整回路15の詳細は、例えば、特開2007−49341号公報(発明の名称「映像補正装置」)に記載されており、特に、図6に示されている色補正回路を参考とすればよい。この色補正回路は、本実施形態1において構成上必要な映像信号調整回路15と同様に、複数の色相軸で、それぞれ独立した色相と彩度を調整できるように構成されている。特開2007−49341号公報の図6に示す色補正回路における補正係数算出部3nに入力する色相2(p2)と、彩度sに相当するものが、本実施形態1の図12中の色相補正量信号S511、S521と、彩度補正量信号S512、S522であるため、これらを本発明の映像信号調整回路15が特開2007−49341号公報に記載された色補正装置と同様に処理することにより、色相、彩度を補正することができる。   The details of the video signal adjustment circuit 15 are described in, for example, Japanese Patent Application Laid-Open No. 2007-49341 (name of invention “video correction device”). In particular, the color correction circuit shown in FIG. It can be used as a reference. Similar to the video signal adjustment circuit 15 necessary for the configuration in the first embodiment, this color correction circuit is configured to be able to adjust independent hue and saturation with a plurality of hue axes. The hue 2 (p2) input to the correction coefficient calculation unit 3n in the color correction circuit shown in FIG. 6 of Japanese Patent Application Laid-Open No. 2007-49341 and the hue corresponding to the saturation s are the hues in FIG. 12 of the first embodiment. Since the correction amount signals S511 and S521 and the saturation correction amount signals S512 and S522, the video signal adjustment circuit 15 according to the present invention processes them in the same manner as the color correction apparatus described in Japanese Patent Application Laid-Open No. 2007-49341. Thus, the hue and saturation can be corrected.

そして、映像信号調整回路15は、入力映像信号S1のYUV信号の色相と彩度を補正した結果として、補正後の映像信号である出力映像信号S6のY’U’V’信号が得られる。なお、映像信号調整回路15の出力形式については、上記処理を、YUV信号に対し行っていたので、Y’U’V’信号をRGB信号に図示しないRGB・YUV変換回路にてマトリクス変換して、R’G’B’信号からなる出力映像信号S6とする。   Then, the video signal adjustment circuit 15 obtains the Y′U′V ′ signal of the output video signal S6, which is the corrected video signal, as a result of correcting the hue and saturation of the YUV signal of the input video signal S1. As for the output format of the video signal adjustment circuit 15, since the above processing is performed on the YUV signal, the Y′U′V ′ signal is subjected to matrix conversion by an RGB / YUV conversion circuit (not shown) into an RGB signal. , R′G′B ′ signal is an output video signal S6.

以上説明したように、本実施形態1の映像信号調整装置10は、映像信号における肌色領域を所定の範囲だけ拡張して肌色領域周辺領域を検出し、肌色周辺領域において映像信号の肌色と特定の関係にある特定の色相を検出し、肌色と補色関係にある特定の色相の画素数を積算し、その画素数の積算値に基づいて、肌色領域あるいは肌色周辺領域の映像信号を調整する。これにより、映像における肌色周辺領域の背景色による心理補色の影響により肌色領域の肌色が異なる色に見える現象を効果的に抑えることができる。   As described above, the video signal adjustment apparatus 10 according to the first embodiment expands the skin color area in the video signal by a predetermined range to detect the skin color area peripheral area, and specifies the skin color of the video signal in the skin color peripheral area. A specific hue having a relationship is detected, the number of pixels of a specific hue having a complementary color relationship with the skin color is integrated, and the video signal of the skin color region or the skin color peripheral region is adjusted based on the integrated value of the number of pixels. Accordingly, it is possible to effectively suppress a phenomenon in which the skin color of the skin color region appears to be different due to the influence of the psychological complementary color due to the background color of the skin color peripheral region in the video.

(実施形態2)
上記実施形態1では、肌色周辺領域の背景色の影響により肌色領域の肌色が異なる色に見える心理補色の問題を解決するため、肌色領域の肌色または肌色周辺領域の背景色の色相または彩度のうち少なくとも一方を自動的に調整するものとして説明したが、実施形態2の映像信号調整装置は、肌色領域の肌色または肌色周辺領域の背景色の映像信号の色相または彩度の調整結果をオンスクリーンディスプレイ(OSD)表示することにより、シミュレーションとして確認することができ、色相および彩度の補正レベルをユーザが調整できるようにしたものである。また、これらOSD表示によるシミュレーション結果を見て、ユーザが色相および彩度の補正処理をそれぞれ行うか、行わないかを判断することができるようにしたものである。
(Embodiment 2)
In the first embodiment, in order to solve the problem of the complementary color that the skin color of the skin color area looks different due to the influence of the background color of the skin color peripheral area, the hue or saturation of the skin color of the skin color area or the background color of the skin color peripheral area is solved. The video signal adjusting apparatus according to the second embodiment has been described as automatically adjusting at least one of them, but the on-screen adjustment result of the hue or saturation of the video signal of the skin color of the skin color area or the background color of the skin color peripheral area is displayed on the screen. By displaying on the display (OSD), it can be confirmed as a simulation, and the user can adjust the correction level of hue and saturation. In addition, the user can determine whether or not to perform the hue and saturation correction processes by looking at the simulation results by OSD display.

(実施形態2の映像信号調整装置の構成)
図13は、実施形態2の映像信号調整装置の構成例を示すブロック図である。
(Configuration of video signal adjusting apparatus according to Embodiment 2)
FIG. 13 is a block diagram illustrating a configuration example of the video signal adjustment apparatus according to the second embodiment.

図13において、実施形態2の映像信号調整装置10Aは、図4に示した映像信号調整装置10に対し、新たにOSD表示回路18を設けたものであり、それ以外の構成は、図4の映像信号調整装置10と同じである。従って、図13において、図4の映像信号調整装置10と同じ構成要素には、同一符号を付して、その説明は省略する。   In FIG. 13, the video signal adjustment device 10 </ b> A according to the second embodiment is obtained by providing a new OSD display circuit 18 with respect to the video signal adjustment device 10 shown in FIG. 4. This is the same as the video signal adjustment device 10. Therefore, in FIG. 13, the same components as those of the video signal adjustment device 10 of FIG.

OSD表示回路18は、次の図14に示す動作により、映像信号調整回路15による調整後の肌色領域の肌色あるいは肌色周辺領域の背景色の映像信号と、調整前の肌色領域の肌色あるいは肌色周辺領域の背景色の映像信号とをOSD表示すると共に、調整を行うか否かを選択させるためのON/OFFボタン等をOSD表示するものである。OSD表示回路18は、肌色領域検出回路11から肌色領域信号S2を受け取り、肌色領域拡張回路12より肌色周辺領域信号S3を受け取り、それぞれに基づいてOSD表示を行う。   The OSD display circuit 18 performs the operation shown in FIG. 14, the video signal of the flesh color of the flesh color area after adjustment by the video signal adjustment circuit 15 or the background color of the flesh color peripheral area, and the flesh color or flesh color periphery of the flesh color area before adjustment An OSD display of the background background video signal and OSD display of an ON / OFF button or the like for selecting whether or not to perform adjustment are performed. The OSD display circuit 18 receives the skin color area signal S2 from the skin color area detection circuit 11, receives the skin color peripheral area signal S3 from the skin color area expansion circuit 12, and performs OSD display based on each.

(実施形態2の映像信号調整装置の動作)
次に、映像信号調整装置10Aの動作について説明する。
(Operation of the video signal adjusting apparatus of the second embodiment)
Next, the operation of the video signal adjustment apparatus 10A will be described.

図14は、映像信号調整装置10Aの動作を示すフローチャートである。   FIG. 14 is a flowchart showing the operation of the video signal adjustment apparatus 10A.

まず、映像信号調整装置10Aでは、実施形態1と同様に、映像信号を取得し(ステップS1600)、続いて肌色領域Aまたは肌色周辺領域Cの認識を行う(ステップS1610)。   First, in the video signal adjusting apparatus 10A, as in the first embodiment, a video signal is acquired (step S1600), and then the skin color area A or the skin color peripheral area C is recognized (step S1610).

次に、OSD表示回路18は、OSD重畳処理により、例えば、図15に示すように、表示画像91上に肌色領域Aを示す肌色検出枠171と肌色周辺領域Cを示す背景色検出枠172をOSD表示して、表示画像91におけるマーキング処理を行う(ステップS1620)。   Next, the OSD display circuit 18 performs a skin color detection frame 171 indicating a skin color area A and a background color detection frame 172 indicating a skin color peripheral area C on the display image 91 by OSD superimposition processing, for example, as shown in FIG. OSD display is performed, and marking processing is performed on the display image 91 (step S1620).

図15は、映像信号調整装置10Aにより画像上に重畳して表示されるOSD情報の一例を示している。実施形態2では、肌色領域拡張回路12は既述した理由により肌色領域Aに対して水平方向に拡張された周辺領域を肌色周辺領域Cとした。   FIG. 15 shows an example of OSD information displayed on the image by the video signal adjustment apparatus 10A. In the second embodiment, the flesh color area expansion circuit 12 defines the flesh color peripheral area C as the peripheral area expanded in the horizontal direction with respect to the flesh color area A for the reason described above.

次に、OSD表示回路18では、その画像91の上に、後述する図16に示すような肌色自動補正欄180のOSD情報や、図17に示すような背景色自動補正欄190のOSD情報を表示して、その肌色自動補正欄180や背景色自動補正欄190のOSD情報に、補正前の肌色または背景色をOSD表示する(ステップS1630)。なお、映像信号調整回路15が調整する領域(肌色領域または肌色周辺領域)に対応して、肌色自動補正欄180または背景色自動補正欄190のいずれか一方のOSD情報が表示されれば良い。OSD情報は、画像91の一部または全体に重畳して表示される。   Next, the OSD display circuit 18 displays the OSD information in the skin color automatic correction column 180 as shown in FIG. 16 and the OSD information in the background color automatic correction column 190 as shown in FIG. Then, the skin color or background color before correction is OSD-displayed in the OSD information of the skin color automatic correction column 180 and the background color automatic correction column 190 (step S1630). Note that the OSD information of either the skin color automatic correction column 180 or the background color automatic correction column 190 may be displayed corresponding to the region (skin color region or skin color peripheral region) adjusted by the video signal adjustment circuit 15. The OSD information is displayed superimposed on a part or the whole of the image 91.

図16は、映像信号調整回路15が肌色領域の肌色を調整する際に、ステップS1630の処理により表示される肌色自動補正欄180のOSD情報の一例を示している。   FIG. 16 shows an example of the OSD information in the skin color automatic correction column 180 displayed by the processing in step S1630 when the video signal adjustment circuit 15 adjusts the skin color of the skin color region.

肌色自動補正欄180のOSD情報には、図16に示すように、肌色自動補正を選択するためのON/OFFボタン181と、肌色の色相および彩度を手動調整するための色相調整バー182と、彩度調整バー183と、肌色を自動または手動調整した際の処理前と処理後の状態が表示される処理前ウインドウ184と、処理後ウインドウ185との画像が含まれる。   As shown in FIG. 16, the OSD information in the skin color automatic correction field 180 includes an ON / OFF button 181 for selecting skin color automatic correction, and a hue adjustment bar 182 for manually adjusting the hue and saturation of the skin color. The image includes a saturation adjustment bar 183, a pre-processing window 184 that displays the pre-processing and post-processing states when the skin color is automatically or manually adjusted, and a post-processing window 185.

そのため、肌色を調整する場合には、このステップS1630の処理により、肌色自動補正欄180の処理前ウインドウ184に、補正前の肌色が表示されることになる。なお、ステップS1630では映像信号調整回路15による調整が行われていないため、処理後ウインドウ185に何も表示されていない、または処理後ウインドウ185が表示されていない、肌色自動補正欄180を表示すればよい。   Therefore, when the skin color is adjusted, the skin color before correction is displayed in the pre-processing window 184 of the skin color automatic correction column 180 by the processing of step S1630. In step S1630, since the adjustment by the video signal adjustment circuit 15 is not performed, nothing is displayed in the post-processing window 185, or the skin color automatic correction column 180 where the post-processing window 185 is not displayed is displayed. That's fine.

図17は、映像信号調整回路15が肌色周辺領域の所定の色相を調整する際に、ステップS1630の処理により表示される背景色自動補正欄190のOSD情報の一例を示している。本実施形態では、色相検出回路13が検出した肌色周辺領域に含まれる所定の色相を映像信号調整回路15が調整する背景色とする。   FIG. 17 shows an example of the OSD information in the background color automatic correction column 190 displayed by the processing in step S1630 when the video signal adjustment circuit 15 adjusts a predetermined hue in the skin color peripheral area. In the present embodiment, a predetermined hue included in the skin color peripheral area detected by the hue detection circuit 13 is set as a background color adjusted by the video signal adjustment circuit 15.

図17に示す背景色自動補正欄190のOSD情報でも、図16に示す肌色自動補正欄180のOSD情報と同様に、背景色自動補正を選択するためのON/OFFボタン191と、背景色の色相および彩度を手動調整するための色相調整バー192と、彩度調整バー193と、背景色を自動または手動調整した際の処理前と処理後の状態が表示される処理前ウインドウ194と、処理後ウインドウ195との画像が含まれる。   The OSD information in the automatic background color correction column 190 shown in FIG. 17 also has an ON / OFF button 191 for selecting automatic background color correction and the background color as in the OSD information in the automatic skin color correction column 180 shown in FIG. A hue adjustment bar 192 for manually adjusting the hue and saturation, a saturation adjustment bar 193, a pre-processing window 194 for displaying the pre-processing and post-processing states when the background color is automatically or manually adjusted, An image with the post-processing window 195 is included.

そのため、背景色を調整する場合には、このステップS1630の処理により、背景色自動補正欄190の処理前ウインドウ194に、補正前の背景色が表示されることになる。   Therefore, when the background color is adjusted, the background color before correction is displayed in the pre-processing window 194 of the background color automatic correction column 190 by the processing of step S1630.

ここで、映像信号調整装置10Aは、前述の実施形態1の映像信号調整装置10と同様に、肌色領域Aにおける肌色または肌色周辺領域Cにおける背景色の調整すなわち補正処理を実行する(ステップS1640)。   Here, the video signal adjustment device 10A executes the adjustment of the skin color in the skin color region A or the background color in the skin color peripheral region C, that is, the correction process, similarly to the video signal adjustment device 10 of the first embodiment (step S1640). .

次に、OSD表示回路18は、肌色自動補正欄180のOSD情報における処理後ウインドウ185、または背景色自動補正欄190のOSD情報における処理後ウインドウ195に、補正後の肌色または背景色をOSD重畳表示する(ステップS1650)。OSD表示回路18は、肌色自動補正欄180のOSD情報では、処理前ウインドウ184に補正前の肌色、処理後ウインドウ185に補正後の肌色を表示させる。背景色自動補正欄190のOSD情報では、処理前ウインドウ194および処理後ウインドウ195には、処理前および処理後の背景色がOSD重畳表示される。   Next, the OSD display circuit 18 OSD superimposes the corrected skin color or background color on the post-processing window 185 in the OSD information in the skin color automatic correction column 180 or the post-processing window 195 in the OSD information in the background color automatic correction column 190. It is displayed (step S1650). The OSD display circuit 18 displays the skin color before correction in the pre-processing window 184 and the skin color after correction in the post-processing window 185 in the OSD information of the skin color automatic correction column 180. In the OSD information in the background color automatic correction column 190, the pre-processing and post-processing background colors are OSD superimposed on the pre-processing window 194 and the post-processing window 195.

その際、映像信号調整装置10Aでは、ユーザが、図16に示す肌色自動補正欄180のOSD情報における色相調整バー182および彩度調整バー183や、図17に示す背景色自動補正欄190のOSD情報における色相調整バー192および彩度調整バー193を手動操作して、ユーザは、処理前および処理後の肌色または背景色を参照して、ステップS1640の処理により補正された肌色や背景色における色相や彩度を、さらに手動で調整するようにしても良い(ステップS1660)。なお、このステップS1660の処理は、ユーザによる手動操作の処理なので、必要なければ、省略しても良いし、ステップS1650の前に行うようにしても良い。   At that time, in the video signal adjustment apparatus 10A, the user can adjust the hue adjustment bar 182 and the saturation adjustment bar 183 in the OSD information in the skin color automatic correction column 180 shown in FIG. 16 or the OSD in the background color automatic correction column 190 shown in FIG. By manually operating the hue adjustment bar 192 and the saturation adjustment bar 193 in the information, the user refers to the skin color or background color before and after processing, and the hue in the skin color or background color corrected by the processing in step S1640 Alternatively, the saturation may be further manually adjusted (step S1660). Note that the process of step S1660 is a manual operation process by the user, and may be omitted if not necessary or may be performed before step S1650.

ユーザは、処理後ウインドウ185または処理後ウインドウ195に表示された補正後の色を確認し、肌色自動補正欄180のOSD情報におけるON/OFFボタン181、または背景色自動補正欄190のOSD情報におけるON/OFFボタン191において手動調整したように映像調整を行うか(ON)否か(OFF)を選択できる。映像信号調整装置10Aは、このユーザによる選択操作を受け付ける(ステップS1670)。映像信号調整装置10Aは、ステップS1670においてONが選択されたか否かを判断する(ステップS1680)。ユーザによる選択操作を示す信号は、OSD表示回路18または映像信号調整回路15が受け取ればよい。OSD表示回路18が選択操作を示す信号を受信する場合は、OSD表示回路18より映像信号調整回路15に選択操作を示す信号を供給すればよく、映像信号調整回路15は選択操作を示す信号を基にステップS1670以降のステップを処理する。   The user confirms the color after correction displayed in the post-processing window 185 or the post-processing window 195, and the ON / OFF button 181 in the OSD information in the skin color automatic correction column 180 or the OSD information in the background color automatic correction column 190. It is possible to select whether to perform image adjustment (ON) or not (OFF) as if it was manually adjusted with the ON / OFF button 191. The video signal adjustment device 10A receives the selection operation by the user (step S1670). The video signal adjustment device 10A determines whether or not ON is selected in step S1670 (step S1680). The signal indicating the selection operation by the user may be received by the OSD display circuit 18 or the video signal adjustment circuit 15. When the OSD display circuit 18 receives a signal indicating a selection operation, the OSD display circuit 18 may supply a signal indicating the selection operation to the video signal adjustment circuit 15, and the video signal adjustment circuit 15 receives a signal indicating the selection operation. Based on this, the steps after step S1670 are processed.

ONが選択された場合(ステップS1680“YES”)、映像信号調整装置10Aの映像信号調整回路15は、実施形態1の映像信号調整回路15と同様に、画像91における肌色領域Aの肌色または肌色周辺領域Cの背景色に対し補正処理を実行する(ステップS1690)。   When ON is selected (step S1680 “YES”), the video signal adjustment circuit 15 of the video signal adjustment device 10A is similar to the video signal adjustment circuit 15 of the first embodiment, and the skin color or skin color of the skin color region A in the image 91 is displayed. Correction processing is executed for the background color of the peripheral area C (step S1690).

これに対し、OFFが選択された場合(ステップS1680“NO”)、映像信号調整回路15は、肌色または背景色の調整処理をリセットする(ステップS1700)。   On the other hand, when OFF is selected (step S1680 “NO”), the video signal adjustment circuit 15 resets the skin color or background color adjustment processing (step S1700).

以上説明したように、本実施形態2の映像信号調整装置10Aでは、実施形態1と同様の調整処理による肌色領域の肌色または肌色周辺領域の背景色の調整結果を表示画像に対し適用する前に、表示画像の上にOSD表示する。これにより、ユーザは、そのOSD表示を参照することにより、表示画像における肌色または背景色の調整結果をシミュレーション結果として事前に確認することができる。この結果、ユーザは、これらOSD表示によるシミュレーション結果を見てから肌色または背景色の補正処理をそれぞれ行うか、行わないかを判断することが可能となり、ユーザにとって利便性が向上する。   As described above, in the video signal adjustment apparatus 10A of the second embodiment, before applying the adjustment result of the skin color of the skin color area or the background color of the skin color peripheral area by the same adjustment processing as that of the first embodiment to the display image. The OSD is displayed on the display image. Thereby, the user can confirm beforehand the adjustment result of the skin color or background color in a display image as a simulation result by referring to the OSD display. As a result, the user can determine whether or not to perform the skin color or background color correction processing after seeing the simulation results by the OSD display, which improves the convenience for the user.

なお、上記実施形態1,2の説明では、図4および図13に示すように、映像信号調整装置10,10Aをハードウェアにより構成して説明したが、本発明では、これに限らず、CPUがプログラムを実行することによりソフトウェア的に図4および図13に示す映像信号調整装置10,10Aの機能を実行するように構成しても勿論よい。   In the description of the first and second embodiments, the video signal adjustment devices 10 and 10A are configured by hardware as shown in FIGS. 4 and 13, but the present invention is not limited to this, and the CPU Of course, it may be configured to execute the functions of the video signal adjustment apparatuses 10 and 10A shown in FIGS.

実施形態1、2において、肌色検出に限定して説明したが、本発明の映像信号調整装置は肌色の映像を検出し、肌色領域あるいはその近傍領域の映像を調整することに限られるものではない。肌色領域検出回路11に代わり所定の色の領域を検出する回路を設け、色相検出回路13において、所定の色と補色関係にある色の色相を検出することで、所定の色についても同様に調整が行えるものである。   In the first and second embodiments, the description is limited to skin color detection. However, the video signal adjustment device of the present invention is not limited to detecting a skin color image and adjusting a skin color region or a region in the vicinity thereof. . A circuit for detecting a predetermined color area is provided in place of the flesh color area detection circuit 11, and the hue detection circuit 13 detects the hue of a color complementary to the predetermined color, thereby adjusting the predetermined color in the same manner. Can be done.

また、肌色領域検出回路11にて複数の肌色を検出してもよい。肌色領域拡張回路12は検出された肌色領域毎に肌色拡張領域を設定して肌色周辺領域を得て、色相検出回路13にて、各肌色に対する補色を検出すればよい。あるいは、肌色領域検出回路11及び肌色領域拡張回路12を一組とした回路を、検出したい色数と同数の組だけ設けることでも複数の肌色を検出できる。また同様の構成にて複数の異なる色の領域及びその周辺領域を検出することも可能となる。更に、複数の人物が映像に含まれる場合は、肌色領域検出回路11は映像に含まれる複数の肌色領域を検出すればよい。   Further, the skin color area detection circuit 11 may detect a plurality of skin colors. The skin color area extension circuit 12 may set a skin color extension area for each detected skin color area to obtain a skin color peripheral area, and the hue detection circuit 13 may detect a complementary color for each skin color. Alternatively, a plurality of flesh colors can be detected by providing a circuit having a set of flesh color area detection circuit 11 and flesh color area expansion circuit 12 as many as the number of colors to be detected. It is also possible to detect a plurality of different color areas and their peripheral areas with the same configuration. Further, when a plurality of persons are included in the video, the skin color area detection circuit 11 may detect a plurality of skin color areas included in the video.

11 肌色領域検出回路(肌色領域検出部)
12 肌色領域拡張回路(周辺領域検出部)
13 色相検出回路(色相検出部)
14 積算回路(積算部)
15 映像信号調整回路(映像信号調整部)
16,17 遅延器
18 OSD表示回路(OSD表示部)
11. Skin color area detection circuit (skin color area detection unit)
12 Skin color area expansion circuit (peripheral area detector)
13 Hue detection circuit (Hue detection unit)
14 Integration circuit (integration unit)
15 Video signal adjustment circuit (Video signal adjustment unit)
16, 17 delay unit 18 OSD display circuit (OSD display unit)

Claims (8)

映像信号における肌色領域を検出する肌色領域検出部と、
前記肌色領域検出部によって検出された前記肌色領域の周辺領域である肌色周辺領域を検出する周辺領域検出部と、
前記肌色周辺領域において、所定の色相の画素を検出する色相検出部と、
前記色相検出部によって検出された前記所定の色相の画素数を積算する積算部と、
前記積算部によって積算された前記所定の色相の画素数が所定の閾値を超えた場合、前記肌色領域の肌色あるいは前記肌色周辺領域における前記所定の色相の少なくとも一方の映像信号を調整する映像信号調整部と、
を有することを特徴とする映像信号調整装置。
A skin color area detection unit for detecting a skin color area in the video signal;
A peripheral region detection unit that detects a skin color peripheral region that is a peripheral region of the skin color region detected by the skin color region detection unit;
A hue detection unit that detects pixels of a predetermined hue in the skin color peripheral area;
An integration unit for integrating the number of pixels of the predetermined hue detected by the hue detection unit;
Video signal adjustment for adjusting at least one video signal of the predetermined hue in the skin color of the skin color area or the skin color peripheral area when the number of pixels of the predetermined hue integrated by the integration unit exceeds a predetermined threshold And
A video signal adjusting apparatus comprising:
前記色相検出部は、
前記所定の色相として、前記映像信号の肌色と補色関係にある色相を検出する、
ことを特徴とする請求項1記載の映像信号調整装置。
The hue detection unit is
Detecting a hue complementary to the skin color of the video signal as the predetermined hue;
The video signal adjusting apparatus according to claim 1, wherein
前記映像信号調整部は、
前記肌色領域の肌色あるいは前記肌色周辺領域の前記所定の色相の映像信号の色相と彩度とのうち少なくとも一方を調整する、
ことを特徴とする請求項1または請求項2記載の映像信号調整装置。
The video signal adjustment unit
Adjusting at least one of the hue and saturation of the video signal of the predetermined hue of the skin color of the skin color area or the peripheral area of the skin color;
3. The video signal adjusting apparatus according to claim 1, wherein the video signal adjusting apparatus is a video signal adjusting apparatus.
前記肌色領域検出部によって検出された前記肌色領域の映像信号と前記映像信号調整部によって調整された前記肌色領域の映像信号、または前記周辺領域検出部によって検出された前記肌色周辺領域の映像信号と前記映像信号調整部によって調整された前記肌色周辺領域の映像信号のいずれか一方を、前記映像信号調整部が調整した領域に対応して表示させ、前記映像信号調整部による映像信号の調整を施すか否かを選択するボタンを表示させるOSD表示部をさらに有し、
前記映像信号調整部による映像信号の調整を施すことが選択されると前記映像信号調整部の調整を実行する、
ことを特徴とする請求項1〜請求項3のいずれか一の請求項に記載の映像信号調整装置。
A video signal of the skin color area detected by the skin color area detection unit and a video signal of the skin color area adjusted by the video signal adjustment unit, or a video signal of the skin color peripheral area detected by the peripheral region detection unit Either one of the video signals in the skin tone peripheral region adjusted by the video signal adjustment unit is displayed corresponding to the region adjusted by the video signal adjustment unit, and the video signal is adjusted by the video signal adjustment unit. An OSD display unit for displaying a button for selecting whether or not
When the video signal adjustment unit is selected to adjust the video signal, the video signal adjustment unit is adjusted.
The video signal adjusting device according to claim 1, wherein the video signal adjusting device is a video signal adjusting device.
映像信号における肌色領域を検出するステップと、
前記肌色領域の周辺領域である肌色周辺領域を検出するステップと、
前記肌色周辺領域において、所定の色相の画素を検出するステップと、
前記所定の色相の画素数を積算するステップと、
前記所定の色相の画素数が所定の閾値を超えた場合、前記肌色領域の肌色あるいは前記肌色周辺領域における前記所定の色相の少なくとも一方の映像信号を調整するステップと、
を有することを特徴とする映像信号調整方法。
Detecting a skin color area in the video signal;
Detecting a skin color peripheral region that is a peripheral region of the skin color region;
Detecting pixels of a predetermined hue in the skin color peripheral area;
Integrating the number of pixels of the predetermined hue;
Adjusting the video signal of at least one of the predetermined hue in the skin color of the skin color area or the skin color peripheral area when the number of pixels of the predetermined hue exceeds a predetermined threshold;
A video signal adjustment method comprising:
前記所定の色相の画素を検出するステップにおいて、
前記所定の色相として、前記映像信号の肌色と補色関係にある色相を検出する、
ことを特徴とする請求項5記載の映像信号調整方法。
In the step of detecting pixels of the predetermined hue,
Detecting a hue complementary to the skin color of the video signal as the predetermined hue;
6. The video signal adjusting method according to claim 5, wherein
前記映像信号を調整するステップにおいて、
前記肌色領域の肌色あるいは前記肌色周辺領域の前記所定の色相の映像信号の色相と彩度とのうち少なくとも一方を調整する、
ことを特徴とする請求項5または請求項6記載の映像信号調整方法。
In the step of adjusting the video signal,
Adjusting at least one of the hue and saturation of the video signal of the predetermined hue of the skin color of the skin color area or the peripheral area of the skin color;
7. The video signal adjustment method according to claim 5, wherein the video signal adjustment method is performed.
前記肌色領域の映像信号と前記映像信号を調整するステップで調整された前記肌色領域の映像信号、または前記肌色周辺領域の映像信号と前記映像信号を調整するステップで調整された前記肌色周辺領域の映像信号のいずれか一方を、前記映像信号を調整するステップで調整された領域に対応してOSD表示し、映像信号の調整を施すか否かを選択するボタンをOSD表示するステップと、
映像信号の調整を施すことが選択されると調整を実行するステップとをさらに有する、
ことを特徴とする請求項5〜請求項7のいずれか一の請求項に記載の映像信号調整方法。
The flesh color region image signal and the flesh color region image signal adjusted in the step of adjusting the image signal, or the flesh color region image signal and the image signal in the step of adjusting the image signal. One of the video signals is displayed in an OSD corresponding to the area adjusted in the step of adjusting the video signal, and a button for selecting whether to adjust the video signal is displayed in the OSD;
Further comprising the step of performing the adjustment when the adjustment of the video signal is selected.
The video signal adjustment method according to claim 5, wherein the video signal adjustment method is a video signal adjustment method.
JP2010293446A 2010-12-28 2010-12-28 Image signal adjustment apparatus and image signal adjustment method Pending JP2012142755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010293446A JP2012142755A (en) 2010-12-28 2010-12-28 Image signal adjustment apparatus and image signal adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010293446A JP2012142755A (en) 2010-12-28 2010-12-28 Image signal adjustment apparatus and image signal adjustment method

Publications (1)

Publication Number Publication Date
JP2012142755A true JP2012142755A (en) 2012-07-26

Family

ID=46678599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010293446A Pending JP2012142755A (en) 2010-12-28 2010-12-28 Image signal adjustment apparatus and image signal adjustment method

Country Status (1)

Country Link
JP (1) JP2012142755A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012182548A (en) * 2011-02-28 2012-09-20 Kyocera Document Solutions Inc Image formation apparatus and color value correction method
WO2022172676A1 (en) * 2021-02-09 2022-08-18 ソニーグループ株式会社 Imaging device, image processing method, program, and image processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012182548A (en) * 2011-02-28 2012-09-20 Kyocera Document Solutions Inc Image formation apparatus and color value correction method
WO2022172676A1 (en) * 2021-02-09 2022-08-18 ソニーグループ株式会社 Imaging device, image processing method, program, and image processing device

Similar Documents

Publication Publication Date Title
US10459318B2 (en) Image display apparatus method and storage medium for modifying display luminance
US8369645B2 (en) Image correction circuit, image correction method and image display
JP6617705B2 (en) Image correction apparatus and video content reproduction apparatus
JP2006311179A (en) Video display device, video signal processing circuit for use in the same, and method for controlling degree of color saturation of video signal
US8139079B2 (en) Color gamut component analysis apparatus, method of analyzing color gamut component, and color gamut component analysis program
US11202032B2 (en) Method for converting an image and corresponding device
JP2007511159A (en) Close caption text adaptation based on surrounding video content
JP2010062754A (en) Filter device, image correction circuit, image display device, and image correction method
KR20080022633A (en) Image processing apparatus, display apparatus comprising image processing apparatus and image processing method
JP2006228184A (en) Dynamic image contrast processor
US9197873B2 (en) Stereoscopic display device and display method of stereoscopic display device
US9799108B2 (en) Image processing apparatus, image processing method, and storage medium
WO2017159182A1 (en) Display control device, display apparatus, television receiver, control method for display control device, control program, and recording medium
TW201413701A (en) Improved visual accessibility for vision impaired
JP2012142755A (en) Image signal adjustment apparatus and image signal adjustment method
JP2004266757A (en) Image processing apparatus and method
JP2009225349A (en) Image signal processing apparatus, display, and image signal processing method
KR100885880B1 (en) Device and Method of Realtime Image Processing
US20100271386A1 (en) Method for setting display apparatus and display apparatus using the same
US8553154B2 (en) Method and/or apparatus for implementing a color management module
US8274607B2 (en) Image processing apparatus and control method thereof
JP4924155B2 (en) Video signal processing apparatus and video signal processing method
JP5012195B2 (en) Image correction circuit, image correction method, and image display apparatus
JP2009278227A (en) Image correction apparatus and method
JP2010283790A (en) Content reproducing apparatus