Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3604119B2 - Pattern matching processing method used when positioning the measuring device - Google Patents
[go: Go Back, main page]

JP3604119B2 - Pattern matching processing method used when positioning the measuring device - Google Patents

Pattern matching processing method used when positioning the measuring device Download PDF

Info

Publication number
JP3604119B2
JP3604119B2 JP10669898A JP10669898A JP3604119B2 JP 3604119 B2 JP3604119 B2 JP 3604119B2 JP 10669898 A JP10669898 A JP 10669898A JP 10669898 A JP10669898 A JP 10669898A JP 3604119 B2 JP3604119 B2 JP 3604119B2
Authority
JP
Japan
Prior art keywords
pattern matching
image
positioning
measuring device
reference 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.)
Expired - Lifetime
Application number
JP10669898A
Other languages
Japanese (ja)
Other versions
JPH11304426A (en
Inventor
大 野上
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.)
Kokusai Denki Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
Kokusai Denki Electric Inc
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 Hitachi Kokusai Electric Inc, Kokusai Denki Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP10669898A priority Critical patent/JP3604119B2/en
Publication of JPH11304426A publication Critical patent/JPH11304426A/en
Application granted granted Critical
Publication of JP3604119B2 publication Critical patent/JP3604119B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、パターンマッチングによる画像の測定装置等、例えば液晶線幅測定装置に用いられている寸法測定用画像処理ソフトで位置決め時に使用するパターンマッチングの処理に関するものである。
【0002】
【従来の技術】
図2(a)、(b)は、同一品種、同一工程の被写体画像を示したものである。一例として、従来の液晶線幅測定装置に用いられている寸法測定用画像処理ソフトでの参照画像登録の様子を説明する。まず、図2(a)の画像であるマスタ画像1から位置決め位置2の部分を参照画像3として登録する。
【0003】
自動測定時は、参照画像3とカメラ画像が同じ部分をパターンマッチングにより検出し位置決めを行っている。しかし、この参照画像3で図2(b)に示す(a)とはコントラストの相違する画像4のようなサンプルを測定する場合、画像に同じ部分がないため検出エラーとなってしまう。このように、従来の寸法測定用画像処理ソフトでは、測定ポイント1つに付き参照画像を1枚しか持てないため、上記のように被写体の加工状態により同じ工程のサンプルであっても色が異なる(コントラストが異なる)場合、パターンマッチングによる位置認識ができなくなる。
【0004】
【発明が解決しようとする課題】
自動測定時は、液晶パターンが図2のマスタ画像1のパターン、コントラスト相違画像4のどちらの画像になるか予測できない。しかも、両方とも検出させる必要がある。
【0005】
【課題を解決するための手段】
1つの測定プログラムの中で用いる参照画像を複数枚登録できるようにし、現れる頻度にあわせて使用する参照画像の順序を作業者が任意に設定できるようにする。パターン検出時の動作順序としては、まず、最初の参照画像(作業者が最初に設定した画像)でパターンマッチングを行う。この時、検出エラーとなったときには、作業者の設定順序にあわせて次の参照画像を用いてパターンマッチングを行う。検出エラーの時には、この繰り返し動作となる。
【0006】
【発明の実施の形態】
以下この発明の一実施例を図1(a)、(b)により説明する。図1の1及び4は撮影装置に取り付けられたカメラ(図示せず)で捕らえた画像である。両者は、同一品種、同一工程のパターンである。2及び5は、位置決め位置として登録した場所を指している。7,8は、コントラスト相違部で同じ工程のバターンで色(コントラスト)の異なる部分である。3及び6は、参照画像でこの品種及び工程で使用される参照画像である。以下、この動作について説明する。まず、対象物の画像(a)をカメラで撮影し、参照画像3を登録する。続いて、(b)の画像をカメラで撮影し、参照画像6を登録する。この他にも、コントラストの異なる画像があれば、同様にして参照画像を登録することになる。次に、自動測定時の動作を説明する。自動測定時は、図1の撮影画像1、撮影画像4どちらのパターンで測定するのか判断することはできない。まず、参照画像3を用いてカメラ画像の中から参照画像と同じ部分をパターンマッチングにて検出する。この時、カメラ画像が撮影画像4である場合、参照画像3と同じ部分がないため従来の方法では、検出エラーとなり処理が終了してしまう。しかしながら、本発明では、参照画像3の画像で検出エラーとなった時には、続けて参照画像6の画像を用いてパターンマッチングを行うことで位置決め位置5の部分を検出することができる。上記の例では、参照画像3からパターンマッチングを行ったが、作業者の設定により参照画像6の画像から行うようにすることも可能である。実施例では、参照画像の設定枚数は、最大で4枚とした。使用する参照画像の順序は、作業者による設定としているが、学習機能を有することで使用した頻度に合わせて順序を自動的に変えることも可能である。
【0007】
【発明の効果】
以上説明したように、本発明によればパターンマッチングに使用する参照画像と実際に測定するパターンのコントラストが変わってしまった場合にも、コントラストの違うパターンも参照画像として登録することで検出エラーをなくすことができる。
【図面の簡単な説明】
【図1】本発明の一実施例における動作説明図
【図2】従来技術の動作説明図
【符号の説明】
1:マスタ画像、2:位置決め位置、3:参照画像、4:コントラスト相違画像、5:位置決め位置、6:参照画像。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a pattern matching process used at the time of positioning by image measuring software for a liquid crystal line width measuring device, for example, an image measuring device using a pattern matching.
[0002]
[Prior art]
2A and 2B show subject images of the same type and the same process. As an example, a state of registration of a reference image by image processing software for dimension measurement used in a conventional liquid crystal line width measuring apparatus will be described. First, the position of the positioning position 2 from the master image 1 which is the image of FIG.
[0003]
At the time of automatic measurement, the same position as the reference image 3 and the camera image is detected by pattern matching to perform positioning. However, when measuring a sample such as the image 4 having a different contrast from that shown in FIG. 2A in the reference image 3, a detection error occurs because there is no same portion in the image. As described above, since the conventional image processing software for dimension measurement can have only one reference image for each measurement point, the color of the sample in the same process differs depending on the processing state of the subject as described above. If the contrasts are different, the position cannot be recognized by pattern matching.
[0004]
[Problems to be solved by the invention]
At the time of automatic measurement, it cannot be predicted whether the liquid crystal pattern will be the pattern of the master image 1 in FIG. In addition, both need to be detected.
[0005]
[Means for Solving the Problems]
A plurality of reference images to be used in one measurement program can be registered, and an operator can arbitrarily set the order of the reference images to be used according to the frequency of appearance. As an operation sequence at the time of pattern detection, first, pattern matching is performed on the first reference image (the image set first by the operator). At this time, when a detection error occurs, pattern matching is performed using the next reference image in accordance with the order set by the operator. This operation is repeated when a detection error occurs.
[0006]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described below with reference to FIGS. 1 (a) and 1 (b). 1 and 4 in FIG. 1 are images captured by a camera (not shown) attached to the photographing apparatus. Both are patterns of the same type and the same process. 2 and 5 indicate locations registered as positioning positions. Reference numerals 7 and 8 denote different contrast (color) parts in the same process pattern. Reference images 3 and 6 are reference images used in this type and process. Hereinafter, this operation will be described. First, the image (a) of the object is photographed by the camera, and the reference image 3 is registered. Subsequently, the image of (b) is photographed by the camera, and the reference image 6 is registered. In addition, if there is an image having a different contrast, a reference image is similarly registered. Next, the operation at the time of automatic measurement will be described. At the time of automatic measurement, it is impossible to determine which of the captured image 1 and the captured image 4 shown in FIG. First, the same part as the reference image is detected from the camera image using the reference image 3 by pattern matching. At this time, if the camera image is the photographed image 4, there is no portion that is the same as the reference image 3, and the conventional method ends the process with a detection error. However, according to the present invention, when a detection error occurs in the image of the reference image 3, the portion of the positioning position 5 can be detected by performing pattern matching using the image of the reference image 6 continuously. In the above example, the pattern matching is performed from the reference image 3, but it is also possible to perform the pattern matching from the image of the reference image 6 according to the setting of the worker. In the embodiment, the set number of reference images is four at maximum. Although the order of the reference images to be used is set by the operator, it is also possible to automatically change the order according to the frequency of use by having a learning function.
[0007]
【The invention's effect】
As described above, according to the present invention, even when the contrast between the reference image used for pattern matching and the pattern to be actually measured has changed, a detection error can be detected by registering a pattern having a different contrast as the reference image. Can be eliminated.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram of an operation according to an embodiment of the present invention. FIG. 2 is an explanatory diagram of an operation of a conventional technique.
1: master image, 2: positioning position, 3: reference image, 4: contrast difference image, 5: positioning position, 6: reference image.

Claims (1)

撮像画像と参照画像とによるパターンマッチングを用いて測定位置を決める測定装置の自動位置決め時において、前記パターンマッチングのための前記参照画像を複数枚登録し、登録された複数の前記参照画像のパターンマッチングの順番を設定し、該設定された順序に従って該複数枚の参照画像の1枚と前記撮像画像とのパターンマッチングを行い、検出エラーとなったときは次の順番の参照画像とパターンマッチングを行うことを特徴とする測定装置の位置決め時に使用するパターンマッチングの処理方法であって、前記パターンマッチングにおいて使用する参照画像の順序の設定は、学習機能または作業者の指示の少なくともいずれか1つに従って設定することを特徴とする測定装置の位置決め時に使用するパターンマッチングの処理方法。At the time of automatic positioning of a measuring device that determines a measurement position using pattern matching by a captured image and a reference image, a plurality of the reference images for the pattern matching are registered, and pattern matching of the registered plurality of the reference images is performed. Is performed, and pattern matching is performed between one of the plurality of reference images and the captured image in accordance with the set order, and when a detection error occurs, pattern matching is performed with the next reference image in order. A method of processing a pattern matching used at the time of positioning a measuring apparatus, wherein setting of an order of reference images used in the pattern matching is set according to at least one of a learning function or an instruction of an operator. Of pattern matching used when positioning a measuring device characterized by performing Law.
JP10669898A 1998-04-16 1998-04-16 Pattern matching processing method used when positioning the measuring device Expired - Lifetime JP3604119B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10669898A JP3604119B2 (en) 1998-04-16 1998-04-16 Pattern matching processing method used when positioning the measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10669898A JP3604119B2 (en) 1998-04-16 1998-04-16 Pattern matching processing method used when positioning the measuring device

Publications (2)

Publication Number Publication Date
JPH11304426A JPH11304426A (en) 1999-11-05
JP3604119B2 true JP3604119B2 (en) 2004-12-22

Family

ID=14440248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10669898A Expired - Lifetime JP3604119B2 (en) 1998-04-16 1998-04-16 Pattern matching processing method used when positioning the measuring device

Country Status (1)

Country Link
JP (1) JP3604119B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4104934B2 (en) * 2002-08-22 2008-06-18 株式会社トプコン Sample image measuring method and sample image measuring apparatus
JP2009192297A (en) * 2008-02-13 2009-08-27 Hitachi Kokusai Electric Inc Pattern matching method
JP5913866B2 (en) * 2011-08-25 2016-04-27 富士機械製造株式会社 Master data creation method for board inspection

Also Published As

Publication number Publication date
JPH11304426A (en) 1999-11-05

Similar Documents

Publication Publication Date Title
JP2991163B2 (en) Camera calibration device
CN211374003U (en) Lens testing device
JP2004191112A (en) Defect inspection method
JP3604119B2 (en) Pattern matching processing method used when positioning the measuring device
JP3990002B2 (en) Image measuring device
JP2913370B2 (en) Optical position measurement method
JP3509971B2 (en) Print quality inspection equipment
JP3604967B2 (en) Paste height measuring device
JP2005069795A (en) Method for registering a predetermined part of a dimension measuring device
JP3590810B2 (en) How to measure overlay error
JP3552381B2 (en) Image measuring machine
JPH0640021A (en) Folding-accuracy measuring device
JPS62233746A (en) Checker for chip mounted board
JP3611225B2 (en) Core and main position detector
JPH11271232A (en) Method and device for detecting defect in wiring on printed board
JPH01116401A (en) Parallax correction system for visual sensor
JPS61194305A (en) Shape inspecting apparatus
JP2547557B2 (en) Article identification method in image processing
KR100282340B1 (en) Alignment test Target insertion pattern insertion method
JPS61196110A (en) Shape inspection device
JPH06249642A (en) Method and device for detecting joint position of ring
JP2963773B2 (en) Pattern matching device
JP2974788B2 (en) Pattern position detection method
JP3335729B2 (en) Picture contour line extraction device
JPH0991431A (en) Pattern recognition method using color CCD camera

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040819

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040927

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040927

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071008

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081008

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091008

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091008

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101008

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111008

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111008

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121008

Year of fee payment: 8