JPS59218410A - Automatic focusing method - Google Patents
Automatic focusing methodInfo
- Publication number
- JPS59218410A JPS59218410A JP9228083A JP9228083A JPS59218410A JP S59218410 A JPS59218410 A JP S59218410A JP 9228083 A JP9228083 A JP 9228083A JP 9228083 A JP9228083 A JP 9228083A JP S59218410 A JPS59218410 A JP S59218410A
- Authority
- JP
- Japan
- Prior art keywords
- camera
- automatic focusing
- image
- difference
- video signal
- 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
Links
Classifications
-
- G—PHYSICS
- G02—OPTICS
- G02B—OPTICAL ELEMENTS, SYSTEMS OR APPARATUS
- G02B7/00—Mountings, adjusting means, or light-tight connections, for optical elements
- G02B7/28—Systems for automatic generation of focusing signals
- G02B7/36—Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Microscoopes, Condenser (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明は、自動焦点顕微鏡等の自動焦点合せ方法に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an automatic focusing method for an automatic focusing microscope or the like.
従来の自動焦点合せは、特公昭39−24152号に示
すように例えば第1図に示すように合焦点面5の前後に
等間隔で置いた光電素子2,6でレンズ1を介して撮像
して得られる信号の出力が等しくなることを利用してピ
ント面前後でボケの程度が等しい点を検出し、その中間
を合焦点とするものがある。また、特開昭52−150
024号に開示されているように光導電素子が合焦時に
抵抗が極値を示すことを利用したものが知られ、またポ
ラロイドカメラに見られる放射した超音波が被写体に当
って反射してくる時間を測定するものが考案されている
。しかし、産業応用面では通常自動焦点合せを行った後
に、対象物の寸法測定や位置認識を行うことを要求され
ることが多い。そのため今挙げた自動焦点合せの方法で
は、焦点合せとは別に寸法測定や位置認識を行う機構が
必要になり、規模、価格の点で問題があった。In conventional automatic focusing, as shown in Japanese Patent Publication No. 39-24152, for example, as shown in FIG. There is a method that uses the fact that the output of the signal obtained by the two methods is equal to each other to detect a point where the degree of blur is equal before and after the focal plane, and sets the point in the middle as the focal point. Also, JP-A-52-150
As disclosed in No. 024, there is a known device that takes advantage of the fact that the resistance of a photoconductive element shows an extreme value when it is focused, and the ultrasonic waves emitted from a Polaroid camera hit the subject and are reflected. Something has been devised to measure time. However, in industrial applications, it is often required to measure the dimensions and recognize the position of the object after automatic focusing. Therefore, the automatic focusing method just mentioned requires a mechanism that measures dimensions and recognizes the position in addition to focusing, which poses problems in terms of scale and cost.
本発明の目的は、前記した従来技術の問題点に鑑み、簡
単な構成で自動焦点合せが出来るようにした自動焦点合
せ方法を提供するにある。SUMMARY OF THE INVENTION In view of the problems of the prior art described above, an object of the present invention is to provide an automatic focusing method that allows automatic focusing with a simple configuration.
本発明は、上記目的を達成するために映像の平均値処理
もしくは平滑化を施したものと、何ら処理を施さないも
のの差が最大になる点を求めることにより、焦点合せを
行うようにしたことを特徴とするものである。In order to achieve the above object, the present invention performs focusing by determining the point where the difference between the average value processing or smoothing of the image and the image without any processing is maximized. It is characterized by:
以下、本発明の一実施例を第2図乃至第5図にもとづい
て具体的に説明する。第2図は自動焦点合せの機能図で
ある。カメラ6からの出力映像信号9を平均値処理手段
もしくは平滑化手段7に通し、比較器8で高周波成分の
除去された映像信号10とカメラ6からの生の出力映像
信号9とを画面全体もしくは比較してその差を求め、画
面全体もしくは指定エリアについて加算して出力11を
求め、対象物又は結像レンズとカメラ6とを光軸方向に
相対的移動(変位)させながらその分散を求め、その分
散の最大となる合焦点位置に調節する。自動焦点合せの
後対象物の寸法測定、位置認識が容易に行えるように、
これらの機能を第6図のビデオRAM装置で構成した。Hereinafter, one embodiment of the present invention will be specifically described based on FIGS. 2 to 5. FIG. 2 is a functional diagram of automatic focusing. The output video signal 9 from the camera 6 is passed through the average value processing means or the smoothing means 7, and the video signal 10 from which high frequency components have been removed by the comparator 8 and the raw output video signal 9 from the camera 6 are combined with the entire screen or Compare and find the difference, add for the whole screen or a designated area to find the output 11, and find the dispersion while relatively moving (displacing) the object or the imaging lens and the camera 6 in the optical axis direction, The focal point position is adjusted to maximize the dispersion. After automatic focusing, it is easy to measure the dimensions and recognize the position of the object.
These functions were configured by the video RAM device shown in FIG.
第3図は市販のビデオRAM装置であυ、カメラ12か
らの映像を画像メモリ13に入力する。FIG. 3 shows a commercially available video RAM device υ, which inputs images from a camera 12 to an image memory 13.
画像メモリV;コンピュータ14からアクセスでき、第
2図の機能をソフトウェアで実現する。第2図の平均値
処理機構7は、例えば第4図で示す3×3絵素の平均値
ぬ′なる値v’−(、↓o■・)/9を求め、第2図の
比較器8で、今求めた平均値処理された画像v’=(、
着。■)/9と未処理画像■とを第2図の比較器8で比
較し、その差(v、’=V6)を画像全体もしくは指定
エリア内について加算する。そして対象物又は結像レン
ズとカメラ6とを光軸方向に相対的に移動させながらそ
の変位量を変位検出手段で検出すると共に、上に加算さ
れた出力の分散を求めると第5図のようになる。この分
散が最大となる点が指定エリアに対する合焦点位置であ
る。勿論、第2図の機能をハードウェアで構成してもよ
い。その場合、第2図のブロック7は、ローパスフィル
タカラ構成された平滑化手段である。Image memory V; can be accessed from the computer 14, and realizes the functions shown in FIG. 2 by software. The average value processing mechanism 7 in FIG. 2 calculates, for example, the average value of the 3×3 picture elements shown in FIG. 8, the average value processed image v'=(,
Arrived. (2)/9 and the unprocessed image (2) are compared by the comparator 8 in FIG. 2, and the difference (v,'=V6) is added for the entire image or within the specified area. Then, while relatively moving the object or the imaging lens and the camera 6 in the optical axis direction, the amount of displacement is detected by the displacement detection means, and the dispersion of the added output is calculated as shown in Figure 5. become. The point where this dispersion is maximum is the focal point position for the specified area. Of course, the functions shown in FIG. 2 may be configured by hardware. In that case, block 7 in FIG. 2 is a smoothing means configured as a low-pass filter collar.
このように本発明によれば、簡単な構成で自動焦点合せ
が可能となシ、対象物の寸法測定や位置認識と同じ機構
で行うことができる。換言すれば従来のビデオRAMで
自動焦点合せの特別な機構なしで焦点合せから寸法測定
・位置認識を行うことが可能となった。As described above, according to the present invention, automatic focusing is possible with a simple configuration, and can be performed using the same mechanism as measuring the dimensions and recognizing the position of the object. In other words, it has become possible to perform focusing, dimension measurement, and position recognition using a conventional video RAM without a special automatic focusing mechanism.
以上説明したように本発明によれば、簡単な構成で安価
に自動焦点合せを行うことができる効果を奏する。As explained above, according to the present invention, automatic focusing can be performed at low cost with a simple configuration.
第1図は従来自動焦点合せ機構−例を示した図、第2図
〜第5図は本発明の一実施例を示し、第2図は本発明の
自動焦点合せの機能図、第3図はビデオRAM装置を示
した図、第4図は平均値処理の一実施例を示した図、第
5図は合焦点で比較器出力の分散が最大となることを示
す図である。
6 カメラ、
7・・・平均値処理手段もしくは平滑化手段、8 比較
器、 9 映像信号、12・・・カメラ、1
6・・・画像メモリ、14・ コンピュータ。
第 l 図
2 3
第 2 図
/θ
第 4rys
第 3 図Fig. 1 is a diagram showing an example of a conventional automatic focusing mechanism, Figs. 2 to 5 show an embodiment of the present invention, Fig. 2 is a functional diagram of the automatic focusing mechanism of the present invention, and Fig. 3 4 is a diagram showing a video RAM device, FIG. 4 is a diagram showing an example of average value processing, and FIG. 5 is a diagram showing that the dispersion of the comparator output becomes maximum at a focused point. 6 Camera, 7... Average value processing means or smoothing means, 8 Comparator, 9 Video signal, 12... Camera, 1
6... Image memory, 14. Computer. Fig. 2 3 Fig. 2/θ 4rys Fig. 3
Claims (1)
得られる映像信号に平均値処理または平滑化処理を施し
、この処理を施された信号と処理を施さない信号との差
を検出し、この差が最大となる点を求め、これを合焦点
とすることを特徴とする自動焦点合せ方法。An image on the target object is captured by an imaging device, the video signal obtained by this imaging is subjected to averaging processing or smoothing processing, and the difference between the processed signal and the unprocessed signal is detected, An automatic focusing method characterized by finding the point where this difference is maximum and setting this as the in-focus point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9228083A JPS59218410A (en) | 1983-05-27 | 1983-05-27 | Automatic focusing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9228083A JPS59218410A (en) | 1983-05-27 | 1983-05-27 | Automatic focusing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59218410A true JPS59218410A (en) | 1984-12-08 |
Family
ID=14049988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9228083A Pending JPS59218410A (en) | 1983-05-27 | 1983-05-27 | Automatic focusing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59218410A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0350513A (en) * | 1989-07-18 | 1991-03-05 | Furoobell:Kk | Automatic focusing system |
US6336809B1 (en) | 1998-12-15 | 2002-01-08 | Consolidated Engineering Company, Inc. | Combination conduction/convection furnace |
-
1983
- 1983-05-27 JP JP9228083A patent/JPS59218410A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0350513A (en) * | 1989-07-18 | 1991-03-05 | Furoobell:Kk | Automatic focusing system |
US6336809B1 (en) | 1998-12-15 | 2002-01-08 | Consolidated Engineering Company, Inc. | Combination conduction/convection furnace |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5877809A (en) | Method of automatic object detection in image | |
US20070189750A1 (en) | Method of and apparatus for simultaneously capturing and generating multiple blurred images | |
US5396336A (en) | In-focus detecting device | |
EP3328065A1 (en) | Dual-camera focusing method and apparatus, and terminal device | |
JP2756293B2 (en) | Automatic focusing device | |
JP4668863B2 (en) | Imaging device | |
JP4871691B2 (en) | Imaging apparatus and control method thereof | |
JPS59218410A (en) | Automatic focusing method | |
JPH03149512A (en) | Focus control circuit | |
US20090244313A1 (en) | Compound eye photographing apparatus, control method therefor, and program | |
US20090244275A1 (en) | Compound eye photographing apparatus, control method therefor, and program | |
JPH03154576A (en) | Picture recognition device | |
JP2002311327A (en) | Multipoint auto-focusing device | |
JP4435525B2 (en) | Stereo image processing device | |
TW201642008A (en) | Image capturing device and dynamic focus method thereof | |
JPS62203485A (en) | Focal point detector | |
JPS59111479A (en) | Automatic focusing device | |
JP2847805B2 (en) | Focus control circuit | |
JP2810403B2 (en) | Automatic focusing device | |
JP5541671B2 (en) | Imaging apparatus and focus control method | |
US20240089597A1 (en) | Image capturing apparatus for capturing and compositing images different in in-focus position, control method, and storage medium | |
JPH0483478A (en) | Image input/output device | |
JP3038736B2 (en) | Auto focus circuit | |
JPH07143391A (en) | Still picture recorder | |
JP6558978B2 (en) | Image processing apparatus, image processing method, and program |