JP2001045366A - Image pickup method, image pickup device and storage medium - Google Patents

Image pickup method, image pickup device and storage medium

Info

Publication number
JP2001045366A
JP2001045366A JP11210689A JP21068999A JP2001045366A JP 2001045366 A JP2001045366 A JP 2001045366A JP 11210689 A JP11210689 A JP 11210689A JP 21068999 A JP21068999 A JP 21068999A JP 2001045366 A JP2001045366 A JP 2001045366A
Authority
JP
Japan
Prior art keywords
storage medium
video signal
circuit
signal
correction
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.)
Withdrawn
Application number
JP11210689A
Other languages
Japanese (ja)
Inventor
Masakazu Kurobe
正和 黒部
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP11210689A priority Critical patent/JP2001045366A/en
Publication of JP2001045366A publication Critical patent/JP2001045366A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image pickup method and device capable of obtaining a stable video signal without fluctuation in the black level of a video signal even when the gain of an auto-gain control(AGC) circuit is changed, and a noise generated at an optical black(OB) part is increased. SOLUTION: The signal component level of an optical black(OB) part in a video signal from an image pickup element 3 is detected by an OB level correcting circuit 11, and correction data for making the detected value coincident with a black level value are calculated by the OB level correcting circuit 11, and fluctuation due to the gain change of an auto-gain control(AGC) circuit 5 is preserved in a memory 16, and a correction signal is calculated by the OB level correcting circuit 11 according to the gain change of the AGC circuit 5 based on the preserved data, and a reference voltage at the bottom(BOTTOM) side of an A/D converter 7 is corrected by a system control circuit 12 according to the correction signal at the time of the gain change of the AGC circuit 5.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、特に、撮像素子で
得られた映像信号をデジタル化して信号処理する撮像方
法及び装置並びにこの撮像装置を制御するための制御プ
ログラムを格納した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image pickup method and apparatus for digitizing a video signal obtained by an image pickup device for signal processing, and a storage medium storing a control program for controlling the image pickup apparatus.

【0002】[0002]

【従来の技術】図5は、従来の撮像装置の構成を示すブ
ロック図である。同図において、1は撮像レンズ、2は
アイリスで、撮像レンズ1を通った被写体からの撮像光
の入射光量を制御する。3はCCD等の撮像素子で、ア
イリス2を通った撮像光(画像光)を光電変換して電気
的な映像信号に変換する。4はS/H(サンプル/ホー
ルド)回路で、撮像素子3から出力された映像信号に含
まれている蓄積電荷ノイズを低減するものである。5は
AGC(オートゲインコントロール)回路で、映像信号
を一定レベルに保つものである。6はクランプ回路で、
AGC回路5から出力された映像信号に対してクランプ
パルスにより所定の電圧値にオプティカルブラック部分
(OB部分)をクランプする。
2. Description of the Related Art FIG. 5 is a block diagram showing a configuration of a conventional imaging device. In FIG. 1, reference numeral 1 denotes an imaging lens, and 2 denotes an iris, which controls the amount of incident imaging light from a subject passing through the imaging lens 1. Reference numeral 3 denotes an image pickup device such as a CCD, which photoelectrically converts image pickup light (image light) passing through the iris 2 into an electric video signal. Reference numeral 4 denotes an S / H (sample / hold) circuit for reducing accumulated charge noise contained in a video signal output from the image sensor 3. Reference numeral 5 denotes an AGC (auto gain control) circuit for maintaining a video signal at a constant level. 6 is a clamp circuit.
The optical black portion (OB portion) is clamped to a predetermined voltage value by a clamp pulse with respect to the video signal output from the AGC circuit 5.

【0003】7はA/D変換器で、クランプ回路6で所
定電圧値にクランプされた映像信号をデジタル信号に変
換するものである。8はデジタル信号処理(DSP)回
路で、A/D変換器7から出力されたデジタル信号をビ
デオ信号に変換するために必要な様々な信号処理を施す
ものである。9はTG回路で、前記クランプパルス等の
各種のタイミングパルスを発生するクランプパルス発生
回路9aを含んでいる。10はDC電圧発生回路で、所
定のクランプ電圧を発生するものである。11はOBレ
ベル補正回路で、A/D変換器7によりデジタル信号に
変換された映像信号のOBレベルと予め設定した黒レベ
ルとを比較して、両者が一致するようなオフセット量を
演算し、その演算結果を映像信号のOBレベルに対し
て、加算若しくは減算の補正を行うものである。このO
Bレベル補正回路11の詳細な構成については、図6を
用いて後述する。
An A / D converter 7 converts a video signal clamped to a predetermined voltage value by a clamp circuit 6 into a digital signal. Reference numeral 8 denotes a digital signal processing (DSP) circuit that performs various signal processing necessary for converting a digital signal output from the A / D converter 7 into a video signal. Reference numeral 9 denotes a TG circuit, which includes a clamp pulse generating circuit 9a for generating various timing pulses such as the clamp pulse. Reference numeral 10 denotes a DC voltage generating circuit for generating a predetermined clamp voltage. An OB level correction circuit 11 compares the OB level of the video signal converted into a digital signal by the A / D converter 7 with a preset black level, and calculates an offset amount such that the two coincide. The calculation result is added or subtracted to the OB level of the video signal. This O
The detailed configuration of the B level correction circuit 11 will be described later with reference to FIG.

【0004】12はシステムコントロール回路で、デジ
タル信号処理回路8を含むシステム全体を制御するマイ
クロコンピュータで構成されている。13は画像メモリ
で、デジタル信号処理回路8から出力されたデジタル映
像信号を、システムコントロール回路12からの制御信
号により記憶/出力するものである。14は第1のD/
A変換器で、撮像素子3若しくは画像メモリ13からデ
ジタル信号処理回路8を介して出力されたデジタル映像
信号をアナログ信号に変換するものである。15は第2
のD/A変換器で、システムコントロール回路12から
の制御信号に基づいて任意の電圧を出力するものであ
る。
Reference numeral 12 denotes a system control circuit, which comprises a microcomputer for controlling the entire system including the digital signal processing circuit 8. Reference numeral 13 denotes an image memory which stores / outputs a digital video signal output from the digital signal processing circuit 8 according to a control signal from the system control circuit 12. 14 is the first D /
The A converter converts a digital video signal output from the image sensor 3 or the image memory 13 via the digital signal processing circuit 8 into an analog signal. 15 is the second
The D / A converter outputs an arbitrary voltage based on a control signal from the system control circuit 12.

【0005】図6は、OBレベル補正回路11の詳細な
構成を示すブロック図である。同図において、11aは
OB積分値検出回路で、デジタル信号処理回路8から出
力されたデジタル映像信号を撮像素子3の映像信号出力
におけるOB部分に相当する信号成分を1水平ラインま
たは予め設定された間隔毎に積分するものである。11
bは補正データ演算回路で、OB積分値検出回路11a
により検出されたOB積分値と予め設定された黒レベル
とを比較して、そのOB積分値と予め設定された黒レベ
ルとが互いに一致するような補正データを演算するもの
である。11cは加減算回路で、OBレベル補正回路1
1に入力された映像信号のOBレベルに対して、補正デ
ータ演算回路で演算した補正データを加算若しくは減算
するものである。
FIG. 6 is a block diagram showing a detailed configuration of the OB level correction circuit 11. In the figure, reference numeral 11a denotes an OB integrated value detection circuit which converts a digital video signal output from the digital signal processing circuit 8 into a signal component corresponding to an OB portion in a video signal output of the image sensor 3 by one horizontal line or a preset value. The integration is performed at intervals. 11
b is a correction data operation circuit, and an OB integral value detection circuit 11a
Is compared with a preset black level, and correction data is calculated so that the OB integral value and the preset black level match each other. 11c is an addition / subtraction circuit, and an OB level correction circuit 1
The correction data calculated by the correction data calculation circuit is added to or subtracted from the OB level of the video signal input to 1.

【0006】次に、上記構成になる撮像装置の具体的な
動作について説明する。
Next, a specific operation of the imaging apparatus having the above configuration will be described.

【0007】まず、撮像装置で撮像される光学像は、撮
像レンズ1を通ってアイリス2により光量を調整された
後、撮像素子3により電気信号に変換される。撮像素子
3から出力された映像信号は、S/H回路4でその撮像
素子3の映像信号出力中に含まれる電荷蓄積ノイズを除
去され、AGC回路5により予め設定されたゲインで増
幅される。
First, an optical image picked up by an image pickup device is passed through an image pickup lens 1, the light amount is adjusted by an iris 2, and then converted into an electric signal by an image pickup device 3. The video signal output from the imaging device 3 is subjected to removal of charge accumulation noise contained in the video signal output from the imaging device 3 by the S / H circuit 4 and is amplified by the AGC circuit 5 with a preset gain.

【0008】AGC回路5から出力された映像信号は、
コンデンサを通すことにより交流てきに結合されて、ク
ランプ回路6に入力される。このクランプ回路6に入力
された映像信号は、TG回路9から出力されるクランプ
パルスのタイミングで、DC電圧発生回路10から出力
された任意の電圧にクランプされる。
The video signal output from the AGC circuit 5 is
The current is coupled to the AC by passing through a capacitor, and is input to the clamp circuit 6. The video signal input to the clamp circuit 6 is clamped to an arbitrary voltage output from the DC voltage generation circuit 10 at the timing of the clamp pulse output from the TG circuit 9.

【0009】図7は、クランプ回路6の動作タイミング
を示す図であり、同図(a)は映像信号、同図(b)は
クランプパルスをそれぞれ示す。同図に示すように、映
像信号のブランキング期間中にクランプパルスが出力さ
れ、このタイミングでOB部分の信号成分がクランプさ
れる。
FIGS. 7A and 7B show operation timings of the clamp circuit 6. FIG. 7A shows a video signal, and FIG. 7B shows a clamp pulse. As shown in the figure, a clamp pulse is output during the blanking period of the video signal, and the signal component of the OB portion is clamped at this timing.

【0010】前記クランプされた映像信号は、A/D変
換器7に入力されてデジタル信号に変換された後、デジ
タル信号処理回路8に入力される。そして、この中の一
部はデジタル信号処理回路8を通った後、OBレベル補
正回路11に入力される。このOBレベル補正回路11
に入力されたデジタル信号は2方向に分かれ、そのうち
の一方は加減算回路11cに入力され、もう一方はOB
積分値検出回路11aに入力される。
The clamped video signal is input to an A / D converter 7 and converted into a digital signal, and then input to a digital signal processing circuit 8. A part of the signal passes through the digital signal processing circuit 8 and is then input to the OB level correction circuit 11. This OB level correction circuit 11
Is divided into two directions, one of which is input to the addition / subtraction circuit 11c, and the other is OB.
It is input to the integration value detection circuit 11a.

【0011】OB積分値検出回路11aでは、映像信号
の中の撮像素子3のオプティカルブラック部分に相当す
る信号成分を1水平ラインまたは予め設定された間隔毎
に積分してOB積分値を検出する。次の補正データ演算
回路11bでは、OB積分値検出回路11aで検出され
たOB積分値を予め設定された黒レベルと比較し、この
OB積分値がその黒レベルと一致するような補正データ
を演算する。そして、次の加減算回路11cにおいて、
OBレベル補正回路11に入力された映像信号のOBレ
ベルに、補正データ演算回路11bで演算した補正デー
タを加算若しくは減算する。その後、このOBレベル補
正回路11から出力された映像信号は、再びデジタル信
号処理回路8に入力される。
The OB integrated value detection circuit 11a detects an OB integrated value by integrating a signal component corresponding to an optical black portion of the image pickup device 3 in the video signal at one horizontal line or at a predetermined interval. The next correction data calculation circuit 11b compares the OB integration value detected by the OB integration value detection circuit 11a with a preset black level, and calculates correction data such that the OB integration value matches the black level. I do. Then, in the next addition / subtraction circuit 11c,
The correction data calculated by the correction data calculation circuit 11b is added to or subtracted from the OB level of the video signal input to the OB level correction circuit 11. Thereafter, the video signal output from the OB level correction circuit 11 is input again to the digital signal processing circuit 8.

【0012】これにより、結果的にデジタル信号処理回
路8に入力される映像信号のOBレベルは一定に保たれ
る。
As a result, the OB level of the video signal input to the digital signal processing circuit 8 is kept constant.

【0013】OBレベル補正回路11は、この演算結果
をデジタル信号処理回路8に出力し、更にデジタル信号
処理回路8からシステムコントロール回路12に出力さ
れる。
The OB level correction circuit 11 outputs the calculation result to the digital signal processing circuit 8, and further outputs from the digital signal processing circuit 8 to the system control circuit 12.

【0014】ここでOBレベル補正回路11を含むOB
レベル補正動作について更に詳細に説明する。
Here, the OB including the OB level correction circuit 11
The level correction operation will be described in more detail.

【0015】例えば、A/D変換器7に分解能に10b
itで、BOTTOM側基準電圧:1000mV、TO
P側基準電圧:2000mVで動作しているA/D変換
器を使用し、補正データ演算回路11bにOBレベルの
設定値として、32LSBというデータが設定されてい
る場合、仮にクランプ回路6の温特等によりOB積分値
検出回路11aの出力データ値(OBレベル)が42L
SBに変動したとき、補正データ演算回路11bにより
予め設定されているOBレベルとの差分(+10LS
B)を打ち消す補正データが演算されて加減算回路11
cに出力される。この補正データに基づき、加減算回路
11cで入力信号から変動量分を補正(この場合、10
LSBを減算する)することにより、OB積分値の変動
を補正することが可能となる。
For example, the A / D converter 7 has a resolution of 10 b
It, the BOTTOM side reference voltage: 1000 mV, TO
If an A / D converter operating at P-side reference voltage: 2000 mV is used and the data of 32 LSB is set as the set value of the OB level in the correction data calculation circuit 11b, the temperature characteristic of the clamp circuit 6 is temporarily set. As a result, the output data value (OB level) of the OB integral value detection circuit 11a becomes 42L
When it changes to SB, the difference from the OB level preset by the correction data calculation circuit 11b (+ 10LS
The correction data for canceling B) is calculated and the addition / subtraction circuit 11
c. Based on the correction data, the addition / subtraction circuit 11c corrects the amount of variation from the input signal (in this case, 10
By subtracting LSB, it is possible to correct the fluctuation of the OB integral value.

【0016】その後、このOBレベル補正回路11から
出力された映像信号は、再びデジタル信号処理回路8に
入力されてデジタル信号処理された後、第1のD/A変
換器14でアナログビデオ信号に変換されて出力され
る。
Thereafter, the video signal output from the OB level correction circuit 11 is again input to the digital signal processing circuit 8 and subjected to digital signal processing. Then, the first D / A converter 14 converts the video signal into an analog video signal. It is converted and output.

【0017】[0017]

【発明が解決しようとする課題】しかしながら、上述し
た従来例にあっては、映像信号のレベル(被写体の明る
さ)が変化し、それに伴いAGC回路5のゲインが変化
すると、映像信号の黒レベルが変動し、安定した映像信
号を得ることができないという問題点があった。
However, in the above-described conventional example, when the level of the video signal (the brightness of the subject) changes and the gain of the AGC circuit 5 changes accordingly, the black level of the video signal changes. Fluctuated, and a stable video signal could not be obtained.

【0018】即ち、図5の構成で一般的に映像信号中
(OB部も含む)には、AGC回路5内で発生するノイ
ズや周辺回路からの影響により、わずかながらでもノイ
ズが漏れ込んでしまう。このOB部のノイズは、充分な
照度時等のAGC回路5のゲインが低い場合には殆ど問
題にならないが、低照度時等にAGC回路5のゲインが
上がった場合、このノイズも増幅されしまうため、OB
積分値検出回路11aによるOBレベルの積分値が前記
ノイズの影響によりシフトしてしまう。このため、補正
データ演算回路11bの補正データも実際のOBレベル
に対してずれが生じてしまい、結果的に映像信号の黒レ
ベルがOB部に生じるノイズレベルにより変動してしま
うという問題点があった。
That is, in the configuration shown in FIG. 5, generally, a small amount of noise leaks into the video signal (including the OB portion) due to the noise generated in the AGC circuit 5 and the influence from peripheral circuits. . The noise of the OB section hardly causes a problem when the gain of the AGC circuit 5 is low when the illuminance is sufficient, but when the gain of the AGC circuit 5 increases when the illuminance is low or the like, the noise is also amplified. OB
The integrated value of the OB level by the integrated value detection circuit 11a shifts due to the influence of the noise. For this reason, the correction data of the correction data calculation circuit 11b also deviates from the actual OB level, resulting in a problem that the black level of the video signal fluctuates due to the noise level generated in the OB section. Was.

【0019】本発明は上述した従来の技術の有するこの
ような問題点に鑑みてなされたものであり、その第1の
目的とするところは、AGC回路のゲインが変化してO
B部に生じるノイズが増大した場合でも、映像信号の黒
レベルが変動することなく、安定した映像信号が得られ
る撮像方法及び装置を提供することにある。
The present invention has been made in view of the above-mentioned problems of the prior art described above. A first object of the present invention is to change the gain of the AGC circuit to change the OGC.
It is an object of the present invention to provide an imaging method and apparatus capable of obtaining a stable video signal without fluctuation of a black level of a video signal even when noise generated in a portion B increases.

【0020】また、本発明の第2の目的とするところ
は、上述した本発明の撮像装置を制御するための制御プ
ログラムを格納した記憶媒体を提供することにある。
It is a second object of the present invention to provide a storage medium storing a control program for controlling the above-described imaging apparatus of the present invention.

【0021】[0021]

【課題を解決するための手段】上記第1の目的を達成す
るために請求項1記載の撮像方法は、撮像光を映像信号
に光電変換する撮像素子を有し且つその撮像素子からの
アナログ映像信号をデジタル信号に変換してデジタル信
号処理を行う撮像装置により撮像する撮像方法であっ
て、前記撮像素子から出力された映像信号の中のオプテ
ィカルブラック部分に相当する信号成分のレベルを検出
する検出工程と、前記検出工程により検出された検出レ
ベル値を予め設定された黒レベル値と比較して両者を一
致させるための補正データを演算する第1の演算工程
と、予め前記撮像素子からの映像信号のレベルを一定に
保つためのオートゲインコントロール回路のゲインの変
化による前記補正データの変動量をデータとしてメモリ
に保存する保存工程と、前記保存工程により前記メモリ
に保存したデータに基づき前記オートゲインコントロー
ル回路のゲインの変化に応じて補正信号を演算する第2
の演算工程と、前記オートゲインコントロール回路のゲ
インが変化したときにその変化に応じて前記補正信号に
より前記アナログ映像信号をデジタル信号に変換するA
/D変換器のボトム(BOTTOM)側の基準電圧を補
正する補正工程とを有することを特徴とする。
According to a first aspect of the present invention, there is provided an image pickup method comprising: an image pickup device for photoelectrically converting image pickup light into a video signal; and an analog image from the image pickup device. What is claimed is: 1. An imaging method for converting a signal into a digital signal and performing imaging by a digital signal processing apparatus, comprising: detecting a level of a signal component corresponding to an optical black portion in a video signal output from the imaging element. A first calculation step of comparing a detection level value detected in the detection step with a preset black level value and calculating correction data for matching the two with each other; A storage step of storing the amount of change in the correction data due to a change in the gain of the auto gain control circuit for keeping the signal level constant in the memory as data. Second for computing a correction signal in response to a change in the gain of the automatic gain control circuit based on the data stored in said memory by said storing step
And converting the analog video signal to a digital signal by the correction signal according to the change when the gain of the auto gain control circuit changes.
And correcting the reference voltage on the bottom (BOTTOM) side of the / D converter.

【0022】また、上記第1の目的を達成するために請
求項2記載の撮像方法は、請求項1記載の撮像方法にお
いて、映像信号の中のオプティカルブラック部分に相当
する信号成分を任意の直流(DC)電圧によりクランプ
するクランプ工程を有し、前記検出工程は、前記クラン
プ工程によりクランプした信号成分を予め設定された間
隔毎に積分して、そのレベル値を検出することを特徴と
する。
According to a second aspect of the present invention, there is provided an imaging method according to the first aspect, wherein a signal component corresponding to an optical black portion in a video signal is converted to an arbitrary direct current. (DC) A clamping step of clamping with a voltage, wherein the detecting step integrates the signal component clamped by the clamping step at predetermined intervals and detects a level value thereof.

【0023】また、上記第1の目的を達成するために請
求項3記載の撮像方法は、請求項1または2記載の撮像
方法において、前記第1の演算工程により演算された補
正データの値を前記A/D変換器の基準電圧に加算或い
は減算する加減算工程を有することを特徴とする。
According to a third aspect of the present invention, there is provided an imaging method as defined in the first or second aspect, wherein the value of the correction data calculated in the first calculation step is changed. The method may further include an adding / subtracting step of adding or subtracting to or from the reference voltage of the A / D converter.

【0024】また、上記第1の目的を達成するために請
求項4記載の撮像方法は、請求項1,2または3記載の
撮像方法において、前記検出工程により検出されたレベ
ル値をメモリに格納する格納工程を有することを特徴と
する。
According to a fourth aspect of the present invention, there is provided an imaging method according to the first aspect, wherein the level value detected in the detecting step is stored in a memory. It is characterized by having a storing step to perform.

【0025】また、上記第1の目的を達成するために請
求項5記載の撮像装置は、撮像光を映像信号に光電変換
する撮像素子を有し且つその撮像素子からのアナログ映
像信号をデジタル信号に変換してデジタル信号処理を行
う撮像装置であって、前記撮像素子から出力された映像
信号の中のオプティカルブラック部分に相当する信号成
分のレベルを検出する検出手段と、前記検出手段により
検出された検出レベル値を予め設定された黒レベル値と
比較して両者を一致させるための補正データを演算する
第1の演算手段と、予め前記撮像素子からの映像信号の
レベルを一定に保つためのオートゲインコントロール回
路のゲインの変化による前記補正データの変動量をデー
タとして保存するメモリと、前記メモリに保存したデー
タに基づき前記オートゲインコントロール回路のゲイン
の変化に応じて補正信号を演算する第2の演算手段と、
前記オートゲインコントロール回路のゲインが変化した
ときにその変化に応じて前記補正信号により前記アナロ
グ映像信号をデジタル信号に変換するA/D変換器のボ
トム(BOTTOM)側の基準電圧を補正する補正手段
とを有することを特徴とする。
According to a fifth aspect of the present invention, there is provided an image pickup apparatus having an image pickup device for photoelectrically converting image pickup light into a video signal, and converting an analog video signal from the image pickup device into a digital signal. An image pickup apparatus that performs digital signal processing by converting the image signal into a signal component corresponding to an optical black portion in a video signal output from the image pickup device. A first calculating means for comparing the detected level value with a preset black level value and calculating correction data for making the two coincide with each other; and for maintaining the level of the video signal from the image sensor constant in advance. A memory for storing the amount of change in the correction data due to a change in the gain of the auto gain control circuit as data, and Second calculating means for calculating a correction signal in response to a change in the gain of the preparative gain control circuit,
Correction means for correcting a reference voltage on the bottom (BOTTOM) side of an A / D converter for converting the analog video signal into a digital signal by the correction signal when the gain of the auto gain control circuit changes. And characterized in that:

【0026】また、上記第1の目的を達成するために請
求項6記載の撮像装置は、請求項5記載の撮像装置にお
いて、映像信号の中のオプティカルブラック部分に相当
する信号成分を任意の直流(DC)電圧によりクランプ
するクランプ手段を有し、前記検出手段は、前記クラン
プ手段によりクランプした信号成分を予め設定された間
隔毎に積分して、そのレベル値を検出することを特徴と
する。
According to a sixth aspect of the present invention, there is provided an imaging apparatus according to the fifth aspect, wherein a signal component corresponding to an optical black portion in a video signal is arbitrarily converted to a direct current. (DC) Clamping means for clamping by voltage, wherein the detecting means integrates the signal component clamped by the clamping means at predetermined intervals and detects a level value thereof.

【0027】また、上記第1の目的を達成するために請
求項7記載の撮像装置は、請求項5または6記載の撮像
装置において、前記第1の演算手段により演算された補
正データの値を前記A/D変換器の基準電圧に加算或い
は減算する加減算手段を有することを特徴とする。
According to a seventh aspect of the present invention, there is provided an imaging apparatus according to the fifth or sixth aspect, wherein the value of the correction data calculated by the first calculating means is changed. It is characterized by having an addition / subtraction means for adding or subtracting to or from the reference voltage of the A / D converter.

【0028】また、上記第1の目的を達成するために請
求項8記載の撮像装置は、請求項5,6または7記載の
撮像装置において、前記検出手段により検出されたレベ
ル値を格納するメモリを有することを特徴とする。
According to another aspect of the present invention, there is provided an image capturing apparatus according to claim 5, wherein the level value detected by the detecting means is stored in the memory. It is characterized by having.

【0029】また、上記第2の目的を達成するために請
求項9記載の記憶媒体は、撮像光を映像信号に光電変換
する撮像素子を有し且つその撮像素子からのアナログ映
像信号をデジタル信号に変換してデジタル信号処理を行
う撮像装置を制御するための制御プログラムを格納した
記憶媒体であって、前記制御プログラムは、前記撮像素
子から出力された映像信号の中のオプティカルブラック
部分に相当する信号成分のレベルを検出する検出モジュ
ールと、前記検出モジュールにより検出された検出レベ
ル値を予め設定された黒レベル値と比較して両者を一致
させるための補正データを演算する第1の演算モジュー
ルと、予め前記撮像素子からの映像信号のレベルを一定
に保つためのオートゲインコントロール回路のゲインの
変化による前記補正データの変動量をデータとしてメモ
リに保存する保存モジュールと、前記保存モジュールに
より前記メモリに保存したデータに基づき前記オートゲ
インコントロール回路のゲインの変化に応じて補正信号
を演算する第2の演算モジュールと、前記オートゲイン
コントロール回路のゲインが変化したときにその変化に
応じて前記補正信号により前記アナログ映像信号をデジ
タル信号に変換するA/D変換器のボトム(BOTTO
M)側の基準電圧を補正する補正モジュールとを有する
ことを特徴とする。
In order to achieve the second object, a storage medium according to the ninth aspect has an image sensor for photoelectrically converting image light into a video signal, and converts an analog video signal from the image sensor into a digital signal. A storage medium storing a control program for controlling an imaging apparatus that performs digital signal processing by converting the control signal into an image signal, wherein the control program corresponds to an optical black portion in a video signal output from the imaging device. A detection module for detecting a level of a signal component, a first calculation module for comparing a detection level value detected by the detection module with a preset black level value and calculating correction data for matching the two. The compensation by a change in the gain of an auto gain control circuit for keeping the level of the video signal from the image sensor constant in advance. A storage module for storing a variation amount of data as data in a memory, and a second calculation module for calculating a correction signal according to a change in gain of the auto gain control circuit based on the data stored in the memory by the storage module. When the gain of the auto gain control circuit changes, the bottom (BOTTO) of an A / D converter that converts the analog video signal into a digital signal with the correction signal according to the change.
And a correction module for correcting the reference voltage on the M) side.

【0030】また、上記第2の目的を達成するために請
求項10記載の記憶媒体は、請求項9記載の記憶媒体に
おいて、前記制御プログラムは、映像信号の中のオプテ
ィカルブラック部分に相当する信号成分を任意の直流
(DC)電圧によりクランプするクランプモジュールを
有し、前記検出モジュールは、前記クランプモジュール
によりクランプした信号成分を予め設定された間隔毎に
積分して、そのレベル値を検出することを特徴とする。
According to a tenth aspect of the present invention, there is provided a storage medium according to the ninth aspect, wherein the control program comprises a signal corresponding to an optical black portion in a video signal. A detection module that includes a clamp module that clamps a component by an arbitrary direct current (DC) voltage, wherein the detection module integrates a signal component clamped by the clamp module at predetermined intervals and detects a level value of the signal component. It is characterized by.

【0031】また、上記第2の目的を達成するために請
求項11記載の記憶媒体は、請求項9または10記載の
記憶媒体において、前記制御プログラムは、前記第1の
演算モジュールにより演算された補正データの値を前記
A/D変換器の基準電圧に加算或いは減算する加減算モ
ジュールを有することを特徴とする。
In order to achieve the second object, a storage medium according to claim 11 is the storage medium according to claim 9 or 10, wherein the control program is operated by the first operation module. An addition / subtraction module for adding or subtracting the value of the correction data to or from the reference voltage of the A / D converter is provided.

【0032】また、上記第2の目的を達成するために請
求項12記載の記憶媒体は、請求項9,10または11
記載の記憶媒体において、前記制御プログラムは、前記
検出モジュールにより検出されたレベル値をメモリに格
納する格納モジュールを有することを特徴とする。
According to a twelfth aspect of the present invention, in order to achieve the second object, the storage medium according to the ninth, tenth, or eleventh aspect is provided.
The storage medium according to the item, wherein the control program includes a storage module that stores a level value detected by the detection module in a memory.

【0033】また、上記第2の目的を達成するために請
求項13記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、フロッピ
ーディスクであることを特徴とする。
In order to achieve the second object, the storage medium according to the thirteenth aspect provides the storage medium according to the ninth to eleventh aspects.
3. The storage medium according to claim 2, wherein the storage medium is a floppy disk.

【0034】また、上記第2の目的を達成するために請
求項14記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、ハードデ
ィスクであることを特徴とする。
In order to achieve the second object, the storage medium according to the present invention provides the storage medium according to the present invention.
3. The storage medium according to claim 2, wherein the storage medium is a hard disk.

【0035】また、上記第2の目的を達成するために請
求項15記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、光ディス
クであることを特徴とする。
Further, in order to achieve the second object, the storage medium according to claim 15 provides the storage medium according to claims 9 to 11 or 1
3. The storage medium according to claim 2, wherein the storage medium is an optical disk.

【0036】また、上記第2の目的を達成するために請
求項16記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、光磁気デ
ィスクであることを特徴とする。
In order to achieve the second object, the storage medium according to the sixteenth aspect provides the storage medium according to the ninth to eleventh aspects.
3. The storage medium according to claim 2, wherein the storage medium is a magneto-optical disk.

【0037】また、上記第2の目的を達成するために請
求項17記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、CD−R
OM(Compact Disk Read Only
Memory)であることを特徴とする。
Further, in order to achieve the second object, the storage medium according to claim 17 provides the storage medium according to claims 9 to 11 or 1
3. The storage medium according to claim 2, wherein the storage medium is a CD-R.
OM (Compact Disk Read Only)
Memory).

【0038】また、上記第2の目的を達成するために請
求項18記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、CD−R
(Compact Disk Recordable)
であることを特徴とする。
In order to achieve the second object, the storage medium according to the eighteenth aspect provides the storage medium according to the ninth to eleventh aspects.
3. The storage medium according to claim 2, wherein the storage medium is a CD-R.
(Compact Disk Recordable)
It is characterized by being.

【0039】また、上記第2の目的を達成するために請
求項19記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、磁気テー
プであることを特徴とする。
In order to achieve the second object, the storage medium according to the nineteenth aspect provides the storage medium according to the ninth to eleventh aspects.
3. The storage medium according to claim 2, wherein the storage medium is a magnetic tape.

【0040】また、上記第2の目的を達成するために請
求項20記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、不揮発性
メモリカードであることを特徴とする。
Further, in order to achieve the second object, the storage medium according to claim 20 provides the storage medium according to claims 9 to 11 or 1
3. The storage medium according to claim 2, wherein the storage medium is a nonvolatile memory card.

【0041】更に、上記第2の目的を達成するために請
求項21記載の記憶媒体は、請求項9乃至11または1
2記載の記憶媒体において、前記記憶媒体は、ROM
(Read Only Memory)チップであるこ
とを特徴とする。
Further, in order to achieve the second object, the storage medium according to the twenty-first aspect provides the storage medium according to the ninth to eleventh aspects.
3. The storage medium according to claim 2, wherein the storage medium is a ROM.
(Read Only Memory) chip.

【0042】[0042]

【発明の実施の形態】以下、本発明の一実施の形態を図
1乃至図4に基づき説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS.

【0043】尚、本実施の形態に係る撮像装置における
OBレベル補正回路の構成及びクランプ回路の動作タイ
ミングは、上述した従来例の図6及び図7と同一である
から、これら両図を流用して説明する。
The configuration of the OB level correction circuit and the operation timing of the clamp circuit in the image pickup apparatus according to this embodiment are the same as those in FIGS. 6 and 7 of the above-described conventional example. Will be explained.

【0044】図1は、本実施の形態に係る撮像装置の構
成を示すブロック図である。同図において、上述した従
来例の図5と同一部分には同一符号が付してある。
FIG. 1 is a block diagram showing the configuration of the imaging apparatus according to the present embodiment. In this figure, the same parts as those of the above-described conventional example shown in FIG. 5 are denoted by the same reference numerals.

【0045】図1において図5と異なる点は、図5の構
成にメモリ16を付加したことである。
FIG. 1 differs from FIG. 5 in that a memory 16 is added to the configuration of FIG.

【0046】図1において、1は撮像レンズ、2はアイ
リスで、撮像レンズ1を通った被写体からの撮像光の入
射光量を制御する。3はCCD等の撮像素子で、アイリ
ス2を通った撮像光(画像光)を光電変換して電気的な
映像信号に変換する。4はS/H(サンプル/ホール
ド)回路で、撮像素子3から出力された映像信号に含ま
れている蓄積電荷ノイズを低減するものである。5はA
GC(オートゲインコントロール)回路で、映像信号を
一定レベルに保つものである。6はクランプ回路で、A
GC回路5から出力された映像信号に対してクランプパ
ルスにより所定の電圧値にオプティカルブラック部分
(OB部分)をクランプする。
In FIG. 1, reference numeral 1 denotes an imaging lens, and reference numeral 2 denotes an iris, which controls an incident light amount of imaging light from a subject passing through the imaging lens 1. Reference numeral 3 denotes an image pickup device such as a CCD, which photoelectrically converts image pickup light (image light) passing through the iris 2 into an electric video signal. Reference numeral 4 denotes an S / H (sample / hold) circuit for reducing accumulated charge noise contained in a video signal output from the image sensor 3. 5 is A
This is a GC (auto gain control) circuit for maintaining a video signal at a constant level. 6 is a clamp circuit, and A
An optical black portion (OB portion) is clamped to a predetermined voltage value by a clamp pulse with respect to the video signal output from the GC circuit 5.

【0047】7はA/D変換器で、クランプ回路6で所
定電圧値にクランプされた映像信号をデジタル信号に変
換するものである。8はデジタル信号処理回路(DSP
回路)で、A/D変換器7から出力されたデジタル信号
をビデオ信号に変換するために必要な様々な信号処理を
施すものである。9はTG回路で、前記クランプパルス
等の各種のタイミングパルスを発生するクランプパルス
発生回路9aを含んでいる。10はDC電圧発生回路
で、所定のクランプ電圧を発生するものである。11は
OBレベル補正回路で、A/D変換器7によりデジタル
信号に変換された映像信号のOBレベルと予め設定した
黒レベルとを比較して、両者が一致するようなオフセッ
ト量を演算し、その演算結果を映像信号のOBレベルに
対して、加算若しくは減算の補正を行うものである。後
述するシステムコントロール回路12を介して後述する
出力電圧を任意に制御可能な第2のD/A変換器15に
より、A/D変換器7の基準電圧(BOTTOM側)の
電圧制御を行う。
Reference numeral 7 denotes an A / D converter which converts a video signal clamped to a predetermined voltage value by the clamp circuit 6 into a digital signal. 8 is a digital signal processing circuit (DSP)
Circuit) for performing various signal processing necessary for converting the digital signal output from the A / D converter 7 into a video signal. Reference numeral 9 denotes a TG circuit, which includes a clamp pulse generating circuit 9a for generating various timing pulses such as the clamp pulse. Reference numeral 10 denotes a DC voltage generating circuit for generating a predetermined clamp voltage. An OB level correction circuit 11 compares the OB level of the video signal converted into a digital signal by the A / D converter 7 with a preset black level, and calculates an offset amount such that the two coincide. The calculation result is added or subtracted to the OB level of the video signal. The voltage of the reference voltage (BOTTOM side) of the A / D converter 7 is controlled by a second D / A converter 15 which can arbitrarily control an output voltage described later via a system control circuit 12 described later.

【0048】12はシステムコントロール回路で、デジ
タル信号処理回路8を含むシステム全体を制御するマイ
クロコンピュータで構成されている。13は画像メモリ
で、デジタル信号処理回路8から出力されたデジタル映
像信号を、システムコントロール回路12からの制御信
号により記憶/出力するものである。14は第1のD/
A変換器で、撮像素子3若しくは画像メモリ13からデ
ジタル信号処理回路8を介して出力されたデジタル映像
信号をアナログ信号に変換するものである。15は第2
のD/A変換器で、システムコントロール回路12から
の制御信号に基づいて任意の電圧を出力するものであ
る。16はメモリで、システムコントロール回路12か
らの制御信号に基づいて、調整工程での調整値等を格納
するものである。
Reference numeral 12 denotes a system control circuit, which comprises a microcomputer for controlling the entire system including the digital signal processing circuit 8. Reference numeral 13 denotes an image memory which stores / outputs a digital video signal output from the digital signal processing circuit 8 according to a control signal from the system control circuit 12. 14 is the first D /
The A converter converts a digital video signal output from the image sensor 3 or the image memory 13 via the digital signal processing circuit 8 into an analog signal. 15 is the second
The D / A converter outputs an arbitrary voltage based on a control signal from the system control circuit 12. Reference numeral 16 denotes a memory for storing adjustment values and the like in the adjustment process based on a control signal from the system control circuit 12.

【0049】尚、OBレベル補正回路11の構成は、上
述した従来例の図6と同一であるから、重複する詳細説
明は省略するが、OB積分値検出回路11a、補正デー
タ演算回路11b及び加減算回路11cを有している。
Since the configuration of the OB level correction circuit 11 is the same as that of the above-described conventional example shown in FIG. 6, repeated detailed description is omitted, but the OB integrated value detection circuit 11a, the correction data calculation circuit 11b, and the addition / subtraction circuit It has a circuit 11c.

【0050】また、クランプ回路6の動作タイミングも
図7に示す通りである。
The operation timing of the clamp circuit 6 is as shown in FIG.

【0051】次に、上記構成の本実施の形態に係る撮像
装置の具体的な動作について説明する。
Next, a specific operation of the imaging apparatus according to the present embodiment having the above configuration will be described.

【0052】尚、ここでは、上述した従来例と本実施の
形態との相違点に重点をおいて動作説明を行う。
Here, the operation will be described with emphasis on the difference between the above-described conventional example and the present embodiment.

【0053】本実施の形態におけるAGC回路5のゲイ
ン設定は、システムコントロール回路12によって制御
される(尚、このAGC回路5のゲイン設定制御方法に
ついては、システムコントロール回路12によって制御
されていれば良く、例えば、更にD/A変換器等を介し
て電圧制御を行っても良いし、デジタル信号処理(DS
P)回路8を介して制御を行っても良い。
The gain setting of the AGC circuit 5 in the present embodiment is controlled by the system control circuit 12 (this gain setting control method of the AGC circuit 5 only needs to be controlled by the system control circuit 12). For example, voltage control may be performed via a D / A converter or the like, or digital signal processing (DS
P) The control may be performed via the circuit 8.

【0054】まず、撮像レンズ1から入射された光は、
従来と同様にアイリス2で光量調整された後撮像素子3
に入り、ここで光電変換されて電気的な信号となる。こ
の映像信号は、S/H回路4で蓄積電荷ノイズ成分を除
去され、AGC回路5で適正な映像信号レベルに増幅さ
れる。AGC回路5から出力された映像信号は、コンデ
ンサで容量結合されて、クランプ回路6に入力される。
そして、このクランプ回路6で任意の電圧にクランプさ
れ、A/D変換器7でデジタル信号に変換された後、デ
ジタル信号処理回路8でビデオ信号になる。
First, the light incident from the imaging lens 1 is
After the light amount is adjusted by the iris 2 as in the related art, the image sensor 3
, Where it is photoelectrically converted into an electrical signal. This video signal has its accumulated charge noise component removed by the S / H circuit 4 and is amplified to an appropriate video signal level by the AGC circuit 5. The video signal output from the AGC circuit 5 is capacitively coupled by a capacitor and input to the clamp circuit 6.
Then, the voltage is clamped to an arbitrary voltage by the clamp circuit 6, converted into a digital signal by the A / D converter 7, and converted into a video signal by the digital signal processing circuit 8.

【0055】ここで、まず、本撮像装置の調整工程にお
いて、AGC回路5のゲインが最大になる条件を設定し
(レンズキャップを撮像レンズ1に嵌める等)、そのと
きのOB積分値検出回路11aの出力データをシステム
コントロール回路12に取り込み、このシステムコント
ロール回路12から調整データ格納用のメモリ16に前
記出力データを格納する。
First, in the adjustment step of the present image pickup apparatus, conditions for maximizing the gain of the AGC circuit 5 are set (for example, a lens cap is fitted to the image pickup lens 1), and the OB integral value detection circuit 11a at that time is set. Is output to the system control circuit 12, and the output data is stored in the memory 16 for storing adjustment data from the system control circuit 12.

【0056】また、システムコントロール回路12で
は、通常時のOB積分値(例えば、32LSB)とAG
C回路5が最大ゲイン時のOB積分値(メモリ16に格
納したOB積分値検出回路11aからのOB積分値)か
らAGC回路5のゲイン変化に対応したOBレベルの変
動を補正するための補正信号(補正データ)を演算し、
第2D/A変換器15を制御する。
Further, in the system control circuit 12, the OB integral value (for example, 32 LSB) in the normal state and AG
A correction signal for correcting a change in the OB level corresponding to a change in the gain of the AGC circuit 5 from the OB integrated value when the C circuit 5 has the maximum gain (the OB integrated value from the OB integrated value detection circuit 11a stored in the memory 16). (Correction data)
The second D / A converter 15 is controlled.

【0057】例えば、本実施の形態の場合、A/D変換
器7は、10bitA/D変換器を使用しており、補正
データ演算回路11bにはOBレベル設定データ値(3
2LSB)が設定されいる。補正データ演算回路11b
は、この設定されたデータ値とOB積分値検出回路11
aからの出力値(実際のOB積分値)とを比較し、OB
レベル補正回路11の出力値が32LSBになるように
動作している。
For example, in the case of the present embodiment, the A / D converter 7 uses a 10-bit A / D converter, and the OB level setting data value (3
2LSB) is set. Correction data operation circuit 11b
Is the set data value and the OB integrated value detection circuit 11
a with the output value (actual OB integral value) from
It operates so that the output value of the level correction circuit 11 becomes 32 LSB.

【0058】また、A/D変換器7は通常時には、TO
P側基準電圧2000mV、BOTTOM側基準電圧1
000mVで動作しており、OB積分値が1LSB変動
した場合には、前記BOTTOM側基準電圧を1mV補
正することでOBレベルの補正値として対応がとれる回
路設定になっている。
The A / D converter 7 normally operates at the time of TO
P side reference voltage 2000mV, BOTTOM side reference voltage 1
When the OB integrated value fluctuates by 1 LSB, the BOTTOM-side reference voltage is corrected by 1 mV to provide a circuit setting that can be used as an OB level correction value.

【0059】そして、AGC回路5のゲインが変化した
ときに、そのゲインに対応した補正データ(図2参照)
がシステムコントロール回路12から第2のD/A変換
器15に出力され、この補正データに基づきA/D変換
器7の基準電圧を補正する。
When the gain of the AGC circuit 5 changes, correction data corresponding to the gain (see FIG. 2)
Is output from the system control circuit 12 to the second D / A converter 15, and the reference voltage of the A / D converter 7 is corrected based on the correction data.

【0060】例えば、本実施の形態の場合、AGC回路
5のゲインが最大時にOB積分値検出回路11aの出力
値が52LSBになる撮像装置であるとすると、通常時
(MINゲイン時)との差分(20LSB分:20m
V)の電圧値をA/D変換器7のBOTTOM側基準電
圧に加算した電圧(この場合、1.02V)が、A/D
変換器7のBOTTOM側基準電圧として第2のD/A
変換器15から出力される。
For example, in the case of this embodiment, assuming that the image pickup apparatus has an output value of the OB integral value detection circuit 11a of 52 LSB when the gain of the AGC circuit 5 is maximum, the difference from the normal time (at the time of MIN gain) is obtained. (For 20LSB: 20m
V) is added to the BOTTOM-side reference voltage of the A / D converter 7 (1.02 V in this case) to obtain an A / D
The second D / A as the BOTTOM side reference voltage of the converter 7
Output from the converter 15.

【0061】また、システムコントロール回路12は、
第2のD/A変換器15を制御して、通常時(AGC回
路5のゲインが最小時)には、常時TOP側基準電圧2
000mV、BOTTOM側基準電圧1000mVに制
御している。
The system control circuit 12
The second D / A converter 15 is controlled so that the TOP-side reference voltage 2 is always maintained during normal times (when the gain of the AGC circuit 5 is minimum).
000 mV and the reference voltage on the BOTTOM side is set to 1000 mV.

【0062】ここで、映像信号のレベルを一定に保つた
め等の理由により、システムコントロール回路12がA
GC回路5のゲインを上げた場合、システムコントロー
ル回路12は第2のD/A変換器15に与える制御デー
タを、AGC回路5に送られるゲインコントロールデー
タに連動させて、前記演算結果に従った制御データに切
り換えて、第2のD/A変換器15から出力されるA/
D変換器7の基準電圧値を変化させる。
Here, for reasons such as keeping the level of the video signal constant, the system control circuit 12
When the gain of the GC circuit 5 is increased, the system control circuit 12 synchronizes the control data given to the second D / A converter 15 with the gain control data sent to the AGC circuit 5 and follows the calculation result. Switching to the control data, the A / D output from the second D / A converter 15
The reference voltage value of the D converter 7 is changed.

【0063】本実施の形態では、図2に示すようにAG
C回路5のゲイン変化に対して第2のD/A変換器15
の出力電圧値を補正している。
In the present embodiment, as shown in FIG.
The second D / A converter 15 responds to a change in the gain of the C circuit 5.
Is corrected.

【0064】図2は、本実施の形態におけるAGC回路
5のゲイン変化に対応した第2のD/A変換器15の出
力電圧制御の一例を示す図であり、同図において、縦軸
は第2のD/A変換器15から出力されるA/D変換器
7のBOTTOM側基準電圧値を、横軸はAGC回路5
のゲイン設定データ(MIN〜MAX)をそれぞれ表わ
している。
FIG. 2 is a diagram showing an example of the output voltage control of the second D / A converter 15 corresponding to the gain change of the AGC circuit 5 in the present embodiment. In FIG. 2 shows the reference voltage on the BOTTOM side of the A / D converter 7 output from the D / A converter 15 of FIG.
Respectively (MIN to MAX).

【0065】この制御データの変更によって、第2のD
/A変換器15は、通常時の1000mVから任意の電
圧に出力電圧を変化させ、A/D変換器7のBOTTO
M側基準電圧値を、AGC回路5のゲイン変化によるO
Bレベル変動分に対応して変化させることにより、OB
積分値検出回路11aの検出値は、AGC回路5のゲイ
ン変化によるOBレベルの変動による積分値の変動を最
小限に抑えることが可能となる。
By changing the control data, the second D
The A / D converter 15 changes the output voltage from an ordinary voltage of 1000 mV to an arbitrary voltage, and the BOTTO of the A / D converter 7
The M-side reference voltage value is changed by the OGC due to a change in the gain of the AGC circuit 5.
By changing in accordance with the B level fluctuation, OB
The detection value of the integration value detection circuit 11a makes it possible to minimize the change in the integration value due to the change in the OB level due to the change in the gain of the AGC circuit 5.

【0066】従って、結果的にOBレベル補正回路11
から見た場合、A/D変換器7から出力されるデジタル
映像信号出力は、OB部が32LSBのまま維持された
ことと等価になるため、常に適正な黒レベルを得ること
が可能となる。
Therefore, as a result, the OB level correction circuit 11
When viewed from above, the digital video signal output from the A / D converter 7 is equivalent to the OB section being maintained at 32 LSB, so that an appropriate black level can always be obtained.

【0067】以上、本実施の形態について説明したが、
本実施の形態では、AGC回路5のゲインが最小値の時
(通常時)と最大値の時(低照度時)とでOB積分値の
差から、その変動量に対応したA/D変換器7の基準電
圧値を算出する算出手段と、これによって得られた補正
データによりA/D変換器7の基準電圧値を変化させる
ための第2のD/A変換器15を制御する制御手段とを
具備している。そして、まず予め、AGC回路5からの
ゲインが最大の時のOB積分値検出回路11aの出力値
(OB積分値)をシステムコントロール回路12に取り
込み、このデータを調整データ格納用のメモリ16に格
納する。この前記調整データ格納用のメモリ16に保存
された前記OB積分値を基に、システムコントロール回
路12でAGC回路5のゲイン変化によるOB積分値の
変動量を演算し、AGC回路5のゲイン変化に対応した
その変動量を補正するためのA/D変換器7のBOTT
OM側基準電圧値を第2のD/A変換器15に出力す
る。
The embodiment has been described above.
In the present embodiment, the A / D converter corresponding to the variation is obtained from the difference between the OB integral value when the gain of the AGC circuit 5 is the minimum value (normal time) and when the gain is the maximum value (low light intensity). Calculating means for calculating the reference voltage value of the A / D converter 7, and control means for controlling the second D / A converter 15 for changing the reference voltage value of the A / D converter 7 based on the correction data obtained thereby. Is provided. First, the output value (OB integrated value) of the OB integrated value detecting circuit 11a when the gain from the AGC circuit 5 is the maximum is taken into the system control circuit 12, and this data is stored in the memory 16 for storing adjustment data. I do. Based on the OB integrated value stored in the adjustment data storage memory 16, the system control circuit 12 calculates the amount of change in the OB integrated value due to the change in the gain of the AGC circuit 5, and calculates the amount of change in the gain of the AGC circuit 5. BOTT of A / D converter 7 for correcting the corresponding fluctuation amount
The OM-side reference voltage value is output to the second D / A converter 15.

【0068】これにより、前記OB積分値がAGC回路
5のゲインの変化により変動しても、常に映像信号の黒
レベルを一定に保つことができ、良好な映像信号を得る
ことが可能となる。
Thus, even if the OB integrated value fluctuates due to a change in the gain of the AGC circuit 5, the black level of the video signal can always be kept constant, and a good video signal can be obtained.

【0069】また、本実施の形態に係る撮像装置は、記
憶媒体に格納された制御プログラムをコンピュータが読
み出して実行することにより、上述した本実施の形態の
機能が実現されるものであるが、本発明はこれに限定さ
れるものではなく、前記制御プログラムの指示に基づき
コンピュータ上で稼働しているOS(オペレーティング
システム)等の実際の処理の一部または全部を行い、そ
の処理によって上述した本実施の形態の機能が実現され
る場合も含まれることは言うまでもない。
The imaging apparatus according to the present embodiment realizes the above-described functions of the present embodiment by reading and executing a control program stored in a storage medium by a computer. The present invention is not limited to this, and performs part or all of actual processing such as an OS (Operating System) running on a computer based on the instructions of the control program, and executes the above-described book processing by the processing. It goes without saying that a case where the functions of the embodiments are realized is also included.

【0070】また、制御プログラムを格納する記憶媒体
としては、例えば、フロッピーディスク、ハードディス
ク、光ディスク、光磁気ディスク、CD−ROM(Co
mpact Disk Read Only Memo
ry)、CD−R(Compact Disk Rec
ordable)、磁気テープ、不揮発性メモリカー
ド、ROMチップ等を用いることができる。
The storage medium for storing the control program is, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM (Co-ROM).
mpact Disk Read Only Memo
ry), CD-R (Compact Disk Rec)
order, a magnetic tape, a nonvolatile memory card, a ROM chip, or the like.

【0071】[0071]

【発明の効果】以上詳述したように本発明の撮像方法及
び装置によれば、従来に比べて、たとえOB積分値がA
GC回路のゲインの変化により変動しても、常に映像信
号の黒レベルを一定に保つことができ、良好な映像信号
を得ることができるという効果を奏する。
As described above in detail, according to the imaging method and apparatus of the present invention, even if the OB integral value is A,
Even if it fluctuates due to a change in the gain of the GC circuit, the black level of the video signal can always be kept constant, and an advantageous effect that a good video signal can be obtained can be obtained.

【0072】また、本発明の記憶媒体によれば、上述し
た本発明の撮像装置を円滑に制御することができるとい
う効果を奏する。
Further, according to the storage medium of the present invention, there is an effect that the above-described imaging device of the present invention can be smoothly controlled.

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

【図1】本発明の第1の実施の形態に係る撮像装置の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an imaging device according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態に係る撮像装置にお
けるOBレベル変動によるA/D変換器の基準電圧の補
正電圧制御の一例を示す図である。
FIG. 2 is a diagram illustrating an example of correction voltage control of a reference voltage of an A / D converter due to OB level fluctuation in the imaging device according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態に係る撮像装置にお
けるAGC回路のゲイン変化時のOB積分検出回路の出
力データの変動を示す図である。
FIG. 3 is a diagram illustrating a change in output data of the OB integration detection circuit when the gain of the AGC circuit changes in the imaging device according to the first embodiment of the present invention.

【図4】本発明の第1の実施の形態に係る撮像装置にお
けるAGC回路のゲイン変化時のOB積分検出回路の出
力データの変動を示す図である。
FIG. 4 is a diagram showing a change in output data of the OB integration detection circuit when the gain of the AGC circuit changes in the imaging device according to the first embodiment of the present invention.

【図5】従来の撮像装置の構成を示すブロック図であ
る。
FIG. 5 is a block diagram illustrating a configuration of a conventional imaging device.

【図6】従来の撮像装置におけるOBレベル補正回路の
構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of an OB level correction circuit in a conventional imaging device.

【図7】従来の撮像装置におけるクランプ回路の動作及
びタイミングを示す図である。
FIG. 7 is a diagram illustrating the operation and timing of a clamp circuit in a conventional imaging device.

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

1 撮像レンズ 2 アイリス 3 撮像素子 4 S/H(サンプル/ホールド)回路 5 AGC(オートゲインコントロール)回路 6 クランプ回路 7 A/D変換器 8 デジタル信号処理回路 9 TG(タイミングジェネレータ)回路 9a クランプパルス発生回路 10 DC電圧発生回路 11 OBレベル補正回路 11a OB積分値検出回路 11b 補正データ演算回路 11c 加減算回路 12 システムコントロール回路 13 画像メモリ 14 第1のD/A変換器 15 第2のD/A変換器 16 調整データ格納用のメモリ Reference Signs List 1 imaging lens 2 iris 3 imaging element 4 S / H (sample / hold) circuit 5 AGC (auto gain control) circuit 6 clamp circuit 7 A / D converter 8 digital signal processing circuit 9 TG (timing generator) circuit 9a clamp pulse Generation circuit 10 DC voltage generation circuit 11 OB level correction circuit 11a OB integrated value detection circuit 11b Correction data operation circuit 11c Addition / subtraction circuit 12 System control circuit 13 Image memory 14 First D / A converter 15 Second D / A conversion Unit 16 Memory for storing adjustment data

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 撮像光を映像信号に光電変換する撮像素
子を有し且つその撮像素子からのアナログ映像信号をデ
ジタル信号に変換してデジタル信号処理を行う撮像装置
により撮像する撮像方法であって、前記撮像素子から出
力された映像信号の中のオプティカルブラック部分に相
当する信号成分のレベルを検出する検出工程と、前記検
出工程により検出された検出レベル値を予め設定された
黒レベル値と比較して両者を一致させるための補正デー
タを演算する第1の演算工程と、予め前記撮像素子から
の映像信号のレベルを一定に保つためのオートゲインコ
ントロール回路のゲインの変化による前記補正データの
変動量をデータとしてメモリに保存する保存工程と、前
記保存工程により前記メモリに保存したデータに基づき
前記オートゲインコントロール回路のゲインの変化に応
じて補正信号を演算する第2の演算工程と、前記オート
ゲインコントロール回路のゲインが変化したときにその
変化に応じて前記補正信号により前記アナログ映像信号
をデジタル信号に変換するA/D変換器のボトム(BO
TTOM)側の基準電圧を補正する補正工程とを有する
ことを特徴とする撮像方法。
An imaging method comprising: an imaging device that photoelectrically converts imaging light into a video signal; and an imaging device that converts an analog video signal from the imaging device into a digital signal and performs digital signal processing. Detecting a level of a signal component corresponding to an optical black portion in a video signal output from the image sensor, and comparing a detection level value detected in the detection step with a preset black level value A first calculation step of calculating correction data for making the two coincide with each other, and a change of the correction data due to a change in gain of an automatic gain control circuit for maintaining a constant level of a video signal from the image sensor in advance. A storage step of storing the amount as data in a memory; and the auto gain controller based on the data stored in the memory in the storage step. A second calculating step of calculating a correction signal according to a change in gain of the control circuit; and, when the gain of the auto gain control circuit changes, converting the analog video signal into a digital signal by the correction signal in accordance with the change. A / D converter bottom (BO)
A correction step of correcting the reference voltage on the (TTOM) side.
【請求項2】 映像信号の中のオプティカルブラック部
分に相当する信号成分を任意の直流(DC)電圧により
クランプするクランプ工程を有し、前記検出工程は、前
記クランプ工程によりクランプした信号成分を予め設定
された間隔毎に積分して、そのレベル値を検出すること
を特徴とする請求項1記載の撮像方法。
2. The method according to claim 1, further comprising a clamping step of clamping a signal component corresponding to an optical black portion in the video signal with an arbitrary direct current (DC) voltage. 2. The imaging method according to claim 1, wherein the level value is detected by integrating at set intervals.
【請求項3】 前記第1の演算工程により演算された補
正データの値を前記A/D変換器の基準電圧に加算或い
は減算する加減算工程を有することを特徴とする請求項
1または2記載の撮像方法。
3. The method according to claim 1, further comprising the step of adding or subtracting a value of the correction data calculated in the first calculation step to or from a reference voltage of the A / D converter. Imaging method.
【請求項4】 前記検出工程により検出されたレベル値
をメモリに格納する格納工程を有することを特徴とする
請求項1,2または3記載の撮像方法。
4. The imaging method according to claim 1, further comprising a storage step of storing the level value detected in said detection step in a memory.
【請求項5】 撮像光を映像信号に光電変換する撮像素
子を有し且つその撮像素子からのアナログ映像信号をデ
ジタル信号に変換してデジタル信号処理を行う撮像装置
であって、前記撮像素子から出力された映像信号の中の
オプティカルブラック部分に相当する信号成分のレベル
を検出する検出手段と、前記検出手段により検出された
検出レベル値を予め設定された黒レベル値と比較して両
者を一致させるための補正データを演算する第1の演算
手段と、予め前記撮像素子からの映像信号のレベルを一
定に保つためのオートゲインコントロール回路のゲイン
の変化による前記補正データの変動量をデータとして保
存するメモリと、前記メモリに保存したデータに基づき
前記オートゲインコントロール回路のゲインの変化に応
じて補正信号を演算する第2の演算手段と、前記オート
ゲインコントロール回路のゲインが変化したときにその
変化に応じて前記補正信号により前記アナログ映像信号
をデジタル信号に変換するA/D変換器のボトム(BO
TTOM)側の基準電圧を補正する補正手段とを有する
ことを特徴とする撮像装置。
5. An image pickup apparatus having an image pickup device for photoelectrically converting image pickup light into a video signal, and performing digital signal processing by converting an analog video signal from the image pickup device to a digital signal. Detecting means for detecting the level of a signal component corresponding to an optical black portion in the output video signal, and comparing the detected level value detected by the detecting means with a preset black level value to match the two. A first calculating means for calculating correction data for performing the correction, and a change amount of the correction data due to a change in a gain of an auto gain control circuit for maintaining a level of a video signal from the image sensor in advance is stored as data. A correction signal in accordance with a change in the gain of the auto gain control circuit based on the data stored in the memory. A second calculating means for converting the analog video signal into a digital signal by means of the correction signal in response to a change in the gain of the auto gain control circuit.
A correction unit for correcting a reference voltage on the (TTOM) side.
【請求項6】 映像信号の中のオプティカルブラック部
分に相当する信号成分を任意の直流(DC)電圧により
クランプするクランプ手段を有し、前記検出手段は、前
記クランプ手段によりクランプした信号成分を予め設定
された間隔毎に積分して、そのレベル値を検出すること
を特徴とする請求項5記載の撮像装置。
6. A clamp means for clamping a signal component corresponding to an optical black portion in a video signal by an arbitrary direct current (DC) voltage, wherein said detection means previously detects a signal component clamped by said clamp means. 6. The imaging apparatus according to claim 5, wherein the level value is detected by integrating at each set interval.
【請求項7】 前記第1の演算手段により演算された補
正データの値を前記A/D変換器の基準電圧に加算或い
は減算する加減算手段を有することを特徴とする請求項
5または6記載の撮像装置。
7. An addition / subtraction unit for adding or subtracting a value of the correction data calculated by the first calculation unit to or from a reference voltage of the A / D converter. Imaging device.
【請求項8】 前記検出手段により検出されたレベル値
を格納するメモリを有することを特徴とする請求項5,
6または7記載の撮像装置。
8. The apparatus according to claim 5, further comprising a memory for storing a level value detected by said detecting means.
8. The imaging device according to 6 or 7.
【請求項9】 撮像光を映像信号に光電変換する撮像素
子を有し且つその撮像素子からのアナログ映像信号をデ
ジタル信号に変換してデジタル信号処理を行う撮像装置
を制御するための制御プログラムを格納した記憶媒体で
あって、前記制御プログラムは、前記撮像素子から出力
された映像信号の中のオプティカルブラック部分に相当
する信号成分のレベルを検出する検出モジュールと、前
記検出モジュールにより検出された検出レベル値を予め
設定された黒レベル値と比較して両者を一致させるため
の補正データを演算する第1の演算モジュールと、予め
前記撮像素子からの映像信号のレベルを一定に保つため
のオートゲインコントロール回路のゲインの変化による
前記補正データの変動量をデータとしてメモリに保存す
る保存モジュールと、前記保存モジュールにより前記メ
モリに保存したデータに基づき前記オートゲインコント
ロール回路のゲインの変化に応じて補正信号を演算する
第2の演算モジュールと、前記オートゲインコントロー
ル回路のゲインが変化したときにその変化に応じて前記
補正信号により前記アナログ映像信号をデジタル信号に
変換するA/D変換器のボトム(BOTTOM)側の基
準電圧を補正する補正モジュールとを有することを特徴
とする記憶媒体。
9. A control program for controlling an image pickup device having an image pickup device for photoelectrically converting image pickup light into a video signal, and converting an analog video signal from the image pickup device to a digital signal and performing digital signal processing. A storage medium, wherein the control program includes: a detection module that detects a level of a signal component corresponding to an optical black portion in a video signal output from the imaging element; and a detection module that detects a level detected by the detection module. A first arithmetic module for comparing a level value with a preset black level value and calculating correction data for matching the two, and an auto gain for maintaining a constant level of a video signal from the image sensor in advance A storage module for storing the amount of change in the correction data due to a change in the gain of the control circuit as data in a memory; A second calculation module that calculates a correction signal according to a change in gain of the auto gain control circuit based on data stored in the memory by the storage module; and a second calculation module that calculates a correction signal when the gain of the auto gain control circuit changes. A storage module comprising: a correction module that corrects a reference voltage on a bottom (BOTTOM) side of an A / D converter that converts the analog video signal into a digital signal with the correction signal according to a change.
【請求項10】 前記制御プログラムは、映像信号の中
のオプティカルブラック部分に相当する信号成分を任意
の直流(DC)電圧によりクランプするクランプモジュ
ールを有し、前記検出モジュールは、前記クランプモジ
ュールによりクランプした信号成分を予め設定された間
隔毎に積分して、そのレベル値を検出することを特徴と
する請求項9記載の記憶媒体。
10. The control program includes a clamp module that clamps a signal component corresponding to an optical black portion in a video signal by an arbitrary direct current (DC) voltage, and the detection module clamps the signal component by the clamp module. 10. The storage medium according to claim 9, wherein said signal component is integrated at predetermined intervals, and its level value is detected.
【請求項11】 前記制御プログラムは、前記第1の演
算モジュールにより演算された補正データの値を前記A
/D変換器の基準電圧に加算或いは減算する加減算モジ
ュールを有することを特徴とする請求項9または10記
載の記憶媒体。
11. The control program stores a value of correction data calculated by the first calculation module in the A
11. The storage medium according to claim 9, further comprising an addition / subtraction module for adding or subtracting a reference voltage to a / D converter.
【請求項12】 前記制御プログラムは、前記検出モジ
ュールにより検出されたレベル値をメモリに格納する格
納モジュールを有することを特徴とする請求項9,10
または11記載の記憶媒体。
12. The control program according to claim 9, wherein the control program has a storage module for storing a level value detected by the detection module in a memory.
Or the storage medium according to 11.
【請求項13】 前記記憶媒体は、フロッピーディスク
であることを特徴とする請求項9乃至11または12記
載の記憶媒体。
13. The storage medium according to claim 9, wherein the storage medium is a floppy disk.
【請求項14】 前記記憶媒体は、ハードディスクであ
ることを特徴とする請求項9乃至11または12記載の
記憶媒体。
14. The storage medium according to claim 9, wherein the storage medium is a hard disk.
【請求項15】 前記記憶媒体は、光ディスクであるこ
とを特徴とする請求項9乃至11または12記載の記憶
媒体。
15. The storage medium according to claim 9, wherein the storage medium is an optical disk.
【請求項16】 前記記憶媒体は、光磁気ディスクであ
ることを特徴とする請求項9乃至11または12記載の
記憶媒体。
16. The storage medium according to claim 9, wherein said storage medium is a magneto-optical disk.
【請求項17】 前記記憶媒体は、CD−ROM(Co
mpact Disk Read Only Memo
ry)であることを特徴とする請求項9乃至11または
12記載の記憶媒体。
17. The storage medium is a CD-ROM (Co-ROM).
mpact Disk Read Only Memo
The storage medium according to claim 9, wherein the storage medium is ry).
【請求項18】 前記記憶媒体は、CD−R(Comp
act DiskRecordable)であることを
特徴とする請求項9乃至11または12記載の記憶媒
体。
18. The storage medium according to claim 1, wherein the storage medium is a CD-R (Comp
13. The storage medium according to claim 9, wherein the storage medium is an act disk recordable.
【請求項19】 前記記憶媒体は、磁気テープであるこ
とを特徴とする請求項9乃至11または12記載の記憶
媒体。
19. The storage medium according to claim 9, wherein the storage medium is a magnetic tape.
【請求項20】 前記記憶媒体は、不揮発性メモリカー
ドであることを特徴とする請求項9乃至11または12
記載の記憶媒体。
20. The storage medium according to claim 9, wherein the storage medium is a nonvolatile memory card.
The storage medium according to the above.
【請求項21】 前記記憶媒体は、ROM(Read
Only Memory)チップであることを特徴とす
る請求項9乃至11または12記載の記憶媒体
21. The storage medium according to claim 13, wherein the storage medium is a ROM (Read
13. The storage medium according to claim 9, wherein the storage medium is an only memory (chip) chip.
JP11210689A 1999-07-26 1999-07-26 Image pickup method, image pickup device and storage medium Withdrawn JP2001045366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11210689A JP2001045366A (en) 1999-07-26 1999-07-26 Image pickup method, image pickup device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11210689A JP2001045366A (en) 1999-07-26 1999-07-26 Image pickup method, image pickup device and storage medium

Publications (1)

Publication Number Publication Date
JP2001045366A true JP2001045366A (en) 2001-02-16

Family

ID=16593487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11210689A Withdrawn JP2001045366A (en) 1999-07-26 1999-07-26 Image pickup method, image pickup device and storage medium

Country Status (1)

Country Link
JP (1) JP2001045366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094010A (en) * 2004-09-22 2006-04-06 Canon Inc Image pickup device, and image pickup method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094010A (en) * 2004-09-22 2006-04-06 Canon Inc Image pickup device, and image pickup method
JP4649155B2 (en) * 2004-09-22 2011-03-09 キヤノン株式会社 Imaging apparatus and imaging method

Similar Documents

Publication Publication Date Title
JP3004382B2 (en) TV camera device with variable shutter
KR20030097687A (en) Image processing apparatus, camera apparatus, and automatic exposure control method
JP2000224468A (en) Video signal processor
JPH03126377A (en) Gradation correction device
JP3363648B2 (en) Imaging device
US20050094009A1 (en) Black level correcting device and electronic camera
US7652690B2 (en) Front-end signal processing circuit and imaging device
JP4791122B2 (en) Clamp circuit and digital camera system having the clamp circuit
US7825959B2 (en) System and method for flicker DC offset detection and correction
JPH0974516A (en) Image input device
JP2001045366A (en) Image pickup method, image pickup device and storage medium
JP2000184294A (en) Image pickup device
JPH07298130A (en) Image pickup device
JP2000236475A (en) Image pickup unit
JPH118780A (en) Image pickup device
JP3825850B2 (en) Imaging device
JP2808814B2 (en) Defective pixel position detection device
JP2007282204A (en) Front-end signal processing circuit and imaging device
JP2762560B2 (en) Commercial power frequency flicker elimination circuit in imaging device
JPH10285432A (en) Clamp device for video signal
JP2004088544A (en) Auto iris lens controller of video camera
JPH11177849A (en) Image pickup device
JP2008109582A (en) Imaging apparatus, and imaging method
JP4745483B2 (en) Imaging apparatus and imaging method
JP2004312551A (en) Image signal processing apparatus

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060306

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061003