JP2500881B2 - Clip circuit for color difference signal - Google Patents

Clip circuit for color difference signal

Info

Publication number
JP2500881B2
JP2500881B2 JP3222663A JP22266391A JP2500881B2 JP 2500881 B2 JP2500881 B2 JP 2500881B2 JP 3222663 A JP3222663 A JP 3222663A JP 22266391 A JP22266391 A JP 22266391A JP 2500881 B2 JP2500881 B2 JP 2500881B2
Authority
JP
Japan
Prior art keywords
signal
color difference
output
difference signal
selector
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
JP3222663A
Other languages
Japanese (ja)
Other versions
JPH0564215A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3222663A priority Critical patent/JP2500881B2/en
Publication of JPH0564215A publication Critical patent/JPH0564215A/en
Application granted granted Critical
Publication of JP2500881B2 publication Critical patent/JP2500881B2/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 color difference signal clipping circuit.

【0002】[0002]

【従来の技術】従来、一般に行われているビデオカメラ
の色差信号のクリップ回路の一例のブロック図を図2に
示す。図2で、1は色差信号をクロック周波数でラッチ
するフリップフロップ、2はマイコンで設定する下限値
の信号をクロック周波数でラッチするフリップフロッ
プ、3はマイコンで設定する上限値の信号をクロック周
波数でラッチするフリップフロップ、4は色差信号と下
限値の信号レベルとを比較する第1の比較器、5は色差
信号と上限値の信号レベルとを比較する第2の比較器、
6は第1の比較器4と第2の比較器5の出力信号によっ
て、色差信号とマイコンで設定する上限値とマイコンで
設定する下限値の3信号から1つを出力するセレクタ、
7はセレクタ6の出力信号をクロック周波数でラッチす
るフリップフロップである。
2. Description of the Related Art FIG. 2 shows a block diagram of an example of a conventional clipping circuit for a color difference signal of a video camera. In FIG. 2, 1 is a flip-flop that latches a color difference signal at a clock frequency, 2 is a flip-flop that latches a lower limit signal set by a microcomputer at a clock frequency, and 3 is an upper limit signal set by a microcomputer at a clock frequency Flip-flop 4 for latching, 4 is a first comparator for comparing the color difference signal and the signal level of the lower limit value, 5 is a second comparator for comparing the color difference signal and the signal level of the upper limit value,
A selector 6 outputs one from the color difference signal, the upper limit value set by the microcomputer, and the lower limit value set by the microcomputer according to the output signals of the first comparator 4 and the second comparator 5,
Reference numeral 7 is a flip-flop that latches the output signal of the selector 6 at the clock frequency.

【0003】以上のように構成された従来のビデオカメ
ラの色差信号のクリップ回路においては、時系列のR−
Y,B−Y信号がフリップフロップ1に、マイコンで設
定する下限値の信号がフリップフロップ2に、マイコン
で設定する上限値の信号がフリップフロップ3に入力さ
れる。これら3つの信号はいずれも8ビット符号有りの
データで、いま、R−Yの信号レベルは+100,B−
Yの信号レベルは−150一定とし、下限値の信号レベ
ルを−128、上限値の信号レベルを+128に設定す
る。第1の比較器4では色差信号とマイコンで設定され
た下限値の信号レベルとを比較し、色差信号レベルが下
限値の信号レベルよりも大きい場合は0、小さい場合は
1を出力する。R−Yの信号レベル+100は下限値の
信号レベル−128よりも大きいので第1の比較器4は
0を出力し、B−Yの信号レベル−150は下限値の信
号レベル−128よりも小さいので第1の比較器4は1
を出力する。同様に、第2の比較器5では色差信号とマ
イコンで設定された上限値の信号レベルとを比較し、色
差信号レベルが上限値の信号レベルよりも大きい場合は
1、小さい場合は0を出力する。R−Yの信号レベル+
100は上限値の信号レベル+128よりも小さいので
第2の比較器5は0を出力し、B−Yの信号レベル−1
50は上限値の信号レベル+128よりも小さいので第
2の比較器5は0を出力する。セレクタ6では第1の比
較器4と第2の比較器5の出力信号によって、色差信号
とマイコンで設定された上限値と下限値の3信号から1
つの信号を出力する。つまり、第1の比較器4と第2の
比較器5の出力が共に0の場合は色差信号を、第2の比
較器5の出力が1で第1の比較器4の出力が0の場合は
上限値を、第2の比較器5の出力が0で第1の比較器4
の出力が1の場合は下限値を出力する。したがって、セ
レクタ6の出力はR−Y信号に対してはR−Y信号レベ
ル+100となり、B−Y信号に対しては下限値の信号
レベルにクリップされて−128となる。セレクタ6の
出力はフリップフロップ7に入力され、後段の処理回路
に出力される。
In the conventional color-difference signal clipping circuit of a video camera constructed as described above, time series R-
The Y and BY signals are input to the flip-flop 1, the lower limit signal set by the microcomputer is input to the flip-flop 2, and the upper limit signal set by the microcomputer is input to the flip-flop 3. All of these three signals are 8-bit coded data, and the RY signal levels are now +100 and B-.
The signal level of Y is fixed at -150, the signal level of the lower limit value is set to -128, and the signal level of the upper limit value is set to +128. The first comparator 4 compares the color difference signal with the lower limit signal level set by the microcomputer, and outputs 0 when the color difference signal level is higher than the lower limit signal level, and outputs 1 when it is lower. Since the RY signal level +100 is higher than the lower limit signal level -128, the first comparator 4 outputs 0, and the BY signal level -150 is lower than the lower limit signal level -128. Therefore, the first comparator 4 is 1
Is output. Similarly, the second comparator 5 compares the color difference signal with the signal level of the upper limit value set by the microcomputer, and outputs 1 when the color difference signal level is higher than the signal level of the upper limit value, and outputs 0 when it is lower. To do. RY signal level +
Since 100 is smaller than the upper limit signal level +128, the second comparator 5 outputs 0, and the BY signal level -1.
Since 50 is smaller than the upper limit signal level +128, the second comparator 5 outputs 0. In the selector 6, the color difference signal and the three signals of the upper limit value and the lower limit value set by the microcomputer are used to output 1 from the output signals of the first comparator 4 and the second comparator 5.
Outputs two signals. That is, when both the outputs of the first comparator 4 and the second comparator 5 are 0, a color difference signal is output, and when the output of the second comparator 5 is 1 and the output of the first comparator 4 is 0 Is the upper limit value, the output of the second comparator 5 is 0, and the first comparator 4
When the output of is 1, the lower limit value is output. Therefore, the output of the selector 6 becomes RY signal level +100 for the RY signal and becomes -128 by being clipped to the lower limit signal level for the BY signal. The output of the selector 6 is input to the flip-flop 7 and output to the processing circuit in the subsequent stage.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記の従
来の構成では、比較器が2つ、3入力1出力のセレクタ
が1つ含まれており、回路のLSI化を図る際にゲート
数が比較的大きい色差信号のクリップ回路になるという
問題点を有していた。
However, in the above-described conventional configuration, the number of gates is relatively large when the circuit is made into an LSI because the comparator includes two comparators and one selector having three inputs and one output. It has a problem that it becomes a clipping circuit for a large color difference signal.

【0005】本発明は上記従来の問題点を解決するもの
で、色差信号のクリップ回路を比較的少ないゲート数で
実現し、提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and an object thereof is to realize and provide a clip circuit for a color difference signal with a relatively small number of gates.

【0006】[0006]

【課題を解決するための手段】この目的を達成するため
に本発明の色差信号のクリップ回路は、色差信号の符号
ビットによって上限値と下限値の信号から一方を出力す
る第1のセレクタと、第1のセレクタの出力信号と色差
信号の大きさを比較する比較器と、前記比較器の出力信
号と前記色差信号の符号ビットとの排他的論理和をとる
排他的論理和回路と、前記排他的論理和回路の出力信号
によって前記色差信号と前記第1のセレクタの出力信号
から1つの信号を出力する第2のセレクタとで構成す
る。
To achieve this object, a color difference signal clipping circuit of the present invention comprises a first selector for outputting one of an upper limit value and a lower limit value signal according to a sign bit of the color difference signal, A comparator that compares the magnitude of the color difference signal with the output signal of the first selector; an exclusive OR circuit that takes the exclusive OR of the output signal of the comparator and the sign bit of the color difference signal; The color difference signal and the second selector that outputs one signal from the output signal of the first selector according to the output signal of the logical OR circuit.

【0007】[0007]

【作用】本発明は上記した構成により、2つの2入力1
出力のセレクタと1つの比較器と1つの排他的論理和回
路とで実現でき、従来の1つの3入力1出力のセレクタ
と2つの比較器を含む回路と比較するとゲート数を小さ
くすることができる。
The present invention has two 2-inputs 1 by the above-mentioned configuration.
It can be realized by an output selector, one comparator, and one exclusive OR circuit, and the number of gates can be reduced as compared with the conventional circuit including one 3-input, 1-output selector and two comparators. .

【0008】[0008]

【実施例】以下、本発明の一実施例について、図面を参
照しながら説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は本発明の実施例における、ビデオカ
メラの色差信号のクリップ回路のブロック図を示すもの
である。図1において、1は色差信号をクロック周波数
でラッチするフリップフロップ、2はマイコンで設定さ
れた下限値の信号をクロック周波数でラッチするフリッ
プフロップ、3はマイコンで設定された上限値の信号を
クロック周波数でラッチするフリップフロップ、8は色
差信号の符号によってマイコンで設定された上限値と下
限値の信号から一方を出力する第1のセレクタ、9は第
1のセレクタ8の出力信号と色差信号の絶対値とを比較
する比較器、10は比較器9の出力信号と色差信号の符
号ビットとN排他的論理和をとる排他的論理和回路、1
1は排他的論理和回路の出力信号によって色差信号と第
1のセレクタ8の出力信号から1つを出力する第2のセ
レクタ、7は第2のセレクタ11の出力信号をクロック
周波数でラッチするフリップフロップである。
FIG. 1 is a block diagram of a color difference signal clipping circuit of a video camera according to an embodiment of the present invention. In FIG. 1, reference numeral 1 is a flip-flop that latches a color difference signal at a clock frequency, 2 is a flip-flop that latches a lower limit signal set by a microcomputer at a clock frequency, and 3 is a clock of an upper limit signal set by a microcomputer A flip-flop that latches at a frequency, 8 is a first selector that outputs one of the upper limit and lower limit signals set by the microcomputer according to the sign of the color difference signal, and 9 is the output signal of the first selector 8 and the color difference signal. A comparator 10 for comparing the absolute value and an exclusive OR circuit for taking N exclusive OR of the output signal of the comparator 9 and the sign bit of the color difference signal, 1
Reference numeral 1 is a second selector that outputs one of the color difference signal and the output signal of the first selector 8 according to the output signal of the exclusive OR circuit, and 7 is a flip-flop that latches the output signal of the second selector 11 at the clock frequency. It is

【0010】以上のように構成された本実施例のビデオ
カメラの色差信号のクリップ回路について、以下その動
作を説明する。時系列のR−Y,B−Y信号がフリップ
フロップ1に、マイコンで設定する下限値の信号がフリ
ップフロップ2に、マイコンで設定する上限値の信号が
フリップフロップ3に入力される。これら3つの信号は
いずれも8ビット符号有りのデータで、いま、R−Yの
信号レベルは+100、B−Yの信号レベルは−150
一定とし、下限値の信号レベルを−128、上限値の信
号レベルを+128に設定する。第1のセレクタ8では
色差信号の符号ビットが0の場合はマイコンで設定され
た上限値の信号を出力し、色差信号の符号ビットが1の
場合はマイコンで設定された下限値の信号を出力する。
したがって、フリップフロップ1がR−Y信号を出力す
るとき、色差信号の符号ビットは0なので第1のセレク
タ8は上限値の信号+128を出力し、フリップフロッ
プ1がB−Y信号を出力するとき、色差信号の符号ビッ
トは1なので第1のセレクタ8は下限値の信号−128
を出力する。比較器9では色差信号と第1のセレクタ8
の出力信号の大きさを比較し、色差信号のレベルが第1
のセレクタ8の出力信号のレベルよりも大きい場合は
1、小さい場合は0を出力する。つまり、比較器9はR
−Yの信号レベル+100と上限値の信号レベル+12
8とを比較して0を出力し、B−Yの信号レベル−15
0と下限値の信号レベル−128とを比較して0を出力
する。排他的論理和回路10は比較器9の出力信号と色
差信号の符号ビットとの排他的論理和をとる。つまり、
排他的論理和回路10はR−Y信号に対しては比較器9
の出力信号0とR−Y信号の符号ビット0を入力し、0
を出力し、B−Y信号に対しては比較器9の出力信号0
とB−Y信号の符号ビット1を入力し、1を出力する。
第2のセレクタ11は排他的論理和回路10の出力信号
によって色差信号と第1のセレクタ8の出力信号から1
つを出力する。つまり、第2のセレクタ11はR−Y信
号の位相では排他的論理和回路10の出力信号が0なの
でR−Y信号+100を出力し、B−Y信号の位相では
排他的論理和回路10の出力信号が1なので、第1のセ
レクタ8の出力信号、つまり下限値の信号を出力し、B
−Y信号は−128にクリップされる。第2のセレクタ
11の出力はフリップフロップ7に入力され、後段の処
理回路に出力される。
The operation of the color difference signal clipping circuit of the video camera of the present embodiment having the above-described configuration will be described below. The time-series RY and BY signals are input to the flip-flop 1, the lower limit signal set by the microcomputer is input to the flip-flop 2, and the upper limit signal set by the microcomputer is input to the flip-flop 3. All of these three signals are 8-bit coded data, and the RY signal level is +100 and the BY signal level is -150.
The signal level of the lower limit value is set to -128, and the signal level of the upper limit value is set to +128. The first selector 8 outputs the signal of the upper limit value set by the microcomputer when the sign bit of the color difference signal is 0, and outputs the signal of the lower limit value set by the microcomputer when the sign bit of the color difference signal is 1. To do.
Therefore, when the flip-flop 1 outputs the RY signal, the sign bit of the color difference signal is 0, so the first selector 8 outputs the upper limit signal +128, and when the flip-flop 1 outputs the BY signal. , The sign bit of the color difference signal is 1, so the first selector 8 outputs the lower limit signal −128.
Is output. In the comparator 9, the color difference signal and the first selector 8
Of the output signals of the color difference signals are compared and the level of the color difference signal is first
1 is output when the level of the output signal of the selector 8 is higher, and 0 is output when the level is lower. That is, the comparator 9 is R
-Y signal level +100 and upper limit signal level +12
8 is output and 0 is output, and the BY signal level -15
0 is output by comparing 0 with the lower limit signal level −128. The exclusive OR circuit 10 takes the exclusive OR of the output signal of the comparator 9 and the sign bit of the color difference signal. That is,
The exclusive OR circuit 10 compares the RY signal with the comparator 9
Input the output signal 0 of 0 and the sign bit 0 of the RY signal,
Of the output signal of the comparator 9 for the BY signal.
And the sign bit 1 of the BY signal is input and 1 is output.
The second selector 11 outputs 1 from the color difference signal and the output signal of the first selector 8 according to the output signal of the exclusive OR circuit 10.
Output one. That is, the second selector 11 outputs the RY signal +100 because the output signal of the exclusive OR circuit 10 is 0 in the phase of the RY signal, and outputs the RY signal +100 in the phase of the BY signal. Since the output signal is 1, the output signal of the first selector 8, that is, the signal of the lower limit value is output, and B
The -Y signal is clipped to -128. The output of the second selector 11 is input to the flip-flop 7 and output to the processing circuit at the subsequent stage.

【0011】以上のように本実施例によれば、2つの2
入力1出力のセレクタと1つの比較器と1つの排他的論
理和回路との回路構成で色差信号をクリップすることが
でき、従来の回路よりも少ないゲート数で色差信号をク
リップすることができる。
As described above, according to this embodiment, two two
The color difference signal can be clipped by the circuit configuration of the selector having one input and one output, one comparator, and one exclusive OR circuit, and the color difference signal can be clipped with a smaller number of gates than the conventional circuit.

【0012】[0012]

【発明の効果】以上のように本発明は、2つの2入力1
出力のセレクタと1つの比較器と1つの排他的論理和回
路とでクリップ回路を構成できるので、従来の回路より
も少ないゲート数で色差信号をクリップすることがで
き、その実用的効果は大きい。
As described above, the present invention has two 2-inputs 1
Since the clipping circuit can be configured by the output selector, one comparator, and one exclusive OR circuit, the color difference signal can be clipped with a smaller number of gates than the conventional circuit, and its practical effect is large.

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

【図1】本発明の実施例における色差信号のクリップ回
路の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a color difference signal clipping circuit according to an embodiment of the present invention.

【図2】従来の色差信号のクリップ回路の構成を示すブ
ロック図
FIG. 2 is a block diagram showing a configuration of a conventional color difference signal clipping circuit.

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

1,2,3,7 フリップフロップ 8 第1のセレクタ 9 比較器 10 排他的論理和回路 11 第2のセレクタ 1, 2, 3, 7 Flip-flop 8 First selector 9 Comparator 10 Exclusive OR circuit 11 Second selector

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 色差信号の符号ビットによって2つの信
号から1つを出力する第1のセレクタと、 前記第1のセレクタの出力信号と前記色差信号の大きさ
を比較する比較器と、 前記比較器の出力信号と前記色差信号の符号ビットとの
排他的論理和をとる排他的論理和回路と、 前記排他的論理和回路の出力信号によって前記色差信号
と前記第1のセレクタの出力信号から1つを出力する第
2のセレクタと、を備えた色差信号のクリップ回路。
1. A first selector that outputs one of two signals according to the sign bit of the color difference signal, a comparator that compares the output signal of the first selector with the magnitude of the color difference signal, and the comparison. OR circuit for exclusive ORing the output signal of the color difference signal and the sign bit of the color difference signal, and 1 from the output signal of the color difference signal and the first selector by the output signal of the exclusive OR circuit. A color difference signal clipping circuit including a second selector that outputs two signals.
JP3222663A 1991-09-03 1991-09-03 Clip circuit for color difference signal Expired - Fee Related JP2500881B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3222663A JP2500881B2 (en) 1991-09-03 1991-09-03 Clip circuit for color difference signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3222663A JP2500881B2 (en) 1991-09-03 1991-09-03 Clip circuit for color difference signal

Publications (2)

Publication Number Publication Date
JPH0564215A JPH0564215A (en) 1993-03-12
JP2500881B2 true JP2500881B2 (en) 1996-05-29

Family

ID=16785980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3222663A Expired - Fee Related JP2500881B2 (en) 1991-09-03 1991-09-03 Clip circuit for color difference signal

Country Status (1)

Country Link
JP (1) JP2500881B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4524850B2 (en) * 2000-04-27 2010-08-18 Jfeスチール株式会社 High-tensile cold-rolled steel sheet with excellent ductility and strain age hardening characteristics and method for producing high-tensile cold-rolled steel sheet
JP4978773B2 (en) * 2006-09-15 2012-07-18 ソニー株式会社 Signal processing apparatus, signal processing method, and program

Also Published As

Publication number Publication date
JPH0564215A (en) 1993-03-12

Similar Documents

Publication Publication Date Title
KR920005219B1 (en) Signal processing circuit
US4991021A (en) Digital video signal compensation circuit
EP0297516A2 (en) Picture signal binarization system
JP2500881B2 (en) Clip circuit for color difference signal
US4553042A (en) Signal transition enhancement circuit
US6822694B2 (en) Signal processing apparatus
JPH04165810A (en) Pulse generating circuit
US4700365A (en) Digital threshold detector with hysteresis
US4587448A (en) Signal transition detection circuit
US7110004B2 (en) Image processor capable of edge enhancement in saturated region
JPH1098458A (en) Sync word detection circuit
JP2507087B2 (en) Coring circuit
JP3201445B2 (en) Chattering prevention circuit
JP3143194B2 (en) Digital Camera Character Insertion Circuit
JP2907165B2 (en) Logic synthesis system
KR100207612B1 (en) Sample doubler
JPH04326219A (en) Pointer processing circuit
KR0113914Y1 (en) Image effect processor for a camcorder
JP3334242B2 (en) Signal processing circuit and signal processing method for color difference signal
JPH06205323A (en) Video signal processing circuit
JPH03102265A (en) Maximum value detecting circuit
JPS6298983A (en) Imaging device
JPS5925416A (en) Waiting circuit
JPH03287011A (en) Sensor information correcting circuit
JPH0495295A (en) Memory circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees