JPH06284337A - Digital clamping circuit for video signal - Google Patents

Digital clamping circuit for video signal

Info

Publication number
JPH06284337A
JPH06284337A JP5089409A JP8940993A JPH06284337A JP H06284337 A JPH06284337 A JP H06284337A JP 5089409 A JP5089409 A JP 5089409A JP 8940993 A JP8940993 A JP 8940993A JP H06284337 A JPH06284337 A JP H06284337A
Authority
JP
Japan
Prior art keywords
circuit
signal
optical black
digital
black portion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5089409A
Other languages
Japanese (ja)
Inventor
Osamu Yagi
修 八木
Masatoshi Sase
昌利 佐瀬
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP5089409A priority Critical patent/JPH06284337A/en
Publication of JPH06284337A publication Critical patent/JPH06284337A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE:To accurately provide the reference level of video signals by simple constitution. CONSTITUTION:This clamping circuit 4a(4b) is provided with an OFL (OverFlowLimiter) circuit 31 for limiting signals not required for a clamping operation from the output of an A/D converter, a sampling circuit 32 for sampling the signals of an optical black part, an integrator 33 which is an LPF (Lowpass filter) for integrating and averaging the signals of the optical black part sampled in the sampling circuit 32 and generating error data and a subtractor 34 for turning the signals of the optical black part to '0' by subtracting the output of the integrator 33 and the output of the A/D converter.

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 digital clamp circuit for clamping a signal of an optical black portion of a video signal from an image pickup device or the like.

【0002】[0002]

【従来の技術】従来より、被写体を撮像し映像信号を生
成しこの映像信号をA/D変換しデジタル信号処理を行
うデジタルカメラのデジタルクランプ回路においては、
A/D変換された映像信号のオプティカルブラック部の
信号をクランプし、このクランプされた値を基準として
デジタル値を設定している。つまり、デジタルクランプ
回路では、入力される映像信号のオプティカルブラック
部の信号の平均値が00h(hは16進数を示す)になる
ように、デジタル値を設定していた。
2. Description of the Related Art Conventionally, in a digital clamp circuit of a digital camera for imaging a subject, generating a video signal, A / D converting the video signal and performing digital signal processing,
The signal of the optical black portion of the A / D converted video signal is clamped, and a digital value is set with the clamped value as a reference. That is, in the digital clamp circuit, the digital value is set such that the average value of the signal of the optical black portion of the input video signal is 00h (h indicates a hexadecimal number).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
デジタルカメラにおいては、図11(a)に示すよう
に、オプティカルブラック部の信号の負方向に発生する
ノイズ成分が、図11(b)に示すようにスライス、即
ち、オプティカルブラック部周辺の信号が半波整流され
てA/D変換されるため、オプティカルブラック部の信
号の平均値が変化し、映像信号を歪ませることになる。
また、オプティカルブラック部の信号の平均値を00h
にするように、精度良くアナログ信号時の映像信号のD
C値とA/D変換器の基準電圧を制御することは非常に
困難である。
However, in the conventional digital camera, as shown in FIG. 11 (a), the noise component generated in the negative direction of the signal of the optical black portion is shown in FIG. 11 (b). As described above, the slice, that is, the signal around the optical black portion is half-wave rectified and A / D-converted, so that the average value of the signal in the optical black portion changes and the video signal is distorted.
In addition, the average value of the signal of the optical black part is 00h
As in the case of D
It is very difficult to control the C value and the reference voltage of the A / D converter.

【0004】オプティカルブラック部の信号のノイズ成
分が半波整流されるのを防止するためにはA/D変換前
に、映像信号にオフセットをつけてからA/D変換器に
入力すればよいが、A/D変換前にオフセットする電圧
を設定するための設定値はA/D変換器の特性のばらつ
きにより一意的には決まらないという問題がある。ま
た、A/D変換前にオフセットする電圧を設定する電圧
発生器を正確に制御することも困難である。
In order to prevent the half-wave rectification of the noise component of the signal of the optical black portion, it is sufficient to offset the video signal before A / D conversion and then input it to the A / D converter. , There is a problem that the set value for setting the voltage to be offset before the A / D conversion is not uniquely determined due to the variation in the characteristics of the A / D converter. It is also difficult to accurately control the voltage generator that sets the offset voltage before A / D conversion.

【0005】本発明は、上記事情に鑑みてなされたもの
であり、簡単な構成により、正確に、映像信号の基準レ
ベルを得ることのできる映像信号のデジタルクランプ回
路を提供することを目的としている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a digital clamp circuit for a video signal capable of accurately obtaining the reference level of the video signal with a simple configuration. .

【0006】[0006]

【課題を解決するための手段】本発明の映像信号のデジ
タルクランプ回路は、映像信号のオプティカルブラック
部の信号レベルをサンプルするサンプル手段としてのサ
ンプル回路32と、サンプル回路32によりサンプルさ
れたオプティカルブラック部の信号レベルの平均値とし
ての誤差データを算出する平均値算出手段としての積分
器33と、積分器33が算出した誤差データをオプティ
カルブラック部の信号レベルから減算する減算手段とし
ての減算器34とを備えている。
A digital clamp circuit for a video signal according to the present invention comprises a sampling circuit 32 as a sampling means for sampling the signal level of an optical black portion of the video signal, and an optical black sampled by the sampling circuit 32. Integrator 33 as an average value calculating means for calculating error data as an average value of the signal level of the optical part, and a subtracter 34 as a subtracting means for subtracting the error data calculated by the integrator 33 from the signal level of the optical black part. It has and.

【0007】映像信号は、複数の映像信号であるR,
G,Bの映像信号よりなり、サンプル回路32は、R,
G,Bの映像信号の少なくとも2つの映像信号として
R,Bの映像信号を切り換えて入力することができる。
The video signal is a plurality of video signals R,
The sample circuit 32 includes R and G video signals.
It is possible to switch and input R and B video signals as at least two video signals of G and B video signals.

【0008】[0008]

【作用】上記構成の映像信号のデジタルクランプ回路に
おいては、減算器34により積分器33が算出した誤差
データをオプティカルブラック部の信号レベルから減算
することができるので、簡単な構成により、正確に、映
像信号の基準レベルを得ることが可能となる。
In the digital clamp circuit for the video signal having the above-mentioned structure, the error data calculated by the integrator 33 by the subtractor 34 can be subtracted from the signal level of the optical black portion. It is possible to obtain the reference level of the video signal.

【0009】サンプル回路32は、R,G,Bの映像信
号の少なくとも2つの映像信号としてR,Bの映像信号
を切り換えて入力することができるので、より簡単な構
成映像信号の基準レベルを得ることが可能となる。
Since the sample circuit 32 can switch and input the R and B video signals as at least two video signals of the R, G and B video signals, a simpler reference level of the constituent video signal can be obtained. It becomes possible.

【0010】[0010]

【実施例】以下、図面を参照しながら本発明の実施例に
ついて述べる。図1及至図10は本発明の一実施例に係
わり、図1は本発明の映像信号のデジタルクランプ回路
を備えたデジタル信号処理回路の一実施例の構成を示す
ブロック図、図2は図1のデジタルクランプ回路の構成
を示すブロック図、図3は図2のOFL回路の構成を示
す回路構成図、図4は図2のサンプル回路の構成を示す
回路構成図、図5は図2の積分器の構成を示す回路構成
図、図6は図5の積分器の特性を示す特性図、図7は図
1のA/D変換回路内のアナログクランプ回路の構成を
示す回路図、図8は図5の積分器の具体的な回路の一例
を示す回路図、図9は図1のG用デジタルクランプ回路
の具体的な回路の一例を示す回路図、図10は図1のR
及びB用デジタルクランプ回路の具体的な回路の一例を
示す回路図である。
Embodiments of the present invention will be described below with reference to the drawings. 1 to 10 relate to an embodiment of the present invention. FIG. 1 is a block diagram showing the configuration of an embodiment of a digital signal processing circuit provided with a digital clamp circuit for video signals of the present invention, and FIG. 2 is a block diagram showing the configuration of the digital clamp circuit of FIG. 3, FIG. 3 is a circuit configuration diagram showing the configuration of the OFL circuit of FIG. 2, FIG. 4 is a circuit configuration diagram showing the configuration of the sample circuit of FIG. 2, and FIG. 6 is a circuit configuration diagram showing the configuration of the converter, FIG. 6 is a characteristic diagram showing the characteristic of the integrator of FIG. 5, FIG. 7 is a circuit diagram showing the configuration of the analog clamp circuit in the A / D conversion circuit of FIG. 1, and FIG. 5 is a circuit diagram showing an example of a concrete circuit of the integrator of FIG. 5, FIG. 9 is a circuit diagram showing an example of a concrete circuit of the G digital clamp circuit of FIG. 1, and FIG.
6 is a circuit diagram showing an example of a specific circuit of a B and C digital clamp circuit. FIG.

【0011】本実施例の映像信号のデジタルクランプ回
路を備えたデジタル信号処理回路は、図1に示すよう
に、プリズムにより被写体像をRGBに分離して撮像す
る3板式撮像カメラからの撮像信号であるR信号、G信
号、B信号を所定のオフセット電圧Voによりオフセッ
トするオフセット回路1a,1b,1cと、このオフセ
ット回路1a,1b,1cの出力をバッファ2a,2
b,2cを介して入力するA/D変換器3a,3b,3
cを備えている。
As shown in FIG. 1, the digital signal processing circuit provided with the digital clamp circuit for the video signal of the present embodiment is an image pickup signal from a three-plate type image pickup camera for picking up an image of a subject by separating it into RGB by a prism. Offset circuits 1a, 1b, 1c for offsetting a certain R signal, G signal, B signal by a predetermined offset voltage Vo and outputs of the offset circuits 1a, 1b, 1c are buffers 2a, 2
A / D converters 3a, 3b, 3 input via b, 2c
It has c.

【0012】A/D変換器3aの出力は、映像信号のデ
ジタルクランプ回路であるデジタルクランプ回路4aに
出力され、A/D変換器3b,3cの出力は、デジタル
クランプクランプ回路4bに出力される。また、デジタ
ル信号処理回路は、クランプ回路4a,4bを介した各
信号を、それぞれホワイトバランス処理するホワイトバ
ランス部5a,5b,5cと、このホワイトバランス部
5a,5b,5cからの信号を所定の固定のガンマ(以
下、γ)特性によりγ補正するγ補正部6a,6b,6
cとを備えている。
The output of the A / D converter 3a is output to the digital clamp circuit 4a which is a digital clamp circuit of the video signal, and the outputs of the A / D converters 3b and 3c are output to the digital clamp clamp circuit 4b. . Further, the digital signal processing circuit performs white balance processing on the respective signals passed through the clamp circuits 4a, 4b, and white balance portions 5a, 5b, 5c, and signals from the white balance portions 5a, 5b, 5c to predetermined signals. Γ correction units 6a, 6b, 6 that perform γ correction with a fixed gamma (hereinafter, γ) characteristic
and c.

【0013】γ補正部6a,6b,6cによりγ補正さ
れた各RGB信号は、輝度信号Yを生成する輝度信号生
成部7と、色差信号を生成する色差信号生成回路8に出
力される。色差信号生成回路8からの色差信号は、色相
信号生成回路9に出力され、色相信号生成回路9により
生成された色相信号は、図示しないモニタに出力する色
信号Cを生成する色信号生成回路10に出力される。ま
た、輝度信号生成部7からの輝度信号Yは、Δγ補正を
行うΔγ補正部11に出力され、Δγ補正部11により
Δγ補正された輝度信号Yは、図示しないモニタに出力
するモニタ輝度信号Y’を生成するモニタ輝度信号生成
回路12に出力される。
Each of the RGB signals that have been gamma-corrected by the gamma correctors 6a, 6b, and 6c is output to a luminance signal generator 7 that produces a luminance signal Y and a color difference signal generator 8 that produces a color difference signal. The color difference signal from the color difference signal generation circuit 8 is output to the hue signal generation circuit 9, and the hue signal generated by the hue signal generation circuit 9 generates a color signal C to be output to a monitor (not shown). Is output to. The brightness signal Y from the brightness signal generation unit 7 is output to the Δγ correction unit 11 that performs Δγ correction, and the brightness signal Y that is Δγ corrected by the Δγ correction unit 11 is output to a monitor brightness signal Y that is output to a monitor (not shown). It is output to the monitor luminance signal generation circuit 12 that generates'.

【0014】図2に示すように、前記デジタルクランプ
回路4a(4b)は、A/D変換器3a(3b,3c)
の出力よりクランプ動作に不要な信号をリミットするた
めのOFL(Over Flow Limiter)回路31と、オプテ
ィカルブラック部の信号をサンプルするサンプル回路3
2と、サンプル回路32でサンプルしたオプティカルブ
ラック部の信号を積分し平均化して誤差データを生成す
るLPF(Low pass filter)である積分器33と、こ
の積分器33の出力とA/D変換器3a(3b,3c)
の出力とを減算することによりオプティカルブラック部
の信号を0にする減算器34とを備えている。
As shown in FIG. 2, the digital clamp circuit 4a (4b) includes an A / D converter 3a (3b, 3c).
OFL (Over Flow Limiter) circuit 31 for limiting a signal unnecessary for the clamp operation based on the output of the above, and a sample circuit 3 for sampling the signal of the optical black portion.
2, an integrator 33 which is an LPF (Low pass filter) for integrating and averaging signals of the optical black portion sampled by the sampling circuit 32 to generate error data, an output of the integrator 33 and an A / D converter 3a (3b, 3c)
And a subtractor 34 that subtracts the signal of the optical black portion to 0 by subtracting the output of the optical black portion.

【0015】一般的に、撮像カメラのAGC(Auto Gai
n Contollor)の出力ノイズは、ゲイン最大で100mV
p-p程度と言われており、オプティカルブラック部の信
号を50mVぐらい浮かせてA/D変換器3a(3b,
3c)に入力すれば、オプティカルブラック部付近のノ
イズを伝送することができる。例えば、A/D変換器3
a(3b,3c)の仕様が2V/10bitとすると、
1bit当たり2mVになり、20hをオプティカルブ
ラック部の中心値として割り当てることにより、p-pで
3Fh以下がクランプ動作に不要なノイズの割当とな
る。つまり、入力データがワード長10ビットである場
合、上位4ビットをOFL検出ビットとして用いること
ができる。従って、OFL回路31は、図3に示すよう
に、無極性であるワード長10ビットの上位4ビットb
it6〜bit9のORをとるOR回路41と、このO
R回路41の出力とワード長10ビットの下位6ビット
bit0〜bit5とのORをとる6つOR回路42と
から構成される。
Generally, an AGC (Auto Gai) of an image pickup camera is used.
n Contollor) output noise is 100 mV maximum gain
It is said that the signal of the optical black part is floated by about 50 mV and the A / D converter 3a (3b,
3c), noise in the vicinity of the optical black portion can be transmitted. For example, the A / D converter 3
If the specification of a (3b, 3c) is 2V / 10bit,
It becomes 2 mV per bit, and by allocating 20h as the center value of the optical black portion, noise of 3Fh or less in pp becomes unnecessary noise for the clamp operation. That is, when the input data has a word length of 10 bits, the upper 4 bits can be used as the OFL detection bits. Therefore, the OFL circuit 31, as shown in FIG. 3, has the non-polar upper 4 bits b of the word length of 10 bits.
An OR circuit 41 that takes an OR of it6 to bit9 and this O
It is composed of six OR circuits 42 which take the OR of the output of the R circuit 41 and the lower 6 bits bit0 to bit5 of the word length of 10 bits.

【0016】サンプル回路32は、上述したように、オ
プティカルブラック部の信号をサンプルするために設け
られているが、図4(b)に示すように、オプティカル
ブラック部の信号は、1水平同期周期(1H)毎に離散
的に出力される信号であるので、サンプル回路32は、
図4(a)に示すように、この離散的なオプティカルブ
ラック部の期間にクランプパルスによりオプティカルブ
ラック部の信号をサンプル及びクランプし、それ以外の
期間ではサンプルした信号を保持することのできるイネ
ーブル付きのラッチ回路51により構成される。
As described above, the sampling circuit 32 is provided to sample the signal of the optical black portion. However, as shown in FIG. 4B, the signal of the optical black portion has one horizontal synchronizing cycle. Since the signal is discretely output every (1H), the sampling circuit 32
As shown in FIG. 4 (a), the signal in the optical black portion is sampled and clamped by the clamp pulse during the discrete optical black portion, and the sampled signal is held in other periods with an enable. The latch circuit 51 of FIG.

【0017】積分器33は、上述したようにLPFによ
り構成されるが、このLPFを図5(a)に示すよう
に、遅延量2D(Dは所定の遅延量)の遅延回路61と
乗算器62とから構成される1次のIIRフィルタ(In
finite Impulse Response digital filter:巡回形デジ
タルフィルタ)63により実現しようとすると、このI
IRフィルタ63の伝達関数H(s)は、 H(s)=1/(1−a・Z-1) ……(1) となり、aの値がデジタルにそぐわない、DCのゲイン
が0dBにならない等の欠点がある。
The integrator 33 is composed of an LPF as described above. As shown in FIG. 5A, the integrator 33 has a delay circuit 61 with a delay amount of 2D (D is a predetermined delay amount) and a multiplier. 62 and a first-order IIR filter (In
finite impulse response digital filter: recursive digital filter 63
The transfer function H (s) of the IR filter 63 is H (s) = 1 / (1-a · Z −1 ) ... (1), the value of a does not match the digital value, and the DC gain does not become 0 dB. There are drawbacks such as.

【0018】そこで、本実施例の積分器33は、図5
(b)に示すような遅延量2Dの遅延回路64と乗算器
65とから構成される変形IIRフィルタ66により構
成し、このとき伝達関数H(s)は、 H(s)=b/{1−(1−b)・Z-1} ……(2) である。
Therefore, the integrator 33 of this embodiment has the configuration shown in FIG.
A modified IIR filter 66 including a delay circuit 64 having a delay amount of 2D and a multiplier 65 as shown in (b) is used. At this time, the transfer function H (s) is H (s) = b / {1 -(1-b) · Z -1 } ... (2).

【0019】ここで、変形IIRフィルタ66の周波数
特性について考察する。まず、式(2)の伝達関数H
(s)の分子を1に正規化すると、 H(z)=1/{K−(K−1)・Z-1} ……(3) (尚、K=1/b)となる。すると、
Here, the frequency characteristics of the modified IIR filter 66 will be considered. First, the transfer function H of equation (2)
When the numerator of (s) is normalized to 1, H (z) = 1 / {K− (K−1) · Z −1 } (3) (K = 1 / b). Then,

【0020】[0020]

【数1】 [Equation 1]

【0021】これから、ゲイン|H-1|と位相ψは以下
のように表せ、その周波数特性を図6に示す。 |H-12=1+2K(K−1)(1−cosθ) ……(5) ψ=tan-1[sinθ/{1+(K−1)-1−cosθ}] …(6) したがって、3dBポイントは 2K(K−1)(1−cosθ)=1 ……(7) ここで、θ<0.5ならば、2(1−cosθ)≒θ2
と近似して、さらにKが十分大きいとすると、 θ={K(K−1)}-1/2=1/K=b ……(8) となる。
From this, the gain | H -1 | and the phase ψ can be expressed as follows, and the frequency characteristics thereof are shown in FIG. | H −1 | 2 = 1 + 2K (K−1) (1-cos θ) (5) ψ = tan −1 [sin θ / {1+ (K−1) −1 −cos θ}] (6) Therefore, The 3 dB point is 2K (K-1) (1-cos θ) = 1 (7) Here, if θ <0.5, 2 (1-cos θ) ≈θ 2
And if K is sufficiently large, then θ = {K (K-1)} −1/2 = 1 / K = b (8)

【0022】ここで、映像信号のアナログ時の特性につ
いて定量的な考察を行う。アナログ映像信号をサンプル
ホールドしAGC(オートゲインコントロール)した段
階の信号のノイズスペクトラムには、1/fのように周
波数に依存するノイズ成分や、オプティカル・ショット
・ノイズ等のホワイトノイズ成分が存在する。従って、
VCRのsync tip CLPのようにノイズが乗
っていないので、LPFのカットオフは低ければ低いほ
どよいという訳にはいかず、ある所までの周波数のノイ
ズには応答してノイズを吸収するほうが望ましい。そこ
で、上述したアナログ時のクランプ回路のカットオフを
実現する方法を考察する。
Here, a quantitative consideration will be given to the analog characteristics of the video signal. The noise spectrum of the signal at the stage of sample-holding the analog video signal and performing AGC (auto gain control) includes a frequency-dependent noise component such as 1 / f and a white noise component such as optical shot noise. . Therefore,
Since the noise is not carried like the sync tip CLP of the VCR, the lower the cutoff of the LPF, the better, and it is preferable to absorb the noise in response to the noise of a certain frequency. Therefore, a method of realizing the above-described cutoff of the clamp circuit at the time of analog will be considered.

【0023】アナログのクランプ回路81は、図7に示
すように構成され、このクランプ回路81の伝達関数H
(s)は H(s)=1/{1+sC(gm)-1} ……(9) これに、gm=1/260mhoを代入して周波数fを
計算すると、C=0.01uのときf=61.2kH
z、C=0.1uのときf=6.12kHz、C=1u
のときf=612kHzとなる。
The analog clamp circuit 81 is constructed as shown in FIG. 7, and the transfer function H of the clamp circuit 81 is shown.
(S) is H (s) = 1 / {1 + sC (gm) -1 } ... (9) When gm = 1 / 260mho is substituted into this and frequency f is calculated, it will be f when C = 0.01u. = 61.2kH
When z, C = 0.1u, f = 6.12kHz, C = 1u
Then f = 612 kHz.

【0024】一方、デジタルの場合はθ=2πfT(T
=サンプリング周期;1/4fSC)であることと、式
(8)よりθ=bとから、 f θ(rad) b 61.2kHz 0.026856 2-5〜2-6 6.12kHz 0.0026856 2-8〜2-9 612kHz 0.00026856 2-12〜2-11 この結果から、C=0.1uからC=1uによった値で
あるb=2-9を採用すれば、デジタルクランプ回路にお
いて所望のカットオフを実現することができる。
On the other hand, in the case of digital, θ = 2πfT (T
= Sampling period; 1/4 fSC) and θ = b from the equation (8), f θ (rad) b 61.2 kHz 0.026856 2 −5 to 2 −6 6.12 kHz 0.0026856 2 -8 to 2 -9 612 kHz 0.00026856 2 -12 to 2 -11 From this result, if b = 2 -9 , which is a value according to C = 0.1u to C = 1u, is adopted, in the digital clamp circuit, A desired cutoff can be achieved.

【0025】上述した定量的な解析の結果を考慮したサ
ンプル回路32と積分器33を具体的な回路を図8に示
す。図8において、例えば、S.6.0の”S”は、S
ignビット(以下、Sビット)により極性を有する
(Signed)データであることを示し、”6.0”
はこのデータが6ビット(bit0〜bit5)と小数
点以下の0ビットより構成されることを示しており、7
ビットからなる。符号100は、サンプル回路32から
の9ビットシフト(記号>>9で示す)されたS.6.
9のデータを反転するインバータであり、このインバー
タ100からの出力は積分器33の加算器101に入力
され、加算器101のcarry inに1(=H)が
加えられている。これは反転出力+1を行い2の補数を
とることによりこの積分器33全体での誤差データの極
性を−(負)にしている。これは、オプティカルブラッ
ク部のデータとの「引算」を行うよりもオプティカルブ
ラック部のデータと負の誤差を加算したほうが回路規模
が小さくて済むからである。また、積分器33では、新
しい誤差と巡回している誤差とを加算する処理がなされ
るが、S.6.9のデータであるトータル16ビット同
士の加算となり、1D期間で演算処理をすることが困難
であるので、加算器102で上位8ビット、加算器10
3で下位8ビットに分けてパイプライン処理で加算処理
を行っている。
FIG. 8 shows a concrete circuit of the sample circuit 32 and the integrator 33 in consideration of the result of the above quantitative analysis. In FIG. 8, for example, S.M. "S" of 6.0 is S
The sign bit (hereinafter, S bit) indicates that the data has polarity (Signed), and is “6.0”.
Indicates that this data consists of 6 bits (bit0 to bit5) and 0 bits below the decimal point.
It consists of bits. Reference numeral 100 denotes an S.S. signal which is shifted from the sample circuit 32 by 9 bits (indicated by symbols >> 9). 6.
9 is an inverter that inverts the data, and the output from this inverter 100 is input to the adder 101 of the integrator 33, and 1 (= H) is added to the carry in of the adder 101. This makes the polarity of the error data in the whole integrator 33 negative (-) by inverting the output + 1 and taking the complement of 2. This is because adding a negative error to the data of the optical black portion can reduce the circuit scale rather than performing "subtraction" with the data of the optical black portion. Further, in the integrator 33, the process of adding the new error and the circulating error is performed. Since the total of 16 bits, which is 6.9 data, is added, it is difficult to perform arithmetic processing in the 1D period.
In 3, the lower 8 bits are divided and the addition processing is performed by pipeline processing.

【0026】上述した具体的な回路を備えたデジタルク
ランプ回路4aを図9に、デジタルクランプ回路4bを
図10に示す。図10において、R、B用のデジタルク
ランプ回路4bは、全体の回路規模縮小のため、サンプ
ル回路32でbitIDによりマルチプレクスしてから
積分器33に入力し、誤差データを得た後、デマルチプ
レクスしてオプティカルブラック部のデータとの演算を
行っており、積分器33内でそれぞれの色が混ざらない
ようになっている。また、G用のデジタルクランプ回路
4aは、1つの回路で構成されているが、この回路の周
波数特性は、マルチプレクス/デマルチプレクスする
R、B用のデジタルクランプ回路4bの周波数特性と同
等になるように構成されている。
FIG. 9 shows a digital clamp circuit 4a having the above-mentioned specific circuit, and FIG. 10 shows a digital clamp circuit 4b. In FIG. 10, the digital clamp circuit 4b for R and B is multiplexed by the sample circuit 32 with bitID and then input to the integrator 33 to obtain error data and then demultiplexed in order to reduce the overall circuit scale. The plexing operation is performed with the data of the optical black portion so that the respective colors are not mixed in the integrator 33. Further, the G digital clamp circuit 4a is composed of one circuit, but the frequency characteristic of this circuit is equal to the frequency characteristic of the R / B digital clamp circuit 4b for multiplexing / demultiplexing. Is configured to be.

【0027】このように本実施例の映像信号のデジタル
クランプ回路によれば、積分器33によりサンプル回路
32でサンプルされたオプティカルブラック部の信号の
誤差を積算して算出しているので、従来のようにオプテ
ィカルブラック部の信号が半波整流されることがなく、
正確なオプティカルブラック部の平均値を得ることがで
き、キャリーバランスのずれを抑制できる。また、得ら
れたオプティカルブラック部の平均値を00hとするこ
とができるので、演算処理が容易になる。さらに、アナ
ログ時の映像信号のDC部やA/D変換器3a,3b,
3cの基準電圧のばらつきに対しても、オプティカルブ
ラック部の平均値を正確に得ることができるので、アナ
ログ処理部の回路が簡単の構成で実現できる。
As described above, according to the digital clamp circuit of the video signal of the present embodiment, since the error of the signal of the optical black portion sampled by the sample circuit 32 is integrated by the integrator 33, it is calculated. The signal of the optical black part is not rectified by half wave like
An accurate average value of the optical black portion can be obtained, and deviation of the carry balance can be suppressed. Moreover, since the average value of the obtained optical black portion can be set to 00h, the arithmetic processing becomes easy. In addition, the analog video signal DC section and A / D converters 3a, 3b,
Since the average value of the optical black portion can be accurately obtained even with respect to the variation of the reference voltage of 3c, the circuit of the analog processing portion can be realized with a simple configuration.

【0028】[0028]

【発明の効果】以上説明したように本発明の映像信号の
デジタルクランプ回路によれば、減算手段により平均値
算出手段が算出した平均値をオプティカルブラック部の
信号レベルから減算することができるので、簡単な構成
により、正確に、映像信号の基準レベルを得ることがで
きるという効果がある。
As described above, according to the digital clamp circuit for video signals of the present invention, the average value calculated by the average value calculating means by the subtracting means can be subtracted from the signal level of the optical black portion. With a simple configuration, there is an effect that the reference level of the video signal can be accurately obtained.

【0029】サンプル手段は、複数の映像信号の少なく
とも2つの映像信号を切り換えて入力することができる
ので、より簡単な構成映像信号の基準レベルを得ること
ができる。
Since the sampling means can switch and input at least two video signals of the plurality of video signals, it is possible to obtain a simpler reference level of the constituent video signals.

【0030】[0030]

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

【図1】本発明の映像信号のデジタルクランプ回路を備
えたデジタル信号処理回路の一実施例の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a digital signal processing circuit including a digital clamp circuit for video signals according to the present invention.

【図2】図1のデジタルクランプ回路の構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing the configuration of the digital clamp circuit of FIG.

【図3】図2のOFL回路の構成を示す回路構成図あ
る。
FIG. 3 is a circuit configuration diagram showing a configuration of the OFL circuit of FIG.

【図4】図2のサンプル回路の構成を示す回路構成図で
ある。
FIG. 4 is a circuit configuration diagram showing a configuration of the sample circuit of FIG.

【図5】図2の積分器の構成を示す回路構成図である。5 is a circuit configuration diagram showing a configuration of the integrator of FIG.

【図6】図5の積分器の特性を示す特性図である。6 is a characteristic diagram showing characteristics of the integrator of FIG.

【図7】図5の積分器の特性を説明するアナログクラン
プ回路の構成を示す回路図である。
FIG. 7 is a circuit diagram showing a configuration of an analog clamp circuit for explaining characteristics of the integrator shown in FIG.

【図8】図5の積分器の具体的な回路の一例を示す回路
図である。
8 is a circuit diagram showing an example of a specific circuit of the integrator of FIG.

【図9】図1のG用デジタルクランプ回路の具体的な回
路の一例を示す回路図である。
9 is a circuit diagram showing an example of a specific circuit of the G digital clamp circuit of FIG. 1. FIG.

【図10】図1のR及びB用デジタルクランプ回路の具
体的な回路の一例を示す回路図である。
10 is a circuit diagram showing an example of a specific circuit of the R and B digital clamp circuits of FIG.

【図11】従来例のオプティカルブラック部の信号レベ
ル検出を説明する説明図である。
FIG. 11 is an explanatory diagram illustrating signal level detection of an optical black portion in a conventional example.

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

1a,1b,1c オフセット回路 2a,2b,2c バッファ 3a,3b,3c A/D変換器 4a,4b デジタルクランプ回路 31 OFL 32 サンプル回路 33 積分器 34 減算器 1a, 1b, 1c Offset circuit 2a, 2b, 2c Buffer 3a, 3b, 3c A / D converter 4a, 4b Digital clamp circuit 31 OFL 32 Sample circuit 33 Integrator 34 Subtractor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 映像信号のオプティカルブラック部の信
号レベルをサンプルするサンプル手段と、 前記サンプル手段によりサンプルされた前記オプティカ
ルブラック部の信号レベルの平均値を算出する平均値算
出手段と、 前記平均値算出手段が算出した前記平均値を前記オプテ
ィカルブラック部の信号レベルから減算する減算手段と
を備えたことを特徴とする映像信号のデジタルクランプ
回路。
1. A sampling means for sampling a signal level of an optical black portion of a video signal, an average value calculating means for calculating an average value of signal levels of the optical black portion sampled by the sampling means, and the average value. A digital clamp circuit for a video signal, comprising: a subtracting unit that subtracts the average value calculated by the calculating unit from the signal level of the optical black portion.
【請求項2】 前記映像信号は、複数の映像信号よりな
り、 前記サンプル手段は、前記複数の映像信号の少なくとも
2つの映像信号を切り換えて入力することを特徴とする
請求項1に記載の映像信号のデジタルクランプ回路。
2. The video according to claim 1, wherein the video signal comprises a plurality of video signals, and the sampling means switches and inputs at least two video signals of the plurality of video signals. Signal digital clamp circuit.
JP5089409A 1993-03-24 1993-03-24 Digital clamping circuit for video signal Pending JPH06284337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5089409A JPH06284337A (en) 1993-03-24 1993-03-24 Digital clamping circuit for video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5089409A JPH06284337A (en) 1993-03-24 1993-03-24 Digital clamping circuit for video signal

Publications (1)

Publication Number Publication Date
JPH06284337A true JPH06284337A (en) 1994-10-07

Family

ID=13969852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5089409A Pending JPH06284337A (en) 1993-03-24 1993-03-24 Digital clamping circuit for video signal

Country Status (1)

Country Link
JP (1) JPH06284337A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014086855A (en) * 2012-10-23 2014-05-12 Olympus Imaging Corp Imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014086855A (en) * 2012-10-23 2014-05-12 Olympus Imaging Corp Imaging apparatus

Similar Documents

Publication Publication Date Title
JP3047927B2 (en) Video signal clamp circuit
US5457494A (en) Image pickup signal processing apparatus
WO2000031967A1 (en) Clamping device and clamping method
JPH05191675A (en) Gamma correction circuit and image pickup device using the circuit
JPH0591519A (en) Method and apparatus for inserting interpolating picture element
US4562456A (en) Analog-to-digital conversion apparatus including a circuit to substitute calculated values when the dynamic range of the converter is exceeded
JPH06284337A (en) Digital clamping circuit for video signal
JPH0584104B2 (en)
JPH09224186A (en) Video camera and control correcting device
JPH0218789B2 (en)
JPH02203677A (en) Image pickup device
JP3117740B2 (en) Clamp circuit for electronic endoscope device
JPH05153428A (en) Clamping circuit
JP3104231B2 (en) Digital camera
JP3006291B2 (en) Analog / Digital Converter for Television Camera
JPS5836091A (en) Color television camera device
JPH06276547A (en) Digital video camera device
JP2606207Y2 (en) Video camera gamma correction circuit
JPH05145940A (en) Signal processor for color image pickup device
JP2608266B2 (en) Imaging device
KR930003283B1 (en) Negative image transformer of digital tv
JPH04220882A (en) Video signal processing circuit
JP3505864B2 (en) Video camera
JPH08140110A (en) Image signal processor
JPH09307808A (en) Solid-state image pickup device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20021129