JPH01137895A - Picture processor - Google Patents
Picture processorInfo
- Publication number
- JPH01137895A JPH01137895A JP62298370A JP29837087A JPH01137895A JP H01137895 A JPH01137895 A JP H01137895A JP 62298370 A JP62298370 A JP 62298370A JP 29837087 A JP29837087 A JP 29837087A JP H01137895 A JPH01137895 A JP H01137895A
- Authority
- JP
- Japan
- Prior art keywords
- interlace
- video camera
- picture
- motor
- image
- 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.)
- Granted
Links
Landscapes
- Closed-Circuit Television Systems (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は電子機器の製造工程において、対象物を視覚認
識により組立検査作業を行う場合の画像処理装置に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image processing apparatus used in the manufacturing process of electronic equipment to assemble and inspect objects by visual recognition.
従来の技術
一股に、画像処理装置は対象物を蹟像するビデオカメラ
からの画像信号をアナログ−ディジタル(以下A/Dと
略す)変換器でディジタル信号に変換し、そのディジタ
ル画像信号を所定のアルゴリズムに従って処理する。ま
たそのときのビデオカメラの走査方式はノンインターレ
ースまたは2:1インターレースのいずれかに固定であ
る。With conventional technology, an image processing device converts an image signal from a video camera that images an object into a digital signal using an analog-to-digital (hereinafter abbreviated as A/D) converter, and converts the digital image signal into a predetermined signal. Process according to the algorithm. Further, the scanning method of the video camera at that time is fixed to either non-interlace or 2:1 interlace.
電子機器などの製造工程においては、倍率の高い顕微鏡
を介するため、自動焦点合わせ機能が必要だったり、視
野内に検出すべき特徴点が無く周囲を探すサーチ機能が
必要な場合がある。このような場合は、得られた画像信
号を処理し、所定の画像が得られるまで対象物またはビ
デオカメラをモータにより移動させ、その後その画像信
号を処理し、計測を行なう。In the manufacturing process of electronic devices, etc., there are cases where an automatic focusing function is required because the process involves a high-magnification microscope, or a search function is required to search the surrounding area when there are no feature points to be detected within the field of view. In such a case, the obtained image signal is processed, the object or the video camera is moved by a motor until a predetermined image is obtained, and then the image signal is processed and measured.
以下図面を参照しながら、上述した従来の画像処yf!
装置の一例について説明する。The conventional image processing yf! described above will be described below with reference to the drawings.
An example of the device will be described.
第4図は自動焦点合わせの場合の従来の処理フローを示
す。まず、初期設定位置にて画像信号をA/D変換して
ビデオメモリに取り込む。そのデータより明暗のコント
ラストの変化率などの焦点合致評価指数を計算する。そ
の値を記憶した後、モータを一定吊送り、ビデオカメラ
を対象物に近づける。停止した後、画像信号を取り込み
、上記と同様の処理を行なう。この処理を繰り返し行な
うと焦点合致評価指数は次第に上昇し、焦点が最も合っ
た位置でピークとなり、その後下降してゆく。FIG. 4 shows a conventional processing flow for automatic focusing. First, an image signal is A/D converted at an initial setting position and taken into a video memory. From this data, a focus matching evaluation index such as the rate of change in contrast between light and dark is calculated. After memorizing the value, the motor is fed a constant suspension and the video camera is brought closer to the object. After stopping, the image signal is captured and the same processing as above is performed. When this process is repeated, the focus evaluation index gradually increases, reaches a peak at the most focused position, and then decreases.
ピークを枚ステップ行き過ぎた時点でピークの位置がわ
かり、その位置までモータを逆転させる。When the peak has gone one step too far, the position of the peak is known and the motor is reversed to that position.
そして停止した後、画像信号を再度取り込み、所定の計
測を行なう。上記処理中のビデオカメラの走査方式はノ
ンインターレースまたは2:1インターレースのいずれ
かに固定である。すなわち、従来の画像処理装置はノン
インターレースと2=1インターレースをアクティブに
切換える機能を有していなかった。After stopping, the image signal is captured again and a predetermined measurement is performed. The scanning method of the video camera during the above processing is fixed to either non-interlace or 2:1 interlace. That is, the conventional image processing apparatus did not have a function of actively switching between non-interlace and 2=1 interlace.
発明が解決しようとする問題点
しかし、上記の方法では、ノンインターレースに固定し
た場合は1回あたりの処理時間が16.7m5ecで、
その処理を10数回繰り返すフォーカス時間は短くてす
むが、計測時には走査線本数が2:1インターレースに
比べて半分のため計測精度が落ち、逆に2:1インター
レースに固定した場合は計測粘度は高いが、1回あたり
の処理時間が33m secでフォーカス時間が長くな
るという問題点を有していた。Problems to be Solved by the Invention However, with the above method, when fixed to non-interlace, the processing time per time is 16.7m5ec,
The focus time for repeating this process more than 10 times is short, but since the number of scanning lines during measurement is half that of 2:1 interlace, the measurement accuracy decreases.On the other hand, when fixed to 2:1 interlace, the measured viscosity is Although this method is expensive, it has the problem that the processing time per processing time is 33 m sec and the focusing time becomes long.
本発明は上記問題点を解決するもので、処理時間を短縮
でき、しかも計測精度を落すことなく処理できる画像処
理装置を提供することを目的とするものである。The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide an image processing apparatus that can shorten processing time and perform processing without reducing measurement accuracy.
問題点を解決するための手段
上記問題点を解決するために本発明の画像処理装置は、
外部からの信号により走査方式をノンインターレースと
2:1インターレースに切換え可能なビデオカメラと、
そのビデオカメラからの画像信号をディジタル信号に変
換するA/D変換器と、最初にノンインターレースで得
られた画像信号を処理し、所定の画像が得られるまで対
象物またはビデオカメラを移動可能なモータを制御し、
所定の画像が得られた後2:1インターレースに切換え
、その2:1インターレースの画像信号を処理する制御
回路とを備えたものである。Means for Solving the Problems In order to solve the above problems, the image processing apparatus of the present invention includes:
A video camera that can switch the scanning method between non-interlace and 2:1 interlace using an external signal,
An A/D converter that converts the image signal from the video camera into a digital signal, and an A/D converter that processes the image signal obtained in a non-interlaced manner and allows the object or video camera to be moved until a predetermined image is obtained. control the motor,
The apparatus includes a control circuit that switches to 2:1 interlace after a predetermined image is obtained and processes the 2:1 interlace image signal.
作用
上記構成により、フォーカス時はノンインターレースで
処理するため1回あたりの処理時間は16、7m se
cでその処理を10数回繰り返すフォーカス時間は短く
なり、フォーカスが合った後の計測は2:1インターレ
ースで行なうため走査線の本数が倍となり、精度は高い
という利点を有する。Effect With the above configuration, processing is performed non-interlaced when focusing, so the processing time per time is 16.7m se
The focus time of repeating the process ten times in c is shortened, and since the measurement after focus is performed with 2:1 interlacing, the number of scanning lines is doubled, which has the advantage of high accuracy.
実施例
以下本発明の一実施例の画像処理装置について、図面を
参照しながら説明する。Embodiment Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.
第1図は本発明の第1の実施例の画像処理装置を示す構
成図である。第1図において、1は顕微鏡で、この顕微
鏡1の結合面にビデオカメラ2が取付けられている。こ
のビデオカメラ2は外部からの信号により走査方式をノ
ンインターレースと2:1インターレースに切換え可能
なタイプである。顕微鏡1およびビデオカメラ2は上下
に移動することのできるスライドテーブル3に取付けら
れており、このスライドテーブル3はモータ4により力
学的に駆動され、モータ4は駆動回路5により電気的に
駆動される。一方、ビデオカメラ2からの画像信号はA
/D変換器6でディジタル@号に変換される。制御回路
7はそのディジタル信号を処理し、焦点が合うように前
記モータ4を駆動回路5を通じて制御するとともに、ビ
デオカメラ2に対して走査方式をノンインターレースか
2:1インターレースかをアクティブに切換える。FIG. 1 is a block diagram showing an image processing apparatus according to a first embodiment of the present invention. In FIG. 1, 1 is a microscope, and a video camera 2 is attached to the coupling surface of the microscope 1. This video camera 2 is of a type in which the scanning method can be switched between non-interlace and 2:1 interlace by an external signal. The microscope 1 and the video camera 2 are attached to a slide table 3 that can move up and down, and the slide table 3 is dynamically driven by a motor 4, which is electrically driven by a drive circuit 5. . On the other hand, the image signal from video camera 2 is A
/D converter 6 converts it into a digital @ symbol. The control circuit 7 processes the digital signal, controls the motor 4 through the drive circuit 5 so that the camera is in focus, and actively switches the scanning method of the video camera 2 between non-interlace and 2:1 interlace.
このように構成された画像処理装置についてその動作を
説明する。まず、顕微11およびビデオカメラ2を対象
物の焦点位置のばらつき範囲よりも手前の位置に初期設
定し、ビデオカメラ2の走査方式をノンインターレース
にする。その位置にて画像信号をA/D変換器5を介し
て取込み、その画像データより明暗のコントラストの変
イヒ率など、の焦点合致評価指数を計鋒する。その値を
記憶した後、モータ4を−・定吊送り、顕微鏡1および
ビデオカメラ2を対栄物に近づける。停止した後画像信
号を取込み上記と同様の処理を行なう。この処理を繰り
返し行なうと焦点合致評価指数は次第に上昇し、焦点が
最も合った位置でピークとなり、その後下降してゆく。The operation of the image processing apparatus configured as described above will be explained. First, the microscope 11 and the video camera 2 are initially set to positions in front of the variation range of the focal position of the object, and the scanning method of the video camera 2 is set to non-interlace. At that position, an image signal is taken in via the A/D converter 5, and a focus matching evaluation index such as a change rate of contrast between bright and dark is calculated from the image data. After memorizing the value, the motor 4 is sent for constant suspension, and the microscope 1 and video camera 2 are brought close to the object. After stopping, the image signal is captured and the same processing as above is performed. When this process is repeated, the focus evaluation index gradually increases, reaches a peak at the most focused position, and then decreases.
ピークを故ステップ行きすぎた時点でピークの位置でわ
かり、その位置までモータ4を逆転させると同時にビデ
オカメラ2の走査方式を2:1インターレースに切換え
る。切換え方法はビデオカメラ2のタイプによるが、自
動切換方式の場合は制御回路7より垂直同期信号と水平
同期信号を同時にビデオカメラ2に入力するのではなく
半位相ずらせて入力するだけで良い。When the peak has gone too far, the position of the peak can be determined, and the motor 4 is reversed to that position, and at the same time the scanning method of the video camera 2 is switched to 2:1 interlace. The switching method depends on the type of video camera 2, but in the case of an automatic switching method, it is sufficient to input the vertical synchronization signal and horizontal synchronization signal from the control circuit 7 to the video camera 2 with a half phase shift instead of inputting them simultaneously.
停止した後画像信号を取り込み所定の計測を行う。After stopping, image signals are captured and predetermined measurements are performed.
第2図は上記動作をフローチャートに示したもので、第
4図と相違する点は、スタート後走査方式をノンインタ
ーレースにすることと、ピーク位置までモータを逆転さ
せたときに走査方式を2:1インターレースにすること
である。Figure 2 shows the above operation in a flowchart.The difference from Figure 4 is that after the start, the scanning method is set to non-interlaced, and when the motor is reversed to the peak position, the scanning method is changed to 2: 1 interlace.
以上のように本実施例によれば、走査方式をノンインタ
ーレースと2:1インターレースに切換可能なビデオカ
メラを用い、最初にノンインターレースで青られた画像
信号を処理し、この状態で所定の画像が得られるまでビ
デオカメラを移動させ、所定の画像が得られた後に2:
1インターレースに切換え、その画像信号を処理するこ
とにより、自動焦点合わせを短時間で行ない、かつ計測
を高精度に行なうことができる。As described above, according to the present embodiment, a video camera whose scanning method can be switched between non-interlace and 2:1 interlace is used, and an image signal that is blued by non-interlace is first processed, and in this state, a predetermined image is processed. 2: Move the video camera until the desired image is obtained.
By switching to 1 interlace and processing the image signal, automatic focusing can be performed in a short time and measurement can be performed with high precision.
次に、本発明の第2の実施例について図面を参照しなが
ら説明する。Next, a second embodiment of the present invention will be described with reference to the drawings.
第3図は本発明の第2の実施例の画像処理装置を示す構
成図である。第4図において、8は対象物の回転部分に
押し当てられているピンチローラで、このピンチローラ
8はモータ9により回転され、モータ9は駆動回路10
により電気的に駆動される。11は顕微鏡で、この顕y
1tU 11の結合部にビデオカメラ12が取付けられ
ている。このビデオカメラ12は外部からの信号により
走査方式をノンインターレースと2:1インターレース
に切換え可能なタイプである。ビデオカメラ12からの
画像信号はA/D変換器13でディジタル信号に変換さ
れる。FIG. 3 is a configuration diagram showing an image processing apparatus according to a second embodiment of the present invention. In FIG. 4, reference numeral 8 denotes a pinch roller that is pressed against the rotating part of the object, and this pinch roller 8 is rotated by a motor 9, which is connected to a drive circuit 10.
It is electrically driven by. 11 is a microscope.
A video camera 12 is attached to the joint of the 1tU 11. This video camera 12 is of a type in which the scanning method can be switched between non-interlace and 2:1 interlace by an external signal. An image signal from the video camera 12 is converted into a digital signal by an A/D converter 13.
制御回路14はこのディジタル信号を処理し、視野内に
計測箇所が入るようにモータ9を駆動回路10を通じて
制御するとともに、ビデオカメラ12に対して走査方式
をノンインターレースか2:1インターレースかをアク
ティブに切換える。The control circuit 14 processes this digital signal, controls the motor 9 through the drive circuit 10 so that the measurement point is within the field of view, and activates the scanning method for the video camera 12 as non-interlace or 2:1 interlace. Switch to
このように構成された画像処理装置について、その動作
を説明する。まず、ビデオカメラ12の走査方式をノン
インターレースにする。その状態で画像信号をA/D変
換器13を介して取込み、この画像データより視野内に
計測箇所が存在するかどうかの判断する。なければモー
タ9を一定吊送り、ピンチローラ8を介して対象物を回
転させる。停止した後画像信号を取込み、上記と同様の
処理をする。この処理を視野内に計測箇所がでてくるま
で繰り返す。計測箇所が視野内に現われた位置でモータ
9を止め、ビデオカメラ12の走査方式を2=1インタ
ーレースに切換え、画像信号を取込み、所定の計測を行
なう。The operation of the image processing apparatus configured as described above will be explained. First, the scanning method of the video camera 12 is set to non-interlace. In this state, an image signal is taken in via the A/D converter 13, and it is determined from this image data whether a measurement point exists within the field of view. If not, the motor 9 is constantly suspended and the object is rotated via the pinch roller 8. After stopping, the image signal is captured and processed in the same way as above. This process is repeated until the measurement point appears within the visual field. The motor 9 is stopped at the position where the measurement point appears within the visual field, the scanning method of the video camera 12 is switched to 2=1 interlace, an image signal is captured, and a predetermined measurement is performed.
発明の効渠
以上のように本光明によれば、走査方式をノンインター
レースと2:1インターレースに切換え可能なビデオカ
メラを設け、最初にノンインターレースで得られた画像
信号を処理し、この状態で所定の画像が得られるまで対
象物またはビデオカメラを移動させ、所定の画像が得ら
れた後に2=1インターレースに切換え、その画像信号
を処理する制御回路を設けたことにより、計測に最適な
画像を短時間で得ることができ、かつ計測そのものは高
精度で行なうことができる。Effects of the Invention As described above, according to the present invention, a video camera capable of switching the scanning method between non-interlaced and 2:1 interlaced is provided, the image signal obtained in non-interlace is first processed, and in this state By moving the object or the video camera until a predetermined image is obtained, switching to 2=1 interlacing after obtaining the predetermined image, and installing a control circuit to process the image signal, it is possible to obtain the optimal image for measurement. can be obtained in a short time, and the measurement itself can be performed with high precision.
第1図は木光明の第1の実施例の画像処理装置を示す構
成図、第2図は同画像処理装置におけるオートフォーカ
スの処理フロー図、第3図は本発明の第2の実施例の画
像処理装置を示す構成図、第4図は従来の画像処理装置
におけるオートフォーカスの処理フロー図である。
1.11・・・顕微鏡、2.12・・・ビデオカメラ、
3・・・スライドテーブル、4,9・・・モータ、5,
10・・・駆動回路、6,13・・・A/D変換器、7
,14・・・制御回路、8・・・ピンチロール。
代理人 森 本 義 弘
第1 ス
/−−一顕徴摩亀
3−ヌライrテーフ゛カン
第2コ
ム;3L
に
δ−びンJrt7−ラ
7 /−−一顕殿j寛
九41FIG. 1 is a configuration diagram showing an image processing device according to a first embodiment of the present invention, FIG. 2 is a flowchart of autofocus processing in the same image processing device, and FIG. FIG. 4 is a block diagram showing an image processing apparatus, and is a process flow diagram of autofocus in a conventional image processing apparatus. 1.11...Microscope, 2.12...Video camera,
3...Slide table, 4, 9...Motor, 5,
10... Drive circuit, 6, 13... A/D converter, 7
, 14... control circuit, 8... pinch roll. Agent Yoshihiro Morimoto 1st/--Ikken J Makame 3-Nurai R Tape Can 2nd Com;
Claims (1)
スと2:1インターレースに切換え可能なビデオカメラ
と、このビデオカメラからの画像信号をディジタル信号
に変換するアナログ−ディジタル変換器と、最初にノン
インターレースで得られた画像信号を処理し、所定の画
像が得られるまで対象物またはビデオカメラを移動可能
なモータを制御し、所定の画像が得られた後2:1イン
ターレースに切換え、その画像信号を処理する制御回路
とを備えた画像処理装置。1. A video camera that can switch the scanning method between non-interlace and 2:1 interlace using an external signal, an analog-to-digital converter that converts the image signal from this video camera into a digital signal, and a Process the obtained image signal, control a motor that can move the object or video camera until a predetermined image is obtained, then switch to 2:1 interlacing and process the image signal. An image processing device equipped with a control circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62298370A JPH06101845B2 (en) | 1987-11-25 | 1987-11-25 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62298370A JPH06101845B2 (en) | 1987-11-25 | 1987-11-25 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01137895A true JPH01137895A (en) | 1989-05-30 |
JPH06101845B2 JPH06101845B2 (en) | 1994-12-12 |
Family
ID=17858812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62298370A Expired - Fee Related JPH06101845B2 (en) | 1987-11-25 | 1987-11-25 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06101845B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS51144654A (en) * | 1975-06-09 | 1976-12-11 | Hitachi Ltd | Microscope image input device |
JPS57178480A (en) * | 1981-04-27 | 1982-11-02 | Sony Corp | Solid image pickup device |
JPS5992303A (en) * | 1982-11-19 | 1984-05-28 | Victor Co Of Japan Ltd | Fine size measuring device |
JPS60220666A (en) * | 1984-04-18 | 1985-11-05 | Canon Inc | Image pickup device |
JPS6281189A (en) * | 1985-10-03 | 1987-04-14 | Nec Corp | Still picture transmission equipment |
-
1987
- 1987-11-25 JP JP62298370A patent/JPH06101845B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS51144654A (en) * | 1975-06-09 | 1976-12-11 | Hitachi Ltd | Microscope image input device |
JPS57178480A (en) * | 1981-04-27 | 1982-11-02 | Sony Corp | Solid image pickup device |
JPS5992303A (en) * | 1982-11-19 | 1984-05-28 | Victor Co Of Japan Ltd | Fine size measuring device |
JPS60220666A (en) * | 1984-04-18 | 1985-11-05 | Canon Inc | Image pickup device |
JPS6281189A (en) * | 1985-10-03 | 1987-04-14 | Nec Corp | Still picture transmission equipment |
Also Published As
Publication number | Publication date |
---|---|
JPH06101845B2 (en) | 1994-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7548269B2 (en) | System for autofocusing a moving object | |
US5512951A (en) | Auto-focusing apparatus | |
US5877809A (en) | Method of automatic object detection in image | |
US4212031A (en) | Method of aligning a body | |
US4203132A (en) | Method of alignment | |
US5422673A (en) | Video camera with automatic focus control | |
GB2216743A (en) | Image sensing apparatus | |
JPH0829667A (en) | Automatic focusing method | |
JPH0996513A (en) | Image acquisition apparatus | |
JPH01137895A (en) | Picture processor | |
JPS60183876A (en) | Auto-focus device of video camera | |
JP3271309B2 (en) | Camera device | |
JPH0614245A (en) | Video camera | |
JPH06113186A (en) | Device for assistance of optical focusing of television camera | |
JP3342143B2 (en) | Prism foreign matter detection method | |
JP2624244B2 (en) | Automatic focusing device | |
JP3226678B2 (en) | Micro size measuring device | |
JPH0698235A (en) | Camera | |
JPH08226805A (en) | Method for focusing imaging device and non-contact measuring device utilizing the method | |
JPS63217879A (en) | Electronic still video camera | |
JPS6078413A (en) | Auto-focusing device | |
JPH07121080B2 (en) | Automatic focus adjustment device | |
JPH1137731A (en) | Image taking-in system | |
JPH10104499A (en) | Automatic focusing device | |
JPH02254876A (en) | Automatic focus matching device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |