JPH05260359A - Automatic focusing device - Google Patents

Automatic focusing device

Info

Publication number
JPH05260359A
JPH05260359A JP4055450A JP5545092A JPH05260359A JP H05260359 A JPH05260359 A JP H05260359A JP 4055450 A JP4055450 A JP 4055450A JP 5545092 A JP5545092 A JP 5545092A JP H05260359 A JPH05260359 A JP H05260359A
Authority
JP
Japan
Prior art keywords
contrast
data
value
image pickup
focusing
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
JP4055450A
Other languages
Japanese (ja)
Inventor
Kazuya Kobayashi
一也 小林
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP4055450A priority Critical patent/JPH05260359A/en
Publication of JPH05260359A publication Critical patent/JPH05260359A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the automatic focusing device by which more accurate focus processing is attained even to an object with a low brightness. CONSTITUTION:The device is made up of a lens 1, a half mirror 2 by which light of an object is separated into a side of a photometry element 5 and an image pickup element 3, the image pickup element 3, an image pickup processing circuit 4, a BPF circuit 8 extracting the contrast, an arithmetic operation processing circuit 10, a focus motor 12 and the photometry element 5. When the brightness of the object is low, pre-sampling is implemented by fixing the lens 1 to a prescribed position to detect a noise level of the contrast data and to obtain an arithmetic operation coefficient corresponding to the level. Then the contrast obtained by driving the lens 1 one by one step is divided by the arithmetic operation coefficient to obtain a correction contrast. The focal position is detected based on the value.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、自動合焦装置、詳しく
は、映像信号に基づくコントラストデータに基づいて合
焦位置の検出を行う自動合焦装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic focusing device, and more particularly to an automatic focusing device for detecting a focusing position based on contrast data based on a video signal.

【0002】[0002]

【従来の技術】従来、撮像素子を用いた撮像装置の自動
合焦方式の一つとして、フォーカシングレンズの繰り出
し、または、繰り込み時の映像信号に基づき、合焦の程
度を評価する被写体のコントラスト情報を得て、その値
がピークを示すレンズ位置を合焦位置と判断し、該位置
にフォーカシングレンズを駆動する方式があった。この
方式は、「山登り方式」と称され、NHK技術研究報告
書(昭和40年、第17巻 第1号(通算第86号)、
第21頁〜第37頁)にその詳細が記載されている。こ
の「山登り方式」を適用した合焦制御装置の処理動作に
おいて、被写体が低輝度であった場合、映像信号レベル
が低いことにより、被写体のコントラスト情報の値が低
下し、合焦位置の判定が非常に困難になることがあっ
た。そこで、従来では映像信号のゲインを上げるように
してコントラストデータを得て合焦位置の検出を行うよ
うにしていた。
2. Description of the Related Art Conventionally, as one of automatic focusing methods of an image pickup apparatus using an image pickup device, contrast information of an object for evaluating the degree of focusing is calculated based on a video signal when the focusing lens is extended or retracted. Then, there is a method of determining the lens position where the value shows a peak as the in-focus position, and driving the focusing lens at this position. This method is called the "mountain climbing method", and is based on the NHK Technical Research Report (1965, Volume 17, No. 1 (total 86)).
The details are described on pages 21 to 37). In the processing operation of the focus control device to which the "mountain climbing method" is applied, when the subject has low brightness, the value of the contrast information of the subject decreases due to the low video signal level, and the focus position can be determined. It could be very difficult. Therefore, conventionally, the gain of the video signal is increased to obtain the contrast data and the focus position is detected.

【0003】[0003]

【発明が解決しようとする課題】ところが、上述の従来
の合焦制御装置において、低輝度の被写体の映像信号の
ゲインを上げて処理した場合、ノイズも同時に増幅され
てしまい、正確な合焦位置を検出することが困難となっ
ていた。上記ノイズとしては、撮像素子の暗電流、信号
転送雑音、信号増幅雑音等がある。図6は、上記低照度
被写体について、ゲインを上げて処理した場合のレンズ
位置とコントラストデータであるコントラスト値Eの変
化を示した線図である。なお、レンズ位置は、今後とも
レンズ駆動段数jで示し、j=0段を無限遠合焦段数、
また、jmax を最至近合焦段数、jp をコントラスト値
ピークEsの駆動段数とする。上記「山登り方式」にお
いては、コントラスト値Eが過去の最大値より所定の閾
値以上の増加、続いて、減少が、レンズ駆動段数に対し
て所定の回数だけ連続して得られるかを確認することに
なる。しかし、図6に示すように真のコントラスト値の
変化以上のノイズが含まれるような場合、単純に増加、
続いて、減少の状態をチェックすることができず、従っ
て、正確なピーク点の駆動段数jp を検出することが困
難であった。
However, in the above-described conventional focus control device, when the gain of the video signal of the low-brightness subject is increased and processed, noise is also amplified at the same time, and the accurate focus position is obtained. Was difficult to detect. The noise includes dark current of the image sensor, signal transfer noise, signal amplification noise, and the like. FIG. 6 is a diagram showing changes in the lens position and the contrast value E, which is contrast data, when the gain is increased for the low-illuminance subject. The lens position will continue to be indicated by the number of lens driving steps j, and j = 0 is the number of focusing steps at infinity,
Further, jmax is the closest focusing step number, and jp is the driving step number of the contrast value peak Es. In the above "mountain climbing method", it is necessary to confirm whether the contrast value E is increased by a predetermined threshold value or more from the past maximum value, and then continuously decreased by a predetermined number of times with respect to the number of lens driving steps. become. However, as shown in FIG. 6, when noise more than the change in the true contrast value is included, the noise is simply increased.
Subsequently, it was not possible to check the state of decrease, and it was therefore difficult to accurately detect the driving stage number jp at the peak point.

【0004】本発明は、上述の不具合を解決するために
なされたものであり、コントラストデータを用いる自動
合焦装置において、被写体が低輝度等であって、そのコ
ントラストデータにノイズが多く含まれているような場
合であっても、レンズの正確な合焦位置を検出すること
ができる自動合焦装置を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and in an automatic focusing apparatus using contrast data, the subject has low brightness and the contrast data contains a lot of noise. It is an object of the present invention to provide an automatic focusing device capable of detecting an accurate focusing position of a lens even in the case where it occurs.

【0005】[0005]

【課題を解決するための手段】本発明の自動合焦装置
は、当該撮像手段により形成された映像信号に基づくコ
ントラストデータを、同一撮影条件の下で合焦状態の評
価に先だって所定の複数の時点でそれぞれ得るためのプ
リ・サンプリング手段と、上記プリ・サンプリング手段
により得られた複数のコントラストデータの最大値と最
小値との差をその下限値として選定する1つの所定値に
対応する第1のデータを得るための第1のデータ生成手
段と、上記撮像手段により形成される映像信号に基づい
て経時的に得られるコントラストデータを上記第1のデ
ータで除した商に対応する第2のデータを合焦状態評価
のための基準データとして当該自動合焦手段に供給する
ための第2のデータ生成手段を備えたことを特徴とす
る。
An automatic focusing apparatus according to the present invention uses a plurality of predetermined contrast data based on a video signal formed by the image pickup means under a same photographing condition before evaluating the focused state. A first corresponding to a pre-sampling means for obtaining each at a time point, and one predetermined value for selecting a difference between the maximum value and the minimum value of the plurality of contrast data obtained by the pre-sampling means as its lower limit value. And a second data corresponding to a quotient obtained by dividing the contrast data obtained over time based on the video signal formed by the image pickup means by the first data Is provided as a reference data for focusing state evaluation to the automatic focusing means.

【0006】[0006]

【作用】合焦状態の評価に先だち、プリ・サンプリング
手段により1つの撮影条件の下にて、所定の回数だけコ
ントラストデータを得て、第1のデータ生成手段により
上記データの最大値と最小値の差を下限値とした第1の
データを得る。そして、第2のデータ生成手段により上
記撮像手段により経時的に得られるコントラストデータ
を上記第1のデータで除した商を第2のデータとして求
め、該第2のデータを合焦状態評価のための基準データ
として自動合焦手段に供給する。そして、上記自動合焦
手段は、基準データに基づいてレンズの合焦位置を検出
する。
Before the evaluation of the in-focus state, the pre-sampling means obtains the contrast data a predetermined number of times under one photographing condition, and the first data generating means makes the maximum and minimum values of the data. The first data is obtained with the lower limit of the difference of Then, the quotient obtained by dividing the contrast data obtained over time by the image pickup means by the second data generation means by the first data is obtained as second data, and the second data is used for focusing state evaluation. Is supplied to the automatic focusing means as reference data. Then, the automatic focusing means detects the focusing position of the lens based on the reference data.

【0007】[0007]

【実施例】以下図示の実施例に基づいて本発明を説明す
る。図1は、本発明の一実施例を示す自動合焦装置を内
蔵する電子的撮像装置の主要ブロック構成図である。同
図に示すように本装置は、主に、合焦モータ12と、該
合焦モータ12により合焦駆動されるフォーカシングレ
ンズ1と、取り込まれた被写体光を測光素子5側と撮像
素子3側に分割するハーフミラー2と、被写体像を電気
信号に変換する上記撮像素子3と、撮像信号増幅やサン
プルホールド処理を行う撮像処理回路4と、図示しない
映像記録再生系に映像信号を出力する出力端子部7と、
合焦の程度を評価するための情報であるコントラストデ
ータを得るためのコントラスト値として、映像信号中の
高周波成分を抽出するBPF回路(バンドパスフィル
タ)8と、コントラスト値のアナログ/デジタル変換用
の第1A/D変換回路9と、ハーフミラー2で分割した
被写体光を測光する測光素子5と、その測光出力をアナ
ログ/デジタル変換する第2A/D変換回路6と、CP
U,ROM,RAMなどで構成される演算処理回路10
と、上記合焦モータ12の駆動用のモータドライブ回路
11によって構成されている。そして、合焦位置検出に
先だって検出されるコントラストデータを得るプリ・サ
ンプリング手段は、上記撮像処理回路4,BPF回路
8,第1A/D変換回路9,演算処理回路10で構成さ
れる。また、上記演算処理回路10は、第1のデータ、
および、第2のデータを生成する第1のデータ生成手
段,第2のデータ生成手段、および、第2のデータに基
づいて合焦位置を決定する自動合焦手段を内蔵し、更
に、撮像信号増幅時のゲイン指定、上記測光出力のレベ
ルの判別、レンズ駆動用のモータドライブ回路11の駆
動制御等を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the illustrated embodiments. FIG. 1 is a main block configuration diagram of an electronic image pickup device incorporating an automatic focusing device according to an embodiment of the present invention. As shown in the figure, the present apparatus mainly includes a focusing motor 12, a focusing lens 1 that is driven to be focused by the focusing motor 12, the captured subject light on the photometric element 5 side and the image pickup element 3 side. A half mirror 2 that divides the image into two, an image pickup device 3 that converts a subject image into an electric signal, an image pickup processing circuit 4 that performs image pickup signal amplification and sample hold processing, and an output that outputs a video signal to a video recording / reproducing system (not shown). The terminal portion 7,
A BPF circuit (bandpass filter) 8 for extracting high-frequency components in a video signal and a contrast value for analog / digital conversion are used as contrast values for obtaining contrast data which is information for evaluating the degree of focusing. A first A / D conversion circuit 9, a photometric element 5 for photometrically measuring the subject light split by the half mirror 2, a second A / D conversion circuit 6 for analog / digital conversion of the photometric output, and a CP
Arithmetic processing circuit 10 including U, ROM, RAM, etc.
And a motor drive circuit 11 for driving the focusing motor 12. The pre-sampling means for obtaining the contrast data detected prior to the focus position detection is composed of the image pickup processing circuit 4, the BPF circuit 8, the first A / D conversion circuit 9 and the arithmetic processing circuit 10. Further, the arithmetic processing circuit 10 uses the first data,
In addition, a first data generating unit that generates second data, a second data generating unit, and an automatic focusing unit that determines a focusing position based on the second data are built-in, and further, an imaging signal. The gain designation at the time of amplification, the level of the photometric output, the drive control of the motor drive circuit 11 for driving the lens, and the like are performed.

【0008】以上のよう構成された本撮像装置の合焦動
作を図2,3を用いて説明すると、まず、被写体光の光
量を測光素子5で検出し、第2A/D変換回路6を介し
てデジタル値として演算処理回路10に取り込む。その
データに基づいて被写体の輝度レベルを判別し、低輝度
ではないと判断した場合、通常のコントラスト値による
合焦処理を行う。ただし、この実施例の場合は、後述す
る第1のデータである演算係数Edを1に設定してコン
トラストデータを演算することになる。しかし、被写体
が低輝度であった場合、合焦位置検出に先だって、撮像
処理回路4のゲインを上げ、図2に示すように数フィー
ルド分(この場合、9フィールド分)のコントラスト値
Eをプリ・サンプリング手段である撮像処理回路4から
の映像信号に基づいき、BPF回路8、第1A/D変換
回路9を介して演算処理回路10に取り込む。そこで、
そのコントラスト値Eの内、最大値Emax と最小値Emi
n の差の値であるノイズ幅Eppを下限値とした第1のデ
ータである演算係数Edを選定する。この演算係数Ed
の下限値は、取り込まれたコントラスト値Eの中のノイ
ズ成分の大きさに応じて増減することになる。
The focusing operation of the image pickup apparatus having the above-described structure will be described with reference to FIGS. 2 and 3. First, the light amount of the subject light is detected by the photometric device 5, and the second A / D conversion circuit 6 is used to detect the light amount. And is taken into the arithmetic processing circuit 10 as a digital value. The brightness level of the subject is determined based on the data, and when it is determined that the brightness is not low, the focusing process with the normal contrast value is performed. However, in the case of this embodiment, the contrast data is calculated by setting the calculation coefficient Ed which is the first data described later to 1. However, when the subject has low luminance, the gain of the image pickup processing circuit 4 is increased and the contrast value E for several fields (in this case, 9 fields) is pre-selected as shown in FIG. Based on the video signal from the image pickup processing circuit 4 which is a sampling means, it is taken into the arithmetic processing circuit 10 via the BPF circuit 8 and the first A / D conversion circuit 9. Therefore,
Of the contrast values E, the maximum value Emax and the minimum value Emi
The calculation coefficient Ed which is the first data is selected with the lower limit of the noise width Epp which is the difference value of n. This calculation coefficient Ed
The lower limit value of is increased or decreased according to the magnitude of the noise component in the captured contrast value E.

【0009】続いて、フォーカシングレンズ1を所定の
合焦速度でj=0段(無限遠合焦位置)から1段づつ繰
り出し、コントラスト値Ej(図3参照)を、BPF回
路8、第1A/D変換回路9を介してデジタル値として
演算処理回路10に取り込む。同時に、演算処理回路1
0において、ノイズを含んだデータである上記コントラ
スト値Ejを前記演算係数Edで除算し、第2のデータ
である補正コントラスト値Sjを演算する。この補正コ
ントラスト値Sjは、除数がノイズ成分の大きさに対応
する演算係数Edであることから、図3に示されるよう
にノイズの影響の少ない補正曲線を与える。そして、演
算処理回路10は、同時に、補正コントラスト値Sjの
ピーク点a(図3参照)の検索を行い、そのピーク点の
検出ができた時点で、一旦、繰り出し動作を中止する。
続いて、モータドライブ回路11,合焦モータ12を介
して、今度は高速で上記ピーク点aに対応する駆動段数
jp までフォーカシングレンズ1を移動させ、合焦動作
を終了する。
Subsequently, the focusing lens 1 is extended one step at a predetermined focusing speed from j = 0 step (infinity in-focus position), and the contrast value Ej (see FIG. 3) is obtained from the BPF circuit 8, the first A /. It is taken into the arithmetic processing circuit 10 as a digital value via the D conversion circuit 9. At the same time, the arithmetic processing circuit 1
At 0, the contrast value Ej, which is data including noise, is divided by the calculation coefficient Ed, and the corrected contrast value Sj, which is the second data, is calculated. The correction contrast value Sj gives a correction curve less affected by noise as shown in FIG. 3 because the divisor is the arithmetic coefficient Ed corresponding to the size of the noise component. Then, the arithmetic processing circuit 10 simultaneously searches for the peak point a (see FIG. 3) of the corrected contrast value Sj, and once the peak point is detected, the feeding operation is temporarily stopped.
Then, the focusing lens 1 is moved at high speed to the driving step number jp corresponding to the peak point a through the motor drive circuit 11 and the focusing motor 12 to end the focusing operation.

【0010】次に、本実施例の自動合焦装置の合焦処理
動作を図4のフローチャートを用いて更に詳細に説明す
る。合焦処理の指令が出力されると、図4の演算処理回
路10は処理動作を開始し、まず、被写体が低輝度であ
るかどうかのチェックを行う(ステップS1)。低輝度
でなかった場合、ステップS7にジャンプして前記演算
係数Edを1に設定し、更に、ステップS6にジャンプ
して後述するサブルーチンAF処理がコールされる。こ
の演算係数Edが1に設定されている場合は、前記従来
の合焦動作と同等の処理が実行される。一方、被写体が
低輝度であった場合、ステップS2以下に進む。ステッ
プS2において、撮像処理回路4の撮像信号系のゲイン
をアップさせ、低輝度の被写体に対応させる。続いて、
フォーカシングレンズ1を所定の位置に固定した状態と
して、プリ・サンプリング動作を行う。即ち、nフィー
ルド分のコントラスト値Eを演算処理回路10に取り込
み、そのコントラスト値Eの最大値をEmax とし、最小
値をEmin として取り込む(ステップS3)。最大値E
max と最小値Emin の差をノイズ幅Eppとする(ステッ
プS4)。例えば、Emaxが28、Emin が23の場
合、Eppの値は5となる。次にノイズ幅Eppを上記下限
値とし、2の冪乗数(2のm乗)を上限値とし演算係数
Edを選定する(ステップS5)。例えば、上記のよう
にEppの値が5であった場合、mを3とすると、Edの
値として8が選定される。
Next, the focusing processing operation of the automatic focusing device of this embodiment will be described in more detail with reference to the flowchart of FIG. When the focus processing command is output, the arithmetic processing circuit 10 in FIG. 4 starts the processing operation and first checks whether or not the subject has low brightness (step S1). If the brightness is not low, the process jumps to step S7 to set the arithmetic coefficient Ed to 1, and further jumps to step S6 to call a subroutine AF process described later. When the calculation coefficient Ed is set to 1, the same processing as the conventional focusing operation is executed. On the other hand, if the subject has low brightness, the process proceeds to step S2 and the subsequent steps. In step S2, the gain of the image pickup signal system of the image pickup processing circuit 4 is increased to correspond to a low-luminance subject. continue,
The pre-sampling operation is performed with the focusing lens 1 fixed in a predetermined position. That is, the contrast value E for n fields is loaded into the arithmetic processing circuit 10, and the maximum value of the contrast value E is loaded as Emax and the minimum value is loaded as Emin (step S3). Maximum value E
The difference between max and the minimum value Emin is set as the noise width Epp (step S4). For example, when Emax is 28 and Emin is 23, the value of Epp is 5. Next, the noise width Epp is set to the lower limit value, the power of 2 (2 m power) is set to the upper limit value, and the calculation coefficient Ed is selected (step S5). For example, if the value of Epp is 5 as described above, and m is 3, then 8 is selected as the value of Ed.

【0011】続いて、ステップS6に進み、サブルーチ
ン「AF処理」をコールする。このAF処理は後述する
ようにすでに設定された演算係数Edに基づいて、合焦
位置の駆動段数を求め、フォーカシングレンズ1を上記
合焦位置まで駆動する処理である。この「AF処理」の
後、本ルーチンを終了する。なお、上記ステップS5の
Ed値の演算において、上限値として2のm乗の値を用
いたが、これは、マイコン内部における除算演算の高速
化のためである。然るに、本発明ではこれに限らず、例
えば、上記最大値Emax 、あるいは、最小値Eminをそ
れぞれ上限値として用いてもよい。その場合、演算係数
Edは次式で与えられる。即ち、 Epp≦Ed≦Emax または、 Epp≦Ed≦Emin となる。
Succeedingly, in a step S6, a subroutine "AF process" is called. The AF process is a process of obtaining the number of drive steps of the in-focus position based on the already set calculation coefficient Ed as described later and driving the focusing lens 1 to the in-focus position. After this "AF process", this routine is ended. In the calculation of the Ed value in step S5, the value of the m-th power of 2 is used as the upper limit value, but this is to speed up the division calculation inside the microcomputer. However, the present invention is not limited to this, and for example, the maximum value Emax or the minimum value Emin may be used as the upper limit value. In that case, the calculation coefficient Ed is given by the following equation. That is, Epp ≦ Ed ≦ Emax or Epp ≦ Ed ≦ Emin.

【0012】次に、上記サブルーチン「AF処理」の処
理動作について、図5のフローチャートにより説明す
る。まず、ステップS11において、段数jを無限遠合
焦位置対応の0段、また、降下検出回数tを、例えば、
3に設定する。そして、段数j、この場合は、0段での
コントラスト値をEj、即ち、E0 として取り込み、そ
の値を前記演算係数Edで除算する。その商を補正コン
トラスト値Sj、即ち、S0 として記憶する(ステップ
S12,13)。ステップS14に進み、フォーカシン
グレンズ1を1段正転駆動する。更に、段数j+1での
コントラスト値をEj+1 として取り込み、その値を前記
演算係数Edで除算する。その商を補正コントラスト値
Sj+1として記憶する(ステップS15,16)。ステ
ップS17において、補正コントラスト値SjとSj+1
を比較する。値Sj+1 の方が大きいか、あるいは、等し
い場合、コントラスト値は上昇中と判断して、段数jを
インクリメントして(ステップS19)、上記ステップ
S14に戻る。そして、正転駆動を続ける。もし、値S
jの方が大きかった場合、降下を始めたと判断してステ
ップS18に進み、連続降下カウント数Lを1とする。
また、そのときの値Sjを補正最大値Smax として取り
込む(ステップS20)。
Next, the processing operation of the subroutine "AF processing" will be described with reference to the flowchart of FIG. First, in step S11, the step number j is 0 step corresponding to the infinity in-focus position, and the descent detection number t is, for example,
Set to 3. Then, the contrast value at the stage number j, in this case, 0 stage is taken in as Ej, that is, E0, and the value is divided by the arithmetic coefficient Ed. The quotient is stored as the corrected contrast value Sj, that is, S0 (steps S12 and S13). In step S14, the focusing lens 1 is driven in the normal direction by one step. Further, the contrast value at the stage number j + 1 is taken in as Ej + 1, and the value is divided by the calculation coefficient Ed. The quotient is stored as the corrected contrast value Sj + 1 (steps S15 and S16). In step S17, the corrected contrast values Sj and Sj + 1
To compare. When the value Sj + 1 is greater than or equal to the value Sj + 1, it is determined that the contrast value is increasing, the number of steps j is incremented (step S19), and the process returns to step S14. Then, the normal rotation drive is continued. If the value S
If j is larger, it is determined that the descent has started, and the process proceeds to step S18 to set the continuous descent count number L to 1.
Further, the value Sj at that time is fetched as the correction maximum value Smax (step S20).

【0013】続いて、ステップS21に進み、上記カウ
ント数Lと前記降下検出回数t(この場合、t=3)と
比較する。そして、値Lとtが等しくなるまで、即ち、
3回連続して補正コントラスト値Sj+1 、または、Sj+
2 が下がるまでは、ステップS22に進み、フォーカシ
ングレンズ1を1段正転駆動する。更に、段数j+2で
のコントラスト値をEj+2 として取り込み、その値を前
記演算係数Edで除算する。その商を補正コントラスト
値Sj+2 として記憶する(ステップS23,24)。ス
テップS25において、補正コントラスト値Sj+2 とS
max を比較する。値Sj+2 の方が大きい場合、コントラ
スト値が、再度、上昇に転じたと判断して前記ステップ
S14に戻る。値Sj+2 の方が小さいか等しかった場
合、降下を続けているとして、ステップS26に進み、
連続降下カウント数Lをインクリメントし、同時に、段
数jもインクリメントする。そして、ステップS21に
戻る。ステップS21の判別において、上記カウント数
Lが前記降下検出段数tと等しくなった時点、即ち、t
回連続して補正コントラスト値Sj+2 が下がった時点
で、ステップS29にジャンプする。このステップS2
9では、補正コントラスト値最大値Smax が得られた段
数、即ち、合焦段数へフォーカシングレンズ1を高速で
移動する。これで本サブルーチンを終了する。
Then, in step S21, the count number L is compared with the drop detection number t (t = 3 in this case). Then, until the values L and t become equal, that is,
Corrected contrast value Sj + 1 or Sj + three consecutive times
Until the value decreases by 2, the process proceeds to step S22, and the focusing lens 1 is driven in the normal direction by one step. Further, the contrast value at the number of steps j + 2 is taken in as Ej + 2, and the value is divided by the calculation coefficient Ed. The quotient is stored as the corrected contrast value Sj + 2 (steps S23, 24). In step S25, the corrected contrast values Sj + 2 and Sj
Compare max. If the value Sj + 2 is larger, it is determined that the contrast value has started to rise again, and the process returns to step S14. If the value Sj + 2 is smaller or equal, it is determined that the descent is continued, and the process proceeds to step S26.
The continuous falling count number L is incremented, and at the same time, the stage number j is also incremented. Then, the process returns to step S21. In the determination in step S21, when the count number L becomes equal to the drop detection stage number t, that is, t
When the corrected contrast value Sj + 2 decreases continuously, the process jumps to step S29. This step S2
In 9, the focusing lens 1 is moved at high speed to the number of steps at which the maximum corrected contrast value Smax is obtained, that is, the number of focusing steps. This completes this subroutine.

【0014】以上のように、本実施例の自動合焦装置
は、低輝度の被写体に対しては、フォーカシングレンズ
1の駆動位置の固定状態でコントラストデータを取り込
むプリ・サンプリングによりノイズの大きさの程度を演
算係数Edとして求めておき、ノイズを含むコントラス
トデータを演算係数Edで除算することによって、より
正確なピーク点が得られる補正コントラストデータを求
め、その補正コントラストデータにより合焦位置を検出
するようにしたので、万一、被写体が低輝度であったと
しても、より正確な合焦位置を検出することが可能とな
るものである。なお、上述の実施例は、「山登り方式」
の合焦処理を適用したものであったが、本発明の自動合
焦装置は、これに限るものではなく、全レンズ駆動範
囲、あるいは、所定の駆動範囲のコントラスト情報を、
一旦は、取り込み、その情報に基づいてピーク位置を求
めるような合焦方式のものにも、勿論、適用可能であ
る。また、本発明の要旨のものは、電子カメラは勿論の
こと、ムービカメラや銀塩フィルムを使うカメラにも適
用できる。
As described above, the automatic focusing apparatus according to the present embodiment reduces the noise level of a low-luminance object by pre-sampling in which the contrast data is captured while the focusing lens 1 driving position is fixed. The degree is calculated as the calculation coefficient Ed, and the contrast data including noise is divided by the calculation coefficient Ed to obtain the corrected contrast data that can obtain a more accurate peak point, and the in-focus position is detected by the corrected contrast data. By doing so, even if the subject has low brightness, it is possible to detect the in-focus position more accurately. In addition, the above-mentioned embodiment is a "mountain climbing method".
However, the automatic focusing device of the present invention is not limited to this, and the entire lens drive range, or contrast information of a predetermined drive range,
Of course, the present invention can be applied to a focusing method in which the peak position is obtained based on the information once captured. Further, the subject matter of the present invention can be applied not only to an electronic camera but also to a movie camera or a camera using a silver salt film.

【0015】[0015]

【発明の効果】上述のように本発明の自動合焦装置は、
プリ・サンプリング動作によりノイズの程度に対応した
第1のデータを求め、ノイズを含むコントラストデータ
を上記第1のデータで除算することによって、より正確
な合焦位置が得られる第2のデータを求めるようにし
た。従って、万一、被写体が低輝度等であって、そのコ
ントラストデータにノイズが多く含まれていたとして
も、より正確な合焦位置を検出することを可能とするも
のである。
As described above, the automatic focusing device of the present invention,
The first data corresponding to the degree of noise is obtained by the pre-sampling operation, and the contrast data including the noise is divided by the first data to obtain the second data with which a more accurate focus position can be obtained. I did it. Therefore, even if the subject has low brightness or the like and the contrast data contains a lot of noise, it is possible to detect the in-focus position more accurately.

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

【図1】本発明の第1実施例を示す自動合焦装置を内蔵
する電子的撮像装置のブロック構成図。
FIG. 1 is a block configuration diagram of an electronic image pickup apparatus incorporating an automatic focusing device according to a first embodiment of the present invention.

【図2】上記図1の自動合焦装置におけるプリ・サンプ
リング動作で得られるコントラスト値の線図。
FIG. 2 is a diagram of contrast values obtained by a pre-sampling operation in the automatic focusing device shown in FIG.

【図3】上記図1の自動合焦装置における各駆動段数に
対するノイズを含むコントラスト値と補正コントラスト
値の線図。
FIG. 3 is a diagram of a contrast value including noise and a corrected contrast value for each driving step number in the automatic focusing device of FIG. 1;

【図4】上記図1の自動合焦装置の合焦処理のフローチ
ャート。
FIG. 4 is a flowchart of focusing processing of the automatic focusing apparatus shown in FIG.

【図5】上記図4の合焦処理でコールされるサブルーチ
ン「AF処理」のフローチャート。
5 is a flowchart of a subroutine "AF process" called in the focusing process of FIG.

【図6】従来の自動合焦装置における各駆動段数に対す
るノイズを含むコントラスト値の線図。
FIG. 6 is a diagram of a contrast value including noise for each drive step number in a conventional automatic focusing device.

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

4…………………撮像処理回路(プリ・サンプリング手
段) 8…………………BPF回路(プリ・サンプリング手
段) 9…………………第1A/D変換回路(プリ・サンプリ
ング手段) 10…………………演算処理回路(プリ・サンプリング
手段,第1のデータ生成手段,第2のデータ生成手段,
自動合焦手段) E,Ej…………………コントラスト値(コントラスト
データ) Ed …………………演算係数(第1のデータ) Sj,Sj+1,Sj+2……補正コントラスト値(第2のデ
ータ)
4 …………………… Image pickup processing circuit (pre-sampling means) 8 …………………… BPF circuit (pre-sampling means) 9 …………………… 1st A / D converter circuit (pre-sampling means) Sampling means 10 ... Arithmetic processing circuit (pre-sampling means, first data generating means, second data generating means,
Automatic focusing means) E, Ej …………………… Contrast value (contrast data) Ed ………………… Calculation coefficient (first data) Sj, Sj + 1, Sj + 2 …… Corrected contrast Value (second data)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】当該撮像手段により形成された映像信号に
基づくコントラストデータを、同一撮影条件の下で合焦
状態の評価に先だって所定の複数の時点でそれぞれ得る
ためのプリ・サンプリング手段と、 上記プリ・サンプリング手段により得られた複数のコン
トラストデータの最大値と最小値との差をその下限値と
して選定する1つの所定値に対応する第1のデータを得
るための第1のデータ生成手段と、 上記撮像手段により形成される映像信号に基づいて経時
的に得られるコントラストデータを上記第1のデータで
除した商に対応する第2のデータを合焦状態評価のため
の基準データとして当該自動合焦手段に供給するための
第2のデータ生成手段と、 を備えたことを特徴とする自動合焦装置。
1. Pre-sampling means for respectively obtaining contrast data based on a video signal formed by the image pickup means at a plurality of predetermined times prior to the evaluation of the in-focus state under the same photographing condition, First data generating means for obtaining first data corresponding to one predetermined value for selecting a difference between the maximum value and the minimum value of the plurality of contrast data obtained by the pre-sampling means as the lower limit value thereof; , The second data corresponding to the quotient obtained by dividing the contrast data obtained over time based on the video signal formed by the image pickup means by the first data is used as the reference data for the focus state evaluation. An automatic focusing device comprising: a second data generating unit for supplying the focusing unit.
JP4055450A 1992-03-13 1992-03-13 Automatic focusing device Pending JPH05260359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4055450A JPH05260359A (en) 1992-03-13 1992-03-13 Automatic focusing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4055450A JPH05260359A (en) 1992-03-13 1992-03-13 Automatic focusing device

Publications (1)

Publication Number Publication Date
JPH05260359A true JPH05260359A (en) 1993-10-08

Family

ID=12998942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4055450A Pending JPH05260359A (en) 1992-03-13 1992-03-13 Automatic focusing device

Country Status (1)

Country Link
JP (1) JPH05260359A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101133679B1 (en) * 2010-04-27 2012-04-12 어빌러티 엔터프라이즈 컴퍼니 리미티드 Method of automatically calibrating a visual parameter for an imaging device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101133679B1 (en) * 2010-04-27 2012-04-12 어빌러티 엔터프라이즈 컴퍼니 리미티드 Method of automatically calibrating a visual parameter for an imaging device
US8310549B2 (en) 2010-04-27 2012-11-13 Ability Enterprise Co., Ltd. Method of automatically calibrating a visual parameter for an imaging device

Similar Documents

Publication Publication Date Title
US7525590B2 (en) Camera apparatus with exposure correction based on movement of the object
JPH09243906A (en) Automatic focusing device and method
JPH09200597A (en) Automatic focusing detector
US7710492B2 (en) Imaging device and imaging method for performing automatic focus detection
JP3557222B2 (en) Automatic focusing device
JP2007025559A (en) Focusing position detecting method and device
US20090290859A1 (en) Image pickup device and method of correcting camera shake of the image pickup device
JP2000338387A (en) Method and device for autofocusing and storing medium
JP4381910B2 (en) Imaging device
JPH0630322A (en) Automatic focusing device
JPH05260359A (en) Automatic focusing device
JP2699340B2 (en) Automatic focusing device
JP3112491B2 (en) Auto focusing system
JP3310324B2 (en) Automatic focusing device
JPH05241066A (en) Autofucusing device
JP2002330335A (en) Still picture image pickup device
JP3310323B2 (en) Automatic focusing device
JP3109862B2 (en) Auto focus device
JPH05284414A (en) Autoamtic focusing device
JP3389379B2 (en) Auto focus device
JP2936824B2 (en) Exposure control device for video camera
JP4779383B2 (en) Digital camera
KR0181282B1 (en) Method for compensating auto-focusing data at the time of photographing under low illuminance
JPH05219431A (en) Exposure controller for video camera
KR970006547B1 (en) Auto-focusing system for camcorder

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040210