JP3344016B2 - Video signal processing device - Google Patents

Video signal processing device

Info

Publication number
JP3344016B2
JP3344016B2 JP20779593A JP20779593A JP3344016B2 JP 3344016 B2 JP3344016 B2 JP 3344016B2 JP 20779593 A JP20779593 A JP 20779593A JP 20779593 A JP20779593 A JP 20779593A JP 3344016 B2 JP3344016 B2 JP 3344016B2
Authority
JP
Japan
Prior art keywords
color
saturation
difference signal
range
specific color
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.)
Expired - Fee Related
Application number
JP20779593A
Other languages
Japanese (ja)
Other versions
JPH0767131A (en
Inventor
勝己 浅川
博明 杉浦
徹也 久野
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP20779593A priority Critical patent/JP3344016B2/en
Publication of JPH0767131A publication Critical patent/JPH0767131A/en
Application granted granted Critical
Publication of JP3344016B2 publication Critical patent/JP3344016B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、カラービデオカメラの
映像信号処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal processing device for a color video camera.

【0002】[0002]

【従来の技術】図23は従来の映像信号処理装置を示す
ブロック回路図である。図において、24,25,26
は利得制御回路である。
2. Description of the Related Art FIG. 23 is a block circuit diagram showing a conventional video signal processing device. In the figure, 24, 25, 26
Is a gain control circuit.

【0003】次に動作について説明する。R−Y色差信
号及びB−Y色差信号は適切な色再現を行なうために利
得制御回路24,25において、制御信号KR、KBに
より利得の制御を行なう。また、輝度信号Yは利得制御
回路26において、制御信号KYにより利得の制御を行
なう。
Next, the operation will be described. The gain control circuits 24 and 25 control the gain of the RY color difference signal and the BY color difference signal by the control signals KR and KB in order to perform appropriate color reproduction. The gain control circuit 26 controls the gain of the luminance signal Y in accordance with the control signal KY.

【0004】[0004]

【発明が解決しようとする課題】従来の映像信号処理装
置は以上のように構成されているため、色相はR−Y
軸、B−Y軸の利得しか変えることができず、特定色を
補正すると他の色に影響を与えるという問題点があっ
た。
Since the conventional video signal processing apparatus is configured as described above, the hue is RY
There is a problem that only the gains of the axis and the BY axis can be changed, and correction of a specific color affects other colors.

【0005】本発明は以上の問題点を解決するためにな
されたもので、他の色に影響を与えることなく被検出色
領域だけを自然な変化で色補正した良好な画像を簡単な
回路構成で実現する映像信号処理装置を得ることを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has a simple circuit configuration in which a good image in which only a color region to be detected is color-corrected by a natural change without affecting other colors can be used. It is an object of the present invention to obtain a video signal processing device realized by the above.

【0006】[0006]

【課題を解決するための手段】請求項1の発明に係る映
像信号処理装置は、輝度信号と第1の色差信号と第2の
色差信号を映像信号として処理する映像信号処理装置に
おいて、特定色の色相範囲内では第1の色差信号及び第
2の色差信号から定まる飽和度と、第1の色差信号及び
第2の色差信号から定まる色相と特定色の色相範囲の代
表値との差分を出力し、特定色の色相範囲外では前記出
力値と区別できる値を出力するルックアップテーブルを
備え、第1の色差信号と第2の色差信号を該ルックアッ
プテーブルに入力することにより、特定色の色相範囲内
かつ飽和度範囲内か否かを判別し、特定色の色相範囲内
かつ飽和度範囲内の色であれば、特定色領域を示す検出
信号を出力し、前記飽和度と特定色の飽和度範囲の代表
値とを比較し、前記飽和度が特定色の飽和度範囲の代表
値よりも大きい場合、特定色の飽和度範囲の上限値と前
記飽和度との差から特定色の色相範囲の代表値との差分
を減じたものを出力し、前記飽和度が特定色の飽和度範
囲の代表値よりも小さい場合、前記飽和度と特定色の飽
和度範囲の下限値との差から特定色の色相範囲の代表値
との差分を減じたものを出力するものである。
According to a first aspect of the present invention, there is provided a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. Is output within the hue range, the saturation determined from the first color difference signal and the second color difference signal, and the difference between the hue determined from the first color difference signal and the second color difference signal and the representative value of the hue range of the specific color are output. A look-up table that outputs a value that can be distinguished from the output value outside the hue range of the specific color is provided. By inputting the first color difference signal and the second color difference signal to the look-up table, it is determined whether or not the hue range and saturation ranges, if the color of the hue range and saturation range of the specific color, and outputs a detection signal indicating a specific color region, the saturation degree of the specific color Compare with the representative value of the saturation range and When the saturation is larger than the representative value of the saturation range of the specific color, the difference between the upper limit of the saturation range of the specific color and the saturation and the difference between the representative value of the hue range of the specific color is subtracted. When the saturation is smaller than the representative value of the saturation range of the specific color, the difference between the saturation and the lower limit of the saturation range of the specific color is used to calculate the difference between the representative value of the hue range of the specific color. It outputs the reduced one.

【0007】請求項2の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、特定色
の色相範囲内では第1の色差信号及び第2の色差信号か
ら定まる飽和度と、第1の色差信号及び第2の色差信号
から定まる色相と特定色の色相範囲の代表値との差分を
出力し、特定色の色相範囲外では前記出力値と区別でき
る値を出力するルックアップテーブルを備え、第1の色
差信号と第2の色差信号を該ルックアップテーブルに入
力することにより、特定色の色相範囲内かつ飽和度範囲
内か否かを判別し、特定色の色相範囲内かつ飽和度範囲
内の色であれば、特定色領域を示す検出信号を出力し、
前記飽和度と特定色の飽和度範囲の代表値とを比較し、
前記飽和度が特定色の飽和度範囲の代表値よりも大きい
場合、特定色の飽和度範囲の上限値と前記飽和度との差
から特定色の色相範囲の代表値との差分を減じたものを
スライスして出力し、前記飽和度が特定色の飽和度範囲
の代表値よりも小さい場合、前記飽和度と特定色の飽和
度範囲の下限値との差から特定色の色相範囲の代表値と
の差分を減じたものをスライスして出力するものであ
る。
A video signal processing device according to a second aspect of the present invention is a video signal processing device for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. And outputting a difference between a saturation determined from the first color difference signal and the second color difference signal and a difference between a hue determined from the first color difference signal and the second color difference signal and a representative value of a hue range of the specific color. A look-up table that outputs a value that can be distinguished from the output value outside the range; and a first color difference signal and a second color difference signal are input to the look-up table. It is determined whether the color is within the range, and if the color is within the hue range of the specific color and within the saturation range, a detection signal indicating the specific color area is output ,
Comparing the saturation with a representative value of the saturation range of the specific color,
When the saturation is larger than the representative value of the saturation range of the specific color, the difference between the upper limit of the saturation range of the specific color and the saturation is subtracted from the difference between the representative value of the hue range of the specific color. Is sliced, and when the saturation is smaller than the representative value of the saturation range of the specific color, the representative value of the hue range of the specific color is obtained from the difference between the saturation and the lower limit of the saturation range of the specific color. Is obtained by slicing the difference obtained by subtracting the difference.

【0008】請求項3の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、特定色
の色相範囲内では第1の色差信号及び第2の色差信号か
ら定まる飽和度と、第1の色差信号及び第2の色差信号
から定まる色相と特定色の色相範囲の代表値との差分を
出力し、特定色の色相範囲外では前記出力値と区別でき
る値を出力するルックアップテーブルを備え、第1の色
差信号と第2の色差信号を該ルックアップテーブルに入
力することにより、特定色の色相範囲内かつ飽和度範囲
内か否かを判別し、特定色の色相範囲内かつ飽和度範囲
内の色であれば、特定色領域を示す検出信号を出力し、
前記飽和度と特定色の飽和度範囲の代表値とを比較し、
前記飽和度が特定色の飽和度範囲の代表値よりも大きい
場合、特定色の飽和度範囲の上限値と前記飽和度との差
から特定色の色相範囲の代表値との差分を減じたものを
非線形変換して出力し、前記飽和度が特定色の飽和度範
囲の代表値よりも小さい場合、前記飽和度と特定色の飽
和度範囲の下限値との差から特定色の色相範囲の代表値
との差分を減じたものを非線形変換して出力するもので
ある。
A video signal processing apparatus according to a third aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. And outputting a difference between a saturation determined from the first color difference signal and the second color difference signal and a difference between a hue determined from the first color difference signal and the second color difference signal and a representative value of a hue range of the specific color. A look-up table that outputs a value that can be distinguished from the output value outside the range; and a first color difference signal and a second color difference signal are input to the look-up table. It is determined whether the color is within the range, and if the color is within the hue range of the specific color and within the saturation range, a detection signal indicating the specific color area is output ,
Comparing the saturation with a representative value of the saturation range of the specific color,
When the saturation is larger than the representative value of the saturation range of the specific color, the difference between the upper limit of the saturation range of the specific color and the saturation is subtracted from the difference between the representative value of the hue range of the specific color. When the saturation is smaller than the representative value of the saturation range of the specific color, the representative value of the hue range of the specific color is calculated from the difference between the saturation and the lower limit of the saturation range of the specific color. Non-linear conversion of the difference between the value and the difference is output.

【0009】請求項4の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、特定色
の色相範囲内では第1の色差信号及び第2の色差信号か
ら定まる飽和度と、第1の色差信号及び第2の色差信号
から定まる色相と特定色の色相範囲の代表値との差分を
出力し、特定色の色相範囲外では前記出力値と区別でき
る値を出力するルックアップテーブルを備え、第1の色
差信号と第2の色差信号を該ルックアップテーブルに入
力することにより、特定色の色相範囲内かつ飽和度範囲
内か否かを判別し、特定色の色相範囲内かつ飽和度範囲
内の色であれば、特定色領域を示す検出信号を出力し、
前記飽和度と特定色の飽和度範囲の代表値とを比較し、
前記飽和度が特定色の飽和度範囲の代表値よりも大きい
場合、特定色の飽和度範囲の上限値と前記飽和度との差
から特定色の色相範囲の代表値との差分を減じたものを
ローパスフィルタあるいはバンドパスフィルタに通して
出力し、前記飽和度が特定色の飽和度範囲の代表値より
も小さい場合、前記飽和度と特定色の飽和度範囲の下限
値との差から特定色の色相範囲の代表値との差分を減じ
たものをローパスフィルタあるいはバンドパスフィルタ
に通して出力するものである。
A video signal processing apparatus according to a fourth aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. And outputting a difference between a saturation determined from the first color difference signal and the second color difference signal and a difference between a hue determined from the first color difference signal and the second color difference signal and a representative value of a hue range of the specific color. A look-up table that outputs a value that can be distinguished from the output value outside the range; and a first color difference signal and a second color difference signal are input to the look-up table. It is determined whether the color is within the range, and if the color is within the hue range of the specific color and within the saturation range, a detection signal indicating the specific color area is output ,
Comparing the saturation with a representative value of the saturation range of the specific color,
When the saturation is larger than the representative value of the saturation range of the specific color, the difference between the representative value of the hue range of the specific color is subtracted from the difference between the upper limit of the saturation range of the specific color and the saturation. Is passed through a low-pass filter or a band-pass filter, and when the saturation is smaller than the representative value of the saturation range of the specific color, the specific color Is output after passing through a low-pass filter or a band-pass filter after subtracting the difference from the representative value of the hue range.

【0010】請求項5の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、第1の
色差信号を第2の色差信号に加減算する第1演算手段
と、第1の色差信号を第2の色差信号に加減算する量を
制御する第1利得制御手段と、第2の色差信号を第1の
色差信号に加減算する第2演算手段と、第2の色差信号
を第1の色差信号に加減算する量を制御する第2利得制
御手段と、特定色の色相範囲内では第1の色差信号及び
第2の色差信号から定まる飽和度と、第1の色差信号及
び第2の色差信号から定まる色相と特定色の色相範囲の
代表値との差分を出力し、特定色の色相範囲外では前記
出力値と区別できる値を出力するルックアップテーブル
を備え、第1の色差信号と第2の色差信号を該ルックア
ップテーブルに入力することにより特定色の色相範囲内
か否かを判別し、特定色の色相範囲内であれば、さらに
前記飽和度と輝度信号とを比較することにより、特定色
の飽和度範囲内か否かを判別し、特定色の色相範囲内か
つ飽和度範囲内の色であれば、特定色領域を示す検出信
号を出力し、前記飽和度と特定色の飽和度範囲の代表値
とを比較し、前記飽和度が特定色の飽和度範囲の代表値
よりも大きい場合、特定色の飽和度範囲の上限値と前記
飽和度との差から特定色の色相範囲の代表値との差分を
減じたものを補正量として出力し、前記飽和度が特定色
の飽和度範囲の代表値よりも小さい場合、前記飽和度と
特定色の飽和度範囲の下限値との差から特定色の色相範
囲の代表値との差分を減じたものを補正量として出力
し、該補正量の大きさに応じて第1利得制御手段及び第
2利得制御手段をそれぞれ独立して制御し、特定色領域
の色補正を行なうものである。
A video signal processing apparatus according to a fifth aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. A first calculating means for adding / subtracting the first color difference signal to / from the second color difference signal, a first gain control means for controlling an amount of adding / subtracting the first color difference signal to / from the second color difference signal, and adding / subtracting the second color difference signal to / from the first color difference signal. A second calculating means for controlling the amount of addition and subtraction of the second color difference signal to and from the first color difference signal; a first color difference signal and a second color difference signal within a hue range of a specific color. And the difference between the hue determined from the first color difference signal and the second color difference signal and the representative value of the hue range of the specific color, and a value that can be distinguished from the output value outside the hue range of the specific color And a first color difference signal And the second color difference signal are input to the lookup table to determine whether or not the color is within the hue range of the specific color. If the hue is within the hue range of the specific color, the saturation and the luminance signal are further compared. By determining whether the color is within the saturation range of the specific color, if the color is within the hue range of the specific color and within the saturation range, a detection signal indicating the specific color area is output , Compare the representative value of the saturation range of the color, and if the saturation is greater than the representative value of the saturation range of the specific color, determine the specific color from the difference between the upper limit of the saturation range of the specific color and the saturation. A value obtained by subtracting the difference from the representative value of the hue range is output as a correction amount. If the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the lower limit of the saturation range of the specific color are output. Corrected by subtracting the difference from the representative value of the hue range of the specific color from the difference from the value Output as the first gain control means and the second gain control means and controlled independently in accordance with the magnitude of the correction amount, and performs color correction of the specific color area.

【0011】請求項6の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、第1の
色差信号を第2の色差信号に加減算する第1演算手段
と、第1の色差信号を第2の色差信号に加減算する量を
制御する第1利得制御手段と、第2の色差信号を第1の
色差信号に加減算する第2演算手段と、第2の色差信号
を第1の色差信号に加減算する量を制御する第2利得制
御手段と、特定色の色相範囲内では第1の色差信号及び
第2の色差信号から定まる飽和度と、第1の色差信号及
び第2の色差信号から定まる色相と特定色の色相範囲の
代表値との差分を出力し、特定色の色相範囲外では前記
出力値と区別できる値を出力するルックアップテーブル
を備え、第1の色差信号と第2の色差信号を該ルックア
ップテーブルに入力することにより特定色の色相範囲内
か否かを判別し、特定色の色相範囲内であれば、さらに
前記飽和度と輝度信号とを比較することにより、特定色
の飽和度範囲内か否かを判別し、特定色の色相範囲内か
つ飽和度範囲内の色であれば、特定色領域を示す検出信
号を出力し、前記飽和度と特定色の飽和度範囲の代表値
とを比較し、前記飽和度が特定色の飽和度範囲の代表値
よりも大きい場合、特定色の飽和度範囲の上限値と前記
飽和度との差から特定色の色相範囲の代表値との差分を
減じたものを補正量として出力し、前記飽和度が特定色
の飽和度範囲の代表値よりも小さい場合、前記飽和度と
特定色の飽和度範囲の下限値との差から特定色の色相範
囲の代表値との差分を減じたものを補正量として出力
し、該補正量をスライスした出力の大きさに応じて第1
利得制御手段及び第2利得制御手段をそれぞれ独立して
制御し、特定色領域の色補正を行なうものである。
A video signal processing apparatus according to a sixth aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal and a second color difference signal as a video signal. A first calculating means for adding / subtracting the first color difference signal to / from the second color difference signal, a first gain control means for controlling an amount of adding / subtracting the first color difference signal to / from the second color difference signal, and adding / subtracting the second color difference signal to / from the first color difference signal. A second calculating means for controlling the amount of addition and subtraction of the second color difference signal to and from the first color difference signal; a first color difference signal and a second color difference signal within a hue range of a specific color. And the difference between the hue determined from the first color difference signal and the second color difference signal and the representative value of the hue range of the specific color, and a value that can be distinguished from the output value outside the hue range of the specific color And a first color difference signal And the second color difference signal are input to the lookup table to determine whether or not the color is within the hue range of the specific color. If the hue is within the hue range of the specific color, the saturation and the luminance signal are further compared. By determining whether the color is within the saturation range of the specific color, if the color is within the hue range of the specific color and within the saturation range, a detection signal indicating the specific color area is output , Compare the representative value of the saturation range of the color, and if the saturation is greater than the representative value of the saturation range of the specific color, determine the specific color from the difference between the upper limit of the saturation range of the specific color and the saturation. A value obtained by subtracting the difference from the representative value of the hue range is output as a correction amount. If the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the lower limit of the saturation range of the specific color are output. Corrected by subtracting the difference from the representative value of the hue range of the specific color from the difference from the value And outputs as the first in accordance with the magnitude of the output obtained by slicing the correction amount
The gain control means and the second gain control means are independently controlled to perform color correction of a specific color area.

【0012】請求項7の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、第1の
色差信号を第2の色差信号に加減算する第1演算手段
と、第1の色差信号を第2の色差信号に加減算する量を
制御する第1利得制御手段と、第2の色差信号を第1の
色差信号に加減算する第2演算手段と、第2の色差信号
を第1の色差信号に加減算する量を制御する第2利得制
御手段と、特定色の色相範囲内では第1の色差信号及び
第2の色差信号から定まる飽和度と、第1の色差信号及
び第2の色差信号から定まる色相と特定色の色相範囲の
代表値との差分を出力し、特定色の色相範囲外では前記
出力値と区別できる値を出力するルックアップテーブル
を備え、第1の色差信号と第2の色差信号を該ルックア
ップテーブルに入力することにより特定色の色相範囲内
か否かを判別し、特定色の色相範囲内であれば、さらに
前記飽和度と輝度信号とを比較することにより、特定色
の飽和度範囲内か否かを判別し、特定色の色相範囲内か
つ飽和度範囲内の色であれば、特定色領域を示す検出信
号を出力し、前記飽和度と特定色の飽和度範囲の代表値
とを比較し、前記飽和度が特定色の飽和度範囲の代表値
よりも大きい場合、特定色の飽和度範囲の上限値と前記
飽和度との差から特定色の色相範囲の代表値との差分を
減じたものを補正量として出力し、前記飽和度が特定色
の飽和度範囲の代表値よりも小さい場合、前記飽和度と
特定色の飽和度範囲の下限値との差から特定色の色相範
囲の代表値との差分を減じたものを補正量として出力
し、該補正量を非線形変換した出力の大きさに応じて第
1利得制御手段及び第2利得制御手段をそれぞれ独立し
て制御し、特定色領域の色補正を行なうものである。
A video signal processing apparatus according to a seventh aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. A first calculating means for adding / subtracting the first color difference signal to / from the second color difference signal, a first gain control means for controlling an amount of adding / subtracting the first color difference signal to / from the second color difference signal, and adding / subtracting the second color difference signal to / from the first color difference signal. A second calculating means for controlling the amount of addition and subtraction of the second color difference signal to and from the first color difference signal; a first color difference signal and a second color difference signal within a hue range of a specific color. And the difference between the hue determined from the first color difference signal and the second color difference signal and the representative value of the hue range of the specific color, and a value that can be distinguished from the output value outside the hue range of the specific color And a first color difference signal And the second color difference signal are input to the lookup table to determine whether or not the color is within the hue range of the specific color. If the hue is within the hue range of the specific color, the saturation and the luminance signal are further compared. By determining whether the color is within the saturation range of the specific color, if the color is within the hue range of the specific color and within the saturation range, a detection signal indicating the specific color area is output , Compare the representative value of the saturation range of the color, and if the saturation is greater than the representative value of the saturation range of the specific color, determine the specific color from the difference between the upper limit of the saturation range of the specific color and the saturation. A value obtained by subtracting the difference from the representative value of the hue range is output as a correction amount. If the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the lower limit of the saturation range of the specific color are output. Corrected by subtracting the difference from the representative value of the hue range of the specific color from the difference from the value Output as, the correction amount of the first gain control means and the second gain control means and controlled independently in accordance with the magnitude of the output obtained by non-linear transformation, and performs color correction of the specific color area.

【0013】請求項8の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、第1の
色差信号を第2の色差信号に加減算する第1演算手段
と、第1の色差信号を第2の色差信号に加減算する量を
制御する第1利得制御手段と、第2の色差信号を第1の
色差信号に加減算する第2演算手段と、第2の色差信号
を第1の色差信号に加減算する量を制御する第2利得制
御手段と、特定色の色相範囲内では第1の色差信号及び
第2の色差信号から定まる飽和度と、第1の色差信号及
び第2の色差信号から定まる色相と特定色の色相範囲の
代表値との差分を出力し、特定色の色相範囲外では前記
出力値と区別できる値を出力するルックアップテーブル
を備え、第1の色差信号と第2の色差信号を該ルックア
ップテーブルに入力することにより特定色の色相範囲内
か否かを判別し、特定色の色相範囲内であれば、さらに
前記飽和度と輝度信号とを比較することにより、特定色
の飽和度範囲内か否かを判別し、特定色の色相範囲内か
つ飽和度範囲内の色であれば、特定色領域を示す検出信
号を出力し、前記飽和度と特定色の飽和度範囲の代表値
とを比較し、前記飽和度が特定色の飽和度範囲の代表値
よりも大きい場合、特定色の飽和度範囲の上限値と前記
飽和度との差から特定色の色相範囲の代表値との差分を
減じたものを補正量として出力し、前記飽和度が特定色
の飽和度範囲の代表値よりも小さい場合、前記飽和度と
特定色の飽和度範囲の下限値との差から特定色の色相範
囲の代表値との差分を減じたものを補正量として出力
し、該補正量をローパスフィルタあるいはバンドパスフ
ィルタに通した出力の大きさに応じて第1利得制御手段
及び第2利得制御手段をそれぞれ独立して制御し、特定
色領域の色補正を行なうものである。
According to an eighth aspect of the present invention, there is provided a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. A first calculating means for adding / subtracting the first color difference signal to / from the second color difference signal, a first gain control means for controlling an amount of adding / subtracting the first color difference signal to / from the second color difference signal, and adding / subtracting the second color difference signal to / from the first color difference signal. A second calculating means for controlling the amount of addition and subtraction of the second color difference signal to and from the first color difference signal; a first color difference signal and a second color difference signal within a hue range of a specific color. And the difference between the hue determined from the first color difference signal and the second color difference signal and the representative value of the hue range of the specific color, and a value that can be distinguished from the output value outside the hue range of the specific color And a first color difference signal And the second color difference signal are input to the lookup table to determine whether or not the color is within the hue range of the specific color. If the hue is within the hue range of the specific color, the saturation and the luminance signal are further compared. By determining whether the color is within the saturation range of the specific color, if the color is within the hue range of the specific color and within the saturation range, a detection signal indicating the specific color area is output , Compare the representative value of the saturation range of the color, and if the saturation is greater than the representative value of the saturation range of the specific color, determine the specific color from the difference between the upper limit of the saturation range of the specific color and the saturation. A value obtained by subtracting the difference from the representative value of the hue range is output as a correction amount. If the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the lower limit of the saturation range of the specific color are output. Corrected by subtracting the difference from the representative value of the hue range of the specific color from the difference from the value The first gain control means and the second gain control means are independently controlled in accordance with the magnitude of the output obtained by passing the correction amount through a low-pass filter or a band-pass filter to perform color correction of a specific color area. It is what you do.

【0014】請求項9の発明に係る映像信号処理装置
は、上記請求項1〜8の映像信号処理装置に備えられた
ルックアップテーブルの内容は第1の色差信号及び第2
の色差信号から定まる飽和度と、第1の色差信号及び第
2の色差信号から定まる色相と特定色の色相範囲の代表
値との差分と、特定色の色相範囲内か色相範囲外かを区
別する色相範囲識別フラグであり、第1の色差信号及び
第2の色差信号が特定色の色相範囲内である場合、mビ
ットの第1の色差信号及びmビットの第2の色差信号の
上位nビット分をそれぞれルックアップテーブルに入力
して、出力の飽和度部分をm−nビット分だけ大きくし
たものを第1飽和度とし、第1の色差信号の下位m−n
ビット分と第2の色差信号の下位m−nビット分をそれ
ぞれ該ルックアップテーブルに入力して得られる出力の
飽和度部分を第1飽和度に加算したものを第1の色差信
号及び第2の色差信号から定まる飽和度とするものであ
る。
According to a ninth aspect of the present invention, the contents of the look-up table provided in the video signal processing apparatus of the first to eighth aspects are the first color difference signal and the second color difference signal.
, The difference between the hue determined from the first and second color difference signals and the representative value of the hue range of the specific color, and whether the color is within the hue range of the specific color or outside the hue range. If the first color difference signal and the second color difference signal are within the hue range of the specific color, the upper n of the first color difference signal of m bits and the second color difference signal of m bits enter the bits in the look-up table, respectively, those of the saturation portion of the output was increased by m-n bits to a first saturation, the lower m-n of the first color difference signal
The first color difference signal and the second color difference signal are obtained by adding the saturation portion of the output obtained by inputting the bits and the lower mn bits of the second color difference signal to the look-up table to the first saturation. The saturation degree is determined from the color difference signal.

【0015】請求項10の発明に係る映像信号処理装置
は、上記請求項1〜8の映像信号処理装置に備えられた
ルックアップテーブルの内容は第1の色差信号及び第2
の色差信号から定まる飽和度と、第1の色差信号及び第
2の色差信号から定まる色相と特定色の色相範囲の代表
値との差分と、特定色の色相範囲内か色相範囲外かを区
別する色相範囲識別フラグであり、第1の色差信号及び
第2の色差信号が特定色の色相範囲内である場合、mビ
ットの第1の色差信号及びmビットの第2の色差信号の
上位nビット分をそれぞれルックアップテーブルに入力
して、出力の飽和度部分をm−nビット分だけ大きくし
たものを第1飽和度とし、第1の色差信号の下位m−n
ビット分と第2の色差信号の下位m−nビット分を比較
器により比較して大きい方を第1飽和度と加算したもの
を第1の色差信号及び第2の色差信号から定まる飽和度
とするものである。
According to a tenth aspect of the present invention, the contents of the look-up table provided in the video signal processing apparatus of the first to eighth aspects are the first color difference signal and the second color difference signal.
, The difference between the hue determined from the first and second color difference signals and the representative value of the hue range of the specific color, and whether the color is within the hue range of the specific color or outside the hue range. hue range identification flag der to is, the higher the first color difference signal and the second case is the color difference signal is within the hue range of the specific color, the first color difference signal and second color difference signals of the m bits of the m bits and n bits is inputted to the look-up table, respectively, those of the saturation portion of the output was increased by m-n bits to a first saturation, the lower m-n of the first color difference signal
The bit amount and the lower mn bits of the second color difference signal are compared with each other by a comparator, and the larger one is added to the first saturation degree, and the sum calculated as the saturation degree determined from the first and second color difference signals. Is what you do.

【0016】[0016]

【作用】請求項1の発明に係る映像信号処理装置は、輝
度信号と第1の色差信号と第2の色差信号を映像信号と
して処理する映像信号処理装置において、特定色の色相
範囲内では第1の色差信号及び第2の色差信号から定ま
る飽和度と、第1の色差信号及び第2の色差信号から定
まる色相と特定色の色相範囲の代表値との差分を出力
し、特定色の色相範囲外では前記出力値と区別できる値
を出力するルックアップテーブルを備え、第1の色差信
号と第2の色差信号を該ルックアップテーブルに入力す
ることにより、特定色の色相範囲内かつ飽和度範囲内か
否かを判別する。特定色の色相範囲内かつ飽和度範囲内
の色であれば、特定色領域を示す検出信号を出力する。
また、前記飽和度と特定色の飽和度範囲の代表値とを比
較し、前記飽和度が特定色の飽和度範囲の代表値よりも
大きい場合、特定色の飽和度範囲の上限値と前記飽和度
との差から特定色の色相範囲の代表値との差分を減じた
ものを出力し、前記飽和度が特定色の飽和度範囲の代表
値よりも小さい場合、前記飽和度と特定色の飽和度範囲
の下限値との差から特定色の色相範囲の代表値との差分
を減じたものを出力するため、特定色の近似度を定量的
に検出することが可能となる効果がある。
According to a first aspect of the present invention, there is provided a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. And outputting a difference between a saturation determined from the first color difference signal and the second color difference signal, and a difference between a hue determined from the first color difference signal and the second color difference signal and a representative value of a hue range of the specific color. A look-up table that outputs a value that can be distinguished from the output value outside the range; and a first color difference signal and a second color difference signal are input to the look-up table. It is determined whether it is within the range. If the color is within the hue range and the saturation range of the specific color, a detection signal indicating the specific color area is output.
Further, comparing the saturation with a representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the upper limit of the saturation range of the specific color and the saturation value are compared. A value obtained by subtracting the difference between the representative value of the specific color hue range and the representative value of the specific color from the difference is output.If the saturation is smaller than the representative value of the specific color saturation range, the saturation and the specific color saturation are output. Since a value obtained by subtracting the difference from the representative value of the hue range of the specific color from the difference from the lower limit of the degree range is output, there is an effect that the degree of approximation of the specific color can be quantitatively detected.

【0017】請求項2の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、特定色
の色相範囲内では第1の色差信号及び第2の色差信号か
ら定まる飽和度と、第1の色差信号及び第2の色差信号
から定まる色相と特定色の色相範囲の代表値との差分を
出力し、特定色の色相範囲外では前記出力値と区別でき
る値を出力するルックアップテーブルを備え、第1の色
差信号と第2の色差信号を該ルックアップテーブルに入
力することにより、特定色の色相範囲内かつ飽和度範囲
内か否かを判別する。特定色の色相範囲内かつ飽和度範
囲内の色であれば、特定色領域を示す検出信号を出力す
る。また、前記飽和度と特定色の飽和度範囲の代表値と
を比較し、前記飽和度が特定色の飽和度範囲の代表値よ
りも大きい場合、特定色の飽和度範囲の上限値と前記飽
和度との差から特定色の色相範囲の代表値との差分を減
じたものをスライスして出力し、前記飽和度が特定色の
飽和度範囲の代表値よりも小さい場合、前記飽和度と特
定色の飽和度範囲の下限値との差から特定色の色相範囲
の代表値との差分を減じたものをスライスして出力する
ため、特定色の近似度を定量的に検出することが可能と
なる効果がある。
A video signal processing apparatus according to a second aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. And outputting a difference between a saturation determined from the first color difference signal and the second color difference signal, and a difference between a hue determined from the first color difference signal and the second color difference signal and a representative value of a hue range of the specific color. A look-up table that outputs a value that can be distinguished from the output value outside the range; and a first color difference signal and a second color difference signal are input to the look-up table. It is determined whether it is within the range. If the color is within the hue range and the saturation range of the specific color, a detection signal indicating the specific color area is output. Further, comparing the saturation with a representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the upper limit of the saturation range of the specific color and the saturation value are compared. The difference between the saturation and the representative value of the hue range of the specific color is subtracted from the difference and the sliced output is obtained.If the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the specific Since the difference between the lower limit of the color saturation range and the difference from the representative value of the hue range of the specific color is subtracted and sliced and output, it is possible to quantitatively detect the degree of approximation of the specific color. There is an effect.

【0018】請求項3の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、特定色
の色相範囲内では第1の色差信号及び第2の色差信号か
ら定まる飽和度と、第1の色差信号及び第2の色差信号
から定まる色相と特定色の色相範囲の代表値との差分を
出力し、特定色の色相範囲外では前記出力値と区別でき
る値を出力するルックアップテーブルを備え、第1の色
差信号と第2の色差信号を該ルックアップテーブルに入
力することにより、特定色の色相範囲内かつ飽和度範囲
内か否かを判別する。特定色の色相範囲内かつ飽和度範
囲内の色であれば、特定色領域を示す検出信号を出力す
る。また、前記飽和度と特定色の飽和度範囲の代表値と
を比較し、前記飽和度が特定色の飽和度範囲の代表値よ
りも大きい場合、特定色の飽和度範囲の上限値と前記飽
和度との差から特定色の色相範囲の代表値との差分を減
じたものを非線形変換して出力し、前記飽和度が特定色
の飽和度範囲の代表値よりも小さい場合、前記飽和度と
特定色の飽和度範囲の下限値との差から特定色の色相範
囲の代表値との差分を減じたものを非線形変換して出力
するため、特定色の近似度を知覚量として検出すること
が可能となる効果がある。
A video signal processing apparatus according to a third aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. And outputting a difference between a saturation determined from the first color difference signal and the second color difference signal, and a difference between a hue determined from the first color difference signal and the second color difference signal and a representative value of a hue range of the specific color. A look-up table that outputs a value that can be distinguished from the output value outside the range; and a first color difference signal and a second color difference signal are input to the look-up table, so that the hue range of the specific color and the saturation It is determined whether it is within the range. If the color is within the hue range and the saturation range of the specific color, a detection signal indicating the specific color area is output. Further, comparing the saturation with a representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the upper limit of the saturation range of the specific color and the saturation value are compared. Non-linear conversion of the difference between the representative value of the hue range of the specific color and the difference between the representative value of the hue range of the specific color and output.If the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and Since the difference between the specific color saturation range and the lower limit of the specific color hue range is subtracted from the lower limit value of the specific color and nonlinearly converted and output, the approximation degree of the specific color can be detected as the perceived amount. There is a possible effect.

【0019】請求項4の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、特定色
の色相範囲内では第1の色差信号及び第2の色差信号か
ら定まる飽和度と、第1の色差信号及び第2の色差信号
から定まる色相と特定色の色相範囲の代表値との差分を
出力し、特定色の色相範囲外では前記出力値と区別でき
る値を出力するルックアップテーブルを備え、第1の色
差信号と第2の色差信号を該ルックアップテーブルに入
力することにより、特定色の色相範囲内かつ飽和度範囲
内か否かを判別する。特定色の色相範囲内かつ飽和度範
囲内の色であれば、特定色領域を示す検出信号を出力す
る。また、前記飽和度と特定色の飽和度範囲の代表値と
を比較し、前記飽和度が特定色の飽和度範囲の代表値よ
りも大きい場合、特定色の飽和度範囲の上限値と前記飽
和度との差から特定色の色相範囲の代表値との差分を減
じたものをローパスフィルタあるいはバンドパスフィル
タに通して出力し、前記飽和度が特定色の飽和度範囲の
代表値よりも小さい場合、前記飽和度と特定色の飽和度
範囲の下限値との差から特定色の色相範囲の代表値との
差分を減じたものをローパスフィルタあるいはバンドパ
スフィルタに通して出力するため、特定色の近似度を定
量的に検出することが可能となる効果がある。
A video signal processing apparatus according to a fourth aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. And outputting a difference between a saturation determined from the first color difference signal and the second color difference signal and a difference between a hue determined from the first color difference signal and the second color difference signal and a representative value of a hue range of the specific color. A look-up table that outputs a value that can be distinguished from the output value outside the range; and a first color difference signal and a second color difference signal are input to the look-up table. It is determined whether it is within the range. If the color is within the hue range and the saturation range of the specific color, a detection signal indicating the specific color area is output. Further, comparing the saturation with a representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the upper limit of the saturation range of the specific color and the saturation value are compared. When a difference between the saturation and the representative value of the hue range of the specific color is subtracted from the difference and output through a low-pass filter or a band-pass filter, and the saturation is smaller than the representative value of the saturation range of the specific color. A low-pass filter or a band-pass filter outputs a value obtained by subtracting the difference between the saturation and the representative value of the hue range of the specific color from the difference between the lower limit of the saturation range of the specific color. There is an effect that the similarity can be quantitatively detected.

【0020】請求項5の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、第1の
色差信号を第2の色差信号に加減算する第1演算手段
と、第1の色差信号を第2の色差信号に加減算する量を
制御する第1利得制御手段と、第2の色差信号を第1の
色差信号に加減算する第2演算手段と、第2の色差信号
を第1の色差信号に加減算する量を制御する第2利得制
御手段と、特定色の色相範囲内では第1の色差信号及び
第2の色差信号から定まる飽和度と、第1の色差信号及
び第2の色差信号から定まる色相と特定色の色相範囲の
代表値との差分を出力し、特定色の色相範囲外では前記
出力値と区別できる値を出力するルックアップテーブル
を備え、第1の色差信号と第2の色差信号を該ルックア
ップテーブルに入力することにより特定色の色相範囲内
か否かを判別し、特定色の色相範囲内であれば、さらに
前記飽和度と輝度信号とを比較することにより、特定色
の飽和度範囲内か否かを判別する。特定色の色相範囲内
かつ飽和度範囲内の色であれば、特定色領域を示す検出
信号を出力する。また、前記飽和度と特定色の飽和度範
囲の代表値とを比較し、前記飽和度が特定色の飽和度範
囲の代表値よりも大きい場合、特定色の飽和度範囲の上
限値と前記飽和度との差から特定色の色相範囲の代表値
との差分を減じたものを補正量として出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲の代表値との差分を減じたものを補正量と
して出力し、該補正量の大きさに応じて第1利得制御手
段及び第2利得制御手段をそれぞれ独立して制御し、特
定色領域の色補正を行なうため、他の色に影響を与える
ことなく境界が目立ちにくい自然な変化で特定色の色補
正を行なうことが可能となる効果がある。
A video signal processing apparatus according to a fifth aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. A first calculating means for adding / subtracting the first color difference signal to / from the second color difference signal, a first gain control means for controlling an amount of adding / subtracting the first color difference signal to / from the second color difference signal, and adding / subtracting the second color difference signal to / from the first color difference signal. A second calculating means for controlling the amount of addition / subtraction of the second color difference signal to / from the first color difference signal; a first color difference signal and a second color difference signal within a specific color hue range. And a difference between the hue determined from the first color difference signal and the second color difference signal and a representative value of the hue range of the specific color, and a value that can be distinguished from the output value outside the hue range of the specific color. And a first color difference signal. And the second color difference signal are input to the lookup table to determine whether or not the color is within the hue range of the specific color. If the hue is within the hue range of the specific color, the saturation and the luminance signal are further compared. Thus, it is determined whether or not it is within the saturation range of the specific color. If the color is within the hue range and the saturation range of the specific color, a detection signal indicating the specific color area is output. Further, comparing the saturation with a representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the upper limit of the saturation range of the specific color and the saturation value are compared. The difference between the saturation and the representative value of the hue range of the specific color is output as a correction amount, and when the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the specificity are determined. A value obtained by subtracting the difference from the representative value of the hue range of the specific color from the difference from the lower limit value of the color saturation range is output as a correction amount. (2) Since the two gain control means are independently controlled to perform color correction of a specific color area, it is possible to perform color correction of a specific color with a natural change in which a boundary is not noticeable without affecting other colors. There is an effect.

【0021】請求項6の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、第1の
色差信号を第2の色差信号に加減算する第1演算手段
と、第1の色差信号を第2の色差信号に加減算する量を
制御する第1利得制御手段と、第2の色差信号を第1の
色差信号に加減算する第2演算手段と、第2の色差信号
を第1の色差信号に加減算する量を制御する第2利得制
御手段と、特定色の色相範囲内では第1の色差信号及び
第2の色差信号から定まる飽和度と、第1の色差信号及
び第2の色差信号から定まる色相と特定色の色相範囲の
代表値との差分を出力し、特定色の色相範囲外では前記
出力値と区別できる値を出力するルックアップテーブル
を備え、第1の色差信号と第2の色差信号を該ルックア
ップテーブルに入力することにより特定色の色相範囲内
か否かを判別し、特定色の色相範囲内であれば、さらに
前記飽和度と輝度信号とを比較することにより、特定色
の飽和度範囲内か否かを判別する。特定色の色相範囲内
かつ飽和度範囲内の色であれば、特定色領域を示す検出
信号を出力する。また、前記飽和度と特定色の飽和度範
囲の代表値とを比較し、前記飽和度が特定色の飽和度範
囲の代表値よりも大きい場合、特定色の飽和度範囲の上
限値と前記飽和度との差から特定色の色相範囲の代表値
との差分を減じたものを補正量として出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲の代表値との差分を減じたものを補正量と
して出力し、該補正量をスライスした出力の大きさに応
じて第1利得制御手段及び第2利得制御手段をそれぞれ
独立して制御し、特定色領域の色補正を行なうため、他
の色に影響を与えることなくより境界が目立ちにくい自
然な変化で特定色の色補正を行なうことが可能となる効
果がある。
A video signal processing apparatus according to a sixth aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. First arithmetic means for adding / subtracting the first color difference signal to / from the second color difference signal, first gain control means for controlling the amount of addition / subtraction of the first color difference signal to / from the second color difference signal, and addition / subtraction of the second color difference signal to / from the first color difference signal. A second calculating means for controlling the amount of addition / subtraction of the second color difference signal to / from the first color difference signal; a first color difference signal and a second color difference signal within a specific color hue range. And a difference between the hue determined from the first color difference signal and the second color difference signal and a representative value of the hue range of the specific color, and a value that can be distinguished from the output value outside the hue range of the specific color. And a first color difference signal. And the second color difference signal are input to the lookup table to determine whether or not the color is within the hue range of the specific color. If the hue is within the hue range of the specific color, the saturation and the luminance signal are further compared. Thus, it is determined whether or not it is within the saturation range of the specific color. If the color is within the hue range and the saturation range of the specific color, a detection signal indicating the specific color area is output. Further, comparing the saturation with a representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the upper limit of the saturation range of the specific color and the saturation value are compared. The difference between the saturation and the representative value of the hue range of the specific color is output as a correction amount, and when the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the specificity are determined. A value obtained by subtracting the difference between the hue range of the specific color and the representative value of the hue range of the specific color from the difference from the lower limit of the color saturation range is output as a correction amount. Since the control means and the second gain control means are independently controlled to perform the color correction of the specific color area, the color correction of the specific color can be performed with a natural change in which the boundary is less noticeable without affecting other colors. There is an effect that can be performed.

【0022】請求項7の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、第1の
色差信号を第2の色差信号に加減算する第1演算手段
と、第1の色差信号を第2の色差信号に加減算する量を
制御する第1利得制御手段と、第2の色差信号を第1の
色差信号に加減算する第2演算手段と、第2の色差信号
を第1の色差信号に加減算する量を制御する第2利得制
御手段と、特定色の色相範囲内では第1の色差信号及び
第2の色差信号から定まる飽和度と、第1の色差信号及
び第2の色差信号から定まる色相と特定色の色相範囲の
代表値との差分を出力し、特定色の色相範囲外では前記
出力値と区別できる値を出力するルックアップテーブル
を備え、第1の色差信号と第2の色差信号を該ルックア
ップテーブルに入力することにより特定色の色相範囲内
か否かを判別し、特定色の色相範囲内であれば、さらに
前記飽和度と輝度信号とを比較することにより、特定色
の飽和度範囲内か否かを判別する。特定色の色相範囲内
かつ飽和度範囲内の色であれば、特定色領域を示す検出
信号を出力する。また、前記飽和度と特定色の飽和度範
囲の代表値とを比較し、前記飽和度が特定色の飽和度範
囲の代表値よりも大きい場合、特定色の飽和度範囲の上
限値と前記飽和度との差から特定色の色相範囲の代表値
との差分を減じたものを補正量として出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲の代表値との差分を減じたものを補正量と
して出力し、該補正量を非線形変換した出力の大きさに
応じて第1利得制御手段及び第2利得制御手段をそれぞ
れ独立して制御し、特定色領域の色補正を行なうため、
他の色に影響を与えることなくより境界が目立ちにくい
自然な変化で特定色の色補正を行なうことが可能となる
効果がある。
A video signal processing apparatus according to a seventh aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. A first calculating means for adding / subtracting the first color difference signal to / from the second color difference signal, a first gain control means for controlling an amount of adding / subtracting the first color difference signal to / from the second color difference signal, and adding / subtracting the second color difference signal to / from the first color difference signal. A second calculating means for controlling the amount of addition / subtraction of the second color difference signal to / from the first color difference signal; a first color difference signal and a second color difference signal within a specific color hue range. And a difference between the hue determined from the first color difference signal and the second color difference signal and a representative value of the hue range of the specific color, and a value that can be distinguished from the output value outside the hue range of the specific color. And a first color difference signal And the second color difference signal are input to the lookup table to determine whether or not the color is within the hue range of the specific color. If the hue is within the hue range of the specific color, the saturation and the luminance signal are further compared. Thus, it is determined whether or not it is within the saturation range of the specific color. If the color is within the hue range and the saturation range of the specific color, a detection signal indicating the specific color area is output. Further, comparing the saturation with a representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the upper limit of the saturation range of the specific color and the saturation value are compared. The difference between the saturation and the representative value of the hue range of the specific color is output as a correction amount, and when the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the specificity are determined. A value obtained by subtracting the difference from the representative value of the hue range of the specific color from the difference from the lower limit of the color saturation range is output as a correction amount, and the first amount is output according to the magnitude of the output obtained by nonlinearly converting the correction amount. In order to independently control the gain control means and the second gain control means and perform color correction of a specific color area,
There is an effect that color correction of a specific color can be performed with a natural change in which boundaries are less noticeable without affecting other colors.

【0023】請求項8の発明に係る映像信号処理装置
は、輝度信号と第1の色差信号と第2の色差信号を映像
信号として処理する映像信号処理装置において、第1の
色差信号を第2の色差信号に加減算する第1演算手段
と、第1の色差信号を第2の色差信号に加減算する量を
制御する第1利得制御手段と、第2の色差信号を第1の
色差信号に加減算する第2演算手段と、第2の色差信号
を第1の色差信号に加減算する量を制御する第2利得制
御手段と、特定色の色相範囲内では第1の色差信号及び
第2の色差信号から定まる飽和度と、第1の色差信号及
び第2の色差信号から定まる色相と特定色の色相範囲の
代表値との差分を出力し、特定色の色相範囲外では前記
出力値と区別できる値を出力するルックアップテーブル
を備え、第1の色差信号と第2の色差信号を該ルックア
ップテーブルに入力することにより特定色の色相範囲内
か否かを判別し、特定色の色相範囲内であれば、さらに
前記飽和度と輝度信号とを比較することにより、特定色
の飽和度範囲内か否かを判別する。特定色の色相範囲内
かつ飽和度範囲内の色であれば、特定色領域を示す検出
信号を出力する。また、前記飽和度と特定色の飽和度範
囲の代表値とを比較し、前記飽和度が特定色の飽和度範
囲の代表値よりも大きい場合、特定色の飽和度範囲の上
限値と前記飽和度との差から特定色の色相範囲の代表値
との差分を減じたものを補正量として出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲の代表値との差分を減じたものを補正量と
して出力し、該補正量をローパスフィルタあるいはバン
ドパスフィルタに通した出力の大きさに応じて第1利得
制御手段及び第2利得制御手段をそれぞれ独立して制御
し、特定色領域の色補正を行なうため、他の色に影響を
与えることなくより境界が目立ちにくい自然な変化で特
定色の色補正を行なうことが可能となる効果がある。
An image signal processing apparatus according to an eighth aspect of the present invention is a video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal. A first calculating means for adding / subtracting the first color difference signal to / from the second color difference signal, a first gain control means for controlling an amount of adding / subtracting the first color difference signal to / from the second color difference signal, and adding / subtracting the second color difference signal to / from the first color difference signal. A second calculating means for controlling the amount of addition / subtraction of the second color difference signal to / from the first color difference signal; a first color difference signal and a second color difference signal within a specific color hue range. And a difference between the hue determined from the first color difference signal and the second color difference signal and a representative value of the hue range of the specific color, and a value that can be distinguished from the output value outside the hue range of the specific color. And a first color difference signal. And the second color difference signal are input to the lookup table to determine whether or not the color is within the hue range of the specific color. If the hue is within the hue range of the specific color, the saturation and the luminance signal are further compared. Thus, it is determined whether or not it is within the saturation range of the specific color. If the color is within the hue range and the saturation range of the specific color, a detection signal indicating the specific color area is output. Further, comparing the saturation with a representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the upper limit of the saturation range of the specific color and the saturation value are compared. The difference between the saturation and the representative value of the hue range of the specific color is output as a correction amount, and when the saturation is smaller than the representative value of the saturation range of the specific color, the saturation and the specificity are determined. A value obtained by subtracting the difference from the representative value of the hue range of the specific color from the difference from the lower limit of the color saturation range is output as a correction amount, and the output of the correction amount passed through a low-pass filter or a band-pass filter. Since the first gain control means and the second gain control means are independently controlled in accordance with the above, and color correction of a specific color area is performed, natural changes in which boundaries are less noticeable without affecting other colors. Can perform color correction for specific colors There is that effect.

【0024】請求項9の発明に係る映像信号処理装置
は、上記請求項1〜8の映像信号処理装置に備えられた
ルックアップテーブルの内容は第1の色差信号及び第2
の色差信号から定まる飽和度と、第1の色差信号及び第
2の色差信号から定まる色相と特定色の色相範囲の代表
値との差分と、特定色の色相範囲内か色相範囲外かを区
別する色相範囲識別フラグである。第1の色差信号及び
第2の色差信号が特定色の色相範囲内である場合、mビ
ットの第1の色差信号及びmビットの第2の色差信号の
上位nビット分をそれぞれルックアップテーブルに入力
して、出力の飽和度部分をm−nビット分だけ大きくし
たものを第1飽和度とする。さらに、第1の色差信号の
下位m−nビット分と第2の色差信号の下位m−nビッ
ト分をそれぞれ該ルックアップテーブルに入力して得ら
れる出力の飽和度部分を第1飽和度に加算したものを第
1の色差信号及び第2の色差信号から定まる飽和度とす
るため、ルックアップテーブルの容量を小さくしても演
算誤差を小さくすることが可能となる効果がある。
According to a ninth aspect of the present invention, the contents of the look-up table provided in the video signal processing apparatus of the first to eighth aspects are the first color difference signal and the second color difference signal.
And the difference between the hue determined from the first and second color difference signals and the representative value of the hue range of the specific color, and distinguishing between the hue range of the specific color and the hue range. Hue range identification flag. When the first color difference signal and the second color difference signal are within the hue range of the specific color, the upper n bits of the m-bit first color difference signal and the m-bit second color difference signal are respectively stored in a lookup table. A value obtained by increasing the saturation portion of the input and the output by mn bits is defined as the first saturation. Further, the lower-order mn bits of the first color difference signal and the lower-order mn bits of the second color difference signal are respectively input to the look-up table, and the saturation portion of the output obtained is used as the first saturation. Since the sum is the saturation determined from the first color difference signal and the second color difference signal, there is an effect that the calculation error can be reduced even if the capacity of the look-up table is reduced.

【0025】請求項10の発明に係る映像信号処理装置
は、上記請求項1〜8の映像信号処理装置に備えられた
ルックアップテーブルの内容は第1の色差信号及び第2
の色差信号から定まる飽和度と、第1の色差信号及び第
2の色差信号から定まる色相と特定色の色相範囲の代表
値との差分と、特定色の色相範囲内か色相範囲外かを区
別する色相範囲識別フラグである。第1の色差信号及び
第2の色差信号が特定色の色相範囲内である場合、mビ
ットの第1の色差信号及びmビットの第2の色差信号の
上位nビット分をそれぞれルックアップテーブルに入力
して、出力の飽和度部分をm−nビット分だけ大きくし
たものを第1飽和度とする。さらに、第1の色差信号の
下位m−nビット分と第2の色差信号の下位m−nビッ
ト分を比較器により比較して大きい方を第1飽和度と加
算したものを第1の色差信号及び第2の色差信号から定
まる飽和度とするため、ルックアップテーブルの容量を
小さくしても演算誤差を小さくすることが可能となる効
果がある。
According to a tenth aspect of the present invention, the look-up table provided in the video signal processing apparatus of the first to eighth aspects includes a first color difference signal and a second color difference signal.
And the difference between the hue determined from the first and second color difference signals and the representative value of the hue range of the specific color, and distinguishing between the hue range of the specific color and the hue range. Hue range identification flag. When the first color difference signal and the second color difference signal are within the hue range of the specific color, the upper n bits of the m-bit first color difference signal and the m-bit second color difference signal are respectively stored in a lookup table. A value obtained by increasing the saturation portion of the input and the output by mn bits is defined as the first saturation. Further, the lower mn bits of the first chrominance signal and the lower mn bits of the second chrominance signal are compared by a comparator, and the larger one is added to the first saturation to obtain the first chrominance. Since the saturation is determined by the signal and the second color difference signal, there is an effect that the calculation error can be reduced even if the capacity of the lookup table is reduced.

【0026】[0026]

【実施例】実施例1.図1は本発明の実施例1による映
像信号処理装置を示すブロック回路図である。図1にお
いて、1はルックアップテーブル、2は特定色検出回路
である。
[Embodiment 1] FIG. 1 is a block circuit diagram showing a video signal processing device according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 1 denotes a lookup table, and reference numeral 2 denotes a specific color detection circuit.

【0027】次に動作について説明する。R−Y色差信
号及びB−Y色差信号をルックアップテーブル1に入力
することにより、第1の色差信号及び第2の色差信号か
ら定まる飽和度Cと、飽和度Cから飽和度Cに特定色の
色相範囲の代表値からのずれである係数Kを掛けたもの
を減じた差分Sが出力される。係数Kは特定色の色相範
囲の代表値で最大値となり、特定色の色相範囲の代表値
から離れるにつれて小さくなり、特定色の色相範囲の境
界で最小値となる。飽和度Cは次式(1)のように算出
される。係数Kは次式(2)のように算出される。式
(2)におけるθ及びφの関係は図2に示すように、θ
はB−Y軸の正方向軸と特定色の色相範囲の代表値とが
なす角で、φはB−Y軸の正方向軸とルックアップテー
ブル1に書き込むデータの色相とがなす角度である。し
たがって、この2つの角度の差の絶対値が大きくなれ
ば、Kは小さくなる。K1は|θ−φ|が0になれば演
算不可能になるため、適当な係数として分母に加算して
いる。分子のK1はKを1に正規化するためであり、こ
のK1を大きくするほどKに対する|θ−φ|の影響は
弱くなる。 C=((R−Y)2+(B−Y)2))0.5 ……(1) K=K1/(K1+|θ−φ|) ……(2) 図3に示すように、特定色領域内では上位5ビットに入
力R−Y及びB−Yに対する飽和度C、下位3ビットに
差分Sを格納し、特定色領域外では0をルックアップテ
ーブル1に格納している。ここでK1を20とし、θ及
びφの単位は度で表わしたが他の単位でもよい。ただ
し、係数K1は単位が変われば同様に変換する必要があ
る。ルックアップテーブル1の飽和度C及び差分Sと輝
度信号Yは特定色検出回路2に入力され、近似度信号A
Pと検出信号Dが得られる。近似度信号APは特定色の
飽和度範囲の代表値かつ特定色の色相範囲の代表値であ
る場合を最大値とし、代表値からずれると小さくなり特
定色領域の境界では0となる。検出信号Dは近似度信号
APの符号ビットであり、特定色でなければ負を示す
1,特定色であれば正を示す0となる。
Next, the operation will be described. By inputting the RY color difference signal and the BY color difference signal to the look-up table 1, a specific color is determined from the saturation C determined from the first color difference signal and the second color difference signal, and from the saturation C to the saturation C. Is subtracted from the representative value of the hue range by multiplying by the coefficient K, which is a deviation from the representative value of the hue range. The coefficient K has the maximum value at the representative value of the hue range of the specific color, decreases as the distance from the representative value of the hue range of the specific color decreases, and reaches the minimum value at the boundary of the hue range of the specific color. The saturation C is calculated as in the following equation (1). The coefficient K is calculated as in the following equation (2). As shown in FIG. 2, the relationship between θ and φ in equation (2) is θ
Is the angle between the positive direction axis of the BY axis and the representative value of the hue range of the specific color, and φ is the angle between the positive direction axis of the BY axis and the hue of the data to be written in the look-up table 1. . Therefore, if the absolute value of the difference between these two angles increases, K decreases. K1 becomes inoperable when | θ−φ | becomes 0, and is therefore added to the denominator as an appropriate coefficient. The K1 of the numerator is for normalizing K to 1, and as K1 is increased, the effect of | θ−φ | on K becomes weaker. C = ((R−Y) 2 + (B−Y) 2 )) 0.5 (1) K = K1 / (K1 + | θ−φ |) (2) As shown in FIG. In the area, the upper 5 bits store the degree of saturation C with respect to the inputs RY and BY, and the lower 3 bits store the difference S. Outside the specific color area, 0 is stored in the lookup table 1. Here, K1 is set to 20, and the units of θ and φ are expressed in degrees, but other units may be used. However, the coefficient K1 needs to be similarly converted if the unit changes. The saturation C and the difference S of the lookup table 1 and the luminance signal Y are input to the specific color detection circuit 2 and the approximation signal A
P and the detection signal D are obtained. The approximation signal AP has a maximum value when it is a representative value of the saturation range of the specific color and a representative value of the hue range of the specific color. The detection signal D is a sign bit of the approximation signal AP, and is 1 when the specific color is negative and 0 when the specific color is positive.

【0028】特定色検出回路2について説明する。特定
色検出回路2は図4のように構成される。図4におい
て、3は比較器、4はスイッチ回路、5,6は加算器、
7は零比較器、8はORゲート、9は加算器である。
The specific color detection circuit 2 will be described. The specific color detection circuit 2 is configured as shown in FIG. In FIG. 4, 3 is a comparator, 4 is a switch circuit, 5 and 6 are adders,
7 is a zero comparator, 8 is an OR gate, and 9 is an adder.

【0029】次に動作について説明する。R−Y色差信
号、B−Y色差信号、輝度信号Yで表される3次元空間
では原点からある方向に伸びるベクトル上に分布する点
は全て同じ色であるといえるため、特定色領域は図5の
ように表わされる。ここで、色差信号と輝度信号の相関
性を利用して、特定色領域の飽和度範囲を次式(3)に
示すような飽和度Cと輝度信号Yの関係で求める。ただ
し、a,bは定数であり、aYを特定色の飽和度範囲の
下限、bYを特定色の飽和度範囲の上限(a<b)とす
る。 aY≦C≦bY ……(3) ここで例えばYを26とし、aを1/16、bを1/2
とすると特定色領域は図3における細線で囲まれた範囲
となる。
Next, the operation will be described. In the three-dimensional space represented by the RY color difference signal, the BY color difference signal, and the luminance signal Y, all points distributed on a vector extending in a certain direction from the origin can be said to be the same color. 5 is represented. Here, utilizing the correlation between the color difference signal and the luminance signal, the saturation range of the specific color region is determined by the relationship between the saturation C and the luminance signal Y as shown in the following equation (3). Here, a and b are constants, and aY is the lower limit of the saturation range of the specific color, and bY is the upper limit (a <b) of the saturation range of the specific color. aY ≦ C ≦ bY (3) Here, for example, Y is 26, a is 1/16, and b is 1 /.
Then, the specific color area is a range surrounded by a thin line in FIG.

【0030】ルックアップテーブル1の出力Cが式
(3)の範囲内に存在する色を特定色の飽和度範囲内の
色とみなす。ここで、a<d<bの関係を満たす特定色
の飽和度範囲の代表値dを設定する。図において、輝
度信号Yをd倍したdYとCを比較器3により比較し、
dY≦Cならば0を比較器3の出力とし、dY>Cなら
ば1を比較器3の出力とする。また、加算器5によりC
からaYを減じた出力C−aYと加算器6によりbYか
らCを減じた出力bY−Cをスイッチ回路4に入力す
る。ここで加算器5,6における出力が負の数値の場合
は2の補数で表示する。加算器5,6の出力の最上位ビ
ット(MSB)は符号ビットであり、負の場合は1、正
の場合は0とする。スイッチ回路4では比較器3の出力
が0ならばbY−C、比較器3の出力が1ならばC−a
Yに切り換え、その値を出力する。さらに、加算器9に
よりこの出力値から差分Sを除いて、特定色の色相範囲
の代表値からのずれを考慮した近似度信号APとする。
この近似度信号APが正の場合は特定色領域内の色であ
るとみなし、負の場合は特定色領域外の色であるとみな
す。この近似度信号APの符号ビットだけを取り出して
ORゲート8に入力する。また零比較器7は飽和度Cが
0の場合に1を出力し、飽和度Cが0でない場合に0を
出力し、零比較器7の出力値をORゲート8に入力す
る。このため検出信号Dは被検出色の飽和度Cが0で特
定色の色相範囲外であるか、または飽和度Cが式(3)
で示される範囲外で特定色の飽和度範囲外の場合は1と
し、逆に被検出色が特定色の色相範囲内かつ飽和度範囲
内の色の場合は0とする。近似度信号APと検出信号D
の関係を図6に示す。近似度信号APは特定色の飽和度
範囲の代表値かつ特定色の色相範囲の代表値を最大とし
て、特定色に近い色ほど大きく、特定色からずれた色ほ
ど小さくなる。検出信号Dは特定色領域内のみ0とし、
特定色領域外では1とする。この結果、特定色の近似度
を定量的に検出することが可能となる。
A color in which the output C of the lookup table 1 exists within the range of the equation (3) is regarded as a color within the saturation range of the specific color. Here, a representative value d of the saturation range of the specific color that satisfies the relationship a <d <b is set. In FIG. 4 , a comparator 3 compares dY and C obtained by multiplying the luminance signal Y by d,
If dY ≦ C, 0 is set as the output of the comparator 3, and if dY> C, 1 is set as the output of the comparator 3. Also, C is calculated by the adder 5.
Then, an output C-aY obtained by subtracting aY from bY and an output bY-C obtained by subtracting C from bY by the adder 6 are input to the switch circuit 4. Here, when the outputs from the adders 5 and 6 are negative values, they are indicated by two's complement. The most significant bit (MSB) of the outputs of the adders 5 and 6 is a sign bit, and is 1 when negative and 0 when positive. In the switch circuit 4, if the output of the comparator 3 is 0, bY-C, and if the output of the comparator 3 is 1, C-a.
Switch to Y and output its value. Further, the adder 9 removes the difference S from the output value to obtain an approximation signal AP that takes into account the deviation of the hue range of the specific color from the representative value.
If the approximation signal AP is positive, it is regarded as a color in the specific color region, and if negative, it is regarded as a color outside the specific color region. Only the sign bit of the approximation signal AP is extracted and input to the OR gate 8. The zero comparator 7 outputs 1 when the saturation C is 0, outputs 0 when the saturation C is not 0, and inputs the output value of the zero comparator 7 to the OR gate 8. Therefore detection signal D hue outside the scope of a specific color at saturation C 0 of the detected color Luke or saturation C, and the formula (3)
When the color to be detected is outside the hue range of the specific color and within the saturation range, the value is set to 1. The approximation signal AP and the detection signal D
6 is shown in FIG. The approximation signal AP has the maximum value of the representative value of the saturation range of the specific color and the representative value of the hue range of the specific color as a maximum, and becomes larger for colors closer to the specific color and smaller for colors shifted from the specific color. The detection signal D is set to 0 only in the specific color area,
It is set to 1 outside the specific color area. As a result, it is possible to quantitatively detect the degree of approximation of a specific color.

【0031】実施例2.図7は本発明の実施例2による
映像信号処理装置を示すブロック回路図である。図にお
いて、図1と同一部分には同一符号を付し説明を省略す
る。10はスライス回路である。
Embodiment 2 FIG. FIG. 7 is a block circuit diagram showing a video signal processing device according to Embodiment 2 of the present invention. In the figure, the same parts as those in FIG. Reference numeral 10 denotes a slice circuit.

【0032】次に動作について説明する。R−Y色差信
号及びB−Y色差信号をルックアップテーブル1に入力
することにより、第1の色差信号及び第2の色差信号か
ら定まる飽和度C及び差分Sが出力される。飽和度Cは
式(1)のように算出される。図3に示すように、特定
色の色相範囲内では入力R−Y及びB−Yに対する出力
C及びSを、特定色の色相範囲外では0をルックアップ
テーブル1に格納している。飽和度C及び差分Sと輝度
信号Yは特定色検出回路2に入力され、近似度信号A
P’と検出信号Dが得られる。近似度信号AP’は特定
色の飽和度範囲の代表値かつ特定色の色相範囲の代表値
を最大値とし、代表値からずれると小さくなり特定色の
飽和度範囲及び色相範囲の境界では0となる。つまり、
近似度信号AP’は特定色に近い色ほど大きく、特定色
からずれた色ほど小さくなる。検出信号Dは近似度信号
AP’の符号ビットであり、特定色でなければ負を示す
1,特定色であれば正を示す0となる。特定色検出回路
2は実施例1で説明したように動作する。
Next, the operation will be described. By inputting the RY color difference signal and the BY color difference signal to the look-up table 1, a saturation C and a difference S determined from the first color difference signal and the second color difference signal are output. The saturation C is calculated as in equation (1). As shown in FIG. 3, the outputs C and S for the inputs RY and BY are stored in the look-up table 1 within the hue range of the specific color, and 0 are stored outside the hue range of the specific color. The saturation C, the difference S, and the luminance signal Y are input to the specific color detection circuit 2, and the approximation signal A
P ′ and the detection signal D are obtained. The approximation signal AP 'has the maximum value of the representative value of the saturation range of the specific color and the representative value of the hue range of the specific color. Become. That is,
The approximation signal AP 'is larger for a color closer to the specific color and smaller for a color shifted from the specific color. The detection signal D is a sign bit of the approximation degree signal AP ′, and is negative if the specific color is 0 and 0 if the specific color is positive. The specific color detection circuit 2 operates as described in the first embodiment.

【0033】スライス回路10について説明する。図8
に示すように、スライス回路10では近似度信号AP’
がHを越える場合、出力を全てHにする。つまり、近似
度信号AP’をHでスライスする。このスライスされた
出力を近似度信号APとする。このため、近似度信号A
Pの変化が緩やかになる。この結果、特定色の近似度を
定量的に検出することが可能となる。
Next, the slice circuit 10 will be described. FIG.
As shown in FIG.
If H exceeds H, all outputs are set to H. That is, the approximation signal AP ′ is sliced by H. The sliced output is used as an approximation signal AP. Therefore, the approximation signal A
P changes slowly. As a result, it is possible to quantitatively detect the degree of approximation of a specific color.

【0034】実施例3. 図9は本発明の実施例3による映像信号処理装置を示す
ブロック回路図である。図9において、図1と同一部分
には同一符号を付し説明を省略する。11は非線形変換
回路である。
Embodiment 3 FIG. FIG. 9 is a block circuit diagram showing a video signal processing device according to Embodiment 3 of the present invention. In FIG. 9, the same parts as those in FIG. 11 is a non-linear conversion circuit.

【0035】次に動作について説明する。R−Y色差信
号及びB−Y色差信号をルックアップテーブル1に入力
することにより、第1の色差信号及び第2の色差信号か
ら定まる飽和度C及び差分Sが出力される。飽和度Cは
式(1)のように算出される。図3に示すように、特定
色の色相範囲内では入力R−Y及びB−Yに対する出力
C及びSを、特定色の色相範囲外では0をルックアップ
テーブル1に格納している。飽和度C及び差分Sと輝度
信号Yは特定色検出回路2に入力され、近似度信号A
P’と検出信号Dが得られる。近似度信号AP’は特定
色の飽和度範囲の代表値かつ特定色の色相範囲の代表値
を最大値とし、代表値からずれると小さくなり特定色の
飽和度範囲及び色相範囲の境界では0となる。つまり、
近似度信号AP’は特定色に近い色ほど大きく、特定色
からずれた色ほど小さくなる。検出信号Dは近似度信号
AP’の符号ビットであり、特定色でなければ負を示す
1,特定色であれば正を示す0となる。特定色検出回路
2は実施例1で説明したように動作する。
Next, the operation will be described. By inputting the RY color difference signal and the BY color difference signal to the look-up table 1, a saturation C and a difference S determined from the first color difference signal and the second color difference signal are output. The saturation C is calculated as in equation (1). As shown in FIG. 3, the outputs C and S for the inputs RY and BY are stored in the look-up table 1 within the hue range of the specific color, and 0 are stored outside the hue range of the specific color. The saturation C, the difference S, and the luminance signal Y are input to the specific color detection circuit 2, and the approximation signal A
P ′ and the detection signal D are obtained. The approximation signal AP 'has the maximum value of the representative value of the saturation range of the specific color and the representative value of the hue range of the specific color. Become. That is,
The approximation signal AP 'is larger for a color closer to the specific color and smaller for a color shifted from the specific color. The detection signal D is a sign bit of the approximation degree signal AP ′, and is negative if the specific color is 0 and 0 if the specific color is positive. The specific color detection circuit 2 operates as described in the first embodiment.

【0036】非線形変換回路11について説明する。Y
信号、R−Y色差信号、B−Y色差信号で表される3次
元空間は人間の知覚で考えるとリニアな空間ではないた
め、近似度信号AP’は人間の知覚量としてはリニアで
ない。したがって、図10に示すように非線形変換回路
11により近似度信号AP’の変化を高次の関数で変換
し、人間の知覚に対応した近似度信号APとする。この
結果、特定色の近似度を知覚量として検出することが可
能となる。
The nonlinear conversion circuit 11 will be described. Y
Since the three-dimensional space represented by the signal, the RY color difference signal, and the BY color difference signal is not a linear space when considered by human perception, the approximation signal AP ′ is not linear as a human perception amount. Therefore, as shown in FIG. 10, the change of the approximation signal AP ′ is converted by a non-linear conversion circuit 11 using a higher-order function, and is converted into an approximation signal AP corresponding to human perception. As a result, it becomes possible to detect the degree of approximation of the specific color as the perception amount.

【0037】実施例4. 図11は本発明の実施例4による映像信号処理装置を示
すブロック回路図である。図において、図1と同一部分
には同一符号を付し説明を省略する。12はフィルタで
ある。
Embodiment 4 FIG. FIG. 11 is a block circuit diagram showing a video signal processing device according to Embodiment 4 of the present invention. In the figure, the same parts as those in FIG. 12 is a filter.

【0038】次に動作について説明する。R−Y色差信
号及びB−Y色差信号をルックアップテーブル1に入力
することにより、第1の色差信号及び第2の色差信号か
ら定まる飽和度C及び差分Sが出力される。飽和度Cは
式(1)のように算出される。図3に示すように、特定
色の色相範囲内では入力R−Y及びB−Yに対する出力
C及びSを、特定色の色相範囲外では0をルックアップ
テーブル1に格納している。飽和度C及び差分Sと輝度
信号Yは特定色検出回路2に入力され、近似度信号A
P’と検出信号Dが得られる。近似度信号AP’は特定
色の飽和度範囲の代表値かつ特定色の色相範囲の代表値
を最大値とし、代表値からずれると小さくなり特定色の
飽和度範囲及び色相範囲の境界では0となる。つまり、
近似度信号AP’は特定色に近い色ほど大きく、特定色
からずれた色ほど小さくなる。検出信号Dは近似度信号
AP’の符号ビットであり、特定色でなければ負を示す
1,特定色であれば正を示す0となる。特定色検出回路
2は実施例1で説明したように動作する。
Next, the operation will be described. By inputting the RY color difference signal and the BY color difference signal to the look-up table 1, a saturation C and a difference S determined from the first color difference signal and the second color difference signal are output. The saturation C is calculated as in equation (1). As shown in FIG. 3, the outputs C and S for the inputs RY and BY are stored in the look-up table 1 within the hue range of the specific color, and 0 are stored outside the hue range of the specific color. The saturation C, the difference S, and the luminance signal Y are input to the specific color detection circuit 2, and the approximation signal A
P ′ and the detection signal D are obtained. The approximation signal AP 'has the maximum value of the representative value of the saturation range of the specific color and the representative value of the hue range of the specific color. Become. That is,
The approximation signal AP 'is larger for a color closer to the specific color and smaller for a color shifted from the specific color. The detection signal D is a sign bit of the approximation degree signal AP ′, and is negative if the specific color is 0 and 0 if the specific color is positive. The specific color detection circuit 2 operates as described in the first embodiment.

【0039】フィルタ12について説明する。フィルタ
12を例えば、ローパスフィルタとした場合、図12に
示すように近似度信号AP’のaYからdYまでの立ち
上がり、dYからbYまでの立ち下がりを滑らかに変化
させ、近似度信号APとする。この結果、特定色の近似
度を定量的に検出することが可能となる。
The filter 12 will be described. When the filter 12 is, for example, a low-pass filter, as shown in FIG. 12, the rise of the approximation signal AP ′ from aY to dY and the fall from dY to bY are smoothly changed to obtain the approximation signal AP. As a result, it is possible to quantitatively detect the degree of approximation of a specific color.

【0040】実施例5. 図13は本発明の実施例5による映像信号処理装置を示
すブロック回路図である。図において、図1と同一部分
には同一符号を付し説明を省略する。13は第1利得制
御回路、14は第2利得制御回路、15は第1演算回
路、16は第2演算回路である。
Embodiment 5 FIG. FIG. 13 is a block circuit diagram showing a video signal processing device according to Embodiment 5 of the present invention. In the figure, the same parts as those in FIG. 13 is a first gain control circuit, 14 is a second gain control circuit, 15 is a first arithmetic circuit, and 16 is a second arithmetic circuit.

【0041】次に動作について説明する。実施例1で説
明したように近似度信号APと検出信号Dが特定色検出
回路2から得られる。R−Y色差信号を第2利得制御回
路14及び第1演算回路15に入力し、B−Y色差信号
を第1利得制御回路13及び第2演算回路16に入力す
る。第1利得制御回路13及び第2利得制御回路14で
は検出信号Dが0の場合、近似度信号APの大きさに応
じて、それぞれB−Y色差信号及びR−Y色差信号の利
得を制御する。そして、第1利得制御回路13の出力を
第1演算回路15に入力し、第2利得制御回路14の出
力を第2演算回路16に入力する。検出信号Dが0の場
合、第1演算回路15でR−Y色差信号にB−Y色差信
号を近似度信号APに応じて加減算し、第2演算回路1
6でB−Y色差信号にR−Y色差信号を近似度信号AP
に応じて加減算し、それぞれの演算結果をR−Y色差信
号、B−Y色差信号として出力する。その結果、特定色
のみ色相を移動することが可能となるため、カラービデ
オカメラにおいて、撮像素子の分光感度特性上表現困難
であった色を適切な色に補正することが可能となる。ま
た、肌色など人間の記憶色のように実際の色とは異なる
色の補正も可能となる。
Next, the operation will be described. As described in the first embodiment, the approximation signal AP and the detection signal D are obtained from the specific color detection circuit 2. The RY color difference signal is input to the second gain control circuit 14 and the first arithmetic circuit 15, and the BY color difference signal is input to the first gain control circuit 13 and the second arithmetic circuit 16. When the detection signal D is 0, the first gain control circuit 13 and the second gain control circuit 14 control the gains of the BY color difference signal and the RY color difference signal in accordance with the magnitude of the approximation signal AP. . Then, the output of the first gain control circuit 13 is input to the first arithmetic circuit 15, and the output of the second gain control circuit 14 is input to the second arithmetic circuit 16. When the detection signal D is 0, the first arithmetic circuit 15 adds and subtracts the BY color difference signal to the RY color difference signal in accordance with the approximation signal AP, and the second arithmetic circuit 1
In step 6, the RY color difference signal is converted to the BY color difference signal by the approximation signal AP
, And outputs the respective calculation results as an RY color difference signal and a BY color difference signal. As a result, it is possible to move the hue of only a specific color, so that in a color video camera, a color that has been difficult to express due to the spectral sensitivity characteristics of the image sensor can be corrected to an appropriate color. Further, it is possible to correct a color different from the actual color, such as a human memory color such as a skin color.

【0042】実施例6.図14は本発明の実施例6によ
る映像信号処理装置を示すブロック回路図である。図に
おいて、図7、図13と同一部分には同一符号を付し説
明を省略する。
Embodiment 6 FIG. FIG. 14 is a block circuit diagram showing a video signal processing device according to Embodiment 6 of the present invention. In the figure, the same parts as those in FIGS.

【0043】次に動作について説明する。実施例1で説
明したように近似度信号AP’と検出信号Dが特定色検
出回路2から得られる。スライス回路10により例えば
近似度信号AP’をHでスライスしたものを近似度信号
APとして出力する。R−Y色差信号を第2利得制御回
路14及び第1演算回路15に入力し、B−Y色差信号
を第1利得制御回路13及び第2演算回路16に入力す
る。第1利得制御回路13及び第2利得制御回路14で
は検出信号Dが0の場合、近似度信号APの大きさに応
じて、それぞれB−Y色差信号及びR−Y色差信号の利
得を制御する。そして、第1利得制御回路13の出力を
第1演算回路15に入力し、第2利得制御回路14の出
力を第2演算回路16に入力する。検出信号Dが0の場
合、第1演算回路15でR−Y色差信号にB−Y色差信
号を近似度信号APに応じて加減算し、第2演算回路1
6でB−Y色差信号にR−Y色差信号を近似度信号AP
に応じて加減算し、それぞれの演算結果をR−Y色差信
号、B−Y色差信号として出力する。その結果、特定色
のみ色相を移動することが可能となるため、カラービデ
オカメラにおいて、撮像素子の分光感度特性上表現困難
であった色を適切な色に補正することが可能となる。ま
た、肌色など人間の記憶色のように実際の色とは異なる
色の補正も可能となる。スライス回路10により近似度
信号APの変化が緩やかになるため、これらの色補正を
より境界が目立ちにくい自然な変化で行なうことができ
る。
Next, the operation will be described. As described in the first embodiment, the approximation signal AP ′ and the detection signal D are obtained from the specific color detection circuit 2. For example, a signal obtained by slicing the approximation signal AP ′ by H by the slicing circuit 10 is output as the approximation signal AP. The RY color difference signal is input to the second gain control circuit 14 and the first arithmetic circuit 15, and the BY color difference signal is input to the first gain control circuit 13 and the second arithmetic circuit 16. When the detection signal D is 0, the first gain control circuit 13 and the second gain control circuit 14 control the gains of the BY color difference signal and the RY color difference signal in accordance with the magnitude of the approximation signal AP. . Then, the output of the first gain control circuit 13 is input to the first arithmetic circuit 15, and the output of the second gain control circuit 14 is input to the second arithmetic circuit 16. When the detection signal D is 0, the first arithmetic circuit 15 adds and subtracts the BY color difference signal to the RY color difference signal in accordance with the approximation signal AP, and the second arithmetic circuit 1
In step 6, the RY color difference signal is converted to the BY color difference signal by the approximation signal AP
, And outputs the respective calculation results as an RY color difference signal and a BY color difference signal. As a result, it is possible to move the hue of only a specific color, so that in a color video camera, a color that has been difficult to express due to the spectral sensitivity characteristics of the image sensor can be corrected to an appropriate color. Further, it is possible to correct a color different from the actual color, such as a human memory color such as a skin color. Since the change in the approximation signal AP is made gentle by the slice circuit 10, these color corrections can be performed with natural changes in which the boundaries are less noticeable.

【0044】実施例7.図15は本発明の実施例7によ
る映像信号処理装置を示すブロック回路図である。図に
おいて、図9、図13と同一部分には同一符号を付し説
明を省略する。
Embodiment 7 FIG. FIG. 15 is a block circuit diagram showing a video signal processing device according to Embodiment 7 of the present invention. In the figure, the same parts as those in FIGS.

【0045】次に動作について説明する。実施例1で説
明したように近似度信号AP’と検出信号Dが特定色検
出回路2から得られる。非線形変換回路11により例え
ば近似度信号AP’を高次の関数で変換し、滑らかな変
化にさせたものを近似度信号APとして出力する。R−
Y色差信号を第2利得制御回路14及び第1演算回路1
5に入力し、B−Y色差信号を第1利得制御回路13及
び第2演算回路16に入力する。第1利得制御回路13
及び第2利得制御回路14では検出信号Dが0の場合、
近似度信号APの大きさに応じて、それぞれB−Y色差
信号及びR−Y色差信号の利得を制御する。そして、第
1利得制御回路13の出力を第1演算回路15に入力
し、第2利得制御回路14の出力を第2演算回路16に
入力する。検出信号Dが0の場合、第1演算回路15で
R−Y色差信号にB−Y色差信号を近似度信号APに応
じて加減算し、第2演算回路16でB−Y色差信号にR
−Y色差信号を近似度信号APに応じて加減算し、それ
ぞれの演算結果をR−Y色差信号、B−Y色差信号とし
て出力する。その結果、特定色のみ色相を移動すること
が可能となるため、カラービデオカメラにおいて、撮像
素子の分光感度特性上表現困難であった色を適切な色に
補正することが可能となる。また、肌色など人間の記憶
色のように実際の色とは異なる色の補正も可能となる。
Y信号、R−Y色差信号、B−Y色差信号で表される3
次元空間は人間の知覚で考えるとリニアな空間ではない
ため、線形補正では十分な色補正はできない。したがっ
て、非線形変換回路11により近似度信号AP’の変化
を非線形変換し、人間の知覚に対応した補正量としてR
−Y色差信号、B−Y色差信号の利得を制御すると、よ
り境界が目立ちにくい自然な変化で行なうことができ
る。
Next, the operation will be described. As described in the first embodiment, the approximation signal AP ′ and the detection signal D are obtained from the specific color detection circuit 2. For example, the non-linear conversion circuit 11 converts the approximation signal AP ′ by using a higher-order function, and outputs a signal obtained as a smooth change as the approximation signal AP. R-
The Y color difference signal is supplied to the second gain control circuit 14 and the first arithmetic circuit 1
5 and the BY color difference signal is input to the first gain control circuit 13 and the second arithmetic circuit 16. First gain control circuit 13
When the detection signal D is 0 in the second gain control circuit 14,
The gain of the BY color difference signal and the gain of the RY color difference signal are controlled in accordance with the magnitude of the approximation signal AP. Then, the output of the first gain control circuit 13 is input to the first arithmetic circuit 15, and the output of the second gain control circuit 14 is input to the second arithmetic circuit 16. When the detection signal D is 0, the first arithmetic circuit 15 adds or subtracts the BY color difference signal to the RY color difference signal according to the approximation signal AP, and the second arithmetic circuit 16 adds the BY color difference signal to the BY color difference signal.
The Y color difference signal is added or subtracted according to the approximation signal AP, and the respective calculation results are output as an RY color difference signal and a BY color difference signal. As a result, it is possible to move the hue of only a specific color, so that in a color video camera, a color that has been difficult to express due to the spectral sensitivity characteristics of the image sensor can be corrected to an appropriate color. Further, it is possible to correct a color different from the actual color, such as a human memory color such as a skin color.
3 represented by Y signal, RY color difference signal, and BY color difference signal
Since the dimensional space is not a linear space in terms of human perception, sufficient color correction cannot be performed by linear correction. Therefore, the non-linear conversion circuit 11 non-linearly converts the change in the approximation signal AP ′, and sets R as a correction amount corresponding to human perception.
By controlling the gains of the -Y color difference signal and the BY color difference signal, it is possible to perform the change with a natural change that makes the boundary less noticeable.

【0046】実施例8.図16は本発明の実施例8によ
る映像信号処理装置を示すブロック回路図である。図に
おいて、図11、図13と同一部分には同一符号を付し
説明を省略する。
Embodiment 8 FIG. FIG. 16 is a block circuit diagram showing a video signal processing device according to Embodiment 8 of the present invention. In the figure, the same portions as those in FIGS. 11 and 13 are denoted by the same reference numerals, and description thereof will be omitted.

【0047】次に動作について説明する。実施例1で説
明したように近似度信号AP’と検出信号Dが特定色検
出回路2から得られる。フィルタ12により例えば近似
度信号AP’の高周波成分を除去して、滑らかな変化に
させたものを近似度信号APとして出力する。R−Y色
差信号を第2利得制御回路14及び第1演算回路15に
入力し、B−Y色差信号を第1利得制御回路13及び第
2演算回路16に入力する。第1利得制御回路13及び
第2利得制御回路14では検出信号Dが0の場合、近似
度信号APの大きさに応じて、それぞれB−Y色差信号
及びR−Y色差信号の利得を制御する。そして、第1利
得制御回路13の出力を第1演算回路15に入力し、第
2利得制御回路14の出力を第2演算回路16に入力す
る。検出信号Dが0の場合、第1演算回路15でR−Y
色差信号にB−Y色差信号を近似度信号APに応じて加
減算し、第2演算回路16でB−Y色差信号にR−Y色
差信号を近似度信号APに応じて加減算し、それぞれの
演算結果をR−Y色差信号、B−Y色差信号として出力
する。その結果、特定色のみ色相を移動することが可能
となるため、カラービデオカメラにおいて、撮像素子の
分光感度特性上表現困難であった色を適切な色に補正す
ることが可能となる。また、肌色など人間の記憶色のよ
うに実際の色とは異なる色の補正も可能となる。フィル
タ12により近似度信号APの変化が滑らかになるた
め、これらの色補正をより境界が目立ちにくい自然な変
化で行なうことができる。
Next, the operation will be described. As described in the first embodiment, the approximation signal AP ′ and the detection signal D are obtained from the specific color detection circuit 2. For example, a high-frequency component of the approximation signal AP ′ is removed by the filter 12 and a smooth change is output as the approximation signal AP. The RY color difference signal is input to the second gain control circuit 14 and the first arithmetic circuit 15, and the BY color difference signal is input to the first gain control circuit 13 and the second arithmetic circuit 16. When the detection signal D is 0, the first gain control circuit 13 and the second gain control circuit 14 control the gains of the BY color difference signal and the RY color difference signal in accordance with the magnitude of the approximation signal AP. . Then, the output of the first gain control circuit 13 is input to the first arithmetic circuit 15, and the output of the second gain control circuit 14 is input to the second arithmetic circuit 16. When the detection signal D is 0, the first arithmetic circuit 15 performs RY
The BY color difference signal is added to and subtracted from the color difference signal according to the approximation signal AP, and the RY color difference signal is added to and subtracted from the BY color difference signal by the second arithmetic circuit 16 according to the approximation signal AP. The result is output as an RY color difference signal and a BY color difference signal. As a result, it is possible to move the hue of only a specific color, so that in a color video camera, a color that has been difficult to express due to the spectral sensitivity characteristics of the image sensor can be corrected to an appropriate color. Further, it is possible to correct a color different from the actual color, such as a human memory color such as a skin color. Since the change in the approximation signal AP is smoothed by the filter 12, these color corrections can be performed by natural changes in which the boundaries are less noticeable.

【0048】実施例9.図17は本発明の実施例9によ
る映像信号処理装置を示すブロック回路図である。図に
おいて、図1と同一部分には同一符号を付し説明を省略
する。17は第1ビットシフト回路、18は第2ビット
シフト回路、19は第3ビットシフト回路、20,2
1,22は加算器である。ただし、本実施例におけるル
ックアップテーブル1は入力が4ポート、出力が2ポー
トである。
Embodiment 9 FIG. FIG. 17 is a block circuit diagram showing a video signal processing device according to Embodiment 9 of the present invention. In the figure, the same parts as those in FIG. 17 is a first bit shift circuit, 18 is a second bit shift circuit, 19 is a third bit shift circuit, 20, 2
Reference numerals 1 and 22 denote adders. However, the lookup table 1 in this embodiment has four ports for input and two ports for output.

【0049】図3では特定色の色相範囲内ではR−Y色
差信号及びB−Y色差信号から定まる飽和度C及び差分
S、特定色の色相範囲外では0をルックアップテーブル
1に格納した。本実施例では図21に示すように最上位
ビット(MSB)に色相範囲識別フラグとして1ビット
を追加し、色相範囲識別フラグが0の場合は色相範囲
内、1の場合は色相範囲外とし、1〜3ビットは差分
S、4〜8ビットは飽和度Cを示した値をルックアップ
テーブル1に格納する。このため、本実施例では図4に
示した特定色検出回路2を図20のようにする。図4と
の違いは零比較器7が不要となり、代わりにルックアッ
プテーブル1の出力のMSB(色相範囲識別フラグ)を
ORゲート8に入力して、特定色領域かどうかを判別す
る。図17について説明する。例えばR−Y色差信号、
B−Y色差信号をmビットとする。この信号の構成はM
SBが符号ビットで負が1、正が0とする。正、負共に
残りのビットはその数値の絶対値を表す。つまり、01
01は+5で、1101は−5となる。R−Y色差信号
及びB−Y色差信号を第1ビットシフト回路17によ
り、p(p=m−1−n)ビット分だけ小さくした上位
nビット分RYn,BYnにする。これらの関係を図1
8に示す。このRYn及びBYnをルックアップテーブ
ル1に入力し、出力値の飽和度部分だけを第3ビットシ
フト回路19に入力する。第3ビットシフト回路19で
は入力値にpビット分の0を追加したものを飽和度C1
として出力する。また、第2ビットシフト回路18によ
りRYn及びBYnをpビット分だけ大きくして、元の
桁に戻して符号ビットを除き、それぞれRY,BYとす
る。このRY,BYは下位pビット分を全て0とするた
め、R−Y色差信号、B−Y色差信号の絶対値よりも小
さい絶対値となる。さらに、R−Y色差信号及びB−Y
色差信号の符号ビットを除いた絶対値から加算器20,
21により、それぞれRY,BYを減じ、R−Y色差信
号及びB−Y色差信号の下位pビット分RYp,BYp
を得る。このRYp,BYpは絶対値の大きい値(R−
Y,B−Y)から絶対値の小さい値(RY,BY)を減
ずるため、元の信号(R−Y,B−Y)と同じ符号であ
る。RYp,BYpをルックアップテーブル1に入力
し、MSB及び差分Sを除いた飽和度C2を得る。飽和
度C1と飽和度C2を加算器22により加算して、飽和
度Cを得る。このため、ルックアップテーブル1の容量
を小さくし、かつ、演算誤差も小さくすることが可能と
なる。
In FIG. 3, the saturation C and the difference S determined from the RY color difference signal and the BY color difference signal are stored in the look-up table 1 within the hue range of the specific color, and 0 outside the hue range of the specific color. In this embodiment, as shown in FIG. 21, one bit is added to the most significant bit (MSB) as a hue range identification flag, and when the hue range identification flag is 0, the hue range is outside the hue range. Bits 1 to 3 store the difference S in the lookup table 1 and bits 4 to 8 store the value indicating the degree of saturation C in the lookup table 1. Therefore, in this embodiment, the specific color detection circuit 2 shown in FIG. 4 is configured as shown in FIG. The difference from FIG. 4 is that the zero comparator 7 becomes unnecessary, and instead, the MSB (hue range identification flag) output from the look-up table 1 is input to the OR gate 8 to determine whether or not the area is a specific color area. FIG. 17 will be described. For example, RY color difference signal,
The BY color difference signal has m bits. The structure of this signal is M
It is assumed that SB is a sign bit and negative is 1 and positive is 0. The remaining bits, both positive and negative, represent the absolute value of the value. That is, 01
01 is +5 and 1101 is -5. The RY color difference signal and the BY color difference signal are reduced by the first bit shift circuit 17 by p (p = m−1−n) bits into upper n bits RYn and BYn. Figure 1 shows these relationships.
FIG. The RYn and BYn are input to the lookup table 1 and only the saturation portion of the output value is input to the third bit shift circuit 19. In the third bit shift circuit 19, a value obtained by adding 0 for p bits to the input value is used as the saturation C1.
Output as Further, RYn and BYn are increased by p bits by the second bit shift circuit 18 and returned to the original digits, and the sign bits are removed, and RY and BY are respectively set. Since RY and BY are all 0 for the lower p bits, the RY and BY have absolute values smaller than the absolute values of the RY color difference signal and the BY color difference signal. Furthermore, the RY color difference signal and the BY
From the absolute value of the color difference signal excluding the sign bit, the adder 20,
21, RY and BY are subtracted respectively, and the lower p bits RYp and BYp of the RY color difference signal and the BY color difference signal are subtracted.
Get. RYp and BYp are values having a large absolute value (R-
Since the value (RY, BY) having a small absolute value is subtracted from (Y, BY), the sign is the same as that of the original signal (RY, BY). RYp and BYp are input to the look-up table 1 to obtain the saturation C2 excluding the MSB and the difference S. The adder 22 adds the saturations C1 and C2 to obtain the saturation C. For this reason, it is possible to reduce the capacity of the look-up table 1 and the calculation error.

【0050】本実施例が以上のような効果を得る理由を
説明する。図19において、mビットのR−Y色差信
号、B−Y色差信号を式(1)により演算した飽和度を
C3とする。乗算器、除算器を組み合わせて、この演算
を行うと回路規模が大きくなるため、ルックアップテー
ブルを用いて飽和度を算出する。入力mビット、出力q
ビットとするとルックアップテーブルの容量は2^2m
・qビット必要となる。また、入力を上位nビットに間
引いたルックアップテーブルでは、2^2n・(q−
p)ビットの容量が必要となる。この場合の飽和度C1
はC3に比べて小さくなる。飽和度C1ではルックアッ
プテーブルの容量が小さくなっても演算誤差は大きくな
る。この演算誤差を小さくする方法が本発明であり、そ
の説明をする。下位pビット分のR−Y色差信号RYp
及び下位pビット分のB−Y色差信号BYpをルックア
ップテーブル1に入力して飽和度C2を得、上位nビッ
ト分のR−Y色差信号RYn及び上位nビット分のB−
Y色差信号BYnを入力としたルックアップテーブル1
の出力をpビット分だけビットシフトすることにより桁
を補正した飽和度C1とC2を加算して飽和度Cを得
る。この飽和度Cは飽和度C3とほぼ等しくなる。その
理由を説明する。図19のようにC1とC3のなす角を
e、C2とC3のなす角をfとすると、C1,C2,C
3の関係は式(4)のようになる。 C3=C1・COS e+C2・COS f ……(4) ここで、ルックアップテーブルを極端に小さくしない限
り、eは非常に小さな角度である。また、C2が大きい
場合はfが小さな角度となり、fが大きい場合はC1に
対してC2は非常に小さくなるため式(5)が成立す
る。 C3≒C1+C2 ……(5) したがって、本実施例の算出法のように入力を上位ビッ
トと下位ビットの2つに分け各々の出力を用いることに
より飽和度を算出すると演算誤差を小さくすることが可
能となる。
The reason why the present embodiment obtains the above effects will be described. In FIG. 19, the saturation obtained by calculating the m-bit RY color difference signal and the BY color difference signal by equation (1) is C3. When this operation is performed by combining a multiplier and a divider, the circuit scale becomes large. Therefore, the saturation is calculated using a look-up table. Input m bits, output q
If it is a bit, the capacity of the lookup table is 2 ^ 2m
Q bits are required. In a look-up table in which inputs are thinned out to upper n bits, 2 ^ 2n · (q−
p) A bit capacity is required. Saturation degree C1 in this case
Is smaller than C3. At the saturation degree C1, the calculation error increases even if the capacity of the lookup table decreases. A method of reducing the calculation error is the present invention, and a description thereof will be given. RY color difference signal RYp for lower p bits
And the lower p bits of the BY color difference signal BYp are input to the look-up table 1 to obtain the saturation C2.
Look-up table 1 with input of Y color difference signal BYn
Is shifted by p bits to obtain the saturation C by adding the saturations C1 and C2 whose digits have been corrected. This saturation C is substantially equal to the saturation C3. The reason will be described. As shown in FIG. 19, when an angle between C1 and C3 is e and an angle between C2 and C3 is f, C1, C2, C
The relationship of 3 is as shown in equation (4). C3 = C1 · COS e + C2 · COS f (4) Here, e is a very small angle unless the look-up table is made extremely small. Further, when C2 is large, f is a small angle, and when f is large, C2 is very small with respect to C1, so that equation (5) is established. C3 ≒ C1 + C2 (5) Therefore, when the saturation is calculated by dividing the input into high-order bits and low-order bits as in the calculation method of the present embodiment and using each output, it is possible to reduce the calculation error. It becomes possible.

【0051】実施例10.図22は本発明の実施例10
による映像信号処理装置を示すブロック回路図である。
図において、図17と同一部分には同一符号を付し説明
を省略する。23は比較器である。ただし、本実施例に
おけるルックアップテーブル1は入力が2ポート、出力
が1ポートである。
Embodiment 10 FIG. FIG. 22 shows Embodiment 10 of the present invention.
1 is a block circuit diagram showing a video signal processing device according to the present invention.
In the figure, the same parts as those in FIG. 23 is a comparator. However, the lookup table 1 in this embodiment has two ports for input and one port for output.

【0052】図3では特定色の色相範囲内ではR−Y色
差信号及びB−Y色差信号から定まる飽和度C、特定色
の色相範囲外では0をルックアップテーブル1に格納し
た。本実施例では図21に示すように最上位ビット(M
SB)に色相範囲識別フラグとして1ビットを追加し、
色相範囲識別フラグが0の場合は色相範囲内、1の場合
は色相範囲外とし、1〜3ビットは差分S、4〜8ビッ
トは飽和度Cを示した値をルックアップテーブル1に格
納する。このため、本実施例では図4に示した特定色検
出回路2を図20のようにする。図4との違いは零比較
器7が不要となり、代わりにルックアップテーブル1の
出力のMSB(色相範囲識別フラグ)をORゲート8に
入力して、特定色領域かどうかを判別する。図22につ
いて説明する。例えばR−Y色差信号、B−Y色差信号
をmビットとする。この信号の構成はMSBが符号ビッ
トで負が1、正が0とする。正、負共に残りのビットは
その数値の絶対値を表す。つまり、0101は+5で、
1101は−5となる。R−Y色差信号及びB−Y色差
信号を第1ビットシフト回路17により、p(p=m−
1−n)ビット分だけ小さくした上位nビット分RY
n,BYnにする。これらの関係を図18に示す。この
RYn及びBYnをルックアップテーブル1に入力し、
出力値の飽和度部分だけを第3ビットシフト回路19に
入力する。第3ビットシフト回路19では入力値にpビ
ット分の0を追加したものを飽和度C1として出力す
る。また、第2ビットシフト回路18によりRYn及び
BYnをpビット分だけ大きくして、元の桁に戻して符
号ビットを除き、それぞれRY,BYとする。このR
Y,BYは下位pビット分を全て0とするため、R−Y
色差信号、B−Y色差信号の絶対値よりも小さい絶対値
となる。さらに、R−Y色差信号及びB−Y色差信号の
符号ビットを除いた絶対値から加算器20,21によ
り、それぞれRY,BYを減じ、R−Y色差信号及びB
−Y色差信号の下位pビット分RYp,BYpを得る。
このRYp,BYpは絶対値の大きい値(R−Y,B−
Y)から絶対値の小さい値(RY,BY)を減ずるた
め、元の信号(R−Y,B−Y)と同じ符号である。R
Yp,BYpを比較器23に入力し、大きい方を飽和度
C4とする。飽和度C1と飽和度C4を加算器22によ
り加算して、飽和度Cを得る。このため、ルックアップ
テーブル1の容量を小さくし、かつ、演算誤差も小さく
することが可能となる。
In FIG. 3, the saturation degree C determined from the RY color difference signal and the BY color difference signal is stored in the look-up table 1 within the hue range of the specific color, and 0 outside the hue range of the specific color. In this embodiment, as shown in FIG. 21, the most significant bit (M
SB), adding 1 bit as a hue range identification flag,
When the hue range identification flag is 0, the hue range is within the hue range. When the hue range identification flag is 1, the hue range is outside the hue range. . Therefore, in this embodiment, the specific color detection circuit 2 shown in FIG. 4 is configured as shown in FIG. The difference from FIG. 4 is that the zero comparator 7 becomes unnecessary, and instead, the MSB (hue range identification flag) output from the look-up table 1 is input to the OR gate 8 to determine whether or not the area is a specific color area. FIG. 22 will be described. For example, the RY color difference signal and the BY color difference signal have m bits. The structure of this signal is such that the MSB is a sign bit and the negative is 1 and the positive is 0. The remaining bits, both positive and negative, represent the absolute value of the value. That is, 0101 is +5,
1101 becomes -5. The RY color difference signal and the BY color difference signal are p (p = m−
1-n) RY for upper n bits reduced by bits
n, BYn. FIG. 18 shows these relationships. These RYn and BYn are input to the lookup table 1,
Only the saturation portion of the output value is input to the third bit shift circuit 19. The third bit shift circuit 19 outputs a value obtained by adding 0 for p bits to the input value as the saturation C1. Further, RYn and BYn are increased by p bits by the second bit shift circuit 18 and returned to the original digits, and the sign bits are removed, and RY and BY are respectively set. This R
Since Y and BY are all 0 for the lower p bits, RY
The absolute value is smaller than the absolute values of the color difference signal and the BY color difference signal. Further, RY and BY are subtracted by the adders 20 and 21 from the absolute values of the RY color difference signal and the BY color difference signal excluding the sign bit, and the RY color difference signal and the B
-Obtain RYp and BYp for the lower p bits of the Y color difference signal.
RYp and BYp are values having large absolute values (RY, B-
Since the value (RY, BY) having a small absolute value is subtracted from (Y), the sign is the same as that of the original signal (RY, BY). R
Yp and BYp are input to the comparator 23, and the larger one is set as the saturation degree C4. The saturation C is obtained by adding the saturation C1 and the saturation C4 by the adder 22. For this reason, it is possible to reduce the capacity of the look-up table 1 and the calculation error.

【0053】本実施例が以上のような効果を得る理由を
説明する。図19において、mビットのR−Y色差信
号、B−Y色差信号を式(1)により演算した飽和度を
C3とする。乗算器、除算器を組み合わせて、この演算
を行うと回路規模が大きくなるため、ルックアップテー
ブルを用いて飽和度を算出する。入力mビット、出力q
ビットとするとルックアップテーブルの容量は2^2m
・qビット必要となる。また、入力を上位nビットに間
引いたルックアップテーブルでは、2^2n・(q−
p)ビットの容量が必要となる。この場合の飽和度C1
はC3に比べて小さくなる。飽和度C1ではルックアッ
プテーブルの容量が小さくなっても演算誤差は大きくな
る。この演算誤差を小さくする方法が本発明であり、そ
の説明をする。下位pビット分のR−Y色差信号RYp
及び下位pビット分のB−Y色差信号BYpを比較器2
3で比較して、大きい方の値C4と上位nビット分の
R−Y色差信号RYn及び上位nビット分のB−Y色差
信号BYnを入力としたルックアップテーブル1の出力
をpビット分だけビットシフトすることにより桁を補正
した飽和度C1とを加算して飽和度Cを得る。この飽和
度Cは飽和度C3とほぼ等しくなる。その理由を説明す
る。図19のようにC1とC3のなす角をe、C2とC
3のなす角をfとすると、C1,C2,C3の関係は実
施例で示したように式(5)のようになる。さらに、
式(5)において、C2の代わりにC4をC1に加算し
ても同じことが成立する。したがって、本実施例の算出
法のように入力を上位ビットと下位ビットの2つに分け
て各々の出力を用いることにより飽和度を算出すると演
算誤差を小さくすることが可能となる。
The reason why the present embodiment achieves the above effects will be described. In FIG. 19, the saturation obtained by calculating the m-bit RY color difference signal and the BY color difference signal by equation (1) is C3. When this operation is performed by combining a multiplier and a divider, the circuit scale becomes large. Therefore, the saturation is calculated using a look-up table. Input m bits, output q
If it is a bit, the capacity of the lookup table is 2 ^ 2m
Q bits are required. In a look-up table in which inputs are thinned out to upper n bits, 2 ^ 2n · (q−
p) A bit capacity is required. Saturation degree C1 in this case
Is smaller than C3. At the saturation degree C1, the calculation error increases even if the capacity of the lookup table decreases. A method of reducing the calculation error is the present invention, and a description thereof will be given. RY color difference signal RYp for lower p bits
And the lower p bits of the BY color difference signal BYp are compared with the comparator 2
3, the output of the look-up table 1 having the larger value C4, the RY color difference signal RYn for the upper n bits, and the BY color difference signal BYn for the upper n bits is input for p bits. obtaining a saturation C by adding the saturation C1 corrected digits by only bit shifting. This saturation C is substantially equal to the saturation C3. The reason will be described. As shown in FIG. 19, the angle between C1 and C3 is e, and C2 and C3 are
Assuming that the angle formed by 3 is f, the relationship between C1, C2, and C3 is as shown in equation (5) as shown in the ninth embodiment. further,
In equation (5), the same holds when C4 is added to C1 instead of C2. Therefore, when the saturation is calculated by dividing the input into upper bits and lower bits and using the respective outputs as in the calculation method of the present embodiment, the calculation error can be reduced.

【0054】上記実施例9では入力4ポート、出力2ポ
ートとしたが、ルックアップテーブル1の読み出し速度
が十分に速ければ、上位nビット分と下位pビット分の
色差信号の周波数を速くした後、時分割してルックアッ
プテーブル1に入力し、出力をスイッチ回路と遅延回路
を用いて同時化した後に加算して周波数を遅くして戻す
ことにより入力2ポート、出力1ポートにすることも可
能である。また、上記実施例9、10ではビットシフト
回路を用いて上位nビット分の信号や下位pビット分の
信号を取り出したが、ディジタル回路の場合、上位nビ
ット分の信号線や下位pビット分の信号線だけを抜き出
してルックアップテーブル1に直接入力すればよい。こ
の場合、加算器20,21は不用となる。また、上記実
施例9、10では上位nビット分を入力とした場合の出
力を第3ビットシフト回路19でpビット分の0を追加
したものと下位pビット分を入力とした場合の出力とを
加算器22で加算しているが、ディジタル回路の場合、
各々の出力の信号線を組み合わせるだけでpビット分だ
けビットシフトしたものを加算したことになる。この場
合、第3ビットシフト回路19及び加算器22は不用と
なる。また、上記実施例におけるルックアップテーブル
1はROM(Read Only Memory),RAM(Random Acc
ess Memory)などの半導体素子、CD、光磁気ディス
ク、磁気ディスク、磁気テープなどの記憶媒体の何れの
記憶手段で構成してもよく、他の記憶手段で構成しても
よい。
In the ninth embodiment, four input ports and two output ports are used. However, if the reading speed of the lookup table 1 is sufficiently high, the frequency of the color difference signal for the upper n bits and the lower p bits is increased. It is also possible to have two input ports and one output port by inputting the data into the lookup table 1 in a time-division manner, synchronizing the output using a switch circuit and a delay circuit, and then adding and returning the frequency to be slowed down. It is. In the ninth and tenth embodiments, a signal for upper n bits and a signal for lower p bits are extracted using a bit shift circuit. However, in the case of a digital circuit, a signal line for upper n bits or a lower p bit is used. Only need to be extracted and directly input to the look-up table 1. In this case, the adders 20 and 21 become unnecessary. In the ninth and tenth embodiments, the output when the upper n bits are input is the output obtained by adding 0 for the p bits by the third bit shift circuit 19 and the output when the lower p bits are input. Is added by the adder 22, but in the case of a digital circuit,
By combining the signal lines of the respective outputs, a signal bit-shifted by p bits is added. In this case, the third bit shift circuit 19 and the adder 22 become unnecessary. Further, the look-up table 1 in the above embodiment is a ROM (Read Only Memory), a RAM (Random Acc
(Essue Memory) or a storage device such as a semiconductor device such as a CD, a magneto-optical disk, a magnetic disk, or a magnetic tape.

【0055】[0055]

【発明の効果】請求項1の発明によれば、飽和度と特定
色の飽和度範囲の代表値とを比較し、前記飽和度が特定
色の飽和度範囲の代表値よりも大きい場合、特定色の飽
和度範囲の上限値と前記飽和度との差から特定色の色相
範囲内の代表値との差分を減じたものを出力し、前記飽
和度が特定色の飽和度範囲の代表値よりも小さい場合、
前記飽和度と特定色の飽和度範囲の下限値との差から特
定色の色相範囲内の代表値との差分を減じたものを出力
するため、特定色の近似度を定量的に検出することが可
能となる効果がある。
According to the first aspect of the present invention, the saturation is compared with the representative value of the saturation range of the specific color, and when the saturation is larger than the representative value of the saturation range of the specific color, the specific value is determined. A value obtained by subtracting the difference between the upper limit value of the color saturation range and the representative value within the hue range of the specific color from the difference between the saturation and the saturation is output from the representative value of the saturation range of the specific color. Is also smaller,
To output a value obtained by subtracting the difference between the saturation and the lower limit value of the saturation range of the specific color from the representative value within the hue range of the specific color, quantitatively detecting the degree of approximation of the specific color. There is an effect that becomes possible.

【0056】請求項2の発明によれば、飽和度と特定色
の飽和度範囲の代表値とを比較し、前記飽和度が特定色
の飽和度範囲の代表値よりも大きい場合、特定色の飽和
度範囲の上限値と前記飽和度との差から特定色の色相範
囲内の代表値との差分を減じたものをスライスして出力
し、前記飽和度が特定色の飽和度範囲の代表値よりも小
さい場合、前記飽和度と特定色の飽和度範囲の下限値と
の差から特定色の色相範囲内の代表値との差分を減じた
ものをスライスして出力するため、特定色の近似度を定
量的に検出することが可能となる効果がある。
According to the second aspect of the present invention, the saturation is compared with the representative value of the saturation range of the specific color. If the saturation is larger than the representative value of the saturation range of the specific color, the saturation of the specific color is determined. A slice obtained by subtracting the difference between the upper limit of the saturation range and the representative value in the hue range of the specific color from the difference between the saturation and the slice is output, and the saturation is a representative value of the saturation range of the specific color. If smaller, the difference between the saturation and the lower limit of the saturation range of the specific color is subtracted from the difference between the representative value in the hue range of the specific color and sliced and output. There is an effect that the degree can be quantitatively detected.

【0057】請求項3の発明によれば、飽和度と特定色
の飽和度範囲の代表値とを比較し、前記飽和度が特定色
の飽和度範囲の代表値よりも大きい場合、特定色の飽和
度範囲の上限値と前記飽和度との差から特定色の色相範
囲内の代表値との差分を減じたものを非線形変換して出
力し、前記飽和度が特定色の飽和度範囲の代表値よりも
小さい場合、前記飽和度と特定色の飽和度範囲の下限値
との差から特定色の色相範囲内の代表値との差分を減じ
たものを非線形変換して出力するため、特定色の正確な
検出及び特定色の近似度を知覚量として検出することが
可能となる効果がある。
According to the third aspect of the present invention, the saturation is compared with the representative value of the saturation range of the specific color. If the saturation is larger than the representative value of the saturation range of the specific color, the saturation of the specific color is determined. A value obtained by subtracting the difference between the upper limit of the saturation range and the representative value in the hue range of the specific color from the difference between the saturation and the nonlinear conversion is output, and the saturation is representative of the saturation range of the specific color. If the value is smaller than the value, the difference between the saturation and the lower limit of the saturation range of the specific color minus the difference between the representative value within the hue range of the specific color is nonlinearly converted and output. There is an effect that it is possible to accurately detect the color and the degree of approximation of a specific color as a perceived amount.

【0058】請求項4の発明によれば、飽和度と特定色
の飽和度範囲の代表値とを比較し、前記飽和度が特定色
の飽和度範囲の代表値よりも大きい場合、特定色の飽和
度範囲の上限値と前記飽和度との差から特定色の色相範
囲内の代表値との差分を減じたものをローパスフィルタ
あるいはバンドパスフィルタに通して出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲内の代表値との差分を減じたものをローパ
スフィルタあるいはバンドパスフィルタに通して出力す
るため、特定色の近似度を定量的に検出することが可能
となる効果がある。
According to the fourth aspect of the present invention, the saturation is compared with the representative value of the saturation range of the specific color. If the saturation is larger than the representative value of the saturation range of the specific color, A value obtained by subtracting the difference between the upper limit value of the saturation range and the representative value within the hue range of the specific color from the difference between the saturation and the saturation is output through a low-pass filter or a band-pass filter, and the saturation is output for the specific color. If the saturation value is smaller than the representative value of the saturation range, the difference between the saturation and the lower limit value of the saturation range of the specific color minus the difference between the representative value within the hue range of the specific color is determined by a low-pass filter or band-pass filter. Since the signal is output through the filter, the degree of approximation of the specific color can be quantitatively detected.

【0059】請求項5の発明によれば、特定色領域内の
色であれば、飽和度と特定色の飽和度範囲の代表値とを
比較し、前記飽和度が特定色の飽和度範囲の代表値より
も大きい場合、特定色の飽和度範囲の上限値と前記飽和
度との差から特定色の色相範囲内の代表値との差分を減
じたものを補正量として出力し、前記飽和度が特定色の
飽和度範囲の代表値よりも小さい場合、前記飽和度と特
定色の飽和度範囲の下限値との差から特定色の色相範囲
内の代表値との差分を減じたものを補正量として出力
し、該補正量の大きさに応じて第1利得制御手段及び第
2利得制御手段をそれぞれ独立して制御し、特定色領域
だけを色補正するため、他の色に影響を与えることなく
境界が目立ちにくい自然な変化で特定色の色補正を行な
うことが可能となる効果がある。
According to the fifth aspect of the present invention, if the color is within the specific color region, the saturation is compared with the representative value of the saturation range of the specific color, and the saturation is set within the saturation range of the specific color. If the difference is larger than the representative value, a value obtained by subtracting the difference between the upper limit of the saturation range of the specific color and the representative value within the hue range of the specific color from the difference between the saturation and the saturation is output as a correction amount. Is smaller than the representative value of the saturation range of the specific color, the difference between the saturation and the lower limit of the saturation range of the specific color minus the difference between the representative value within the hue range of the specific color is corrected. The first gain control means and the second gain control means are independently controlled in accordance with the magnitude of the correction amount, and color correction is performed only in a specific color area, so that other colors are affected. It is possible to perform color correction of specific colors with natural changes that make the boundaries less noticeable There is a result.

【0060】請求項6の発明によれば、特定色領域内の
色であれば、飽和度と特定色の飽和度範囲の代表値とを
比較し、前記飽和度が特定色の飽和度範囲の代表値より
も大きい場合、特定色の飽和度範囲の上限値と前記飽和
度との差から特定色の色相範囲内の代表値との差分を減
じたものを補正量として出力し、前記飽和度が特定色の
飽和度範囲の代表値よりも小さい場合、前記飽和度と特
定色の飽和度範囲の下限値との差から特定色の色相範囲
内の代表値との差分を減じたものを補正量として出力
し、該補正量をスライスした出力の大きさに応じて第1
利得制御手段及び第2利得制御手段をそれぞれ独立して
制御し、特定色領域だけを色補正するため、他の色に影
響を与えることなくより境界が目立ちにくい自然な変化
で特定色の色補正を行なうことが可能となる効果があ
る。
According to the sixth aspect of the present invention, if the color is within the specific color area, the saturation is compared with the representative value of the saturation range of the specific color, and the saturation is set within the saturation range of the specific color. If the difference is larger than the representative value, a value obtained by subtracting the difference between the upper limit of the saturation range of the specific color and the representative value within the hue range of the specific color from the difference between the saturation and the saturation is output as a correction amount. Is smaller than the representative value of the saturation range of the specific color, the difference between the saturation and the lower limit of the saturation range of the specific color minus the difference between the representative value within the hue range of the specific color is corrected. The correction amount is output as a first amount according to the size of the sliced output.
Since the gain control means and the second gain control means are independently controlled to correct only the specific color area, the color correction of the specific color can be performed with a natural change in which the boundary is less noticeable without affecting other colors. Has the effect of being able to perform

【0061】請求項7の発明によれば、特定色領域内の
色であれば、飽和度と特定色の飽和度範囲の代表値とを
比較し、前記飽和度が特定色の飽和度範囲の代表値より
も大きい場合、特定色の飽和度範囲の上限値と前記飽和
度との差から特定色の色相範囲内の代表値との差分を減
じたものを補正量として出力し、前記飽和度が特定色の
飽和度範囲の代表値よりも小さい場合、前記飽和度と特
定色の飽和度範囲の下限値との差から特定色の色相範囲
内の代表値との差分を減じたものを補正量として出力
し、該絶対値を非線形変換した出力の大きさに応じて第
1利得制御手段及び第2利得制御手段をそれぞれ独立し
て制御し、特定色領域だけを色補正するため、他の色に
影響を与えることなくより境界が目立ちにくい自然な変
化で特定色の色補正を行なうことが可能となる効果があ
る。
According to the seventh aspect of the present invention, if the color is within the specific color region, the saturation is compared with the representative value of the saturation range of the specific color, and the saturation is determined to be within the saturation range of the specific color. If the difference is larger than the representative value, a value obtained by subtracting the difference between the upper limit of the saturation range of the specific color and the representative value within the hue range of the specific color from the difference between the saturation and the saturation is output as a correction amount. Is smaller than the representative value of the saturation range of the specific color, the difference between the saturation and the lower limit of the saturation range of the specific color minus the difference between the representative value within the hue range of the specific color is corrected. The first gain control means and the second gain control means are independently controlled in accordance with the magnitude of the output obtained by nonlinearly converting the absolute value, and color correction is performed only for a specific color area. Color correction of specific colors with natural changes that make the boundaries less noticeable without affecting the color There is an effect that it becomes possible to perform.

【0062】請求項8の発明によれば、特定色領域内の
色であれば、飽和度と特定色の飽和度範囲の代表値とを
比較し、前記飽和度が特定色の飽和度範囲の代表値より
も大きい場合、特定色の飽和度範囲の上限値と前記飽和
度との差から特定色の色相範囲内の代表値との差分を減
じたものを補正量として出力し、前記飽和度が特定色の
飽和度範囲の代表値よりも小さい場合、前記飽和度と特
定色の飽和度範囲の下限値との差から特定色の色相範囲
内の代表値との差分を減じたものを補正量として出力
し、該絶対値をローパスフィルタあるいはバンドパスフ
ィルタに通した出力の大きさに応じて第1利得制御手段
及び第2利得制御手段をそれぞれ独立して制御し、特定
色領域だけを色補正するため、他の色に影響を与えるこ
となくより境界が目立ちにくい自然な変化で特定色の色
補正を行なうことが可能となる効果がある。
According to the eighth aspect of the present invention, if the color is within the specific color area, the saturation is compared with the representative value of the saturation range of the specific color, and the saturation is determined to be within the saturation range of the specific color. If the difference is larger than the representative value, a value obtained by subtracting the difference between the upper limit of the saturation range of the specific color and the representative value within the hue range of the specific color from the difference between the saturation and the saturation is output as a correction amount. Is smaller than the representative value of the saturation range of the specific color, the difference between the saturation and the lower limit of the saturation range of the specific color minus the difference between the representative value within the hue range of the specific color is corrected. The first gain control means and the second gain control means are independently controlled in accordance with the magnitude of the output obtained by passing the absolute value through a low-pass filter or a band-pass filter. To make corrections, more boundaries are visible without affecting other colors. Chinikui the effect of making it possible to perform the specific color of the color correction in a natural variation.

【0063】請求項9の発明によれば、ルックアップテ
ーブルの容量を小さくしても演算誤差を小さくすること
が可能となる効果がある。
According to the ninth aspect of the invention, there is an effect that even if the capacity of the lookup table is reduced, the calculation error can be reduced.

【0064】請求項10の発明によれば、ルックアップ
テーブルの容量を小さくしても演算誤差を小さくするこ
とが可能となる効果がある。
According to the tenth aspect of the present invention, there is an effect that the calculation error can be reduced even if the capacity of the lookup table is reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施例1における映像信号処理装置を示すブロ
ック回路図である。
FIG. 1 is a block circuit diagram illustrating a video signal processing device according to a first embodiment.

【図2】実施例1、2、3、4における特定色の色相範
囲の代表値とルックアップテーブル1に書き込むデータ
の色相との関係を示す図である。
FIG. 2 is a diagram illustrating a relationship between a representative value of a hue range of a specific color and a hue of data to be written into a look-up table in Examples 1, 2, 3, and 4;

【図3】実施例1、9、10における特定色領域の飽和
度を記憶したルックアップテーブル1の内容を示す図で
ある。
FIG. 3 is a diagram showing the contents of a look-up table 1 that stores the degree of saturation of a specific color area in Examples 1, 9, and 10;

【図4】実施例1、9、10における特定色検出回路2
の構成を示す図である。
FIG. 4 is a specific color detection circuit 2 according to the first, ninth, and tenth embodiments.
FIG. 3 is a diagram showing the configuration of FIG.

【図5】実施例1における3次元空間での特定色領域を
示す図である。
FIG. 5 is a diagram illustrating a specific color area in a three-dimensional space according to the first embodiment.

【図6】実施例1における特定色領域の飽和度範囲に対
する近似度信号APの関係と検出信号Dの関係を示す図
である。
FIG. 6 is a diagram illustrating a relationship between an approximation signal AP and a detection signal D with respect to a saturation range of a specific color region in the first embodiment.

【図7】実施例2における映像信号処理装置を示すブロ
ック回路図である。
FIG. 7 is a block circuit diagram illustrating a video signal processing device according to a second embodiment.

【図8】実施例2における特定色領域の飽和度範囲に対
する近似度信号APの関係と検出信号Dの関係を示す図
である。
FIG. 8 is a diagram illustrating a relationship between an approximation signal AP and a detection signal D with respect to a saturation range of a specific color region according to the second embodiment.

【図9】実施例3における映像信号処理装置を示すブロ
ック回路図である。
FIG. 9 is a block circuit diagram illustrating a video signal processing device according to a third embodiment.

【図10】実施例3における特定色領域の飽和度範囲に
対する近似度信号APの関係と検出信号Dの関係を示す
図である。
FIG. 10 is a diagram illustrating a relationship between an approximation signal AP and a detection signal D with respect to a saturation range of a specific color region according to the third embodiment.

【図11】実施例4における映像信号処理装置を示すブ
ロック回路図である。
FIG. 11 is a block circuit diagram illustrating a video signal processing device according to a fourth embodiment.

【図12】実施例4における特定色領域の飽和度範囲に
対する近似度信号APの関係と検出信号Dの関係を示す
図である。
FIG. 12 is a diagram illustrating a relationship between an approximation signal AP and a detection signal D with respect to a saturation range of a specific color region according to a fourth embodiment.

【図13】実施例5における映像信号処理装置を示すブ
ロック回路図である。
FIG. 13 is a block circuit diagram illustrating a video signal processing device according to a fifth embodiment.

【図14】実施例6における映像信号処理装置を示すブ
ロック回路図である。
FIG. 14 is a block circuit diagram illustrating a video signal processing device according to a sixth embodiment.

【図15】実施例7における映像信号処理装置を示すブ
ロック回路図である。
FIG. 15 is a block circuit diagram illustrating a video signal processing device according to a seventh embodiment.

【図16】実施例8における映像信号処理装置を示すブ
ロック回路図である。
FIG. 16 is a block circuit diagram illustrating a video signal processing device according to an eighth embodiment.

【図17】実施例9における映像信号処理装置を示すブ
ロック回路図である。
FIG. 17 is a block circuit diagram illustrating a video signal processing device according to a ninth embodiment.

【図18】実施例9、10におけるR−Y色差信号及び
B−Y色差信号の各ビットの構成を示す図である。
FIG. 18 is a diagram illustrating a configuration of each bit of an RY color difference signal and a BY color difference signal in Examples 9 and 10.

【図19】実施例9、10におけるルックアップテーブ
ル1の容量を2^2m・qビットとした場合の飽和度C
3、そしてルックアップテーブル1の容量を2^2n・
(q−p)ビットとした場合のR−Y色差信号及びB−
Y色差信号の上位nビット分の飽和度C1とR−Y色差
信号及びB−Y色差信号の下位pビット分の飽和度C2
の関係を示す図である。
FIG. 19 shows the saturation C when the capacity of the lookup table 1 in the ninth and tenth embodiments is 2 ^ 2m · q bits.
3, and the capacity of the lookup table 1 is 2 ^ 2n ·
The RY color difference signal and B-
The saturation C1 for the upper n bits of the Y color difference signal and the saturation C2 for the lower p bits of the RY color difference signal and the BY color difference signal.
FIG.

【図20】実施例9、10における特定色検出回路2の
構成を示す図である。
FIG. 20 is a diagram illustrating a configuration of a specific color detection circuit 2 according to the ninth and tenth embodiments.

【図21】実施例9、10における飽和度と特定色識別
フラグを記憶したルックアップテーブル1の内容を示す
図である。
FIG. 21 is a diagram showing the contents of a lookup table 1 storing saturation and a specific color identification flag in Examples 9 and 10.

【図22】実施例10における映像信号処理装置を示す
ブロック回路図である。
FIG. 22 is a block circuit diagram illustrating a video signal processing device according to a tenth embodiment.

【図23】従来の映像信号処理装置を示すブロック回路
図である。
FIG. 23 is a block circuit diagram showing a conventional video signal processing device.

【符号の説明】[Explanation of symbols]

1 ルックアップテーブル 2 特定色検出回路 3 比較器 4 スイッチ回路 5、6 加算器 7 零比較器 8 ORゲート 9 加算器 10 スライス回路 11 非線形変換回路 12 フィルタ 13 第1利得制御回路 14 第2利得制御回路 15 第1演算回路 16 第2演算回路 17 第1ビットシフト回路 18 第2ビットシフト回路 19 第3ビットシフト回路 20、21、22 加算器 23 比較器 24、25、26 利得制御回路 Reference Signs List 1 lookup table 2 specific color detection circuit 3 comparator 4 switch circuit 5, 6 adder 7 zero comparator 8 OR gate 9 adder 10 slice circuit 11 nonlinear conversion circuit 12 filter 13 first gain control circuit 14 second gain control Circuit 15 First operation circuit 16 Second operation circuit 17 First bit shift circuit 18 Second bit shift circuit 19 Third bit shift circuit 20, 21, 22 Adder 23 Comparator 24, 25, 26 Gain control circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−69291(JP,A) 特開 平5−103335(JP,A) 特開 平1−314087(JP,A) 特開 昭63−177685(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 9/64 - 9/78 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-61-69291 (JP, A) JP-A-5-103335 (JP, A) JP-A-1-314087 (JP, A) JP-A-63-69291 177685 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 9/64-9/78

Claims (10)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 輝度信号と第1の色差信号と第2の色差
信号を映像信号として処理する映像信号処理装置におい
て、特定色の色相範囲内では第1の色差信号及び第2の
色差信号から定まる飽和度と、第1の色差信号及び第2
の色差信号から定まる色相と特定色の色相範囲の代表値
との差分を出力し、特定色の色相範囲外では前記出力値
と区別できる値を出力するルックアップテーブルを備
え、第1の色差信号と第2の色差信号を該ルックアップ
テーブルに入力することにより、特定色の色相範囲内か
つ飽和度範囲内か否かを判別し、特定色の色相範囲内か
つ飽和度範囲内の色であれば、特定色領域を示す検出信
号を出力し、前記飽和度と特定色の飽和度範囲の代表値
とを比較し、前記飽和度が特定色の飽和度範囲の代表値
よりも大きい場合、特定色の飽和度範囲の上限値と前記
飽和度との差から特定色の色相範囲の代表値との差分を
減じたものを出力し、前記飽和度が特定色の飽和度範囲
の代表値よりも小さい場合、前記飽和度と特定色の飽和
度範囲の下限値との差から特定色の色相範囲の代表値と
の差分を減じたものを出力することを特徴とする映像信
号処理装置。
1. A video signal processing device for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal, wherein the first color difference signal and the second color difference signal are within a hue range of a specific color. The determined saturation, the first color difference signal and the second
A look-up table for outputting a difference between a hue determined from the hue difference signal and a representative value of a hue range of the specific color, and outputting a value that can be distinguished from the output value outside the hue range of the specific color; And the second color difference signal are input to the look-up table to determine whether the color is within the hue range and the saturation range of the specific color, and determine whether the color is within the hue range and the saturation range of the specific color. For example, a detection signal indicating a specific color area is output , and the saturation is compared with a representative value of the saturation range of the specific color. If the saturation is larger than the representative value of the saturation range of the specific color, A value obtained by subtracting the difference between the upper limit of the color saturation range and the representative value of the hue range of the specific color from the difference between the saturation and the saturation is output, and the saturation is higher than the representative value of the saturation range of the specific color. If smaller, the saturation and the lower limit of the saturation range of the specific color Video signal processing device and outputs the minus the difference between the representative value of the hue range of the specific color from.
【請求項2】 輝度信号と第1の色差信号と第2の色差
信号を映像信号として処理する映像信号処理装置におい
て、特定色の色相範囲内では第1の色差信号及び第2の
色差信号から定まる飽和度と、第1の色差信号及び第2
の色差信号から定まる色相と特定色の色相範囲の代表値
との差分を出力し、特定色の色相範囲外では前記出力値
と区別できる値を出力するルックアップテーブルを備
え、第1の色差信号と第2の色差信号を該ルックアップ
テーブルに入力することにより、特定色の色相範囲内か
つ飽和度範囲内か否かを判別し、特定色の色相範囲内か
つ飽和度範囲内の色であれば、特定色領域を示す検出信
号を出力し、前記飽和度と特定色の飽和度範囲の代表値
とを比較し、前記飽和度が特定色の飽和度範囲の代表値
よりも大きい場合、特定色の飽和度範囲の上限値と前記
飽和度との差から特定色の色相範囲の代表値との差分を
減じたものをスライスして出力し、前記飽和度が特定色
の飽和度範囲の代表値よりも小さい場合、前記飽和度と
特定色の飽和度範囲の下限値との差から特定色の色相範
囲の代表値との差分を減じたものをスライスして出力す
ることを特徴とする映像信号処理装置。
2. A video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal, wherein the first color difference signal and the second color difference signal fall within a hue range of a specific color. The determined saturation, the first color difference signal and the second
A look-up table that outputs a difference between a hue determined from the hue difference signal and a representative value of a hue range of a specific color, and outputs a value that can be distinguished from the output value outside the hue range of the specific color; And the second color difference signal are input to the look-up table to determine whether the color is within the hue range and the saturation range of the specific color , and determine whether the color is within the hue range and the saturation range of the specific color. For example, a detection signal indicating a specific color area is output , and the saturation is compared with a representative value of the saturation range of the specific color. If the saturation is larger than the representative value of the saturation range of the specific color, The difference between the upper limit of the color saturation range and the difference between the saturation and the representative value of the hue range of the specific color is sliced and output, and the saturation is representative of the saturation range of the specific color. If less than the value, the saturation and the saturation range of the specific color A video signal processing apparatus characterized by outputting the sliced minus the difference between the representative value of the hue range of the specific color from the difference between the lower limit value.
【請求項3】 輝度信号と第1の色差信号と第2の色差
信号を映像信号として処理する映像信号処理装置におい
て、特定色の色相範囲内では第1の色差信号及び第2の
色差信号から定まる飽和度と、第1の色差信号及び第2
の色差信号から定まる色相と特定色の色相範囲の代表値
との差分を出力し、特定色の色相範囲外では前記出力値
と区別できる値を出力するルックアップテーブルを備
え、第1の色差信号と第2の色差信号を該ルックアップ
テーブルに入力することにより、特定色の色相範囲内か
つ飽和度範囲内か否かを判別し、特定色の色相範囲内か
つ飽和度範囲内の色であれば、特定色領域を示す検出信
号を出力し、前記飽和度と特定色の飽和度範囲の代表値
とを比較し、前記飽和度が特定色の飽和度範囲の代表値
よりも大きい場合、特定色の飽和度範囲の上限値と前記
飽和度との差から特定色の色相範囲の代表値との差分を
減じたものを非線形変換して出力し、前記飽和度が特定
色の飽和度範囲の代表値よりも小さい場合、前記飽和度
と特定色の飽和度範囲の下限値との差から特定色の色相
範囲の代表値との差分を減じたものを非線形変換して出
力することを特徴とする映像信号処理装置。
3. A video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal, wherein the first color difference signal and the second color difference signal fall within a hue range of a specific color. The determined saturation, the first color difference signal and the second
A look-up table that outputs a difference between a hue determined from the hue difference signal and a representative value of a hue range of a specific color, and outputs a value that can be distinguished from the output value outside the hue range of the specific color; And the second color difference signal are input to the look-up table to determine whether the color is within the hue range and the saturation range of the specific color , and determine whether the color is within the hue range and the saturation range of the specific color. For example, a detection signal indicating a specific color area is output , and the saturation is compared with a representative value of the saturation range of the specific color. If the saturation is larger than the representative value of the saturation range of the specific color, A value obtained by subtracting the difference between the upper limit of the color saturation range and the representative value of the hue range of the specific color from the difference between the saturation and the nonlinear conversion is output, and the saturation is the saturation of the specific color. If less than the representative value, the saturation and the saturation range of the specific color Video signal processing device and outputting non-linearly converting the minus the difference between the representative value of the hue range of the specific color from the difference between the lower limit of.
【請求項4】 輝度信号と第1の色差信号と第2の色差
信号を映像信号として処理する映像信号処理装置におい
て、特定色の色相範囲内では第1の色差信号及び第2の
色差信号から定まる飽和度と、第1の色差信号及び第2
の色差信号から定まる色相と特定色の色相範囲の代表値
との差分を出力し、特定色の色相範囲外では前記出力値
と区別できる値を出力するルックアップテーブルを備
え、第1の色差信号と第2の色差信号を該ルックアップ
テーブルに入力することにより、特定色の色相範囲内か
つ飽和度範囲内か否かを判別し、特定色の色相範囲内か
つ飽和度範囲内の色であれば、特定色領域を示す検出信
号を出力し、前記飽和度と特定色の飽和度範囲の代表値
とを比較し、前記飽和度が特定色の飽和度範囲の代表値
よりも大きい場合、特定色の飽和度範囲の上限値と前記
飽和度との差から特定色の色相範囲の代表値との差分を
減じたものをローパスフィルタあるいはバンドパスフィ
ルタに通して出力し、前記飽和度が特定色の飽和度範囲
の代表値よりも小さい場合、前記飽和度と特定色の飽和
度範囲の下限値との差から特定色の色相範囲の代表値と
の差分を減じたものをローパスフィルタあるいはバンド
パスフィルタに通して出力することを特徴とする映像信
号処理装置。
4. A video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal, wherein the first color difference signal and the second color difference signal are within a hue range of a specific color. The determined saturation, the first color difference signal and the second
A look-up table that outputs a difference between a hue determined from the hue difference signal and a representative value of a hue range of a specific color, and outputs a value that can be distinguished from the output value outside the hue range of the specific color; And the second color difference signal are input to the look-up table to determine whether the color is within the hue range and the saturation range of the specific color , and determine whether the color is within the hue range and the saturation range of the specific color. For example, a detection signal indicating a specific color area is output , and the saturation is compared with a representative value of the saturation range of the specific color. If the saturation is larger than the representative value of the saturation range of the specific color, A value obtained by subtracting the difference between the upper limit value of the color saturation range and the representative value of the hue range of the specific color from the difference between the saturation and the saturation is output through a low-pass filter or a band-pass filter, and the saturation is output for the specific color. Less than the typical value of the saturation range In the case, the difference between the saturation and the lower limit of the saturation range of the specific color minus the difference between the representative value of the hue range of the specific color is output through a low-pass filter or a band-pass filter. Video signal processing device.
【請求項5】 輝度信号と第1の色差信号と第2の色差
信号を映像信号として処理する映像信号処理装置におい
て、第1の色差信号を第2の色差信号に加減算する第1
演算手段と、第1の色差信号を第2の色差信号に加減算
する量を制御する第1利得制御手段と、第2の色差信号
を第1の色差信号に加減算する第2演算手段と、第2の
色差信号を第1の色差信号に加減算する量を制御する第
2利得制御手段と、特定色の色相範囲内では第1の色差
信号及び第2の色差信号から定まる飽和度と、第1の色
差信号及び第2の色差信号から定まる色相と特定色の色
相範囲の代表値との差分を出力し、特定色の色相範囲外
では前記出力値と区別できる値を出力するルックアップ
テーブルを備え、第1の色差信号と第2の色差信号を該
ルックアップテーブルに入力することにより特定色の色
相範囲内か否かを判別し、特定色の色相範囲内であれ
ば、さらに前記飽和度と輝度信号とを比較することによ
り、特定色の飽和度範囲内か否かを判別し、特定色の色
相範囲内かつ飽和度範囲内の色であれば、特定色領域を
示す検出信号を出力し、前記飽和度と特定色の飽和度範
囲の代表値とを比較し、前記飽和度が特定色の飽和度範
囲の代表値よりも大きい場合、特定色の飽和度範囲の上
限値と前記飽和度との差から特定色の色相範囲の代表値
との差分を減じたものを補正量として出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲の代表値との差分を減じたものを補正量と
して出力し、該補正量の大きさに応じて第1利得制御手
段及び第2利得制御手段をそれぞれ独立して制御し、特
定色領域の色補正を行なうことを特徴とする映像信号処
理装置。
5. A video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal, wherein a first color difference signal is added to or subtracted from a second color difference signal.
Computing means, first gain control means for controlling the amount of addition / subtraction of the first color difference signal to / from the second color difference signal, second computing means for adding / subtracting the second color difference signal to / from the first color difference signal, A second gain control means for controlling an amount of addition and subtraction of the second color difference signal from the first color difference signal; a saturation determined from the first color difference signal and the second color difference signal within a hue range of the specific color; A lookup table that outputs a difference between a hue determined from the color difference signal and the second color difference signal and a representative value of the hue range of the specific color, and outputs a value that can be distinguished from the output value outside the hue range of the specific color. By inputting the first color difference signal and the second color difference signal to the look-up table, it is determined whether or not the color is within the hue range of the specific color. By comparing with the luminance signal, the saturation of the specific color Determine囲内or not, if the color in a hue range and saturation range of the specific color, and outputs a detection signal indicating a specific color area, the representative value of saturation range of the specific color and the saturation When the saturation is larger than the representative value of the saturation range of the specific color, the difference between the upper limit of the saturation range of the specific color and the representative value of the hue range of the specific color from the difference between the saturation and the saturation. Is output as a correction amount, and when the saturation is smaller than the representative value of the saturation range of the specific color, the hue of the specific color is calculated from the difference between the saturation and the lower limit of the saturation range of the specific color. A value obtained by subtracting the difference from the representative value of the range is output as a correction amount, and the first gain control means and the second gain control means are independently controlled in accordance with the magnitude of the correction amount, so that the specific color area A video signal processing device for performing color correction.
【請求項6】 輝度信号と第1の色差信号と第2の色差
信号を映像信号として処理する映像信号処理装置におい
て、第1の色差信号を第2の色差信号に加減算する第1
演算手段と、第1の色差信号を第2の色差信号に加減算
する量を制御する第1利得制御手段と、第2の色差信号
を第1の色差信号に加減算する第2演算手段と、第2の
色差信号を第1の色差信号に加減算する量を制御する第
2利得制御手段と、特定色の色相範囲内では第1の色差
信号及び第2の色差信号から定まる飽和度と、第1の色
差信号及び第2の色差信号から定まる色相と特定色の色
相範囲の代表値との差分を出力し、特定色の色相範囲外
では前記出力値と区別できる値を出力するルックアップ
テーブルを備え、第1の色差信号と第2の色差信号を該
ルックアップテーブルに入力することにより特定色の色
相範囲内か否かを判別し、特定色の色相範囲内であれ
ば、さらに前記飽和度と輝度信号とを比較することによ
り、特定色の飽和度範囲内か否かを判別し、特定色の色
相範囲内かつ飽和度範囲内の色であれば、特定色領域を
示す検出信号を出力し、前記飽和度と特定色の飽和度範
囲の代表値とを比較し、前記飽和度が特定色の飽和度範
囲の代表値よりも大きい場合、特定色の飽和度範囲の上
限値と前記飽和度との差から特定色の色相範囲の代表値
との差分を減じたものを補正量として出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲の代表値との差分を減じたものを補正量と
して出力し、該補正量をスライスした出力の大きさに応
じて第1利得制御手段及び第2利得制御手段をそれぞれ
独立して制御し、特定色領域の色補正を行なうことを特
徴とする映像信号処理装置。
6. A video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal, wherein a first color difference signal is added to or subtracted from a second color difference signal.
Computing means, first gain control means for controlling the amount of addition / subtraction of the first color difference signal to / from the second color difference signal, second computing means for adding / subtracting the second color difference signal to / from the first color difference signal, A second gain control means for controlling an amount of addition and subtraction of the second color difference signal from the first color difference signal; a saturation determined from the first color difference signal and the second color difference signal within a hue range of the specific color; A lookup table that outputs a difference between a hue determined from the color difference signal and the second color difference signal and a representative value of the hue range of the specific color, and outputs a value that can be distinguished from the output value outside the hue range of the specific color. By inputting the first color difference signal and the second color difference signal to the look-up table, it is determined whether or not the color is within the hue range of the specific color. By comparing with the luminance signal, the saturation of the specific color Determine囲内or not, if the color in a hue range and saturation range of the specific color, and outputs a detection signal indicating a specific color area, the representative value of saturation range of the specific color and the saturation When the saturation is larger than the representative value of the saturation range of the specific color, the difference between the upper limit of the saturation range of the specific color and the representative value of the hue range of the specific color from the difference between the saturation and the saturation. Is output as a correction amount, and when the saturation is smaller than the representative value of the saturation range of the specific color, the hue of the specific color is calculated from the difference between the saturation and the lower limit of the saturation range of the specific color. A value obtained by subtracting the difference from the representative value of the range is output as a correction amount, and the first gain control means and the second gain control means are independently controlled according to the magnitude of the output obtained by slicing the correction amount, A video signal processing device for performing color correction of a specific color area.
【請求項7】 輝度信号と第1の色差信号と第2の色差
信号を映像信号として処理する映像信号処理装置におい
て、第1の色差信号を第2の色差信号に加減算する第1
演算手段と、第1の色差信号を第2の色差信号に加減算
する量を制御する第1利得制御手段と、第2の色差信号
を第1の色差信号に加減算する第2演算手段と、第2の
色差信号を第1の色差信号に加減算する量を制御する第
2利得制御手段と、特定色の色相範囲内では第1の色差
信号及び第2の色差信号から定まる飽和度と、第1の色
差信号及び第2の色差信号から定まる色相と特定色の色
相範囲の代表値との差分を出力し、特定色の色相範囲外
では前記出力値と区別できる値を出力するルックアップ
テーブルを備え、第1の色差信号と第2の色差信号を該
ルックアップテーブルに入力することにより特定色の色
相範囲内か否かを判別し、特定色の色相範囲内であれ
ば、さらに前記飽和度と輝度信号とを比較することによ
り、特定色の飽和度範囲内か否かを判別し、特定色の色
相範囲内かつ飽和度範囲内の色であれば、特定色領域を
示す検出信号を出力し、前記飽和度と特定色の飽和度範
囲の代表値とを比較し、前記飽和度が特定色の飽和度範
囲の代表値よりも大きい場合、特定色の飽和度範囲の上
限値と前記飽和度との差から特定色の色相範囲の代表値
との差分を減じたものを補正量として出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲の代表値との差分を減じたものを補正量と
して出力し、該補正量を非線形変換した出力の大きさに
応じて第1利得制御手段及び第2利得制御手段をそれぞ
れ独立して制御し、特定色領域の色補正を行なうことを
特徴とする映像信号処理装置。
7. A video signal processing apparatus for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal, wherein a first color difference signal is added to or subtracted from a second color difference signal.
Computing means, first gain control means for controlling the amount of addition / subtraction of the first color difference signal to / from the second color difference signal, second computing means for adding / subtracting the second color difference signal to / from the first color difference signal, A second gain control means for controlling an amount of addition and subtraction of the second color difference signal from the first color difference signal; a saturation determined from the first color difference signal and the second color difference signal within a hue range of the specific color; A lookup table that outputs a difference between a hue determined from the color difference signal and the second color difference signal and a representative value of the hue range of the specific color, and outputs a value that can be distinguished from the output value outside the hue range of the specific color. By inputting the first color difference signal and the second color difference signal to the look-up table, it is determined whether or not the color is within the hue range of the specific color. By comparing with the luminance signal, the saturation of the specific color Determine囲内or not, if the color in a hue range and saturation range of the specific color, and outputs a detection signal indicating a specific color area, the representative value of saturation range of the specific color and the saturation When the saturation is larger than the representative value of the saturation range of the specific color, the difference between the upper limit of the saturation range of the specific color and the representative value of the hue range of the specific color from the difference between the saturation and the saturation. Is output as a correction amount, and when the saturation is smaller than the representative value of the saturation range of the specific color, the hue of the specific color is calculated from the difference between the saturation and the lower limit of the saturation range of the specific color. A value obtained by subtracting the difference from the representative value of the range is output as a correction amount, and the first gain control means and the second gain control means are independently controlled according to the magnitude of the output obtained by nonlinearly converting the correction amount. A video signal processing device for performing color correction of a specific color region.
【請求項8】 輝度信号と第1の色差信号と第2の色差
信号を映像信号として処理する映像信号処理装置におい
て、第1の色差信号を第2の色差信号に加減算する第1
演算手段と、第1の色差信号を第2の色差信号に加減算
する量を制御する第1利得制御手段と、第2の色差信号
を第1の色差信号に加減算する第2演算手段と、第2の
色差信号を第1の色差信号に加減算する量を制御する第
2利得制御手段と、特定色の色相範囲内では第1の色差
信号及び第2の色差信号から定まる飽和度と、第1の色
差信号及び第2の色差信号から定まる色相と特定色の色
相範囲の代表値との差分を出力し、特定色の色相範囲外
では前記出力値と区別できる値を出力するルックアップ
テーブルを備え、第1の色差信号と第2の色差信号を該
ルックアップテーブルに入力することにより特定色の色
相範囲内か否かを判別し、特定色の色相範囲内であれ
ば、さらに前記飽和度と輝度信号とを比較することによ
り、特定色の飽和度範囲内か否かを判別し、特定色の色
相範囲内かつ飽和度範囲内の色であれば、特定色領域を
示す検出信号を出力し、前記飽和度と特定色の飽和度範
囲の代表値とを比較し、前記飽和度が特定色の飽和度範
囲の代表値よりも大きい場合、特定色の飽和度範囲の上
限値と前記飽和度との差から特定色の色相範囲の代表値
との差分を減じたものを補正量として出力し、前記飽和
度が特定色の飽和度範囲の代表値よりも小さい場合、前
記飽和度と特定色の飽和度範囲の下限値との差から特定
色の色相範囲の代表値との差分を減じたものを補正量と
して出力し、該補正量をローパスフィルタあるいはバン
ドパスフィルタに通した出力の大きさに応じて第1利得
制御手段及び第2利得制御手段をそれぞれ独立して制御
し、特定色領域の色補正を行なうことを特徴とする映像
信号処理装置。
8. A video signal processing device for processing a luminance signal, a first color difference signal, and a second color difference signal as a video signal, wherein a first color difference signal is added to or subtracted from a second color difference signal.
Computing means, first gain control means for controlling the amount of addition / subtraction of the first color difference signal to / from the second color difference signal, second computing means for adding / subtracting the second color difference signal to / from the first color difference signal, A second gain control means for controlling an amount of addition and subtraction of the second color difference signal from the first color difference signal; a saturation determined from the first color difference signal and the second color difference signal within a hue range of the specific color; A lookup table that outputs a difference between a hue determined from the color difference signal and the second color difference signal and a representative value of the hue range of the specific color, and outputs a value that can be distinguished from the output value outside the hue range of the specific color. By inputting the first color difference signal and the second color difference signal to the look-up table, it is determined whether or not the color is within the hue range of the specific color. By comparing with the luminance signal, the saturation of the specific color Determine囲内or not, if the color in a hue range and saturation range of the specific color, and outputs a detection signal indicating a specific color area, the representative value of saturation range of the specific color and the saturation When the saturation is larger than the representative value of the saturation range of the specific color, the difference between the upper limit value of the saturation range of the specific color and the saturation and the representative value of the hue range of the specific color from the difference between the saturations. Is output as a correction amount, and when the saturation is smaller than the representative value of the saturation range of the specific color, the hue of the specific color is calculated from the difference between the saturation and the lower limit of the saturation range of the specific color. A value obtained by subtracting the difference from the representative value of the range is output as a correction amount. The first gain control means and the second gain control means output the correction amount through a low-pass filter or a band-pass filter according to the magnitude of the output. Perform independent color correction for specific color areas A video signal processing apparatus according to claim.
【請求項9】 上記請求項1〜8の映像信号処理装置に
備えられたルックアップテーブルの内容は第1の色差信
号及び第2の色差信号から定まる飽和度と、第1の色差
信号及び第2の色差信号から定まる色相と特定色の色相
範囲の代表値との差分と、特定色の色相範囲内か色相範
囲外かを区別する色相範囲識別フラグであり、第1の色
差信号及び第2の色差信号が特定色の色相範囲内である
場合、mビットの第1の色差信号及びmビットの第2の
色差信号の上位nビット分をそれぞれルックアップテー
ブルに入力して、出力の飽和度部分をm−nビット分だ
け大きくしたものを第1飽和度とし、第1の色差信号の
下位m−nビット分と第2の色差信号の下位m−nビッ
ト分をそれぞれ該ルックアップテーブルに入力して得ら
れる出力の飽和度部分を第1飽和度に加算したものを第
1の色差信号及び第2の色差信号から定まる飽和度とす
ることを特徴とする映像信号処理装置。
9. The contents of a look-up table provided in the video signal processing device according to any one of claims 1 to 8, wherein the content of the look-up table is a saturation determined from the first color difference signal and the second color difference signal, and the first color difference signal and the second color difference signal. a hue determined from the second color difference signal and the difference between the representative value of the hue range of the specific color, Ri distinguishing color gamut identification flag der whether out hue range or within a hue range of the specific color, the first color difference signal and the If the two color difference signals are within the hue range of the specific color, the upper n bits of the m-bit first color difference signal and the m-bit second color difference signal are input to the look-up table, respectively, and the output is saturated. The first saturation is obtained by increasing the degree portion by mn bits , and the lower mn bits of the first color difference signal and the lower mn bits of the second color difference signal are respectively looked up. Saturation part of output obtained by input to table A video signal processing apparatus characterized in that the sum of the first and second saturations is used as a saturation determined from a first color difference signal and a second color difference signal.
【請求項10】 上記請求項1〜8の映像信号処理装置
に備えられたルックアップテーブルの内容は第1の色差
信号及び第2の色差信号から定まる飽和度と、第1の色
差信号及び第2の色差信号から定まる色相と特定色の色
相範囲の代表値との差分と、特定色の色相範囲内か色相
範囲外かを区別する色相範囲識別フラグであり、第1の
色差信号及び第2の色差信号が特定色の色相範囲内であ
る場合、mビットの第1の色差信号及びmビットの第2
の色差信号の上位nビット分をそれぞれルックアップテ
ーブルに入力して、出力の飽和度部分をm−nビット分
だけ大きくしたものを第1飽和度とし、第1の色差信号
の下位m−nビット分と第2の色差信号の下位m−nビ
ット分を比較器により比較して大きい方を第1飽和度と
加算したものを第1の色差信号及び第2の色差信号から
定まる飽和度とすることを特徴とする映像信号処理装
置。
10. The contents of a look-up table provided in the video signal processing device according to claim 1 are a saturation determined from a first color difference signal and a second color difference signal, and a first color difference signal and a second color difference signal. a hue determined from the second color difference signal and the difference between the representative value of the hue range of the specific color, Ri distinguishing color gamut identification flag der whether out hue range or within a hue range of the specific color, the first color difference signal and the When the two color difference signals are within the hue range of the specific color, the m-bit first color difference signal and the m-bit second color difference signal
And the upper n bits of the color difference signals input to the look-up table, respectively, those of the saturation portion of the output was increased by m-n bits to a first saturation, lower first color difference signal m- The n bits and the lower mn bits of the second color difference signal are compared by a comparator, and the larger one is added to the first saturation, and the saturation determined from the first color difference signal and the second color difference signal. A video signal processing device.
JP20779593A 1993-08-23 1993-08-23 Video signal processing device Expired - Fee Related JP3344016B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20779593A JP3344016B2 (en) 1993-08-23 1993-08-23 Video signal processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20779593A JP3344016B2 (en) 1993-08-23 1993-08-23 Video signal processing device

Publications (2)

Publication Number Publication Date
JPH0767131A JPH0767131A (en) 1995-03-10
JP3344016B2 true JP3344016B2 (en) 2002-11-11

Family

ID=16545624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20779593A Expired - Fee Related JP3344016B2 (en) 1993-08-23 1993-08-23 Video signal processing device

Country Status (1)

Country Link
JP (1) JP3344016B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7663585B2 (en) 2004-05-18 2010-02-16 Funai Electric Co., Ltd. Television apparatus having liquid crystal display

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998042142A1 (en) * 1997-03-14 1998-09-24 Sony Corporation Color correction device, color correction method, picture processing device, and picture processing method
JP4526167B2 (en) * 2000-08-11 2010-08-18 ローム株式会社 Hue conversion method
JP3845867B2 (en) * 2003-03-27 2006-11-15 ソニー株式会社 Imaging apparatus and imaging method
JP4042736B2 (en) 2004-02-19 2008-02-06 ソニー株式会社 Image processing apparatus and image processing method
JP2006148607A (en) * 2004-11-19 2006-06-08 Sony Corp Image processing apparatus and image processing method
KR100763235B1 (en) * 2005-10-21 2007-10-04 삼성전자주식회사 Method and apparatus for calibrating color property of monitor
JP4652992B2 (en) * 2006-02-23 2011-03-16 ルネサスエレクトロニクス株式会社 Color correction apparatus, color correction method, and program
JP4523667B2 (en) * 2008-08-29 2010-08-11 シャープ株式会社 Video display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7663585B2 (en) 2004-05-18 2010-02-16 Funai Electric Co., Ltd. Television apparatus having liquid crystal display

Also Published As

Publication number Publication date
JPH0767131A (en) 1995-03-10

Similar Documents

Publication Publication Date Title
JP3472312B2 (en) Color image processing method and apparatus
JP3344016B2 (en) Video signal processing device
US7301573B2 (en) Apparatus for and method of edge enhancement in image processing
WO2002021849A1 (en) Image processor and colorimetric system converting method
US7599552B2 (en) Image processing apparatus, and color correction method and lookup table
JP3255258B2 (en) Image display device
JP3171081B2 (en) Image processing device
JP3298246B2 (en) Video signal processing device and video signal processing method
JP2876853B2 (en) Color converter
JP2907109B2 (en) Color noise slicing circuit and method for imaging device
US5801974A (en) Calculation method and circuit for obtaining a logarithmic approximation value
JP3781107B2 (en) Color adjustment device
JP3348499B2 (en) Cyclic noise reduction device
JPH04304775A (en) Color correction method for color picture signal
JPH05227421A (en) Chromimage signal conversion device
JPH11243556A (en) Color level control method for color output of video decoder, and automatic color saturation degree controller
JP4028615B2 (en) Signal processing system, image processing apparatus, and circuit for converting signal
US20230124680A1 (en) Iq to phase conversion method and apparatus
US5831687A (en) Color video signal processing method and apparatus for converting digital color difference component signals into digital RGB component signals by a digital conversion
JP3214660B2 (en) Motion vector detection device
JP3039654B2 (en) Image reduction apparatus and method
JP2001086353A (en) Image-processing method and image processor thereof
JPH0145273B2 (en)
JP2994665B2 (en) Image processing method
Ikegami New direct color mapping method for reducing the storage capacity of look-up table memory

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070830

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080830

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080830

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090830

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090830

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100830

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110830

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110830

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120830

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees