[go: up one dir, main page]

JP2004096777A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2004096777A
JP2004096777A JP2003355886A JP2003355886A JP2004096777A JP 2004096777 A JP2004096777 A JP 2004096777A JP 2003355886 A JP2003355886 A JP 2003355886A JP 2003355886 A JP2003355886 A JP 2003355886A JP 2004096777 A JP2004096777 A JP 2004096777A
Authority
JP
Japan
Prior art keywords
black level
value
level correction
correction
reference value
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
JP2003355886A
Other languages
Japanese (ja)
Inventor
Yoichi Sawachi
沢地 洋一
Masanori Yoshida
吉田 正範
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2003355886A priority Critical patent/JP2004096777A/en
Publication of JP2004096777A publication Critical patent/JP2004096777A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Picture Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the effect caused by a black level correction occurred when an AGC (automatic gain control) gain is high. <P>SOLUTION: In the case of the high AGC gain, a microcomputer 13 inactivates the black level correction for the clamp circuit (29 and 37) of a digital signal processing circuit part 9. <P>COPYRIGHT: (C)2004,JPO

Description

 本発明は撮像装置に関し、露出補正時や、自動ゲイン制御回路(AGC)のゲインが高い時に黒レベル補正による悪影響が生じないようにする技術に関する。 The present invention relates to an imaging apparatus, and more particularly to a technique for preventing an adverse effect caused by black level correction during exposure correction or when the gain of an automatic gain control circuit (AGC) is high.

  従来のビデオカメラでは、光学系や撮像面での乱反射によるフレアが生じると、映像信号の黒レベルが上昇して、画像のコントラストが低下するという問題があった。 In the conventional video camera, when flare due to irregular reflection on the optical system or the imaging surface occurs, there is a problem that the black level of the video signal increases and the contrast of the image decreases.

 そこで、最近ではコントラスト低下に対する対策として、フレア補償回路や、黒レベル補正(以下、DBSとも言う)回路等が提案されており、フレア発生等による低コントラスト時には黒レベルを下げてコントラストを改善するようになっている。 Therefore, recently, a flare compensation circuit, a black level correction (hereinafter also referred to as DBS) circuit, and the like have been proposed as countermeasures against a decrease in contrast, and when the contrast is low due to the occurrence of flare or the like, the black level is lowered to improve the contrast. It has become.

 しかし、これらの回路により常時黒レベル補正を実行させると、逆光補正といった露出補正時などにも黒レベルが下がってしまうため、十分な露出補正効果が得られないという欠点があり、更にはAGCのゲインが高い時にも黒レベルを下げると、ゲインが高い分、暗部のS/Nが著しく悪くなるという欠点がある。 However, if the black level correction is always executed by these circuits, the black level is lowered during exposure correction such as backlight correction, and thus there is a disadvantage that a sufficient exposure correction effect cannot be obtained. If the black level is lowered even when the gain is high, there is a disadvantage that the S / N of the dark portion is remarkably deteriorated due to the high gain.

 本発明は上述した従来技術に鑑み、露出補正時や、自動ゲイン制御回路(AGC)のゲインが高い時に黒レベル補正による悪影響が生じないようにすることができる撮像装置の提供を目的とするものである。 SUMMARY OF THE INVENTION The present invention has been made in view of the above-described prior art, and an object thereof is to provide an imaging apparatus capable of preventing adverse effects due to black level correction during exposure correction or when the gain of an automatic gain control circuit (AGC) is high. It is.

 上記目的を達成する本発明の撮像装置は、映像信号の黒レベルを補正する黒レベル補正手段と、自動ゲイン制御手段の制御値が所定値以上であるか否かを判定する判定手段と、前記制御値が所定値以上であると判定された場合に黒レベル補正手段による補正を停止させる停止手段とを具備するものである。 An imaging apparatus of the present invention that achieves the above object includes a black level correction unit that corrects a black level of a video signal, a determination unit that determines whether a control value of an automatic gain control unit is a predetermined value or more, And a stopping unit that stops the correction by the black level correcting unit when it is determined that the control value is equal to or greater than the predetermined value.

 本発明の撮像装置は、自動ゲイン制御手段の制御値が所定値以上であるか否かを判定する判定手段と、前記制御値が所定値以上であると判定された場合に黒レベル補正手段による補正を停止させる停止手段とを具備することにより、AGCのゲインが高い場合には黒レベル補正を停止(オフ)し、映像信号の暗部のS/N低下を防止するので、AGCゲインの高い時に黒レベル補正による悪影響が生じないようにすることができる。 The imaging apparatus according to the present invention includes a determination unit that determines whether or not the control value of the automatic gain control unit is greater than or equal to a predetermined value, and a black level correction unit that determines that the control value is greater than or equal to the predetermined value. And a stop means for stopping the correction, so that when the AGC gain is high, the black level correction is stopped (off), and the S / N reduction in the dark part of the video signal is prevented. Therefore, when the AGC gain is high It is possible to prevent an adverse effect caused by the black level correction.

 以下、本発明の実施の形態を図面に基づいて説明する。図1は本発明を適用するビデオカメラの撮像系を示す回路図であり、同図に示すようにレンズ1により形成された光学像がCCD3の受光面に結像され、CCD3からアナログ撮像信号が出力され、これがCDS及びAGC回路5によってサンプルホールド処理およびゲイン調整され、更にA/D変換器7によってデジタル信号に変換されてから、デジタル信号処理回路部9に入力され、同時にAE(自動露出)及びAWB(自動ホワイトバランス)のデジタル積算回路部11に入力される。図1中、13はカメラ部のマイクロコンピュータであり、ホール素子用アンプ15を介してアイリスの開度を表わすホール電圧を入力しアイリス開度を検知し、積算回路部11から測光値を得て露出制御のために、D/A変換器17を介してアイリスドライバ19にアイリス制御信号を与えてアイリス開度を制御する。また、D/A変換器21を介してAGC制御値をCDS/AGC回路5に与えてAGCゲインを調整する。また、電子シャッタ制御値をタイミング回路23に与えて、ドライバ25によりCCD3の電子シャッタを制御する。更に、積算回路部11から色温度検出値を得て、信号処理回路部9にAWB用の制御値を与える。27はタイミング回路である。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a circuit diagram showing an imaging system of a video camera to which the present invention is applied. As shown in FIG. 1, an optical image formed by a lens 1 is formed on a light receiving surface of a CCD 3, and an analog imaging signal is output from the CCD 3. This is sampled and held and gain adjusted by the CDS and AGC circuit 5 and further converted into a digital signal by the A / D converter 7 before being input to the digital signal processing circuit unit 9 and simultaneously AE (automatic exposure). And AWB (automatic white balance) digital integration circuit unit 11. In FIG. 1, reference numeral 13 denotes a microcomputer of the camera unit. A hall voltage representing the iris opening is input via the hall element amplifier 15 to detect the iris opening, and a photometric value is obtained from the integrating circuit unit 11. For exposure control, an iris control signal is given to the iris driver 19 via the D / A converter 17 to control the iris opening. Further, the AGC control value is supplied to the CDS / AGC circuit 5 through the D / A converter 21 to adjust the AGC gain. Further, the electronic shutter control value is given to the timing circuit 23, and the electronic shutter of the CCD 3 is controlled by the driver 25. Further, a color temperature detection value is obtained from the integration circuit unit 11 and a control value for AWB is given to the signal processing circuit unit 9. Reference numeral 27 denotes a timing circuit.

 デジタル信号処理回路部9には図2に示すように、輝度信号用にクランプ回路29,γ補正回路31,信号処理回路33及びD/A変換器35があり、これらを通してアナログ輝度信号Yが出力される。また、色信号用にクランプ回路37,マトリクス回路39,γ補正回路41,色信号処理回路43及びD/A変換器45があり、これらを通してアナログ色信号Cが出力される。 As shown in FIG. 2, the digital signal processing circuit unit 9 includes a clamp circuit 29, a γ correction circuit 31, a signal processing circuit 33, and a D / A converter 35 for luminance signals, through which an analog luminance signal Y is output. Is done. Further, there are a clamp circuit 37, a matrix circuit 39, a γ correction circuit 41, a color signal processing circuit 43, and a D / A converter 45 for color signals, through which the analog color signal C is output.

 デジタル積算回路部11には図2に示すように、データ比較器47,積算器(カウンタ)49及びオプティカルブラック検出器51がある。 The digital integration circuit unit 11 includes a data comparator 47, an integrator (counter) 49, and an optical black detector 51, as shown in FIG.

 マイクロコンピュータ13は、AGC制御値が所定値以上か否かを判定し、所定値以上の場合はクランプ回路29,37への黒レベル補正値をゼロとして黒レベル補正を停止(オフ)する。 The microcomputer 13 determines whether or not the AGC control value is equal to or greater than a predetermined value. If the AGC control value is equal to or greater than the predetermined value, the black level correction value to the clamp circuits 29 and 37 is set to zero and the black level correction is stopped (turned off).

 また、マイクロコンピュータ13は、積算回路部11からの情報により逆光補正状態にあるか否かを判定し、逆光補正状態の場合もクランプ回路29,37への黒レベル補正値をゼロにして黒レベル補正をオフする。 Further, the microcomputer 13 determines whether or not the backlight correction state is in accordance with the information from the integrating circuit unit 11, and even in the backlight correction state, the black level correction value to the clamp circuits 29 and 37 is set to zero and the black level is set. Turn off correction.

 デジタル積算回路部11のうちAE信号出力系は図3に示すような構成であり、Y/C分離回路53で得られたデジタル輝度信号は3つのゲート回路55,57,59に入力され、また3つのデータ比較器47,63,65に入力される。 The AE signal output system of the digital integration circuit unit 11 has a configuration as shown in FIG. 3, and the digital luminance signal obtained by the Y / C separation circuit 53 is input to the three gate circuits 55, 57, and 59. The data is input to the three data comparators 47, 63 and 65.

 3つのゲート回路55,57,59はマイクロコンピュータ13からインタフェース67を介して与えられるAE用枠設定情報に応じて開き、それぞれの出力を、0枠用,1枠用,2枠用といった測光枠の積分器69,71,73に与える。各積分器69,71,73の出力はインタフェース87を介してマイクロコンピュータ13へ与えられる。測光枠は例えば図4に示すように設定され、全画面平均測光値PMave と、重み付け測光値PMwet とが得られる。そこで、2枠>1枠>0枠という重み付けをした場合、PMwet <PMave のときは逆光状態と判断し、PMave とPMwet との差に応じて逆光補正をかけると共に、この補正量が所定値まで大きくなったときに黒レベル補正をオフにしている。 The three gate circuits 55, 57, and 59 are opened in accordance with the AE frame setting information given from the microcomputer 13 via the interface 67, and the respective outputs are photometric frames for 0 frame, 1 frame, and 2 frames. To the integrators 69, 71 and 73. The outputs of the integrators 69, 71, 73 are given to the microcomputer 13 via the interface 87. For example, the photometry frame is set as shown in FIG. 4, and the full-screen average photometry value PMave and the weighted photometry value PMwet are obtained. Therefore, when weighting 2 frames> 1 frame> 0 frame, when PMwet <PMave, it is determined that the backlight is in the backlight state, and the backlight is corrected according to the difference between PMave and PMwet, and this correction amount reaches the predetermined value. Black level correction is turned off when it becomes larger.

 データ比較器47には比較器用の基準値がインタフェース67を介して与えられる。データ比較器47はデジタル輝度信号の1つ毎に基準値未満か否かを判定し、基準値未満のときパルスを1つ出し、このパルスをゲート75を介してカウンタ(積算器)49が1Vや1H等の所定期間毎にカウントし、基準値未満の回数Sを得る。基準値はインタフェース67を介してマイクロコンピュータ13から与えられ、また更新される。図4中、77と99はゲート回路、83と85はカウンタである。 The reference value for the comparator is given to the data comparator 47 via the interface 67. The data comparator 47 determines whether or not each digital luminance signal is less than the reference value. When the data comparator 47 is less than the reference value, it outputs one pulse, and the counter (accumulator) 49 outputs 1 V through the gate 75 to 1V. And the number of times S less than the reference value is obtained every predetermined period such as 1H. The reference value is given from the microcomputer 13 through the interface 67 and updated. In FIG. 4, 77 and 99 are gate circuits, and 83 and 85 are counters.

 マイクロコンピュータ13は積算器(カウンタ)49から得られる回数即ち積算値Sを用いて、黒レベル補正を行う。以下、図5〜図6を参照して説明する。図5は黒レベル補正のアルゴリズム例を示す。但し、これらの図中で、K1,K2及びBは固定設定値であり、R,S,M0,M1,C及びTは変数値であり、M0=1,M0=2,M0=3,M0=4は黒レベル補正値であり、以下のように定義する。
  K1:黒レベル補正がオフになるAGC制御値(所定値)
  K2:M0を更新するため条件カウント数(所定更新回数)
  B:黒レベル検知用設定値(所定回数)
  R:データ比較器47の基準値
  S:積算器49の積算値(回数)
  M0:実行している黒レベル補正値
  M1:検出結果から得られた黒レベル補正値
  C:連続してM0≠M1であるカウント数
  T:基準値Rの初期設定値
  M0=4:黒レベル補正量がゼロ
  M0=0<M0=1<M0=2<M0=3
The microcomputer 13 performs black level correction using the number of times obtained from the integrator (counter) 49, that is, the integrated value S. Hereinafter, a description will be given with reference to FIGS. FIG. 5 shows an example algorithm for black level correction. However, in these drawings, K1, K2 and B are fixed set values, R, S, M0, M1, C and T are variable values, and M0 = 1, M0 = 2, M0 = 3, M0. = 4 is a black level correction value, which is defined as follows.
K1: AGC control value (predetermined value) at which black level correction is turned off
K2: Condition count for updating M0 (predetermined number of updates)
B: Set value for black level detection (predetermined number of times)
R: reference value of data comparator 47 S: integrated value (number of times) of integrator 49
M0: Black level correction value being executed M1: Black level correction value obtained from the detection result C: Count number where M0 ≠ M1 continuously T: Initial setting value of the reference value R M0 = 4: Black level correction The quantity is zero M0 = 0 <M0 = 1 <M0 = 2 <M0 = 3

 図5において、AGCゲインが所定値未満で且つ逆光補正状態でない場合(ステップ100,102)に、Rとして初期値Tに対応した基準値が設定され、積算値Sが読み込まれる(ステップ104,106)。積算値Sが所定回数B未満であり、R≠0であればRをR−1に減らしてこれに対応した基準値を設定し(ステップ108,110,112,114)、この時の積算値Sも所定回数B未満であればRをR+1に設定し(ステップ116,118)、この結果R=1であればM1=1とする(ステップ120,122)。R≠1であり、R=2であればM1=2とする(ステップ124,126)。更に、R≠1,R≠2であり、R=3であればM1=3とし、R≠3であればM1=4とする(ステップ128,130,132)。110のステップでR=0であればM1=0とし(ステップ134)、116のステップでB≦Sであればステップ110に戻る。 In FIG. 5, when the AGC gain is less than the predetermined value and the backlight correction state is not set (steps 100 and 102), a reference value corresponding to the initial value T is set as R, and the integrated value S is read (steps 104 and 106). ). If the integrated value S is less than the predetermined number of times B and R ≠ 0, R is reduced to R-1 and a corresponding reference value is set (steps 108, 110, 112, 114), and the integrated value at this time If S is less than the predetermined number of times B, R is set to R + 1 (steps 116 and 118). If R = 1 as a result, M1 = 1 is set (steps 120 and 122). If R ≠ 1, and R = 2, M1 = 2 is set (steps 124 and 126). Further, if R ≠ 1, R ≠ 2, and R = 3, M1 = 3, and if R ≠ 3, M1 = 4 (steps 128, 130, 132). If R = 0 in step 110, M1 = 0 is set (step 134), and if B ≦ S in step 116, the process returns to step 110.

 ステップ108でB>Sであった場合に、R≠3であればRをR+1に増加してこれに対応する基準値を設定する(ステップ136,138,140)。この時の積算値Sが所定回数B以上であればステップ120にてR=1か否かを判定し、逆にB>Sであればステップ136に戻る(ステップ142)。 If B> S in step 108, if R ≠ 3, R is increased to R + 1 and a corresponding reference value is set (steps 136, 138, 140). If the integrated value S at this time is greater than or equal to the predetermined number of times B, it is determined in step 120 whether R = 1 or not. Conversely, if B> S, the process returns to step 136 (step 142).

 ステップ122,126,130,134でM1が設定されたら、その時のRを初期値Tとし、M1=M0か否かを判定する(ステップ140)。M1=M0であればカウント数Cをゼロにし、M0をそのままにして、M0に対応した黒レベル補正値を設定し、クランプ回路に与える(ステップ148,150,152,154)。ステップ146でM1≠M0であればカウント数CをC+1に増加し、これがK2になったか否かを判定し、K2であけばステップ148に行き、K2でなければ処理を終了する(ステップ154,156)。 When M1 is set in steps 122, 126, 130, and 134, R at that time is set as an initial value T, and it is determined whether or not M1 = M0 (step 140). If M1 = M0, the count number C is set to zero, M0 is left as it is, a black level correction value corresponding to M0 is set, and given to the clamp circuit (steps 148, 150, 152, 154). If M1 ≠ M0 in step 146, the count number C is increased to C + 1, and it is determined whether or not this is K2. If it is K2, the process proceeds to step 148, and if it is not K2, the process ends (step 154). 156).

 以上の処理結果の例を図6に示す。図6(a)では、基準値の初期設定がR=0の場合は、R=0→R=1→R=2と3回目に黒レベルを検知し、初期設定が前回結果のR=2の場合はR=2→R=1と2回目に黒レベルを検知できる。図6(b)では初期設定がR=0の場合はR=0→R=1→R=2→R=3と4回目で検知でき、初期設定が前回結果のR=3の場合は1回で検知できる。図6(c)では、初期設定がR=0の場合に直ちに検知できる。 An example of the above processing results is shown in FIG. In FIG. 6A, when the initial setting of the reference value is R = 0, the black level is detected for the third time as R = 0 → R = 1 → R = 2, and the initial setting is R = 2 of the previous result. In this case, the black level can be detected for the second time as R = 2 → R = 1. In FIG. 6B, when the initial setting is R = 0, the detection can be performed at the fourth time as R = 0 → R = 1 → R = 2 → R = 3, and when the initial setting is R = 3 of the previous result, 1 Can be detected at a time. In FIG. 6C, it can be detected immediately when the initial setting is R = 0.

 なお、初期値Tは0でも3でもかまわない。また、基準値の更新が所定回数継続した場合は、黒レベル補正値をゼロにして補正をオフにしたり、最新の基準値に応じた黒レベル補正値で補正すると良い。更に、図4に示したデータ比較器63とゲート回路77とカウンタ83を追加して用い、2つのデータ比較器47,63に異なる基準値を与えることにより、並列処理を行い、黒レベルを短時間で検知することができる。 The initial value T may be 0 or 3. If the reference value is updated a predetermined number of times, the black level correction value may be set to zero and correction may be turned off, or correction may be performed with a black level correction value corresponding to the latest reference value. Further, the data comparator 63, the gate circuit 77, and the counter 83 shown in FIG. 4 are additionally used, and different reference values are given to the two data comparators 47 and 63, thereby performing parallel processing and shortening the black level. Can be detected in time.

 上述した発明の実施の形態では、映像信号の黒レベルを補正する黒レベル補正手段と、逆光補正状態にあるか否かを判定する判定手段と、自動ゲイン制御手段の制御値が所定値以上であるか否かを判定する判定手段と、いずれかの判定手段の判定結果が肯定(逆光補正状態であるとの判定、あるいは、自動ゲイン制御手段の制御値が所定値以上であるとの判定)である場合に、黒レベル補正手段による補正を停止させる停止手段とを具備する撮像装置を説明した。これにより、逆光補正状態であれば黒レベル補正を停止(オフ)し、黒レベルを低下させず、十分な露出補正効果を発揮させることができる。また、AGCのゲインが高い場合にも黒レベル補正を停止(オフ)し、映像信号の暗部のS/N低下を防止する。つまり、露出補正時やAGCゲインの高い時に、黒レベル補正による悪影響を生じないようにすることができる。 In the embodiment of the invention described above, the control value of the black level correction means for correcting the black level of the video signal, the determination means for determining whether or not the backlight correction state is in effect, and the control value of the automatic gain control means are not less than a predetermined value. The determination means for determining whether or not there is, and the determination result of one of the determination means is affirmative (determination that the backlight correction state is present, or determination that the control value of the automatic gain control means is greater than or equal to a predetermined value) In this case, the image pickup apparatus including the stop unit that stops the correction by the black level correction unit has been described. Thereby, if it is a backlight correction state, black level correction | amendment is stopped (off), and sufficient exposure correction effect can be exhibited, without reducing a black level. Even when the gain of AGC is high, the black level correction is stopped (turned off) to prevent the S / N drop in the dark part of the video signal. That is, it is possible to prevent an adverse effect due to the black level correction during exposure correction or when the AGC gain is high.

 これに加えて、上述した発明の実施の形態では、撮像素子から得られるアナログ映像信号をデジタル映像信号に変換するA/D変換手段と、デジタル映像信号の黒レベルを黒レベル補正値にクランプするクランプ手段と、デジタル映像信号をサンプリングするサンプリング手段と、サンプリングされた信号を所定期間毎に、基準値と比較する比較手段と、サンプリングされた信号が基準値未満である回数が前記所定期間で所定回数以上あるか所定回数未満かを判定する判定手段と、所定回数未満と判定された場合は比較手段の基準値を所定量増加して更新し次回の基準値とする基準値更新手段と、所定回数以上と判定された場合は基準値に応じた黒レベル補正値を設定しクランプ手段に与える黒レベル補正値設定手段とを具備する撮像装置を説明した。この撮像装置はデジタル処理により黒レベル補正を行うものであり、基準値をペデスタル側から小さい値から大きい値に更新して、サンプリングした映像信号が基準値より小さくなる回数を1Vや1H等の所定期間毎にカウントし、その回数が所定回数以上であれば映像信号の暗いレベルを検出したことになり、その時の基準値に応じた黒レベル補正値を設定してクランプすることにより、映像信号の黒レベルを補正する。これにより、映像信号の平均値を検出してこの平均値に比例して黒レベルを変化させる場合に比べて、黒レベルの補正に過不足が生じることがなく、また、コントラストを十分改善することができこととなり、デジタル処理による信頼性の高い黒レベル補正を行うことができる。
 この場合、基準値を更新しつづけて大きくし過ぎても無意味なので、これを解消するために、基準値の更新が所定の更新回数継続したか否かを判定する更新継続判定手段を更に具備し、所定更新回数継続してもサンプリングされた信号が基準値未満である回数が所定回数未満の場合は、黒レベル補正値設定手段は黒レベル補正値を設定しないようにした装置を説明した。この装置では、基準値の更新が所定回数継続してもサンプリングした映像信号が所定回数以上、基準値未満にならなければ、黒レベルの補正を行わない。また、同更新継続判定手段を具備することにより、所定更新回数継続した場合は、黒レベル補正値設定手段は最新の基準値に応じた黒レベル補正値をクランプ手段に与えるようにした装置を説明した。この装置では、その時の基準値に応じた黒レベル補正値で映像信号をクランプする。
In addition to this, in the above-described embodiment of the invention, A / D conversion means for converting the analog video signal obtained from the image sensor into a digital video signal, and the black level of the digital video signal are clamped to the black level correction value. Clamping means, sampling means for sampling the digital video signal, comparison means for comparing the sampled signal with a reference value every predetermined period, and the number of times the sampled signal is less than the reference value is predetermined in the predetermined period A determination unit that determines whether the number is greater than or less than a predetermined number, a reference value update unit that updates the reference value of the comparison unit by a predetermined amount when it is determined that the number is less than the predetermined number, An image pickup apparatus including a black level correction value setting unit that sets a black level correction value according to a reference value and supplies the black level correction value to the clamp unit when it is determined that the number of times is greater than or equal to the number of times. And Akira. This imaging apparatus performs black level correction by digital processing. The reference value is updated from a small value to a large value from the pedestal side, and the number of times the sampled video signal becomes smaller than the reference value is set to a predetermined value such as 1V or 1H. Counting every period, if the number of times is equal to or greater than the predetermined number, the dark level of the video signal is detected, and by setting and clamping the black level correction value according to the reference value at that time, the video signal Correct the black level. As a result, compared with the case where the average value of the video signal is detected and the black level is changed in proportion to the average value, the black level is not corrected excessively or insufficiently, and the contrast is sufficiently improved. Therefore, highly reliable black level correction by digital processing can be performed.
In this case, since it is meaningless to keep updating the reference value too much, it is further provided with an update continuation determining means for determining whether or not the reference value has been updated a predetermined number of times in order to solve this. However, the apparatus has been described in which the black level correction value setting means does not set the black level correction value when the number of times that the sampled signal is less than the reference value is less than the predetermined number even if the predetermined update number is continued. In this apparatus, even if the reference value is updated a predetermined number of times, the black level is not corrected if the sampled video signal is not less than the predetermined value and less than the reference value. In addition, by providing the same update continuation determining means, the apparatus in which the black level correction value setting means gives the black level correction value according to the latest reference value to the clamp means when the predetermined number of updates has been continued. did. In this apparatus, the video signal is clamped with a black level correction value corresponding to the reference value at that time.

 また、上述した発明の実施の形態では、撮像素子から得られるアナログ映像信号をデジタル映像信号に変換するA/D変換手段と、デジタル映像信号の黒レベルを黒レベル補正値にクランプするクランプ手段と、デジタル映像信号をサンプリングするサンプリング手段と、サンプリングされた信号を所定期間毎に、基準値と比較する比較手段と、サンプリングされた信号が基準値未満である回数が前記所定期間で所定回数以上あるか所定回数未満かを判定する判定手段と、所定回数以上と判定された場合は比較手段の基準値を所定量減少して更新し次回の基準値とする基準値更新手段と、所定回数未満と判定された場合は基準値に応じた黒レベル補正値を設定しクランプ手段に与える黒レベル補正値設定手段とを具備する撮像装置を説明した。この撮像装置もデジタル処理により黒レベルを補正するものであるが、この場合、先とは逆に基準値をペデスタル側から大きい値から小さい値に更新して、サンプリングした映像信号が基準値より小さくなる回数を1Vや1H等の所定期間毎にカウントし、その回数が所定回数未満であれば映像信号の暗いレベルを検出したことになり、その時の基準値に応じた黒レベル補正値を設定してクランプすることにより、映像信号の黒レベルを補正する。これによっても、映像信号の平均値を検出してこの平均値に比例して黒レベルを変化させる場合に比べて、黒レベルの補正に過不足が生じることがなく、また、コントラストを十分改善することができこととなり、デジタル処理による信頼性の高い黒レベル補正を行うことができる。
 この場合も、基準値を更新しつづけて小さくし過ぎても無意味なので、これを解消するために、基準値の更新が所定の更新回数継続したか否かを判定する更新継続判定手段を具備し、所定更新回数継続してもサンプリングされた信号が基準値未満である回数が所定回数以上の場合は、黒レベル補正値設定手段は黒レベル補正値を設定しないようにした装置を説明した。この装置では、基準値の更新が所定回数継続してもサンプリングした映像信号が所定回数以上基準値未満になれば、黒レベルの補正を行わない。
In the embodiment of the invention described above, the A / D conversion means for converting the analog video signal obtained from the image sensor into the digital video signal, and the clamping means for clamping the black level of the digital video signal to the black level correction value. A sampling means for sampling the digital video signal; a comparing means for comparing the sampled signal with a reference value every predetermined period; and the number of times that the sampled signal is less than the reference value is a predetermined number of times or more in the predetermined period. A determination means for determining whether or not less than a predetermined number of times, a reference value updating means for reducing the reference value of the comparison means by a predetermined amount and updating it to be the next reference value if it is determined to be greater than or equal to the predetermined number of times, and less than the predetermined number of times An image pickup apparatus including a black level correction value setting unit that sets a black level correction value according to a reference value and supplies the black level correction value to a clamp unit when it is determined has been described. This imaging device also corrects the black level by digital processing. In this case, the reference value is updated from a larger value to a smaller value from the pedestal side, and the sampled video signal is smaller than the reference value. Is counted for each predetermined period such as 1V or 1H, and if the number is less than the predetermined number, the dark level of the video signal is detected, and a black level correction value corresponding to the reference value at that time is set. To correct the black level of the video signal. This also prevents the black level from being excessively or insufficiently corrected and sufficiently improves the contrast as compared with the case where the average value of the video signal is detected and the black level is changed in proportion to the average value. Therefore, highly reliable black level correction by digital processing can be performed.
Also in this case, it is meaningless to keep updating the reference value too much, so in order to solve this, an update continuation determining means for determining whether or not the reference value has been updated a predetermined number of times is provided. However, the apparatus has been described in which the black level correction value setting means does not set the black level correction value when the number of times that the sampled signal is less than the reference value is equal to or greater than the predetermined number even if the predetermined number of update times continues. In this apparatus, even if the update of the reference value continues for a predetermined number of times, if the sampled video signal becomes less than the reference value for a predetermined number of times or more, the black level is not corrected.

 更に、上述した発明の実施の形態では、いずれの撮像装置でも、比較手段を複数具備することにより、各比較手段に互いに異なる基準値を与えて並列に比較処理を行なうようにしたものを説明した。このように比較処理を並列に行うことにより、短時間で黒レベル補正を行うことができる。 Further, in the above-described embodiments of the invention, the description has been given of any imaging apparatus having a plurality of comparison means so that different comparison values are given to each comparison means to perform comparison processing in parallel. . Thus, by performing the comparison process in parallel, the black level correction can be performed in a short time.

 更に、上述した発明の実施の形態では、いずれの撮像装置でも、逆光補正状態にあるか否かを判定する判定手段を具備することにより、逆光補正状態であると判定された場合は黒レベル補正値設定手段は黒レベル補正値を出力しないようにしたものを説明した。このように、逆補正状態の場合には黒レベル補正を行わずこれをオフにすることにより、上述したデジタル処理による信頼性の高い黒レベル補正を行うことに加えて、十分な露出補正効果を発揮することができる。 Furthermore, in the above-described embodiment of the invention, any imaging apparatus includes a determination unit that determines whether or not the backlight is in the backlight correction state, so that if it is determined that the backlight is in the backlight correction state, the black level correction is performed. The value setting means has been described so as not to output the black level correction value. As described above, in the case of the reverse correction state, the black level correction is not performed, and the black level correction is turned off. Thus, in addition to performing the reliable black level correction by the digital processing described above, a sufficient exposure correction effect can be obtained. It can be demonstrated.

 また、上述した発明の実施の形態では、いずれの撮像装置でも、自動ゲイン制御手段の制御値が所定値以上であるか否かを判定する判定手段を具備することにより、自動ゲイン制御手段の制御値が所定値以上であると判定された場合は黒レベル補正値設定手段は黒レベル補正値を出力しないようにしたものを説明した。このように、AGCのゲインが高い場合には黒レベル補正を行わずこれをオフにすることにより、上述したデジタル処理による信頼性の高い黒レベル補正を行うことに加えて、映像信号の暗部のS/N低下を防止することができる。 In the above-described embodiment of the present invention, in any of the imaging apparatuses, the automatic gain control unit is controlled by including a determination unit that determines whether or not the control value of the automatic gain control unit is equal to or greater than a predetermined value. In the above description, the black level correction value setting unit does not output the black level correction value when it is determined that the value is equal to or greater than the predetermined value. As described above, when the gain of AGC is high, the black level correction is not performed, and the black level correction is turned off to thereby perform the black level correction with high reliability by the digital processing described above, in addition to the dark portion of the video signal. S / N reduction can be prevented.

 また、上述した発明の実施の形態では、いずれの撮像装置でも、黒レベル補正値設定手段が一旦黒レベル補正値を設定した後に次回の黒レベル補正処理を開始する場合、基準値更新手段は前回の黒レベル補正処理での最後の基準値を初期値とするようにしたものを説明した。このように、一旦黒レベル補正を行った場合に次回の黒レベル補正処理を開始する時は、前回の最後の基準値から開始することにより、上述したデジタル処理による信頼性の高い黒レベル補正を行うことに加えて、短時間で黒レベル補正を行うことができる。 In the embodiment of the invention described above, in any imaging apparatus, when the black level correction value setting unit once sets the black level correction value and starts the next black level correction process, the reference value updating unit In the above description, the last reference value in the black level correction process is set as the initial value. As described above, when the black level correction is performed once, when the next black level correction processing is started, the black level correction with high reliability by the digital processing described above is started by starting from the last reference value of the previous time. In addition to this, black level correction can be performed in a short time.

本発明の実施の形態に係るビデオカメラの撮像系を示す回路図。1 is a circuit diagram showing an imaging system of a video camera according to an embodiment of the present invention. デジタル信号処理回路部とデジタル積算回路部の構成例を示す回路図。The circuit diagram which shows the structural example of a digital signal processing circuit part and a digital integration circuit part. 測光枠の例を示す図。The figure which shows the example of a photometry frame. デジタル積算回路部のAE処理系の構成例を示す回路図。The circuit diagram which shows the structural example of the AE processing system of a digital integration circuit part. 黒レベル補正のアルゴリズム例を示す図。The figure which shows the example of an algorithm of black level correction | amendment. 黒レベル補正例を示す図。The figure which shows the black level correction example.

符号の説明Explanation of symbols

 3 CCD
 5 AGC回路
 7 A/D変換器
 9 デジタル信号処理回路部
 11 AE、AWB用デジタル積算回路部
 13 カメラ部のマイクロコンピュータ
 29,37 クランプ回路
 47,63 データ比較器
 49,83 積算器
3 CCD
DESCRIPTION OF SYMBOLS 5 AGC circuit 7 A / D converter 9 Digital signal processing circuit part 11 AE, AWB digital integration circuit part 13 Camera part microcomputer 29, 37 Clamp circuit 47, 63 Data comparator 49, 83 Accumulator

Claims (1)

 映像信号の黒レベルを補正する黒レベル補正手段と、自動ゲイン制御手段の制御値が所定値以上であるか否かを判定する判定手段と、前記制御値が所定値以上であると判定された場合に黒レベル補正手段による補正を停止させる停止手段とを具備する撮像装置。 A black level correction means for correcting the black level of the video signal; a determination means for determining whether or not a control value of the automatic gain control means is equal to or greater than a predetermined value; and the control value is determined to be equal to or greater than a predetermined value. An image pickup apparatus comprising stop means for stopping correction by the black level correction means.
JP2003355886A 2003-10-16 2003-10-16 Imaging device Pending JP2004096777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003355886A JP2004096777A (en) 2003-10-16 2003-10-16 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003355886A JP2004096777A (en) 2003-10-16 2003-10-16 Imaging device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001141138A Division JP3560932B2 (en) 2001-05-11 2001-05-11 Imaging device

Publications (1)

Publication Number Publication Date
JP2004096777A true JP2004096777A (en) 2004-03-25

Family

ID=32064627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003355886A Pending JP2004096777A (en) 2003-10-16 2003-10-16 Imaging device

Country Status (1)

Country Link
JP (1) JP2004096777A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010081511A (en) * 2008-09-29 2010-04-08 Ricoh Co Ltd Imaging device, method of changing set value, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010081511A (en) * 2008-09-29 2010-04-08 Ricoh Co Ltd Imaging device, method of changing set value, and program

Similar Documents

Publication Publication Date Title
JP3221967B2 (en) Imaging device
US6690424B1 (en) Exposure control apparatus for controlling the exposure of an image pickup plane in a camera
JP2766067B2 (en) Imaging device
US6950141B2 (en) Camera that controls image sensor exposure
CN100422839C (en) Exposure control device and exposure control method
US20110149095A1 (en) Image pickup apparatus and method of picking up image
WO2003105467A1 (en) Digital still camera apparatus, video camera apparatus, and information terminal apparatus
US20030160876A1 (en) Imaging apparatus and method
JP2899031B2 (en) Automatic exposure control device
US20070211165A1 (en) Imaging device, method for controlling imaging device, program of method for controlling imaging device, recording medium in which program of method for controlling imaging device is recorded
US8488020B2 (en) Imaging device, method for controlling the imaging device, and recording medium recording the method
JP3478769B2 (en) Imaging device and method, and computer-readable recording medium
JP3560932B2 (en) Imaging device
JP2004096777A (en) Imaging device
US10187559B2 (en) Flash band determination device for detecting flash band, method of controlling the same, storage medium, and image pickup apparatus
JP3571813B2 (en) Imaging device
JP2872833B2 (en) Video camera
JP2527592B2 (en) Imaging device
JP4314898B2 (en) Imaging apparatus and image control method thereof
JP3158283B2 (en) Exposure control circuit for video camera
JP3932601B2 (en) Color imaging device
JP4161412B2 (en) Flare correction apparatus and flare correction method for video camera
JPH04340875A (en) Image pickup device
JP3205941B2 (en) Automatic aperture adjustment device
JP4280365B2 (en) Imaging method and apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050301

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050628