JP3043206B2 - Video signal processing apparatus and video signal processing method - Google Patents

Video signal processing apparatus and video signal processing method

Info

Publication number
JP3043206B2
JP3043206B2 JP5231988A JP23198893A JP3043206B2 JP 3043206 B2 JP3043206 B2 JP 3043206B2 JP 5231988 A JP5231988 A JP 5231988A JP 23198893 A JP23198893 A JP 23198893A JP 3043206 B2 JP3043206 B2 JP 3043206B2
Authority
JP
Japan
Prior art keywords
color
color difference
screen
pixel
difference signal
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 - Lifetime
Application number
JP5231988A
Other languages
Japanese (ja)
Other versions
JPH0787516A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP5231988A priority Critical patent/JP3043206B2/en
Publication of JPH0787516A publication Critical patent/JPH0787516A/en
Application granted granted Critical
Publication of JP3043206B2 publication Critical patent/JP3043206B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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 apparatus and a video signal processing method, and more particularly, to a video signal used for an image pickup section such as a video camera, and more particularly to a color signal such as a color difference signal and a color signal. The present invention relates to an improvement in a signal processing apparatus and a signal processing method.

【0002】[0002]

【従来の技術】一般のCCDカメラの撮像部において
は、CCDからの出力信号に対して各種の信号処理をす
ることで画像の適正な色表示が実現される。その信号処
理の一つとしてホワイトバランスの調整が挙げられる。
ホワイトバランスとは、白色の被写体を撮像したとき、
カラーフィルタが装着されたCCDから得られる映像信
号の色成分(R、G、B)ののレベルを均一にすること
であり、この状態を適正にとることによって白色の被写
体が白色として表されることになり、画面全体に赤みが
かったり、あるいは青みがかったりしない正常な色彩の
画像を得ることができる。従って、このホワイトバラン
スを正しく調整するように各成分系の出力信号(R、
G、B)に適当なゲインをかける処理が必要になる。こ
のゲインをホワイトバランスゲインと称する。
2. Description of the Related Art In an image pickup section of a general CCD camera, an appropriate color display of an image is realized by performing various kinds of signal processing on an output signal from the CCD. One of the signal processing is white balance adjustment.
White balance is when a white subject is imaged.
This is to make the level of the color components (R, G, B) of the video signal obtained from the CCD equipped with the color filter uniform, and by properly taking this state, a white subject is represented as white. That is, it is possible to obtain an image of a normal color in which the entire screen is not reddish or bluish. Therefore, the output signals (R,
G, B) requires a process of applying an appropriate gain. This gain is called a white balance gain.

【0003】このホワイトバランスゲインの調整の一つ
の方法として、R〔赤〕、G〔緑〕、B〔青〕の各原色
系の信号から輝度信号(Y)を差し引いて得られる色差
信号(R−Y、G−Y、B−Y)を1画面ごとに積分処
理し、この積分値がそれぞれ所定値(一般的には0であ
る)に収束するようにホワイトバランスゲインを設定す
る方法が提案されている。
As one method of adjusting the white balance gain, a color difference signal (R) obtained by subtracting a luminance signal (Y) from signals of respective primary colors of R (red), G (green), and B (blue) is used. −Y, GY, and BY) are integrated for each screen, and a method of setting a white balance gain such that the integrated values converge to predetermined values (generally, 0) is proposed. Have been.

【0004】すなわち、もし各色に対する色差信号(R
−Y,G−Y,B−Y)のいずれかが所定値を越えてい
れば、その色が画面に占める割合が大きいことになり、
その色に画面が支配される。例えば、赤色に対する色差
信号(R−Y)の積分値が所定値を越えているとすれば
画面が全体に赤っぽくなってしまうことになる。よっ
て、ホワイトバランスが適正にとれているときには、全
ての原色系の色差信号(R−Y、G−Y、B−Y)の1
画面分の積分値が0になっているはずなので、各色差信
号(R−Y、G−Y、B−Y)を1画面分について積分
処理し、その積分値が0になるように各色にかけるホワ
イトバランスゲインを設定すればよいわけである。
That is, if a color difference signal (R
-Y, GY, BY) exceeds a predetermined value, the ratio of the color to the screen is large,
The screen is dominated by that color. For example, if the integrated value of the color difference signal (R-Y) for red exceeds a predetermined value, the entire screen becomes reddish. Therefore, when the white balance is properly maintained, one of the color difference signals (RY, GY, BY) of all the primary colors is obtained.
Since the integral value of the screen should be 0, each color difference signal (RY, GY, BY) is integrated for one screen, and each color difference signal is processed so that the integral value becomes 0. What is necessary is just to set the applied white balance gain.

【0005】具体的に青色を例に採ると、1画面ごとに
青色に対する色差信号(B−Y)の積分値をとり、B
〔青〕にかけるホワイトバランスゲイン(Bg)は、 (B−Y)の積分値>0のときはBgを下げる (B−Y)の積分値<0のときはBgを上げる というように設定する。このような設定をG〔緑〕、R
〔赤〕においても行うことによって、各色差信号(R−
Y、G−Y、B−Y)の1画面分の積分値が0に収束す
ることになる。従って、ホワイトバランスゲインをこの
ように調整することによって、ホワイトバランスを適正
な状態にしていた。
Specifically, taking blue as an example, an integral value of a color difference signal (BY) with respect to blue is calculated for each screen, and B
The white balance gain (Bg) applied to [blue] is set to lower Bg when the integral value of (BY)> 0, and to increase Bg when the integral value of (BY) <0. . Such setting is G [green], R
By performing the same for [red], each color difference signal (R-
The integrated value for one screen of (Y, GY, BY) converges to zero. Therefore, by adjusting the white balance gain in this way, the white balance is brought into an appropriate state.

【0006】上記方法を実現する装置の一例を図5に示
す。従来例に係る映像信号処理装置は、図5に示すよう
に積分回路(1),ホワイトバランスゲイン生成部
(2)、バランス調整回路(3)及び色差マトリクス回
路(4)からなる。なお、積分回路(1)ホワイトバラ
ンスゲイン生成部(2)及びバランス調整回路(3)に
ついては、R〔赤〕系及びG〔緑〕系のそれぞれにも設
けられるものであるが、B〔青〕系回路と同一構成であ
り、説明は省略する。
FIG. 5 shows an example of an apparatus for realizing the above method. As shown in FIG. 5, the video signal processing device according to the conventional example includes an integration circuit (1), a white balance gain generation unit (2), a balance adjustment circuit (3), and a color difference matrix circuit (4). The integrating circuit (1), the white balance gain generating section (2) and the balance adjusting circuit (3) are provided in each of the R [red] system and the G [green] system. ] It has the same configuration as the system circuit, and the description is omitted.

【0007】当該装置によれば、まず色差マトリクス回
路(4)から積分回路(1)に青色に対する色差信号
(B−Y)が順次入力され、一画面分が画素毎に順次加
算されることによって積分データ(ID)がホワイトバ
ランスゲイン生成部(2)に出力される。次に、ホワイ
トバランスゲイン生成部(2)によって、積分データ
(ID)が正のときは色信号(B)にかけるホワイトバ
ランスゲイン(Bg)を下げ、積分データ(ID)が負
のときは色信号(B)にかけるホワイトバランスゲイン
(Bg)を上げるという処理に基づいてホワイトバラン
スゲイン(Bg)が算出処理され、バランス調整回路
(3)に出力される。次いで、色信号(B)と、ホワイ
トバランスゲイン(Bg)とがバランス調整回路(3)
によって乗算処理された後に、色差マトリクス回路
(4)に出力される。このとき、色差マトリクス回路
(4)にはR〔赤〕系、G〔緑〕系の各回路から出力さ
れる色信号(R、G)が入力されており、これら各色信
号(R、G、B)に対応する乗算処理結果データに基づ
いてその都度色差信号(R−Y、G−Y、B−Y)を生
成している。
According to this device, first, the color difference signals (BY) for blue are sequentially input from the color difference matrix circuit (4) to the integration circuit (1), and one screen portion is sequentially added for each pixel. The integration data (ID) is output to the white balance gain generation section (2). Next, the white balance gain (Bg) to be applied to the color signal (B) is lowered by the white balance gain generation unit (2) when the integration data (ID) is positive, and the color is lowered by the white balance gain when the integration data (ID) is negative. The white balance gain (Bg) is calculated based on the process of increasing the white balance gain (Bg) applied to the signal (B), and is output to the balance adjustment circuit (3). Next, the color signal (B) and the white balance gain (Bg) are converted into a balance adjustment circuit (3).
After being multiplied by the above, the result is output to the color difference matrix circuit (4). At this time, the color signals (R, G) output from the R [red] system and G [green] system circuits are input to the color difference matrix circuit (4), and these color signals (R, G, A color difference signal (RY, GY, BY) is generated each time based on the multiplication result data corresponding to B).

【0008】以上のようにしてホワイトバランスゲイン
を調整することにより、青の色差信号(B−Y)の1画
面についての積分値が0に収束していくので、上記のホ
ワイトバランスゲインの調整方法が実施できる。
By adjusting the white balance gain as described above, the integral value of one color of the blue color difference signal (BY) converges to 0. Can be implemented.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、従来例
に係る映像信号処理方法によると、画面の色彩の状態に
よらず、一律に各色の色差信号(R−Y,G−Y,B−
Y)の1画面分の積分値が0になるように調整していた
ので、以下に示すような問題が生じる。例えば、屋外で
晴れた風景を撮って、画面の上半分に青空が撮像された
ように、連続した同一色が画面上の多くの領域を占めて
いるような場合には、画面の半分を青一色が占めている
ため、青色の色差信号(B−Y)の1画面分の積分値を
とると、 (B−Y)の積分値>0 となり、上記の映像信号処理方法によって(B−Y)の
積分値>0なので青色にかけるホワイトバランスゲイン
(Bg)を下げるという処理がなされてしまう。
However, according to the video signal processing method according to the prior art, the color difference signals (R-Y, G-Y, B-) of each color are uniformly determined regardless of the color state of the screen.
Since the integration value of one screen of Y) is adjusted to be 0, the following problem occurs. For example, if a continuous landscape occupies many areas on the screen, such as taking a sunny landscape outdoors and capturing a blue sky in the upper half of the screen, half of the screen is blue. Since one color is occupied, if the integral of one screen of the blue color difference signal (BY) is obtained, the integral of (BY)> 0, and (BY) is obtained by the above-described video signal processing method. ))> 0, the process of reducing the white balance gain (Bg) applied to blue is performed.

【0010】即ち、実際は画面が青みがかっているので
はなく、青が連続した領域が画面の大半を占めているの
で青の色差信号(B−Y)の積分値が正になっている
が、実際にはホワイトバランスが適正にとれているよう
な状態のとき、上記した青に乗算するホワイトバランス
ゲイン(Bg)を下げる処理がなされる。このため、ホ
ワイトバランスゲイン(Bg)が下がってホワイトバラ
ンスが崩れてしまい、画像全体が逆に赤みがかったり、
青空の色が実際よりも白っぽく表されてしまうなど、適
正な色彩による画像表示が得られないとなどいった問題
が生じていた。
That is, although the screen is not actually bluish, but the area where blue is continuous occupies most of the screen, the integrated value of the blue color difference signal (BY) is positive. In the state where the white balance is properly maintained, the above-described processing for lowering the white balance gain (Bg) by which the blue color is multiplied is performed. For this reason, the white balance gain (Bg) decreases and the white balance is lost, and the entire image becomes reddish or
There have been problems such as that the color of the blue sky appears whiter than it actually is, and that an image display with an appropriate color cannot be obtained.

【0011】[0011]

【課題を解決するための手段】本発明は上記従来の欠点
に鑑み成されたもので、画面内で色彩が変化する部分の
画素を検出し、該色彩が変化する部分の画素での色差信
号(C−Y)のみを選択出力する色変化検出手段(1
1)と、色変化検出手段(11)からの色差信号(C−
Y)を1画面ごとに積分処理し、積分情報(ID)を生
成する積分手段(12)と、前記積分情報(ID)に基
づいゲインデータを生成し、このゲインデータを映像信
号の色成分に乗じてホワイトバランスを調整するホワイ
トバランス調整手段(13)を具備するものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional drawbacks, and detects a pixel in a portion of a screen where a color changes, and detects a color difference signal in the pixel of the portion where the color changes. Color change detection means (1) for selectively outputting only (CY)
1) and a color difference signal (C-
Y) for each screen, integrating means (12) for generating integration information (ID), and gain data based on the integration information (ID), and using the gain data as a color component of a video signal. A white balance adjusting means (13) for adjusting the white balance by multiplication is provided.

【0012】そして、第1のステップで画面内で色彩が
変化した画素を検出し、該色彩が変化した画素の色差信
号(C−Y)のみを選択的に取得処理し、第2のステッ
プで前記取得処理された色差信号(C−Y)を1画面に
ついて積分処理し、第3のステップで前記積分処理結果
に基づいてホワイトバランスを調整する映像信号処理方
法により、たとえ連続した同一色が画面の多くの領域を
占めているような場合においても、適正な色彩の画像表
示を得ることを可能にする。
Then, in the first step, a pixel whose color has changed in the screen is detected, and only the color difference signal (C-Y) of the pixel whose color has changed is selectively obtained, and in the second step, According to the video signal processing method of integrating the acquired color difference signal (C-Y) for one screen and adjusting the white balance based on the result of the integration processing in the third step, even if the same color is continuously displayed on the screen, It is possible to obtain an image display of an appropriate color even in a case where a large area is occupied.

【0013】[0013]

【作 用】本発明に係る映像信号処理装置によれば、図
1に示すように、色変化検出手段(11)と、積分手段
(12)とホワイトバランス調整手段(13)を具備し
ている。例えば、各画素の色差信号(C−Y)に基づい
て、色変化検出手段(11)によって画面内で色彩が変
化する部分の画素が検出され、色彩が変化する部分の画
素での色差信号(C−Y)のみが選択出力され、積分手
段(12)によって色差信号(C−Y)が1画面ごとに
積分処理されて積分情報(ID)が生成され、積分情報
(ID)に基づいてホワイトバランス調整手段(13)
によってホワイトバランスが調整されている。このた
め、画面内で色が変化した部分の色差信号(C−Y)の
みを選択的に積分処理することが可能になる。
According to the video signal processing apparatus of the present invention, as shown in FIG. 1, there are provided a color change detecting means (11), an integrating means (12) and a white balance adjusting means (13). . For example, based on the color difference signal (C-Y) of each pixel, the color change detecting means (11) detects a pixel of a portion where the color changes in the screen, and detects a color difference signal of the pixel of the portion where the color changes ( CY) is selected and output, and the color difference signal (CY) is integrated for each screen by the integration means (12) to generate integration information (ID). Based on the integration information (ID), white information is generated. Balance adjusting means (13)
Has adjusted the white balance. For this reason, it is possible to selectively integrate only the color difference signal (C-Y) of the portion where the color has changed in the screen.

【0014】また、本発明に係る映像信号処理方法によ
れば、図2に示すように、ステップP1で画面内で色彩
が変化した画素を検出し、色彩が変化した画素の色差信
号(C−Y)のみを選択的に取得処理し、ステップP2
で取得処理された色差信号(C−Y)を1画面について
積分処理し、ステップP3で積分処理結果に基づいてホ
ワイトバランスを調整しているので、画面内で色が変化
した部分の色差信号(C−Y)のみを選択的に積分処理
することができる。従って、同一色が連続しているよう
な領域においては色差信号(C−Y)の積分処理がなさ
れないので、同一色が連続しているような領域が画面の
大半を占めているような画像においても、ホワイトバラ
ンスが正しくとれているような場合には色差信号(C−
Y)の1画面分の積分値は所定値となり、正しくホワイ
トバランスを調整することができ、適正な色彩の画像表
示を得ることが可能になる。
Further, according to the video signal processing method according to the present invention, as shown in FIG. 2, in step P1, a pixel whose color has changed in the screen is detected, and a color difference signal (C−C−C) of the pixel whose color has changed is detected. Only Y) is selectively acquired, and step P2
Since the color difference signal (C-Y) acquired in step (1) is integrated for one screen and the white balance is adjusted based on the result of the integration processing in step P3, the color difference signal ( Only CY) can be selectively integrated. Therefore, since the integration process of the color difference signal (C-Y) is not performed in an area where the same color is continuous, an image in which the area where the same color is continuous occupies most of the screen. In the case where the white balance is properly obtained, the color difference signal (C-
The integrated value for one screen of Y) is a predetermined value, so that the white balance can be correctly adjusted, and an image display of an appropriate color can be obtained.

【0015】[0015]

【実施例】以下に本発明の実施例に係る映像信号処理装
置及び映像信号処理方法について図面を参照しながら説
明する。なお、以下で説明する映像信号処理装置は、本
来R、G、Bの3色(あるいはR、Bの2色)について
それぞれ1つずつ必要であるが、本実施例においては、
Bについてのみ説明し、G、Rについては、構成、動作
ともに共通なので説明を省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A video signal processing apparatus and a video signal processing method according to an embodiment of the present invention will be described below with reference to the drawings. Note that the video signal processing device described below originally needs one for each of the three colors R, G, and B (or two colors for R and B), but in this embodiment,
Only B will be described, and G and R will not be described because they have the same configuration and operation.

【0016】当該装置は、図3に示すように色変化検出
回路(11)及び積分回路(12)からなり、青色の色
差信号(B−Y)を自身に入力し、画面の色が変化した
領域でのみ色差信号(B−Y)の積分処理をして得られ
た積分データ(ID)を不図示のホワイトバランスゲイ
ン生成部に出力する装置である。色変化検出回路(1
1)は、色変化検出手段(11)の一実施例であって、
色彩が変化した画素における色差信号(B−Y)のみを
積分回路(12)に選択出力するものであり、色差信号
差分検出部(11A),比較回路(11B)及びAND
回路(11C)からなる。色差信号差分検出部(11
A)は色情報差分検出部の一実施例であって、第1〜第
3のラッチ回路(111〜113),減算器(114)及び絶対
値化回路(115)からなり、画面内のn番目の画素〔以
下第nの画素と称する〕の色差信号(B−Y)から、
(n−2)番目の画素〔以下第(n−2)の画素と称す
る〕の色差信号(B−Y)を減ずる減算処理をしたのち
に減算結果を絶対値化して差分データ(DD)として比
較回路(11B)に出力し、同時に、第nの画素の色差
信号(B−Y)をAND回路(11C)に出力するもの
である。比較回路(11B)は比較手段の一実施例であ
って、差分データ(DD)と、一定値の基準データ(S
D)とを比較処理し、差分データ(DD)が基準データ
(SD)を超えた場合にはハイレベル〔以下“H”と称
する〕の積分許可信号(IA)をAND回路(11C)
に出力し、差分データ(DD)が基準データ(SD)を
超えない場合にはローレベル〔以下“L”と称する〕の
積分許可信号(IA)をAND回路(11C)に出力す
るものである。AND回路(11C)は、積分許可信号
(IA)に基づいて第nの画素の色差信号(B−Y)を
積分回路(12)に選択出力するものであって、積分許
可信号(IA)が“H”のときには第nの画素の色差信
号(B−Y)を積分回路(12)に出力し、“L”のと
きには第nの画素の色差信号(B−Y)を積分回路(1
2)に出力しないという動作をする回路である。
The apparatus comprises a color change detection circuit (11) and an integration circuit (12), as shown in FIG. 3, and inputs a blue color difference signal (BY) to itself to change the color of the screen. This is an apparatus that outputs integrated data (ID) obtained by performing an integration process of a color difference signal (BY) only in a region to a white balance gain generation unit (not shown). Color change detection circuit (1
1) is an embodiment of the color change detecting means (11),
Only the color difference signal (BY) of the pixel whose color has changed is selectively output to the integration circuit (12). The color difference signal difference detection unit (11A), the comparison circuit (11B), and the AND circuit
It consists of a circuit (11C). Color difference signal difference detection unit (11
A) is an embodiment of a color information difference detection unit, which comprises first to third latch circuits (111 to 113), a subtractor (114), and an absolute value conversion circuit (115), From the color difference signal (BY) of the nth pixel (hereinafter referred to as the nth pixel),
After performing a subtraction process for subtracting the color difference signal (BY) of the (n-2) th pixel (hereinafter referred to as an (n-2) th pixel), the subtraction result is converted into an absolute value to be used as difference data (DD). The color difference signal (BY) of the n-th pixel is output to the AND circuit (11C) at the same time as being output to the comparison circuit (11B). The comparison circuit (11B) is an embodiment of the comparison means, and includes difference data (DD) and reference data (S
D), and when the difference data (DD) exceeds the reference data (SD), an integration permission signal (IA) of a high level [hereinafter referred to as “H”] is output to an AND circuit (11C).
And when the difference data (DD) does not exceed the reference data (SD), a low-level (hereinafter, referred to as “L”) integration enable signal (IA) is output to the AND circuit (11C). . The AND circuit (11C) selectively outputs the color difference signal (BY) of the n-th pixel to the integration circuit (12) based on the integration permission signal (IA), and outputs the integration permission signal (IA). When "H", the color difference signal (BY) of the n-th pixel is output to the integration circuit (12), and when "L", the color difference signal (BY) of the n-th pixel is output to the integration circuit (1).
This is a circuit that performs an operation of not outputting to 2).

【0017】積分回路(12)は、積分手段の一実施例
であって、色変化検出回路(11)から選択出力された
色差信号(B−Y)を1画面について積分処理して積分
データ(ID)を生成し、外部の不図示のホワイトバラ
ンスゲイン生成部に出力する装置である。なお、不図示
のホワイトバランスゲイン生成部は、従来と同様に、色
差信号(B−Y)の1画面についての積分値である積分
データ(ID)が正のときにはB〔赤〕にかけるゲイン
であるホワイトバランスゲイン(Bg)を下げ、積分デ
ータ(ID)が負のときにはホワイトバランスゲイン
(Bg)を上げることによって色差信号(B−Y)の積
分値を0に収束するようにホワイトバランスゲイン(B
g)を調整する装置である。
The integration circuit (12) is an embodiment of the integration means, and integrates the color difference signal (BY) selectively output from the color change detection circuit (11) for one screen to obtain integration data ( ID) and outputs it to an external white balance gain generator (not shown). The white balance gain generation unit (not shown) uses a gain applied to B [red] when the integration data (ID), which is the integration value of one color difference signal (BY) for one screen, is positive, as in the related art. By lowering a certain white balance gain (Bg) and increasing the white balance gain (Bg) when the integration data (ID) is negative, the white balance gain (B−Y) converges to 0 so that the integrated value of the color difference signal (BY) converges to 0. B
g) adjustment device.

【0018】以上説明したように本発明の実施例に係る
映像信号処理装置によれば、各画素の色差信号(B−
Y)に基づいて、色変化検出回路(11)によって画面
内で色彩が変化した画素が検出され、色彩が変化した画
素の色差信号(B−Y)のみが選択され、積分回路(1
2)によって色差信号(B−Y)が1画面ごとに積分処
理されて積分データ(ID)が生成されている。このた
め、画面内で色が変化した部分の色差信号(B−Y)の
みを選択的に積分処理し、例えば同一色が連続するよう
な領域では色差信号(B−Y)を積分しないようにする
ことが可能になる。
As described above, according to the video signal processing apparatus according to the embodiment of the present invention, the color difference signal (B-
Y), the color-change detection circuit (11) detects a pixel whose color has changed in the screen, selects only the color-difference signal (BY) of the pixel whose color has changed, and outputs the selected signal to the integration circuit (1).
According to 2), the color difference signal (BY) is integrated for each screen to generate integrated data (ID). For this reason, only the color difference signal (B-Y) in the portion where the color has changed in the screen is selectively integrated, and for example, the color difference signal (B-Y) is not integrated in a region where the same color continues. It becomes possible to do.

【0019】以下で当該装置の動作を補足しながら本発
明の実施例に係る映像信号処理方法について図4のフロ
ーチャートを参照しながら説明する。まず、図4のフロ
ーチャートのステップP1で、第nの画素の色差信号
(ND)と、第(n−2)の画素の色差信号(Nd)の
取得処理を行う。このとき、第1のラッチ回路(111)
には第(n−2)の画素の色差信号(Nd)が、第2の
ラッチ回路(112)には第(n−1)の画素の色差信号
が、第3のラッチ回路(113)には第nの画素の色差信
号(ND)がそれぞれ保持されている。すなわち、図3
に示すように、第1のラッチ回路(111)の出力には第
2のラッチ回路(112)の入力が、第2のラッチ回路(1
12)の出力には第3のラッチ回路(113)の入力が、そ
れぞれ接続されており、これらは全て色差信号(B−
Y)に同期した基準クロック(CK)に連動して動作す
る。従って、第1のラッチ回路(111)に入力される色
差信号(B−Y)は基準クロック(CK)に連動して第
2のラッチ回路(112),第3のラッチ回路(113)に順
次送り出されることになるので、第3のラッチ回路(11
3)に第nの画素の色差信号(ND)が保持されていれ
ばその直前にある第2のラッチ回路(112)には第(n
−1)の画素の色差信号が保持されており、第2のラッ
チ回路(112)の直前にある第1のラッチ回路(111)に
は第(n−2)の画素の色差信号(Nd)が保持されて
いるわけである。
Hereinafter, a video signal processing method according to an embodiment of the present invention will be described with reference to the flowchart of FIG. 4 while supplementing the operation of the apparatus. First, in step P1 of the flowchart in FIG. 4, a process of acquiring the color difference signal (ND) of the n-th pixel and the color difference signal (Nd) of the (n-2) -th pixel is performed. At this time, the first latch circuit (111)
The color difference signal (Nd) of the (n-2) th pixel, the color difference signal of the (n-1) th pixel in the second latch circuit (112), and the color difference signal (Nd) of the (n-1) th pixel in the third latch circuit (113). Holds the color difference signal (ND) of the n-th pixel. That is, FIG.
As shown in the figure, the input of the second latch circuit (112) is connected to the output of the first latch circuit (111).
The input of the third latch circuit (113) is connected to the output of (12), respectively, and these are all color difference signals (B-
It operates in conjunction with a reference clock (CK) synchronized with Y). Therefore, the color difference signal (BY) input to the first latch circuit (111) is sequentially transmitted to the second latch circuit (112) and the third latch circuit (113) in conjunction with the reference clock (CK). The third latch circuit (11
If the color difference signal (ND) of the n-th pixel is held in (3), the second latch circuit (112) immediately before it holds the (n) -th pixel.
The color difference signal of the (n-2) th pixel is stored in the first latch circuit (111) immediately before the second latch circuit (112). Is held.

【0020】次に、ステップP2で第nの画素の色差信
号(ND)と第(n−2)の画素の色差信号(Nd)の
差分である差分データ(DD)の取得処理を行う。この
とき、第1のラッチ回路(111)から第(n−2)の画
素の色差信号(Nd)が、第3のラッチ回路(113)か
ら第nの画素の色差信号(ND)がそれぞれ減算器(11
4)に出力され、減算器(114)によって第nの画素の色
差信号(ND)から第(n−2)の画素の色差信号(N
d)を減ずる減算処理がなされる。その後、減算器(11
4)による減算結果の絶対値が絶対値化回路(115)によ
って算出され、その算出結果が差分データ(DD)とし
て比較回路(11B)に出力される。
Next, in step P2, a process of acquiring difference data (DD) which is a difference between the color difference signal (ND) of the n-th pixel and the color difference signal (Nd) of the (n-2) -th pixel is performed. At this time, the color difference signal (Nd) of the (n-2) th pixel is subtracted from the first latch circuit (111), and the color difference signal (ND) of the nth pixel is subtracted from the third latch circuit (113). Container (11
4), and the subtractor (114) converts the color difference signal (ND) of the n-th pixel to the color difference signal (N) of the (n-2) th pixel.
A subtraction process for reducing d) is performed. Then the subtractor (11
The absolute value of the result of the subtraction by 4) is calculated by the absolute value conversion circuit (115), and the calculation result is output to the comparison circuit (11B) as difference data (DD).

【0021】次いで、ステップP3で差分データ(D
D)が基準データ(SD)を超えたかどうかの判定処理
を行い、超えた場合(Yes)はステップP4に移行
し、超えない場合(No)は、ステップP7に移行す
る。この判定処理は比較回路(11B)によってなされ
る。すなわち、予め設けられた一定値を有する基準デー
タ(SD)と、差分データ(DD)との比較処理がなさ
れ、差分データ(DD)が基準データ(SD)を超えた
場合には“H”の積分許可信号(IA)がAND回路
(11C)に出力され、超えない場合には“L”の積分
許可信号(IA)がAND回路(11C)に出力され
る。
Next, in step P3, the difference data (D
A determination process is performed to determine whether or not D) exceeds the reference data (SD). If it has exceeded (Yes), the process shifts to Step P4; otherwise (No), the process shifts to Step P7. This determination process is performed by the comparison circuit (11B). That is, a comparison process is performed between the reference data (SD) having a predetermined constant value and the difference data (DD). When the difference data (DD) exceeds the reference data (SD), “H” is set. The integration permission signal (IA) is output to the AND circuit (11C). If the integration permission signal (IA) is not exceeded, the "L" integration permission signal (IA) is output to the AND circuit (11C).

【0022】次に、ステップP4で第nの画素の色差信
号(ND)を、1画面分の積分処理の積分データとして
取得し、積分処理する。このとき、AND回路(11
C)には第nの画素の色差信号(ND)と“H”の積分
許可信号(IA)とが入力されているので、“H”の積
分許可信号(IA)に基づいて第nの画素の色差信号
(ND)が積分回路(12)に出力され、積分回路(1
2)によって第nの画素の色差信号(ND)が積分処理
される。なお、AND回路(11C)に“L”の積分許
可信号(IA)が入力された場合には第nの画素の色差
信号(ND)は積分回路(12)に出力されず、上記積
分処理はなされないので、差分データ(DD)が基準デ
ータ(SD)を超えない場合にはその画素の色差信号は
当該積分処理から外されることになる。
Next, in step P4, the color difference signal (ND) of the n-th pixel is obtained as integration data for integration processing for one screen, and integration processing is performed. At this time, the AND circuit (11
Since the color difference signal (ND) of the n-th pixel and the “H” integration permission signal (IA) are input to C), the n-th pixel is determined based on the “H” integration permission signal (IA). Is output to the integration circuit (12), and the color difference signal (ND) of the
According to 2), the color difference signal (ND) of the n-th pixel is integrated. When the "L" integration permission signal (IA) is input to the AND circuit (11C), the color difference signal (ND) of the n-th pixel is not output to the integration circuit (12), and the integration process is not performed. If the difference data (DD) does not exceed the reference data (SD), the color difference signal of the pixel is excluded from the integration processing.

【0023】次いで、ステップP5で終了確認処理を
し、終了してよい場合(Yes)は終了し、終了してな
らない場合(No)は、ステップP6に移行する。そし
て、ステップP6でnに1を加算処理し、次の画素への
移行処理をし、同様に、ステップP7でもnに1を加算
処理し、次の画素への移行処理をする。上記処理を次の
画素、その次の画素・・・というように順次繰り返すこ
とにより、色差信号(B−Y)がある基準値を超えて変
化した部分における、色差信号(B−Y)の積分処理が
1画面についてなされることになる。その後、色差信号
の積分値が正のときは、B〔赤〕にかけるホワイトバラ
ンスゲイン(Bg)を下げ、積分値が負のときにはホワ
イトバランスゲイン(Bg)を上げるというように調整
し、1画面内での色差信号の積分値が0に収束するよう
に調整する。
Next, in step P5, an end confirmation process is performed. If the process can be ended (Yes), the process ends. If not (No), the process proceeds to step P6. Then, in step P6, 1 is added to n, and a transition process to the next pixel is performed. Similarly, in step P7, 1 is also added to n, and a transition process to the next pixel is performed. By sequentially repeating the above processing for the next pixel, the next pixel, and so on, integration of the color difference signal (BY) in a portion where the color difference signal (BY) has changed beyond a certain reference value is performed. The processing is performed for one screen. Thereafter, when the integrated value of the color difference signal is positive, the white balance gain (Bg) applied to B [red] is reduced, and when the integrated value is negative, the white balance gain (Bg) is increased. Is adjusted so that the integrated value of the color difference signal within the pixel converges to zero.

【0024】以上説明したように、本発明の実施例に係
る映像信号処理方法によれば、画面内で色彩が変化した
画素を検出し、色彩が変化した画素の色差信号(B−
Y)のみを選択的に取得処理し、こうして取得処理され
た色差信号(B−Y)を1画面について積分処理してい
る。このため、青色が連続しているような領域の画素の
色差信号(B−Y)は積分処理から外され、この画素で
の色差信号(B−Y)の積分処理はなされないので、ホ
ワイトバランスが正しくとれていさえすれば色差信号
(B−Y)の1画面分の積分値は0となり、正にはなら
ないので、ホワイトバランスゲイン(Bg)を下げる処
理はなされず、ホワイトバランスは崩れない。
As described above, according to the video signal processing method according to the embodiment of the present invention, a pixel whose color has changed in a screen is detected, and a color difference signal (B−B) of the pixel whose color has changed is detected.
Y) is selectively obtained, and the color difference signal (BY) thus obtained is integrated with respect to one screen. For this reason, the color difference signal (BY) of the pixel in the region where the blue color is continuous is excluded from the integration process, and the integration process of the color difference signal (BY) at this pixel is not performed. If the color difference signal (B-Y) is correctly obtained, the integrated value of one color of the color difference signal (B-Y) becomes 0 and does not become positive, so that the process of lowering the white balance gain (Bg) is not performed, and the white balance is not broken.

【0025】なお、本実施例によれば、色が変化する画
素の色差信号のみを1画面について積分処理している
が、本発明はこれに限らず、1画面を複数の領域に分割
し、その領域内に色が変化する画素がいくつあるかを計
数し、例えば色が変化する画素の数が多い領域では積分
処理を実行し、少ない領域では積分処理をしないという
ように、その計数結果によって色差信号の積分処理の有
無を決定する方法によっても、同様の効果を奏する。こ
の場合には、比較回路(11B)の出力をカウンタに受
け、そのカウント値が一定の値に達するときに色差信号
B−Yを積分回路(12)に供給するように構成する。
According to the present embodiment, only the color difference signal of the pixel whose color changes is integrated with respect to one screen, but the present invention is not limited to this, and one screen is divided into a plurality of areas. Count the number of pixels that change color in that area.For example, perform integration processing in a region where the number of pixels that change color is large, and do not perform integration processing in a small region. The same effect can be obtained by a method of determining whether or not to perform the integration processing of the color difference signal. In this case, the output of the comparison circuit (11B) is received by the counter, and when the count value reaches a certain value, the color difference signal BY is supplied to the integration circuit (12).

【0026】また、本実施例において、色差信号(B−
Y)は色差信号(C−Y)の一例であり、差分データ
(DD)は差分の一例である。さらに、基準データ(S
D)は基準値の一例であって、積分許可信号(IA)は
駆動制御信号の一例であり、積分データ(ID)は積分
情報の一例である。
In this embodiment, the color difference signal (B-
(Y) is an example of a color difference signal (C-Y), and the difference data (DD) is an example of a difference. Further, the reference data (S
D) is an example of a reference value, the integration permission signal (IA) is an example of a drive control signal, and the integration data (ID) is an example of integration information.

【0027】[0027]

【発明の効果】以上説明したように、本発明に係る映像
信号処理装置によれば、画面内で色が変化した部分の色
差信号(C−Y)のみを選択的に積分処理することが可
能になる。また、本発明に係る映像信号処理方法によれ
ば、画面内で色彩が変化した画素を検出し、色彩が変化
した画素の色差信号(C−Y)のみを選択的に取得処理
し、こうして取得処理された色差信号(C−Y)を1画
面について積分処理して、その処理結果に基づいてホワ
イトバランスを調整しているので、画面内で色が変化し
た部分の色差信号(C−Y)のみを選択的に積分処理す
ることにより、同一色が連続しているような領域が画面
の大半を占めているような画像においても正しくホワイ
トバランスを調整することができ、適正な色彩の画像表
示を得ることが可能になる。
As described above, according to the video signal processing apparatus of the present invention, it is possible to selectively integrate only the color difference signal (C-Y) of the portion where the color has changed in the screen. become. Further, according to the video signal processing method of the present invention, a pixel whose color has changed in the screen is detected, and only the color difference signal (C-Y) of the pixel whose color has changed is selectively obtained, and thus obtained. Since the processed color difference signal (C-Y) is integrated with respect to one screen and the white balance is adjusted based on the processing result, the color difference signal (C-Y) of a portion where the color has changed in the screen. By selectively integrating only the colors, it is possible to correctly adjust the white balance even in an image where the area where the same color is continuous occupies most of the screen, and display the image of the appropriate color Can be obtained.

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

【図1】本発明に係る映像信号処理装置の原理図であ
る。
FIG. 1 is a principle diagram of a video signal processing device according to the present invention.

【図2】本発明に係る映像信号処理方法の原理図であ
る。
FIG. 2 is a principle diagram of a video signal processing method according to the present invention.

【図3】本発明の実施例に係る映像信号処理装置の構成
図である。
FIG. 3 is a configuration diagram of a video signal processing device according to an embodiment of the present invention.

【図4】本発明の実施例に係る映像信号処理方法を説明
するフローチャートである。
FIG. 4 is a flowchart illustrating a video signal processing method according to an embodiment of the present invention.

【図5】従来例に係る映像信号処理装置の構成図であ
る。
FIG. 5 is a configuration diagram of a video signal processing device according to a conventional example.

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

(11) 色変化検出回路〔色変化検出手段〕 (12) 積分回路〔積分手段〕 (13) ホワイトバランス調整手段 (111) 第1のラッチ回路 (112) 第2のラッチ回路 (113) 第3のラッチ回路 (114) 減算器 (115) 絶対値化回路 (11A) 色差信号差分検出部 (11B) 比較回路〔比較手段〕 (11C) AND回路(回路) (11) Color change detecting circuit [Color change detecting means] (12) Integrating circuit [Integrating means] (13) White balance adjusting means (111) First latch circuit (112) Second latch circuit (113) Third (114) Subtractor (115) Absolute value conversion circuit (11A) Color difference signal difference detection section (11B) Comparison circuit [comparing means] (11C) AND circuit (circuit)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一画面内で色彩が変化する境界部分の
素を検出し、該色彩が変化する部分の画素での色差信号
(C−Y)のみを選択出力する色変化検出手段(11)と、
該色変化検出手段(11)からの前記色差信号(C−Y)を
1画面ごとに積分処理し、積分情報(ID)を生成する
積分手段(12)と、前記積分情報(ID)に基づいてゲイ
ンデータを生成し、このゲインデータを映像信号の色成
分の乗じてホワイトバランスを調整するホワイトバラン
ス調整手段(13)と、を具備することを特徴とする映像信
号処理装置。
A color change which detects a pixel at a boundary where a color changes in one screen, and selectively outputs only a color difference signal (C-Y) at a pixel of the portion where the color changes. Detection means (11);
An integrating means (12) for integrating the color difference signal (C-Y) from the color change detecting means (11) for each screen to generate integrated information (ID); And a white balance adjusting means (13) for adjusting the white balance by multiplying the gain data by a color component of the video signal.
【請求項2】 一画面内で色彩が変化する境界部分の
素を検出し、該色彩が変化する部分の画素での色差信号
(C−Y)のみを選択出力する色変化検出手段(11)と、
該色変化検出手段(11)からの前記色差信号(C−Y)を
1画面ごとに積分処理し、積分情報(ID)を生成する
積分手段(12)と前記積分情報(ID)に基づいてゲイン
データを生成し、このゲインデータを映像信号の色成分
に乗じてホワイトバランスを調整するホワイトバランス
調整手段(13)と、を具備し、前記色変化検出手段(11)
は、近接する画素の色差信号(C−Y)の差分(DD)
をとる色情報差分検出部(11A )と、前記差分(DD)と
基準値(SD)とを比較処理して駆動制御信号(IA)
を生成する比較手段(11B)と、前記駆動制御信号(I
A)に基づいて、前記色差信号(C−Y)を積分手段(1
2)に出力するゲート回路(11C)とからなることを特徴と
する映像信号処理装置。
2. A color change which detects a pixel at a boundary portion where a color changes in one screen and selectively outputs only a color difference signal (C-Y) at a pixel of the portion where the color changes. Detection means (11);
The color difference signal (C-Y) from the color change detection means (11) is integrated on a screen-by-screen basis to generate integration information (ID) based on the integration information (ID) and the integration information (ID). White balance adjustment means (13) for generating gain data and multiplying the gain data by the color component of the video signal to adjust white balance, and the color change detection means (11).
Is the difference (DD) between the color difference signals (CY) of the adjacent pixels.
And a drive control signal (IA) by comparing the difference (DD) with a reference value (SD).
Comparing means (11B) for generating the driving control signal (I
On the basis of A), the color difference signal (C-Y) is
2. A video signal processing device comprising: a gate circuit (11C) for outputting the signal to 2).
【請求項3】 一画面内で色彩が変化する境界部分の
素を検出し、該色彩が変化した画素の色差信号(C−
Y)のみを選択的に取得処理し、前記取得処理された色
差信号(C−Y)を1画面について積分処理し、前記積
分処理結果に基づいて映像信号の各成分の相互のバラン
スを調整することを特徴とする映像信号処理方法。
3. A pixel at a boundary portion where a color changes in one screen is detected, and a color difference signal (C−C) of a pixel whose color changes is detected.
Y) is selectively obtained, the obtained color difference signal (C-Y) is integrated with respect to one screen, and the mutual balance of each component of the video signal is adjusted based on the result of the integration processing. A video signal processing method characterized by the above-mentioned.
【請求項4】 近接する画素の色差信号(C−Y)を比
較処理することで、一画面内で色彩が変化する境界部分
画素を検出し、該色彩が変化した画素の色差信号(C
−Y)のみを選択的に取得処理し、前記取得処理された
色差信号(C−Y)を1画面について積分処理し、前記
積分処理結果に基づいて映像信号の色成分の相互のバラ
ンスを調整することを特徴とする映像信号処理方法。
4. A boundary portion where a color changes within one screen by comparing color difference signals (CY) of adjacent pixels.
Detecting a pixel, the color difference signals of pixels the color saturation is changed (C
-Y) only, and the acquired color difference signal (C-Y) is integrated for one screen, and the mutual balance of the color components of the video signal is adjusted based on the result of the integration. A video signal processing method.
JP5231988A 1993-09-17 1993-09-17 Video signal processing apparatus and video signal processing method Expired - Lifetime JP3043206B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5231988A JP3043206B2 (en) 1993-09-17 1993-09-17 Video signal processing apparatus and video signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5231988A JP3043206B2 (en) 1993-09-17 1993-09-17 Video signal processing apparatus and video signal processing method

Publications (2)

Publication Number Publication Date
JPH0787516A JPH0787516A (en) 1995-03-31
JP3043206B2 true JP3043206B2 (en) 2000-05-22

Family

ID=16932187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5231988A Expired - Lifetime JP3043206B2 (en) 1993-09-17 1993-09-17 Video signal processing apparatus and video signal processing method

Country Status (1)

Country Link
JP (1) JP3043206B2 (en)

Also Published As

Publication number Publication date
JPH0787516A (en) 1995-03-31

Similar Documents

Publication Publication Date Title
US6201530B1 (en) Method and system of optimizing a digital imaging processing chain
JP3153147B2 (en) Imaging device
US7479991B2 (en) Digital camera, and signal processing method and signal processing apparatus for the same
JP2000236473A (en) Image processing circuit for image input device
CA2036100C (en) Gradation correcting apparatus
US6618502B1 (en) Color image processing method and apparatus
US5457477A (en) Image data processing system with false color suppression signal generator utilizing luminance and edge threshold suppression methods
EP2214136B1 (en) Method and program for controlling image capture apparatus
JPH08289306A (en) Color image pickup device
JPH074017B2 (en) Imaging device
US6380973B1 (en) Image sensing apparatus and method for image processing a moving image or a still image
JP3162908B2 (en) Video signal processing device
JP3043206B2 (en) Video signal processing apparatus and video signal processing method
JPH1079885A (en) Method and processor for image processing
JPH0235509B2 (en)
JP4028395B2 (en) Digital camera
JPH0823541A (en) Color image pickup device
JP2004193970A (en) Picture data processor
JPH0410794A (en) Picture quality correcting circuit
JPH0364192A (en) Picture signal processor
JP2650062B2 (en) Color imaging device
JP3543129B2 (en) White balance control device
JPH0640669B2 (en) Imaging device
JPH1079886A (en) Video camera and nonlinear distortion correcting method
JPH11146409A (en) Video camera