JPH02234577A - Automatic focusing device - Google Patents

Automatic focusing device

Info

Publication number
JPH02234577A
JPH02234577A JP1055536A JP5553689A JPH02234577A JP H02234577 A JPH02234577 A JP H02234577A JP 1055536 A JP1055536 A JP 1055536A JP 5553689 A JP5553689 A JP 5553689A JP H02234577 A JPH02234577 A JP H02234577A
Authority
JP
Japan
Prior art keywords
lens
picture element
threshold level
circuit
brightness
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
JP1055536A
Other languages
Japanese (ja)
Inventor
Masahiro Ozaki
尾崎 正弘
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1055536A priority Critical patent/JPH02234577A/en
Publication of JPH02234577A publication Critical patent/JPH02234577A/en
Pending legal-status Critical Current

Links

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Feedback Control In General (AREA)

Abstract

PURPOSE:To eliminate the need for provision of an additional parts to an image pickup section except a lens drive motor by declining a threshold level properly and adjusting a focus lens so as to maximize the picture element number with higher brightness (or lower) than the threshold level. CONSTITUTION:A focus adjustment lens of an image pickup section 1 is matched to the nearest point as soon as the focus adjustment is started. Then a lens drive motor 2 moves the lens continuously in a direction to focus the lens in the remoter position. A picture element comparison integration circuit 6 compares a threshold level calculated from a picture of a preceding frame at a threshold level calculating circuit 3 with the brightness of each picture element and counts the number of picture elements having the larger brightness than the threshold level over several frames. A frame comparator circuit 7 compares the picture element numbers integrated by a picture element comparison integration circuit 5 and when the picture element number calculated newly is smaller than the picture element number calculated precedingly, a stop signal is given to the lens drive motor 2, which stops the movement of the lens.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は撮像装置に関し、特にその自動焦点装1に関す
る. 〔従来の技術〕 従来の自動焦点装1としては、音波等の反射を利用した
もの、焦点の合っていない像を光学的に2重にし、2重
の像が重なり合うことを利用したもの等があった. 〔発明が解決しようとする課題〕 上述した従来の自動焦点装置ではレンズ駆動モータの池
にも光学部付近に装置の1部を付加する必要があった.
また、画像中の任意の点に焦点を合わせることが困難で
あるという欠点があった.本発明の目的は前記課題を解
決した自動焦点装置を提供することにある. 〔課題を解決するための手段〕 前記目的を達成するため、本発明に係る自動焦点装置は
しきい値を決定する回路と、しきい値と各画素の輝度を
比較し、しきい値より高い(あるいは低い)輝度の画素
を数える回路と、数えた画素をフレーム間で比較する回
路と、その出力信号を受けてレンズを駆動して焦点合せ
を行うレンズ駆動モータとを有するものである. 〔実施例〕 以下、本発明の一実施例を図により説明する.第1図は
本発明の一実施例を示すブロック図である. 図において、lは撮像部、2はレンズ駆動モー夕、3は
しきい値を決定するしきい値計算回路、4は平均値計算
回路、5は最大輝度検出回路、6は画素比較積算回路、
7はフレーム比較回路である.また、図中、平均値計算
回路4のNは1フレーム総画素数を意味し、KはO<K
<1の範囲である. 焦点調整開始と同時に撮像部1の焦点調整レンズは最近
点に焦点を合わせる.続いてレンズ駆動モータ2により
レンズを遠方に焦点が合う方向に連続的に動かす.しき
い値計算回路3は平均値計算回路4と最大輝度検出回路
5を有しており、A/D変換された画像信号より1フレ
ームの輝度平均値■よ及び同フレームの最大輝度V.を
検出する.これらの値より、しきい値■7はV7=VA
 士(Vll  VA )・Kと計算される(0くK<
1). 画素比較積算回路6ではしきい値計算回路3で前フレー
ムの画像より計算されたしきい値と各画素の輝度を比較
し、しきい値より大きい輝度を持つ画素の数を数フレー
ムにわたり数える.フレーム比較回路7では画素比較積
算回路5で積算した画素数同士を比較し、新たに算出し
た画素数がその前に算出した画素数より小さくなった時
点でレンズ駆動モータ2に停止信号を発生し、レンズ駆
動モータ2はレンズの移動を止める. 第2図に焦点の合った画像の水平ラインの輝度分布の例
を、第3図に第2図と同じ対象で焦点の合っていない画
像の輝度分布の例を示す.画像の輝度平均より高い(低
い)適当な値をしきい値として、そのしきい値より高い
(低い)輝度を持つ画素の総数はピントの合った画像で
最大となる.本発明は適当なしきい値を決定し、それよ
り大きい(小さい)輝度を持つ画素の数が最大となるよ
うにレンズを調節するというものである.〔発明の効果
〕 以上説明したように本発明はしきい値を適当に定め、し
きい値より高い(あるいは低い》輝度の画素数が最大と
なるように焦点レンズを調節するため、画像信号のみに
よりレンズ位置を決定でき、レンズ駆動モータの他は撮
像部に付加部品をつける必要がない.また、画素をサン
プリングする領域を指定することにより、画像の任意の
位置に焦点を合わせることができる効果を有する.
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an imaging device, and particularly to an automatic focusing device 1 thereof. [Prior Art] Conventional automatic focusing devices 1 include devices that utilize reflection of sound waves, etc., devices that optically double an out-of-focus image, and utilize the fact that the double images overlap. there were. [Problems to be solved by the invention] In the conventional automatic focusing device described above, it was necessary to add a part of the device near the optical section to the lens drive motor.
Another drawback was that it was difficult to focus on any point in the image. An object of the present invention is to provide an automatic focusing device that solves the above problems. [Means for Solving the Problems] In order to achieve the above object, an automatic focusing device according to the present invention includes a circuit that determines a threshold value, compares the brightness of each pixel with the threshold value, and compares the brightness of each pixel with the threshold value, and It has a circuit that counts pixels with (or low) brightness, a circuit that compares the counted pixels between frames, and a lens drive motor that receives the output signal and drives the lens for focusing. [Example] Hereinafter, an example of the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, l is an imaging unit, 2 is a lens drive mode controller, 3 is a threshold calculation circuit that determines a threshold value, 4 is an average value calculation circuit, 5 is a maximum brightness detection circuit, 6 is a pixel comparison integration circuit,
7 is a frame comparison circuit. In addition, in the figure, N in the average value calculation circuit 4 means the total number of pixels in one frame, and K means O<K.
<1 range. At the same time as the focus adjustment starts, the focus adjustment lens of the imaging unit 1 focuses on the closest point. Next, the lens drive motor 2 continuously moves the lens in a direction that focuses on a distant object. The threshold value calculation circuit 3 has an average value calculation circuit 4 and a maximum brightness detection circuit 5, and calculates the average brightness value of one frame (V) and the maximum brightness (V) of the same frame from the A/D converted image signal. Detect. From these values, the threshold value ■7 is V7=VA
It is calculated as (Vll VA )・K (0kuK<
1). The pixel comparison/accumulation circuit 6 compares the brightness of each pixel with the threshold value calculated from the image of the previous frame by the threshold calculation circuit 3, and counts the number of pixels having a brightness greater than the threshold value over several frames. The frame comparison circuit 7 compares the number of pixels accumulated by the pixel comparison and accumulation circuit 5, and generates a stop signal to the lens drive motor 2 when the newly calculated number of pixels becomes smaller than the previously calculated number of pixels. , the lens drive motor 2 stops the movement of the lens. Figure 2 shows an example of the brightness distribution of a horizontal line in an in-focus image, and Figure 3 shows an example of the brightness distribution in an out-of-focus image of the same object as in Figure 2. By setting an appropriate value higher (lower) than the average brightness of the image as a threshold, the total number of pixels with brightness higher (lower) than the threshold is maximized in an in-focus image. The present invention determines an appropriate threshold value and adjusts the lens so that the number of pixels having luminance greater (or lesser) than the threshold value is maximized. [Effects of the Invention] As explained above, the present invention appropriately determines the threshold value and adjusts the focusing lens so that the number of pixels with luminance higher (or lower) than the threshold value is maximized. The lens position can be determined by the lens drive motor, and there is no need to attach any additional parts to the imaging unit other than the lens drive motor.Also, by specifying the area where pixels are sampled, it is possible to focus on any position in the image. has.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すブロック図、第2図は
焦点の合った画像を示す図、第3図は焦点のボケな画像
を示す図である. 1・・・撮像部      2・・・レンズ駆動モータ
3・・・しきい値計算回路 4・・・平均値計算回路5
・・・最大輝度検出回路 6・・・画素比較積算回路7
・・・フレーム比較回路 一一一例 特許出願人   日本電気株式会社 代   理   人      弁理士 菅 野   
 中・r(ニ 一一一
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an in-focus image, and FIG. 3 is a diagram showing an out-of-focus image. 1... Imaging unit 2... Lens drive motor 3... Threshold value calculation circuit 4... Average value calculation circuit 5
... Maximum brightness detection circuit 6 ... Pixel comparison integration circuit 7
... Frame Comparison Circuit 111 Example Patent Applicant: NEC Corporation Representative Patent Attorney: Sugano
Naka・r (N111)

Claims (1)

【特許請求の範囲】[Claims] (1)しきい値を決定する回路と、しきい値と各画素の
輝度を比較し、しきい値より高い(あるいは低い)輝度
の画素を数える回路と、数えた画素をフレーム間で比較
する回路と、その出力信号を受けてレンズを駆動して焦
点合せを行うレンズ駆動モータとを有することを特徴と
する自動焦点装置。
(1) A circuit that determines a threshold value, a circuit that compares the brightness of each pixel with the threshold value, and counts pixels with a brightness higher (or lower) than the threshold value, and a circuit that compares the counted pixels between frames. An automatic focusing device comprising: a circuit; and a lens drive motor that receives an output signal from the circuit and drives a lens for focusing.
JP1055536A 1989-03-08 1989-03-08 Automatic focusing device Pending JPH02234577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1055536A JPH02234577A (en) 1989-03-08 1989-03-08 Automatic focusing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1055536A JPH02234577A (en) 1989-03-08 1989-03-08 Automatic focusing device

Publications (1)

Publication Number Publication Date
JPH02234577A true JPH02234577A (en) 1990-09-17

Family

ID=13001448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1055536A Pending JPH02234577A (en) 1989-03-08 1989-03-08 Automatic focusing device

Country Status (1)

Country Link
JP (1) JPH02234577A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2523163A (en) * 2014-02-17 2015-08-19 Nokia Technologies Oy A method, apparatus and computer program for measuring lens movements

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2523163A (en) * 2014-02-17 2015-08-19 Nokia Technologies Oy A method, apparatus and computer program for measuring lens movements

Similar Documents

Publication Publication Date Title
US8830338B2 (en) Imaging device
US7778539B2 (en) Optical apparatus
JP5335302B2 (en) Focus detection apparatus and control method thereof
JPH04274405A (en) Focusing detection device
US20080247741A1 (en) Image-taking apparatus
US20110304749A1 (en) Image pickup apparatus and method for controlling image pickup apparatus
US20090207298A1 (en) Focusing apparatus and method for controlling the same
US5442397A (en) Image sensing apparatus
JPH03188774A (en) Automatic focus adjustment device
JP6808340B2 (en) Lens control device, control method
JPH0630322A (en) Automatic focusing device
JPH06205268A (en) Automatic focus adjustment device and video camera
JPH0310578A (en) Automatic focusing device
JPH02234577A (en) Automatic focusing device
JPS6118271A (en) Video camera
JPH1164720A (en) Signal converter
WO2016167142A1 (en) Imaging device and method for controlling same
JP2832960B2 (en) Distance measurement area setting device
JPH063577A (en) Focusing device and its method
JP3507086B2 (en) camera
JP2004070037A (en) Auto-focusing device
JP3380627B2 (en) Auto focus device
JP3244863B2 (en) Automatic focusing device
JPH0783447B2 (en) Automatic focusing method and video camera using the same
JPH0614237A (en) Focus adjusting method and device therefor