JPH06141224A - Automatic focusing adjusting device - Google Patents

Automatic focusing adjusting device

Info

Publication number
JPH06141224A
JPH06141224A JP4309564A JP30956492A JPH06141224A JP H06141224 A JPH06141224 A JP H06141224A JP 4309564 A JP4309564 A JP 4309564A JP 30956492 A JP30956492 A JP 30956492A JP H06141224 A JPH06141224 A JP H06141224A
Authority
JP
Japan
Prior art keywords
image
signal
image pickup
edges
controller
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
JP4309564A
Other languages
Japanese (ja)
Inventor
Hiroto Shimizu
博人 志水
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP4309564A priority Critical patent/JPH06141224A/en
Publication of JPH06141224A publication Critical patent/JPH06141224A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)

Abstract

PURPOSE:To obtain an automatic focusing adjusting device capable of performing the focusing adjustment of an optical system by using a one- dimensional image pickup element without requiring complicated process or control. CONSTITUTION:A line CCD 6 outputs an image signal of one line in the vertical direction of an image-forming plane 5 at every travel of one step according to the rotation of a CCD travel motor 8, and the image signal is amplified by an AGC amplifier 10, and is inputted to a threshold processing circuit 11. The threshold processing circuit 11 obtains the binary image signal by using a threshold value inputted from a controller 13 corresponding to luminance, and outputs it to an edge counter 12. The edge counter 12 counts the number of edges of an inputted binary signal. and outputs it to the controller 13. The controller 13 controls a motor driving circuit 14 corresponding to the number of edges of the inputted binary signal, and drives an image pickup lens 1 to a focusing point by driving by a lens travel motor 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子撮像機器において
光学系の焦点を自動調整する自動焦点調整装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic focus adjusting device for automatically adjusting the focus of an optical system in an electronic image pickup device.

【0002】[0002]

【従来の技術】従来の自動焦点調整装置としては、図5
に示した構造が知られている。すなわち、撮像レンズ5
0は光軸方向に移動自在であって、後方にはエリアCC
D51が配置されている。該エリアCCD51から出力
される画像信号は、AGCアンプ52により増幅されて
図外の画像信号処理部に入力されるとともに、BPF5
3に入力される。該BPF53は入力された画像信号の
所定周波数帯域を通過させて検波回路54に出力し、該
検波回路53は前記帯域に含まれるコントラスト信号を
検波してピーク検出及び制御回路55に入力する。該ピ
ーク検出及び制御回路55は、検波回路53から入力さ
れるコントラスト信号のピークを検出し、レンズ移動モ
ータ56を制御する。これにより、撮像レンズ50が光
軸方向に移動し、コントラスト信号がピークとなった時
点でピーク検出及び制御回路54が、レンズ移動モータ
55を停止させることにより、撮像レンズ50を合焦点
に位置させる。
2. Description of the Related Art As a conventional automatic focus adjusting device, FIG.
The structure shown in is known. That is, the imaging lens 5
0 is movable in the optical axis direction, and area CC is behind
D51 is arranged. The image signal output from the area CCD 51 is amplified by the AGC amplifier 52 and input to an image signal processing unit (not shown), and the BPF 5
Input to 3. The BPF 53 passes a predetermined frequency band of the input image signal and outputs it to the detection circuit 54, and the detection circuit 53 detects the contrast signal contained in the band and inputs it to the peak detection and control circuit 55. The peak detection and control circuit 55 detects the peak of the contrast signal input from the detection circuit 53 and controls the lens movement motor 56. As a result, the image pickup lens 50 moves in the optical axis direction, and when the contrast signal reaches a peak, the peak detection and control circuit 54 stops the lens moving motor 55 to position the image pickup lens 50 at the focal point. .

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の自動焦点調整装置にあっては、2次元の画像
データのコントラスト信号がピークとなる位置に撮像レ
ンズ50を移動させることにより、焦点調整を行うよう
に構成されている。したがって、エリアCCD51のよ
うに2次元の画像データを出力する撮像素子の存在が前
提であって、ラインCCDのような1次元の撮像素子を
用いる場合には、この装置の方式をそのまま採用するこ
とはできない。無論、1次元撮像素子を用いた場合に
も、1次元データをメモリに蓄積して2次元データを生
成する等の複雑な制御を行えば、1次元撮像素子を用い
た場合であっても、この方式にて焦点調整が可能であろ
うが、このような制御を行ったのではデータ処理や制御
内容が複雑となってしまう。
However, in such a conventional automatic focus adjusting device, the focus adjustment is performed by moving the image pickup lens 50 to a position where the contrast signal of the two-dimensional image data has a peak. Is configured to do. Therefore, it is premised that there is an image pickup device that outputs two-dimensional image data such as the area CCD 51, and when a one-dimensional image pickup device such as a line CCD is used, the system of this device should be adopted as it is. I can't. Of course, even when a one-dimensional image sensor is used, even if a one-dimensional image sensor is used, complicated control such as accumulating one-dimensional data in a memory to generate two-dimensional data can be performed. Focus adjustment may be possible with this method, but if such control is performed, data processing and control contents become complicated.

【0004】本発明は、このような従来の課題に鑑みて
なされたものであり、複雑な処理や制御を伴うことなく
1次元撮像素子を用いて光学系の焦点調整を行うことこ
ができる自動焦点調整装置を提供することを目的とする
ものである。
The present invention has been made in view of the above conventional problems, and the focus of an optical system can be automatically adjusted by using a one-dimensional image pickup device without complicated processing and control. An object of the present invention is to provide a focus adjustment device.

【0005】[0005]

【課題を解決するための手段】前記課題を解決するため
に本発明にあっては、被写体を結像する光学系と、該光
学系の結像面を1次元撮像素子で走査して輝度信号を出
力し、被写体像を撮像する撮像手段と、該撮像手段より
出力された前記輝度信号を2値化する2値化手段と、該
2値化手段により2値化された信号のエッジを計数する
計数手段と、該計数手段の計数値が最大となるように前
記光学系を制御する制御手段とを有している。
In order to solve the above-mentioned problems, according to the present invention, an optical system for forming an image of a subject, and an image forming surface of the optical system is scanned by a one-dimensional image pickup device to obtain a luminance signal. Is output to pick up a subject image, a binarizing unit that binarizes the luminance signal output from the image pickup unit, and an edge of the signal binarized by the binarizing unit is counted. Counting means and a control means for controlling the optical system so that the count value of the counting means becomes maximum.

【0006】[0006]

【作用】前記構成において、1次元撮像素子は、光学系
が結像した被写体像の結像面を走査して輝度信号を出力
し、この輝度信号は2値化手段により2値化される。こ
の2値化された信号のエッジは、計数手段により計数さ
れ、制御手段はこの計数手段の計数値が最大となるよう
に光学系を制御する。すなわち、ある閾値を用いて輝度
信号を2値化した場合、2値化された信号のエッジ数は
光学系の合焦点で最大となる。したがって、このエッジ
数が最大となるように光学系を制御することにより、光
学系は合焦点に調整される。
In the above structure, the one-dimensional image pickup device scans the image forming surface of the subject image formed by the optical system to output a luminance signal, and the luminance signal is binarized by the binarizing means. The edges of the binarized signal are counted by the counting means, and the control means controls the optical system so that the count value of the counting means becomes maximum. That is, when the luminance signal is binarized using a certain threshold value, the number of edges of the binarized signal becomes maximum at the focal point of the optical system. Therefore, the optical system is adjusted to the in-focus point by controlling the optical system so that the number of edges becomes maximum.

【0007】[0007]

【実施例】以下、本発明の一実施例を図にしたがって説
明する。すなわち、この実施例は、1次元撮像素子であ
るラインCCDを用いて撮像を行う撮像装置に本発明を
適用したものであって、図1に示した撮像レンズ1は、
リングギア2の回転に伴って光軸方向に移動可能であ
り、リングギア2にはレンズ移動モータ3の回転軸に固
定されたピニオン4が噛合されている。撮像レンズ1の
後方には、該撮像レンズ1の結像面5に沿って水平方向
に移動可能なラインCCD6が配置されている。該ライ
ンCCD6は、素子を垂直方向に並列してなり、その下
端部はナット7に固定され、該ナット7にはCCD移動
モータ8の回転軸に設けられた長尺状のボルト9が螺合
されている。したがって、CCD移動モータ8が動作し
てボルト9が回転すれば、これに伴ってナット7と一体
的にラインCCD6が水平方向に移動する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. That is, in this embodiment, the present invention is applied to an image pickup apparatus that picks up an image using a line CCD that is a one-dimensional image pickup element, and the image pickup lens 1 shown in FIG.
It is movable in the optical axis direction as the ring gear 2 rotates, and a pinion 4 fixed to the rotation shaft of the lens moving motor 3 is meshed with the ring gear 2. Behind the image pickup lens 1, a line CCD 6 which is movable in the horizontal direction along an image forming surface 5 of the image pickup lens 1 is arranged. The line CCD 6 is formed by arranging elements in parallel in a vertical direction, and a lower end portion thereof is fixed to a nut 7, and a long bolt 9 provided on a rotation shaft of a CCD moving motor 8 is screwed into the nut 7. Has been done. Therefore, when the CCD moving motor 8 operates and the bolt 9 rotates, the line CCD 6 moves in the horizontal direction integrally with the nut 7 when the bolt 9 rotates.

【0008】このときラインCCD6は、1ステップ分
水平方向へ移動するごとに、結像面5の垂直方向の1ラ
イン分の画像信号を出力し、この画像信号はAGCアン
プ10により増幅されて2値化回路11に入力される。
該2値化回路11は、コントローラ13から入力される
閾値に従って前記画像信号を輝度に応じて2値化し、エ
ッジカウンタ12に出力する。該エッジカウンタ12
は、入力される2値化信号のエッジ数をカウントして、
コントローラ13に出力する。該コントローラ13は、
入力される2値化信号のエッジ数に応じてモータ駆動回
路14の状態を制御し、該モータ駆動回路14の動作状
態により前記レンズ移動モータ3とCCD移動モータ8
とが作動する。なお、前記結像面5において、中央の所
定範囲が撮像レンズ1の焦点調整を行う際に、ラインC
CD6が輝度を検知する検知ゾーンZである。
At this time, the line CCD 6 outputs an image signal for one line in the vertical direction of the image plane 5 every time it moves in the horizontal direction by one step, and this image signal is amplified by the AGC amplifier 10 to 2 It is input to the digitization circuit 11.
The binarization circuit 11 binarizes the image signal according to the brightness according to the threshold value input from the controller 13, and outputs the binarized image signal to the edge counter 12. The edge counter 12
Counts the number of edges of the input binary signal,
Output to the controller 13. The controller 13 is
The state of the motor drive circuit 14 is controlled according to the number of edges of the input binary signal, and the lens moving motor 3 and the CCD moving motor 8 are controlled by the operating state of the motor driving circuit 14.
And work. In addition, on the image plane 5, a predetermined range in the center is line C when the focus of the imaging lens 1 is adjusted.
The CD 6 is a detection zone Z for detecting the brightness.

【0009】次に、以上の構成にかかる本実施例の動作
を図2に示したフローチャートに従って説明する。すな
わち、被写体を撮像し得る状態にして、図示しないAF
開始スイッチを操作すると、コントローラ14はこのフ
ローチャートに従って動作を開始する。そして、先ずモ
ータ駆動回路14を起動させて、レンズ移動モータ3を
動作させ、撮像レンズ1を最至近と無限遠との中間位置
に移動させる(S1)。引き続き、CCD移動モータ8
を動作させ、ラインCCD6を前記検知ゾーンZの入口
に移動させる(S2)。これにより、ラインCCD6は
検知ゾーンZの入口の1ライン分の画像信号を出力し、
この1ライン分の画像信号はAGCアンプ10により増
幅されて、2値化回路11に入力される。
Next, the operation of this embodiment having the above configuration will be described with reference to the flow chart shown in FIG. That is, the AF (not shown) is set in a state in which the subject can be imaged.
When the start switch is operated, the controller 14 starts the operation according to this flowchart. Then, first, the motor drive circuit 14 is activated to operate the lens moving motor 3 to move the imaging lens 1 to an intermediate position between the closest distance and infinity (S1). Continuously, CCD moving motor 8
Is operated to move the line CCD 6 to the entrance of the detection zone Z (S2). As a result, the line CCD 6 outputs an image signal for one line at the entrance of the detection zone Z,
The image signal for one line is amplified by the AGC amplifier 10 and input to the binarization circuit 11.

【0010】このとき、2値化回路11にはコントロー
ラ13から、予め所定の閾値が入力されており、2値化
回路11はこの予め入力されている所定の閾値と画像信
号の輝度成分とを比較して、その比較結果による2値化
信号をエッジカウンタ12に出力する。該エッジカウン
タ12は、1ライン分の2値化信号において、そのエッ
ジ数をカウントしてコントローラ13に出力する。
At this time, a predetermined threshold value is input in advance from the controller 13 to the binarization circuit 11, and the binarization circuit 11 outputs the predetermined threshold value input in advance and the luminance component of the image signal. After the comparison, the binarized signal resulting from the comparison is output to the edge counter 12. The edge counter 12 counts the number of edges in the binarized signal for one line and outputs it to the controller 13.

【0011】コントローラ13は、入力された1ライン
分の2値化信号のエッジ数のカウント値であるエッジカ
ウントがピークであるか否かを判別し(S3)、ピーク
でない場合にはラインCCD6が、検知ゾーンZの出口
まで移動したか否かを判別する(S4)。そして、ライ
ンCCD6が、未だ検知ゾーンZの出口まで移動してい
ない場合には、ラインCCD6を1ステップ分水平方向
に移動させ(S5)、S3からの判別を実行する。
The controller 13 determines whether or not the edge count, which is the count value of the number of edges of the input binarized signal for one line, is a peak (S3). Then, it is determined whether or not it has moved to the exit of the detection zone Z (S4). If the line CCD 6 has not moved to the exit of the detection zone Z, the line CCD 6 is moved horizontally by one step (S5), and the determination from S3 is executed.

【0012】つまり、S3〜S5のループにより、ライ
ンCCD6は検知ゾーンZの入口から出口に向かって1
ステップずつ移動し、1ステップずつ移動するごとに、
S3でエッジカウントがピークとなったか否かを判別す
る。このS3の判別は、例えば順次入力される1ライン
分の2値化信号のエッジ数と、所定のピーク値であるエ
ッジ数とを比較することにより行われる。そして、ライ
ンCCD6が検知ゾーンZのある位置で、エッジカウン
トが所定のピーク値を上回ったときには、S3の判別が
YESとなって前記ループを抜け、これによりラインC
CD6は当該位置にて停止する。
That is, by the loop of S3 to S5, the line CCD 6 moves from the entrance of the detection zone Z toward the exit by one.
Move step by step, step by step,
In S3, it is determined whether the edge count has reached a peak. The determination in S3 is performed by, for example, comparing the number of edges of the binarized signal for one line that is sequentially input with the number of edges that is a predetermined peak value. When the edge CCD exceeds the predetermined peak value at the position where the line CCD 6 is in the detection zone Z, the determination in S3 is YES, and the loop is exited.
CD6 stops at that position.

【0013】これに対し、ラインCCD6を1ステップ
ずつ検知ゾーンZの入口から出口方向に移動せても、い
ずれの地点でも当該ラインのエッジ数が所定のピーク値
を上回らなかったときには、ラインCCD6が検知ゾー
ンZの出口まで到達し、S4の判別がYESとなる。そ
して、この場合には止むを得ずラインCCD6を、検知
ゾーンZの中央位置に停止させる(S6)。したがっ
て、次のS7を実行する際には、ラインCCD6はエッ
ジカウントがピークとなった位置か、又は検知ゾーンZ
の中央位置のいずれかに停止している。
On the other hand, even if the line CCD 6 is moved step by step from the entrance to the exit of the detection zone Z and the edge number of the line does not exceed the predetermined peak value at any point, the line CCD 6 is operated. After reaching the exit of the detection zone Z, the determination in S4 is YES. In this case, the line CCD 6 is unavoidably stopped at the center position of the detection zone Z (S6). Therefore, when the next step S7 is executed, the line CCD 6 is located at the position where the edge count reaches the peak or the detection zone Z.
Has stopped in one of the central positions.

【0014】そして、S7では予めコントローラ13内
のROMに記憶してある、複数の閾値のうち、最もその
値が大きい閾値を2値化回路11にセットする。する
と、2値化回路11は、移動を停止しているラインCC
D6からAGCアンプ10を介して入力される当該位置
の1ライン分の画像信号を前記閾値と比較して2値化
し、エッジカウンタ12は2値化信号のエッジ数をカウ
ントしてコントローラ13に入力する。該コントローラ
13は、エッジカウンタ12がカウントしたエッジ数で
あるエッジカウントと所定のピーク値とを比較すること
により、エッジカウントがピークとなったか否かを判別
する(S8)。
Then, in S7, the threshold having the largest value among the plurality of thresholds stored in advance in the ROM of the controller 13 is set in the binarization circuit 11. Then, the binarization circuit 11 causes the line CC that has stopped moving.
The image signal for one line at the position input from D6 via the AGC amplifier 10 is compared with the threshold value to be binarized, and the edge counter 12 counts the number of edges of the binarized signal and inputs it to the controller 13. To do. The controller 13 determines whether or not the edge count reaches a peak by comparing the edge count, which is the number of edges counted by the edge counter 12, with a predetermined peak value (S8).

【0015】エッジカウントがピークとなってない場合
には、閾値を最低まで変化させたか否かを判別し(S
9)、閾値を最低まで変化させていない場合には、閾値
を1ステップ低下させて(S10)、S8からの判別を
繰り返す。したがって、エッジカウントがピークとなる
か、若しくは閾値が最低となるまで、S8〜S10のル
ープが繰り返され、これにより2値化回路11は閾値が
1ステップ低下するごとに、同じ画像信号を異なる閾値
で2値化して出力する。
If the edge count does not reach the peak, it is determined whether the threshold value is changed to the minimum (S
9) If the threshold value is not changed to the minimum, the threshold value is decreased by one step (S10), and the determination from S8 is repeated. Therefore, the loop of S8 to S10 is repeated until the edge count reaches the peak or the threshold becomes the minimum, whereby the binarization circuit 11 outputs the same image signal to different thresholds every time the threshold is decreased by one step. And binarize and output.

【0016】これにより、図3に示したように、同じ1
ライン分の画像信号であっても、閾値、、に応じ
て異なる2値化信号が2値化回路11から出力されるこ
とととなる。また、図3に示した例においては、閾値
のときに2値化信号のエッジ数が最も多く、このエッジ
数が所定のピーク値を越えるものであれば、閾値の時
点でS8の判別がYESとなり、以下に説明する撮像レ
ンズ1の駆動制御に用いられる閾値はに決定される。
As a result, as shown in FIG.
Even for the image signals for the lines, the binarization circuit 11 outputs different binarization signals depending on the threshold value. Further, in the example shown in FIG. 3, the number of edges of the binarized signal is the largest at the threshold value, and if this edge number exceeds the predetermined peak value, the determination in S8 is YES at the threshold value. Therefore, the threshold value used for the drive control of the imaging lens 1 described below is determined to.

【0017】これに対し、閾値を最低まで変化させて
も、いずれの閾値でも当該ラインのエッジ数が所定のピ
ーク値を上回らなかったときには、S9の判別がYES
となり、この場合には止むを得ず閾値を大小間の中心値
に設定する(S11)。したがって、S11までの処理
を終了した時点においては、第1に、ラインCCD6は
エッジカウントがピークとなった位置か又は検知ゾーン
Zの中央位置のいずれかに停止した状態にあり、かつ、
第2に、2値化回路にはエッジカウントがピークとなっ
たときの閾値か若しくは前記中心値のいずれかがセット
された状態にある。
On the other hand, if the number of edges of the line does not exceed the predetermined peak value at any threshold even if the threshold is changed to the minimum, the determination in S9 is YES.
Therefore, in this case, the threshold value is unavoidably set to the center value of the large and small spaces (S11). Therefore, when the processing up to S11 is completed, firstly, the line CCD 6 is in a state of being stopped at either the position where the edge count reaches the peak or the center position of the detection zone Z, and
Second, the binarization circuit is in a state in which either the threshold value when the edge count reaches the peak or the central value is set.

【0018】そして、以上の手順によりラインCCD6
の位置と閾値とを決定した後、S12以降の撮像レンズ
1の駆動制御が開始され、先ず撮像レンズ1を無限遠
(∞)に移動させる(S12)。すると、2値化回路1
1は、この撮像レンズ1が無限遠にある状態で、ライン
CCD6からAGCアンプ10を介して入力される当該
位置の1ライン分の画像信号を前記閾値と比較して2値
化し、エッジカウンタ12は2値化信号のエッジ数をカ
ウントしてコントローラ13に入力する。該コントロー
ラ13は、エッジカウンタ12がカウントしたエッジ数
であるエッジカウントと所定のピーク値とを比較するこ
とにより、エッジカウントがピークとなったか否かを判
別する(S13)。
Then, according to the above procedure, the line CCD 6
After determining the position and the threshold value, the driving control of the imaging lens 1 after S12 is started, and the imaging lens 1 is first moved to infinity (∞) (S12). Then, the binarization circuit 1
In the state where the image pickup lens 1 is at infinity, reference numeral 1 compares the image signal for one line of the position input from the line CCD 6 through the AGC amplifier 10 with the threshold value to binarize it, and the edge counter 12 Inputs the number of edges of the binarized signal to the controller 13. The controller 13 determines whether or not the edge count reaches a peak by comparing the edge count, which is the number of edges counted by the edge counter 12, with a predetermined peak value (S13).

【0019】エッジカウントがピークとなってない場合
には、撮像レンズ1が最至近まで移動したか否かを判別
し(S14)、最至近まで移動していない場合には、撮
像レンズ1を繰出して(S15)、S13からの判別を
繰り返す。したがって、エッジカウントがピークとなる
か、若しくは撮像レンズ1が最至近に移動するまで、S
13〜S15のループが繰り返され、2値化回路11は
撮像レンズ1が繰り出されるごとに、当該位置の焦点状
態に応じた画像信号を同一の閾値で2値化して出力す
る。
If the edge count does not reach the peak, it is judged whether or not the image pickup lens 1 has moved to the closest point (S14). If not, the image pickup lens 1 is extended. (S15), the determination from S13 is repeated. Therefore, until the edge count reaches a peak or the imaging lens 1 moves to the closest position, S
The loop of 13 to S15 is repeated, and every time the image pickup lens 1 is extended, the binarization circuit 11 binarizes the image signal corresponding to the focus state at the position and outputs the binarized image signal.

【0020】このとき、図1の(a)(b)点での出力
波形を図4の(a)(b)に示したように、合焦時には
映像のディテール分が存在する波形(a)となるのに対
し、非合焦時にはディテール分が失われた波形(b)と
なる。また、この波形(a)(b)が2値化回路11
で、同じ閾値を用いて2値化されると、合焦時の波形
(a)はエッジ数が多い2値化信号(a′)として出力
されるのに対し、非合焦時の波形(b)はエッジ数の少
ない2値化信号(b′)として出力される。そして、同
図の(c)に示したように、エッジのカウント数がピー
クとなれば、この時点で撮像レンズ1は合焦状態であ
り、S14の判別がYESとなって、AF(自動焦点調
整)を終了する。このAFの終了により、撮像レンズ1
を無限遠から最至近方向に駆動しているレンズ移動モー
タ3が停止して、撮像レンズ1は合焦した位置で停止す
る。
At this time, as shown in (a) and (b) of FIG. 4, the output waveforms at points (a) and (b) of FIG. 1 are waveforms (a) in which the detail of the image exists at the time of focusing. On the other hand, the waveform (b) in which details are lost when the object is out of focus is obtained. In addition, the waveforms (a) and (b) are the binarization circuit 11
Then, when binarized using the same threshold value, the waveform (a) at the time of focusing is output as a binarized signal (a ′) having a large number of edges, while the waveform (a) at the time of non-focusing ( b) is output as a binarized signal (b ') having a small number of edges. Then, as shown in (c) of the figure, if the edge count reaches a peak, the imaging lens 1 is in focus at this point, and the determination in S14 is YES, and AF (autofocus) is performed. Adjustment). By the end of this AF, the imaging lens 1
The lens moving motor 3 driving the lens from infinity to the closest direction stops, and the imaging lens 1 stops at the in-focus position.

【0021】これに対し、撮像レンズ1を繰出しても、
2値化信号のエッジカウントがピークとならない場合に
は、撮像レンズ1が最至近に到達した時点でS14の判
別がYESとなる。そして、この場合には止むを得ず撮
像レンズ1を無限遠と最至近との中間位置に移動させて
(S16)、AFを終了する。つまり、被写体が白い場
合には、画像信号のコントラスト成分が微少であって、
これを2値化してもエッジ数が所定のピーク値とならな
い場合がある。よって、この場合には合焦の可能性が高
い前記中間位置に撮像レンズ1を移動させて、AFを終
了するのである。
On the other hand, even if the image pickup lens 1 is extended,
When the edge count of the binarized signal does not reach the peak, the determination in S14 is YES when the imaging lens 1 reaches the closest position. Then, in this case, it is unavoidable to move the imaging lens 1 to an intermediate position between infinity and the closest distance (S16), and the AF is ended. That is, when the subject is white, the contrast component of the image signal is very small,
Even if this is binarized, the number of edges may not reach a predetermined peak value in some cases. Therefore, in this case, the imaging lens 1 is moved to the intermediate position where there is a high possibility of focusing, and the AF is ended.

【0022】なお、実施例の説明においては、実際に被
写体を撮像するに際しての合焦手順を示したが、同様の
合焦手順により製造工程で撮像レンズの最至近位置を設
定することができる。つまり、図1に示したように撮像
レンズ1から既知の距離に、所定の縞模様が描かれたテ
ストチャートTを置き、このテストチャートTを被写体
として、前述したフローチャートに従って動作させて合
焦状態にする。しかる後に、前記既知の距離に対応する
繰出し量だけ、撮像レンズ1を繰出せば、撮像レンズは
最至近位置となる。したがって、この位置を最至近位置
と規定して調整を行うことにより、迅速に撮像レンズ1
の最至近位置を設定することができる。
In the description of the embodiments, the focusing procedure for actually picking up an image of a subject has been described, but the closest focusing position of the image pickup lens can be set in the manufacturing process by the similar focusing procedure. That is, as shown in FIG. 1, a test chart T on which a predetermined striped pattern is drawn is placed at a known distance from the image pickup lens 1, and the test chart T is used as an object to operate in accordance with the above-mentioned flowchart to achieve a focused state. To Then, if the image pickup lens 1 is extended by the amount of extension corresponding to the known distance, the image pickup lens becomes the closest position. Therefore, by defining this position as the closest position and performing the adjustment, the imaging lens 1 can be quickly
The closest position of can be set.

【0023】[0023]

【発明の効果】以上説明したように本発明は、1次元撮
像素子から出力された輝度信号を2値化し、この2値化
した信号のエッジが最大となるように光学系を制御する
構成とした。よって、1次元撮像素子を用いた撮像装置
において、データ処理や装置の複雑化を伴うことなく、
容易に自動焦点調整機能を得ることができる。
As described above, according to the present invention, the luminance signal output from the one-dimensional image pickup device is binarized, and the optical system is controlled so that the edge of the binarized signal is maximized. did. Therefore, in an image pickup apparatus using a one-dimensional image pickup element, without complicating the data processing or the apparatus,
The automatic focus adjustment function can be easily obtained.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】同実施例の自動焦点調整手順を示すフローチャ
ートである。
FIG. 2 is a flowchart showing an automatic focus adjustment procedure of the embodiment.

【図3】1ライン分の画像信号と閾値に応じて2値化信
号との関係を示す図である。
FIG. 3 is a diagram showing a relationship between an image signal for one line and a binarized signal according to a threshold value.

【図4】図1の(a)〜(c)の状態例を示す図であ
る。
FIG. 4 is a diagram showing an example of states of (a) to (c) of FIG.

【図5】従来の自動焦点調整装置を示すブロック図であ
る。
FIG. 5 is a block diagram showing a conventional automatic focus adjustment device.

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

1 撮像レンズ 6 ラインCCD 11 2値化回路 12 エッジカウンタ 13 コントローラ 1 Imaging Lens 6 Line CCD 11 Binarization Circuit 12 Edge Counter 13 Controller

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 被写体を結像する光学系と、 該光学系の結像面を1次元撮像素子で走査して輝度信号
を出力し、被写体像を撮像する撮像手段と、 該撮像手段より出力された前記輝度信号を2値化する2
値化手段と、 該2値化手段により2値化された信号のエッジを計数す
る計数手段と、 該計数手段の計数値が最大となるように前記光学系を制
御する制御手段と、 を有することを特徴とする自動焦点調整装置。
1. An optical system for forming an image of an object, an image pickup means for scanning an image forming surface of the optical system with a one-dimensional image pickup element to output a luminance signal, and picking up an image of an object, and an output from the image pickup means. The binarized binarized luminance signal 2
And a counting means for counting the edges of the signal binarized by the binarizing means, and a controlling means for controlling the optical system so that the count value of the counting means becomes maximum. An automatic focus adjustment device characterized in that
JP4309564A 1992-10-23 1992-10-23 Automatic focusing adjusting device Pending JPH06141224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4309564A JPH06141224A (en) 1992-10-23 1992-10-23 Automatic focusing adjusting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4309564A JPH06141224A (en) 1992-10-23 1992-10-23 Automatic focusing adjusting device

Publications (1)

Publication Number Publication Date
JPH06141224A true JPH06141224A (en) 1994-05-20

Family

ID=17994544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4309564A Pending JPH06141224A (en) 1992-10-23 1992-10-23 Automatic focusing adjusting device

Country Status (1)

Country Link
JP (1) JPH06141224A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU685728B1 (en) * 1997-05-19 1998-01-22 Umax Data Systems Inc. Auto-focus mechanism
WO2024135120A1 (en) * 2022-12-21 2024-06-27 ソニーセミコンダクタソリューションズ株式会社 Imaging device and imaging system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU685728B1 (en) * 1997-05-19 1998-01-22 Umax Data Systems Inc. Auto-focus mechanism
WO2024135120A1 (en) * 2022-12-21 2024-06-27 ソニーセミコンダクタソリューションズ株式会社 Imaging device and imaging system

Similar Documents

Publication Publication Date Title
US7738028B2 (en) Camera having a focusing adjusting system
JPH05344406A (en) Camera
EP0331502B1 (en) Focus control apparatus and methods
US8488048B2 (en) Image pickup apparatus for finding in-focus direction based on focus signal and control method for the image pickup apparatus
US6184931B1 (en) Image pickup device with focusing control
JPH06141224A (en) Automatic focusing adjusting device
JP3167023B2 (en) Focus adjustment device, blur detection device, motion detection device, and subject position detection device
JP3907794B2 (en) Autofocus device
JPH05145827A (en) Automatic focusing controller
JPH05236329A (en) Lens controller
KR0185167B1 (en) Focus control apparatus and method
JPH08160283A (en) Automatic focusing device
JP2721471B2 (en) Automatic focusing device
JP2810403B2 (en) Automatic focusing device
JP3244863B2 (en) Automatic focusing device
KR0185168B1 (en) Focus control apparatus and method
KR960014833B1 (en) Auto focus control device of a video camera
JPS6399679A (en) Automatic focussing controller
JP2001305421A (en) Automatic focusing device
JP2000171686A (en) Automatic focusing controller and automatic focusing control method
JP2832026B2 (en) Automatic focusing device
JPS6337363B2 (en)
JP3945655B2 (en) Automatic focusing device
JP2773126B2 (en) Focus control device
KR960005330Y1 (en) Automatic focus adjusting apparatus of a video camera