JPH0458374A - Picture processor, inspection device for object and pattern recognition device - Google Patents

Picture processor, inspection device for object and pattern recognition device

Info

Publication number
JPH0458374A
JPH0458374A JP2169270A JP16927090A JPH0458374A JP H0458374 A JPH0458374 A JP H0458374A JP 2169270 A JP2169270 A JP 2169270A JP 16927090 A JP16927090 A JP 16927090A JP H0458374 A JPH0458374 A JP H0458374A
Authority
JP
Japan
Prior art keywords
data
image
processing
calculation
types
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
JP2169270A
Other languages
Japanese (ja)
Inventor
Tetsuo Hizuka
哲男 肥塚
Giichi Kakigi
柿木 義一
Shinji Hashinami
伸治 橋波
Shigeki Taniguchi
茂樹 谷口
Yoshinori Sudo
嘉規 須藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2169270A priority Critical patent/JPH0458374A/en
Publication of JPH0458374A publication Critical patent/JPH0458374A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To calculate the position coordinate of objects with high accuracy by providing a data calculation means outputting more than one kind of picture calculation data while performing such as differential and synthetical processing or the like of more then two kinds of picture data. CONSTITUTION:A storage means 11, a data calculation means 12, a signal processing means 13, and a control means 14 are provided. The 'n' kinds of picture data Din1 to Dinn are respectively stored in the storage means 11 composed of storage means M1 to Mn, and more than two kinds of picture data Dini, Dinj, selected from the stored picture data Din1 to Dinn by the control means 14, are outputted to the data calculation means 12 as data to be calculated D1 to Dn. The functional calculation processing such as the differential and synthetic processing or the like of the data to be calculated D1 to Dn is performed by the data calculation means 12 to be outputted as more than one kind of picture calculation data d1 to dn. Thus, the position coordinate of the objects can be calculated with high accuracy from waveform falling position when performing the picture processing specifying the position, etc., of the object.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第13図) 発明が解決しようとする課題(第14図)課題を解決す
るための手段(第1〜第3図)作用 実施例 (i)第1の実施例の説明(第4図〜第10図)(j)
第2の実施例の説明(第11図1第12図)発明の効果 〔概要〕 画像処理装置、物体検査装置及びパターン認識装置、特
に半導体装部品等の被検査対象の画像を取得して、その
検査や認識処理をする装置及びその信号処理装置に関し
、 該被検査対象の濃淡情報や高さ情報に直接スライスレベ
ルを設定して検査処理等をすることなく、それを関数演
算処理して、個々の情報の信転度を高め、精度良く検査
等をすることを目的とし、その処理装置は、nMMの画
像データを記憶して、少なくとも、二種類以上の被演算
データを出力する記憶手段と、前記二種類以上の被演算
データを関数演算処理して、一種類以上の画像演算デー
タを出力するデータ演算手段と、前記画像演算データを
信号処理して画像処理データを出力する信号処理手段と
、前記記憶手段1デ一タ演算手段及び信号処理手段の入
出力を制御する制御手段とを具備することを含み構成し
、 その検査装置は、前記処理装置を備えた装置であって、
前記画像処理装置に、少なくとも、被検査対象の画像を
取得して前記n種類の画像データを出力する物体画像取
得手段と、前記信号処理手段から出力される第1の画像
処理データ及び判定基準となる第1の基準データを入力
して第1の判定結果データを出力する第1の判定手段と
が設けられていることを含み構成し、 その認識装置は、前記処理装置を備えたパターン認識装
置であって、前記画像処理装置に、少なくとも、被認識
対象の画像を取得して前記nmiの画像データを出力す
るパターン画像取得手段と、前記信号処理手段から出力
される第2の画像処理データ及びパターン判定基準とな
る第2の基準データとを入力して第2の判定結果データ
を出力する第2の判定手段とが設けられていることを含
み構成する。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Prior Art (Fig. 13) Problems to be Solved by the Invention (Fig. 14) Means for Solving the Problems (Figs. 1 to 3) ) Functional example (i) Description of the first example (Figures 4 to 10) (j)
Description of the second embodiment (Fig. 11, Fig. 12) Effects of the invention [Summary] An image processing device, an object inspection device, and a pattern recognition device, in particular, acquire an image of an object to be inspected such as a semiconductor component, Regarding the device and the signal processing device that performs the inspection and recognition processing, the slice level is directly set to the gradation information and height information of the object to be inspected, and the slice level is not subjected to inspection processing, etc., but the function processing is performed on it. The purpose of the processing device is to increase the reliability of individual information and perform inspections with high accuracy, and the processing device has a storage means for storing nMM image data and outputting at least two or more types of operand data. , a data calculation means for performing functional calculation processing on the two or more types of operand data and outputting one or more types of image calculation data; and a signal processing means for performing signal processing on the image calculation data and outputting image processing data. , comprising a control means for controlling the input/output of the storage means 1 data calculation means and the signal processing means, and the inspection device is an apparatus equipped with the processing device,
The image processing device includes at least an object image acquisition unit that acquires an image of the object to be inspected and outputs the n types of image data, and first image processing data and determination criteria output from the signal processing unit. and a first determination means for inputting first reference data and outputting first determination result data, the recognition device being a pattern recognition device equipped with the processing device. The image processing device includes at least pattern image acquisition means for acquiring an image of the object to be recognized and outputting the nmi image data, second image processing data output from the signal processing means, and and a second determination means for inputting second reference data serving as a pattern determination standard and outputting second determination result data.

〔産業上の利用分野〕[Industrial application field]

本発明は、画像処理装置、物体検査装置及びパターン認
識装置に関し、更に詳しく言えば半導体装部品等の被検
査対象に検査光を照射して、その検査や認識処理をする
装置及びその信号処理装置に関するものである。
The present invention relates to an image processing device, an object inspection device, and a pattern recognition device, and more specifically to a device and a signal processing device for irradiating an inspection target such as a semiconductor component with inspection light to perform inspection and recognition processing. It is related to.

近年、工場の自動化等を目的とした画像処理技術の分野
においては、例えば、プリント基板上実装部品等の3次
元形状を非接触で計測する装置が要求されている。
2. Description of the Related Art In recent years, in the field of image processing technology for the purpose of factory automation, etc., there has been a demand for a device that non-contactly measures the three-dimensional shape of a component mounted on a printed circuit board, for example.

これは、従来目視により行われていた部品等の検査工程
やその認識工程を自動化することにより、工場の生産性
の向上とコスト削減とが可能となるためである。
This is because by automating the parts inspection process and the recognition process, which were conventionally performed visually, it is possible to improve factory productivity and reduce costs.

ところで、従来例の装置によれば、被検査対象の二次元
濃淡情報(対象の明るさ)に加えて、三次元情報(対象
の高さ)を用いた画像処理をすることによって、その検
査処理等を行っている例がある。
By the way, according to conventional devices, the inspection processing is performed by performing image processing using three-dimensional information (object height) in addition to two-dimensional gradation information (object brightness) of the object to be inspected. There are some examples where this is done.

これによれると、被検査対象の色彩、光沢性や画像取得
系の照明条件等により、二次元濃淡情報や三次元情報の
S/N (信号対雑音)比が低下して、精度良い位置検
出をすることができない場合がある。例えば、物体を走
査撮像し、得られた信号の立ち下がり点を用いて物体の
形状変化位置を特定するような場合、位置検出を精度良
く行うことができないために、以後の検査や認識処理を
高精度に行うことができないという問題がある。
According to this, the S/N (signal-to-noise) ratio of two-dimensional gradation information and three-dimensional information decreases depending on the color and gloss of the object to be inspected, the illumination conditions of the image acquisition system, etc., resulting in accurate positioning. Detection may not be possible. For example, when an object is scanned and imaged and the falling point of the obtained signal is used to identify the position of the object's shape change, the position cannot be detected accurately, so subsequent inspection and recognition processing is difficult. There is a problem in that it cannot be performed with high precision.

そこで、濃淡情報や高さ情報を直接信号処理して検査処
理等をすることなく、それを関数演算処理して、個々の
情報の信幀度を高め、精度良く検査等をすることができ
る処理装置やその応用装置が望まれている。
Therefore, without directly signal-processing shading information and height information and performing inspection processing, etc., we perform functional calculation processing to increase the reliability of each piece of information and enable highly accurate inspection, etc. The device and its applied devices are desired.

〔従来の技術〕[Conventional technology]

第13.第14図は、従来例に係る説明図であり、第1
3図は従来例に係る物体検査装置の構成図を示している
13th. FIG. 14 is an explanatory diagram related to the conventional example, and the first
FIG. 3 shows a configuration diagram of a conventional object inspection device.

図において、例えば、被検査対象9となるプリント基板
の半導体装部品等の良否を非接触で検査する装置は、画
像取得手段11画像入力回路2゜高さ画像メモリ3.明
るさ画像メモリ42画像処理回路5.ウィンド生成回路
61位置判定回路7及びCPU8から成る。
In the figure, for example, an apparatus for non-contactly inspecting the quality of semiconductor components of a printed circuit board, which is an object to be inspected 9, includes an image acquisition means 11, an image input circuit 2.degree. height image memory 3. Brightness image memory 42 image processing circuit 5. It consists of a window generation circuit 61, a position determination circuit 7, and a CPU 8.

その機能は、例えば、被検査対象9の取付は位置を検出
する場合、まず、画像取得手段1の光走査装置IAによ
り走査される検査光L1が被検査対象9に照射される。
The function is, for example, when detecting the mounting position of the object to be inspected 9, the object to be inspected 9 is first irradiated with the inspection light L1 scanned by the optical scanning device IA of the image acquisition means 1.

この際に、被検査対象9は検査光L1の走査方向に、は
ぼ直行方向にステージ移動されている。
At this time, the object to be inspected 9 is stage-moved in a direction substantially perpendicular to the scanning direction of the inspection light L1.

また、被検査対象9からの反射光L2は結像レンズIB
で結像され、P S D (Po5ition 5en
sitive  Detector 、位置検出受光素
子)ICに入射される。PSDICからの検出信号Sに
は、被検査対象9の高さ情報と明るさ情報とが含まれて
いる。この二種類の情報は、画像入力回路2でデジタル
信号に変換され、高さ画像データDMIが高さ画像メモ
リ3に、明るさ画像データDM2が明るさ画像メモリ4
にそれぞれ記憶される。また、両データDMI、 DM
2は、メモリ領域上でCPU8及びウィンド生成回路6
を介して検査領域の指定がされる。
In addition, the reflected light L2 from the object to be inspected 9 is reflected by the imaging lens IB.
PSD (Po5ition 5en
sitive detector, position detection light receiving element) is input to the IC. The detection signal S from the PSDIC includes height information and brightness information of the object 9 to be inspected. These two types of information are converted into digital signals by the image input circuit 2, and the height image data DMI is stored in the height image memory 3, and the brightness image data DM2 is stored in the brightness image memory 4.
are stored respectively. In addition, both data DMI, DM
2 is a CPU 8 and a window generation circuit 6 on a memory area.
The inspection area is specified via the .

さらに、画像処理回路5のデータ選択回路5A及びCP
U8により、一つのデータが位置検索回路5Bに選択出
力される0位置検索回路5Bでは、例えば、高さ画像デ
ータDMIにスライスレベルSLが設定されて被検査対
象9の取付は位置が検出され、その位置検出データDP
Oが位置判定回路7に出力される。該判定回路7では、
設計基準データDRと位置検出データとが比較照合され
、その結果データDoが上位のシステムに出力される。
Furthermore, the data selection circuit 5A and CP of the image processing circuit 5
In the zero position search circuit 5B, in which one piece of data is selectively outputted to the position search circuit 5B by U8, for example, the slice level SL is set in the height image data DMI, and the mounting position of the object to be inspected 9 is detected, Its position detection data DP
O is output to the position determination circuit 7. In the determination circuit 7,
The design reference data DR and the position detection data are compared and verified, and the resulting data Do is output to the higher-level system.

これにより、半導体部品等の実装状態の良否を非接触で
検査することができる。
Thereby, it is possible to inspect the quality of the mounting state of semiconductor components and the like without contact.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、従来例によれば被検査対象9の取付は位置を
検出する際に、高さ画像データDMI又は明るさ画像デ
ータDM2のいずれか一方のデータに、一義的にスライ
スレベルSLを設定している。
By the way, according to the conventional example, when detecting the position of the object 9 to be inspected, the slice level SL is uniquely set in either the height image data DMI or the brightness image data DM2. There is.

このため、第14図の問題点に示すように、例えば、物
体の先端位置■からの実際離隔距離とその離隔基準値と
を比較する画像処理が生じた場合に、その位置検出量に
誤差が介入することがある。
For this reason, as shown in the problem in Figure 14, for example, when image processing is performed to compare the actual separation distance from the tip position of the object with its separation reference value, an error may occur in the detected position amount. May intervene.

すなわち、同図(a)のLSI配線リード9Aとプリン
ト基板9Bとの接合断面図において、該リード9Aの先
端位置■からの半田接合部9cのはみ出し長さ11を認
識する場合、被検査対象9の位置座標(x、 y)と高
さ画像データDMI又は明るさ画像データD?12のい
ずれか一方のデータとに基づいて画像処理をしている。
That is, in the cross-sectional view of the bond between the LSI wiring lead 9A and the printed circuit board 9B in FIG. Position coordinates (x, y) and height image data DMI or brightness image data D? Image processing is performed based on either one of the 12 data.

ここで、実際ステージ座標系をx、y、zとし、該リー
ド9Aの実際先端位置■をXl、半田接合部9cの実際
はみ出し位置をX2と仮定する。
Here, it is assumed that the actual stage coordinate system is x, y, z, the actual tip position (2) of the lead 9A is Xl, and the actual protruding position of the solder joint 9c is X2.

この画像処理は、同図(b)の高さ画像データDMIを
アナログ信号で示した波形h (x)にスライスレベル
SLが設定され、このレベルSLから該波形h (x)
が立ち下がる位置のステージ座標位置X1が演算処理さ
れ、物体の先端位置のと認定される。ここで、画像処理
系のステージ座標系をX、3’、Zとすると、該リード
9Aの先端位1■=xlが認識される。
In this image processing, a slice level SL is set to the waveform h (x) which represents the height image data DMI as an analog signal in FIG.
The stage coordinate position X1 of the falling position is processed and recognized as the tip position of the object. Here, assuming that the stage coordinate system of the image processing system is X, 3', and Z, the tip position 12=xl of the lead 9A is recognized.

また、配線リード9Aからの半田接合部9Cの先端位置
のから半田接合部9Cのはみ出し長さlの認識処理は、
同図(c)の明るさ画像データDM2をアナログ信号で
示した波形i  (x)の先端位置■と認定された波形
ピーク値から次の波形ピーク値の時刻L2のステージ座
標位置x2を演算処理することにより行われている。同
様に、この際に半田接合部9Cのはみ出し認識位置x2
が得られたとする。
In addition, the process for recognizing the protruding length l of the solder joint 9C from the tip position of the solder joint 9C from the wiring lead 9A is as follows.
The stage coordinate position x2 at the time L2 of the next waveform peak value is calculated from the waveform peak value recognized as the tip position ■ of the waveform i (x) representing the brightness image data DM2 in the same figure (c) as an analog signal. This is done by Similarly, at this time, the protrusion recognition position x2 of the solder joint 9C is
Suppose that we obtain

しかし、実際はみ出し長さfl=X2−XIと認識はみ
出し長さ12=x2−xiとの間に誤差αが生ずること
がある。これは、被検査対象8の色彩、光沢性や画像取
得系の照明条件等により、−次元濃淡情報や三次元高さ
情報のS/N (信号対雑音)比の低下やスライスレベ
ルSLの一義的な設定処理による個々のデータの信輔度
の低下によるものと考えられている。
However, an error α may occur between the actual protrusion length fl=X2-XI and the perceived protrusion length 12=x2-xi. This is due to the color and gloss of the object to be inspected 8, the illumination conditions of the image acquisition system, etc., resulting in a decrease in the S/N (signal to noise) ratio of -dimensional gradation information and three-dimensional height information, and a significant difference in the slice level SL. This is thought to be due to a decrease in the reliability of individual data due to the setting process.

これにより、位置検出を精度良く行うことができないた
めに、検査精度や認識精度が低下するという問題がある
As a result, position detection cannot be performed with high precision, resulting in a problem that inspection accuracy and recognition accuracy are reduced.

本発明は、かかる従来の問題点に鑑みて創作されたもの
であり、被検査対象の濃淡情報や高さ情報に直接スライ
スレベルを設定して検査処理等をすることなく、それを
関数演算処理して、個々の情報の信鉗度を高め、精度良
く検査等をすることが可能となる画像処理装置、物体検
査装置及びパターン認識装置の提供を目的とする。
The present invention was created in view of such conventional problems, and it is possible to directly set a slice level to the shading information and height information of the object to be inspected and process it by functional calculation without performing inspection processing. The present invention aims to provide an image processing device, an object inspection device, and a pattern recognition device that increase the reliability of individual information and make it possible to perform inspections, etc. with high accuracy.

〔課題を解決するための手段〕[Means to solve the problem]

第1〜第3図は、本発明に係る画像処理装置物体検査装
置及びパターン認識装置の原理図をそれぞれ示している
1 to 3 respectively show principle diagrams of an image processing device, an object inspection device, and a pattern recognition device according to the present invention.

その処理装置は、n11類の画像データDjn1〜Di
nnを記憶して、少なくとも、二種類以上の被演算デー
タDI=Dini、Dn=Dinjを出力する記憶手段
11と、前記二種類以上の被演算データD1〜Dnを関
数演算処理して、一種類以上の画像演算データd1〜d
nを出力するデータ演算手段12と、前記画像演算デー
タd1〜dnを信号処理して画像処理データDoutを
出力する信号処理手段13と、前記記憶手段11.デー
タ演算手段12及び信号処理手段13の入出力を制御す
る制御手段14とを具備することを特徴とし、前記処理
装置であって、前記記憶手段11が、第1〜第nの画像
データDin1〜Dinnを個別に記憶して第1〜第n
の被演算データD1〜Dnを個別に出力する第1〜第n
の記憶手段M1〜Mnから成り、前記データ演算手段1
2が、少なくとも、前記第1〜第nの画像データDin
1〜Dinnの中から選択された二種類以上の被演算デ
ータD1〜Dnの微分処理又は合成処理、若しくは、該
微分処理及び合成処理をすることを特徴とし、その検査
装置は、前記処理装置を備えた物体検査装置であって、
前記画像処理装置に、少なくとも、被検査対象19の画
像を取得して前記n種類の画像データDin1〜Din
nを出力する物体画像取得手段15と、前記信号処理手
段13から出力される第1の画像処理データDout 
1及び判定基準となる第1の基準データDRIを入力し
て第1の判定結果データDAIを出力する第1の判定手
段16とが設けられていることを特徴とし、前記検査装
置であって、前記データ演算手段12が、少なくとも、
前記第1〜第nの画像データDin1〜Dinnの中か
ら選択された画像データDiniのn次微分処理をし、
前記n次微分処理されたデータの乗算処理をすることを
特徴とし、その認識装置は、前記処理装置を備えたパタ
ーン認識装置であって、前記画像処理装置に、少なくと
も、被認識対象20の画像を取得して前記n種類の画像
データ(Din1〜Dinn)を出力するパターン画像
取得手段17と、前記信号処理手段13から出力される
第2の画像処理データDout2及びパターン判定基準
となる第2の基準データDR2とを入力して第2の判定
結果データDA2を出力する第2の判定手段18とが設
けられていることを特徴とし、上記目的を達成する。
The processing device processes image data Djn1 to Di of type n11.
nn and outputs at least two or more types of operand data DI=Dini, Dn=Dinj; The above image calculation data d1 to d
data calculation means 12 that outputs the image calculation data d1 to dn, signal processing means 13 that performs signal processing on the image calculation data d1 to dn and outputs the image processing data Dout, and the storage means 11. The processing device is characterized by comprising a control means 14 for controlling input/output of the data calculation means 12 and the signal processing means 13, wherein the storage means 11 stores the first to n-th image data Din1 to Memorize Dinn individually and store the 1st to nth
1st to nth outputs individually the operand data D1 to Dn of
It consists of storage means M1 to Mn, and the data calculation means 1
2 is at least the first to nth image data Din
The inspection device is characterized in that it performs differential processing or synthesis processing of two or more types of operand data D1 to Dn selected from 1 to Dinn, or the differential processing and synthesis processing. An object inspection device comprising:
The image processing device acquires at least an image of the object to be inspected 19 and stores the n types of image data Din1 to Din.
object image acquisition means 15 that outputs n, and first image processing data Dout outputted from the signal processing means 13;
1 and a first determination means 16 that inputs first reference data DRI serving as a determination criterion and outputs first determination result data DAI, the inspection apparatus comprising: The data calculation means 12 at least
performing n-th differential processing on image data Dini selected from the first to n-th image data Din1 to Dinn;
The recognition device is characterized in that a multiplication process is performed on the data subjected to the n-th differential processing, and the recognition device is a pattern recognition device equipped with the processing device, and the recognition device includes at least an image of the object to be recognized 20 in the image processing device. a pattern image acquisition means 17 that acquires and outputs the n types of image data (Din1 to Dinn); second image processing data Dout2 output from the signal processing means 13; The present invention is characterized in that it is provided with a second determining means 18 that inputs the reference data DR2 and outputs the second determination result data DA2, thereby achieving the above object.

〔作 用〕[For production]

本発明の処理装置によれば、記憶手段11.データ演算
手段12.信号処理手段13及び制御手段14が設けら
れている。
According to the processing device of the present invention, storage means 11. Data calculation means 12. Signal processing means 13 and control means 14 are provided.

例えば、第1〜第nのn種類の画像データDin1〜D
innが個別に、第1〜第nの記憶手段M1〜Mnから
成る記憶手段11に記憶され、該記憶されn種類の画像
データDia1〜Dinnの中ら、制御手段14により
選択された二種類以上の画像データDini、Dinj
が被演算データD1〜Dnとしてデータ演算手段12に
出力される。該二種類以上の被演算データD1〜Dnは
、データ演算手段12により、微分処理又は合成処理、
若しくは、該微分処理及び合成処理等の関数演算処理さ
れて、それが一種類以上の画像演算データd1〜dnと
して出力される。
For example, first to nth n types of image data Din1 to D
inn is individually stored in the storage means 11 consisting of the first to nth storage means M1 to Mn, and two or more types of image data selected by the control means 14 from among the stored n types of image data Dia1 to Dinn are stored. Image data Dini, Dinj
are outputted to the data calculation means 12 as operand data D1 to Dn. The two or more types of operand data D1 to Dn are subjected to differential processing or synthesis processing by the data calculation means 12,
Alternatively, functional calculation processing such as differential processing and composition processing is performed, and the resultant data is output as one or more types of image calculation data d1 to dn.

このため、従来例のように画像取得対象のある位置から
任意の位置までの離隔距離を検出する画像処理が生じた
場合であっても、二種類以上の被演算データD1〜Dn
のいずれか一方のデータにスライスレベルS17を一義
的に設定処理することなく、例えば、咳二種類以上の被
演算データD1〜Dnをデータ演算手段12により、微
分処理及び合成処理等の関数演算処理をすることによっ
て、物体の位置等を特定する画像処理をする際に、波形
立ち下がり位置から物体の位置座標(X、 Y)を精度
良く演算することが可能となる。
Therefore, even if image processing is performed to detect the separation distance from a certain position of the image acquisition target to an arbitrary position as in the conventional example, two or more types of operand data D1 to Dn
For example, the operand data D1 to Dn of two or more types of coughs are subjected to functional calculation processing such as differentiation processing and composition processing by the data calculation means 12 without uniquely setting the slice level S17 to any one of the data. By doing this, when performing image processing to specify the position of an object, etc., it becomes possible to accurately calculate the position coordinates (X, Y) of the object from the falling position of the waveform.

これにより、個々のデータの信転性が向上し、該信顧性
の高いデータを以後の信号処理に用いることによって、
その検査精度や認識精度の向上を図ることが可能となる
This improves the reliability of individual data, and by using the highly reliable data for subsequent signal processing,
It becomes possible to improve the inspection accuracy and recognition accuracy.

また、本発明の検査装置によれば、前記処理装置に物体
画像取得手段15及び第1の判定手段16が設けられて
いる。
Further, according to the inspection device of the present invention, the processing device is provided with object image acquisition means 15 and first determination means 16.

例えば、被検査対象19の画像が物体画像取得手段15
により取得され、それが第1〜第nのn種類の画像デー
タDin1〜Dinnとして個別に、第1〜第nの記憶
手段M1〜Mnから成る記憶手段11に記憶される。ま
た、記憶されたn種類の画像データDin1〜Dinn
の中ら制御手段14により選択された二種類以上の被演
算データDini。
For example, if the image of the object to be inspected 19 is
, and are individually stored as the first to n-th n types of image data Din1 to Dinn in the storage means 11 consisting of the first to n-th storage means M1 to Mn. In addition, n types of stored image data Din1 to Dinn
Two or more types of operand data Dini selected by the control means 14 from the following.

Dinjがデータ演算手段12に出力される。さらに、
二種類以上の被演算データD1〜Dnがデータ演算手段
12により、まず、その−次微分処理がされ、次いで、
−次微分処理されたデータの乗算処理等の関数演算処理
がされる。それが一種類以上の画像演算データd1〜d
nとして信号処理手段13に出力される。信号処理手段
13では、一種類以上の画像演算データd1〜dnが信
号処理されて、それが第1の画像処理データDoutと
して、第1の判定手段16に出力される。第1の画像処
理データDoutは、例えば、第1の判定手段16によ
り判定基準となる第1の基準データDR1と比較されて
第1の判定結果データDAIとして出力される。
Dinj is output to the data calculation means 12. moreover,
Two or more types of operand data D1 to Dn are first subjected to -order differential processing by the data calculation means 12, and then,
A functional operation process such as a multiplication process is performed on the −th order differential processed data. It is one or more types of image calculation data d1 to d
It is output to the signal processing means 13 as n. In the signal processing means 13, one or more types of image calculation data d1 to dn are subjected to signal processing and outputted to the first determination means 16 as first image processing data Dout. The first image processing data Dout is, for example, compared with first reference data DR1 serving as a determination standard by the first determining means 16 and output as first determination result data DAI.

このため、従来例のように被検査対象19の物体の先端
位置からの実際離隔距離とその離隔基準値とを比較する
画像処理により、その取付は位置を検出する場合であっ
ても、二種類以上の被演算データD1〜Dnのいずれか
一方のデータにスライスレベルSLを一義的に設定処理
することなく、例えば、該二種類以上の被演算データD
1〜Dnをデータ演算手段12により、その−次微分処
理をし、次いで、−次微分処理されたデータの乗算処理
等の関数演算処理をすることによって、その波形立ち下
がり位置から被検査対象19の位置座標(X、 Y)を
精度良く演算処理することができる。このことで、誤差
の介入が極力抑制された第1の画像処理データDout
と予め設定された第1の基準データDRIとを比較処理
等をすることにより、高信軌度の第1の判定結果データ
DAIを出力することが可能となる。
For this reason, even if the position of the object to be inspected 19 is detected by image processing that compares the actual separation distance from the tip position of the object to be inspected with the separation reference value as in the conventional example, there are two types of mounting methods. Without uniquely setting the slice level SL to any one of the above operand data D1 to Dn, for example, the two or more types of operand data D
1 to Dn are subjected to negative order differentiation processing by the data calculation means 12, and then functional calculation processing such as multiplication processing is performed on the data subjected to the negative order differentiation processing, so that the inspected object 19 is obtained from the falling position of the waveform. The position coordinates (X, Y) of can be calculated with high precision. As a result, the first image processing data Dout in which the intervention of errors is suppressed as much as possible
By performing a comparison process between the first reference data DRI set in advance and the first reference data DRI set in advance, it becomes possible to output the first determination result data DAI of the high confidence orbit.

これにより、半導体装部品等の被検査対象19の取付は
位置を精度良く検査することが可能となる。
This makes it possible to accurately inspect the mounting position of the object 19 to be inspected, such as a semiconductor component.

さらに、本発明の認識装置によれば、前記処理装置にパ
ターン画像取得手段エフ及び第2の判定手段18が設け
られている。
Furthermore, according to the recognition device of the present invention, the processing device is provided with pattern image acquisition means F and second determination means 18.

例えば、被認識対象20の画像がパターン画像取得手段
17により取得され、それが第1〜第nのn種類の画像
データDin1〜Dinnとして個別に、第1〜第nの
記憶手段M1〜Mnから成る記憶手段11に記憶される
。また、記憶されたn種類の画像データDinl〜Dj
nnの中ら制御手段14により選択された二種類以上の
被演算データDini、Dinjがデータ演算手段12
に出力される。
For example, an image of the object to be recognized 20 is acquired by the pattern image acquisition means 17, and it is individually stored as the first to nth n types of image data Din1 to Dinn from the first to nth storage means M1 to Mn. The information is stored in the storage means 11 consisting of: Also, the stored n types of image data Dinl to Dj
Two or more types of operand data Dini and Dinj selected by the control means 14 from among the data calculation means 12
is output to.

さらに、二種類以上の被演算データD1〜Dnがデータ
演算手段12により合成処理がされる。それが一種類以
上の画像演算データd1〜dnとして信号処理手段13
に出力される。信号処理手段13では、一種類以上の画
像演算データd1〜dnが信号処理されて、それが第2
の画像処理データDoutとして、第2の判定手段18
に出力される。第2の画像処理データDoutは、例え
ば、第2の判定手段18により判定基準となる第2の基
準データDR2と比較されて第2の判定結果データDへ
2として出力される。
Furthermore, two or more types of operand data D1 to Dn are combined by the data calculation means 12. The signal processing means 13 converts it into one or more types of image calculation data d1 to dn.
is output to. In the signal processing means 13, one or more types of image calculation data d1 to dn are subjected to signal processing,
As the image processing data Dout, the second determination means 18
is output to. The second image processing data Dout is, for example, compared with second reference data DR2 serving as a determination standard by the second determining means 18, and outputted as second determination result data D as 2.

このため、被認識対象20の明るさ画像データと憂さ画
像データとを比較する画像処理により、そのパターン認
識をする場合であっても、二種類以上の被演算データD
1〜Dnのいずれか一方のデータにスライスレベルSL
を一義的番こ設定処理することなく、例えば、該二種類
以上の被演算データD1〜Dnをデータ演算手段12に
より、その相関処理をし、次いで、相関処理されたデー
タの合成処理等の関数演算処理をすることにより、その
マツチング度の鋭さから被認識対象20の位置ずれを精
度良く認識処理することができる。このことで、誤差の
介入が極力抑制された第2の画像処理データDoutと
予め設定された第2の基準データDR2とを比較処理等
をすることにより、高信顧度の第2の判定結果データD
A2を出力することが可能となる。
Therefore, even if pattern recognition is performed by image processing that compares brightness image data and sadness image data of the object to be recognized 20, two or more types of operand data D
Slice level SL for any one of data 1 to Dn
For example, the two or more types of operand data D1 to Dn are subjected to correlation processing by the data calculation means 12 without performing unambiguous number setting processing, and then a function such as synthesis processing of the correlated data is performed. By performing the arithmetic processing, it is possible to accurately recognize the positional shift of the object to be recognized 20 based on the sharpness of the matching degree. As a result, by performing a comparison process between the second image processing data Dout in which the intervention of errors is suppressed as much as possible and the second reference data DR2 set in advance, the second judgment result of high customer confidence is obtained. Data D
It becomes possible to output A2.

これにより、半導体装部品等の被認識対象20の取付は
状態を精度良く認識することが可能となる。
This makes it possible to accurately recognize the mounting condition of the object 20 to be recognized, such as a semiconductor component.

〔実施例〕〔Example〕

次に、図を参照しながら本発明の各実施例ついて説明を
する。
Next, each embodiment of the present invention will be described with reference to the drawings.

第4〜12図は本発明の各実施例に係る画像処理装置、
物体検査装置及びパターン認識装置の説明図である。
4 to 12 show an image processing device according to each embodiment of the present invention,
FIG. 2 is an explanatory diagram of an object inspection device and a pattern recognition device.

(i)第1の実施例の説明 第4図は、本発明の第1の実施例に係る画像処理装置の
構成図を示している。
(i) Description of the first embodiment FIG. 4 shows a configuration diagram of an image processing apparatus according to the first embodiment of the present invention.

図において、例えば、物体の位置座標(x、 y)を含
む二種類の画像データDinl、Djn2を処理して該
物体の位置等を特定する画像処理装置は、第1.第2の
画像メモリ21A、 21B、データ演算回路22.信
号処理回路23.中央演算処理装置(以下CPUという
)242画像入力回路25及びウィンド生成回路26か
ら成る。
In the figure, for example, an image processing device that processes two types of image data Dinl and Djn2 including the position coordinates (x, y) of an object to identify the position of the object is the first one. Second image memory 21A, 21B, data calculation circuit 22. Signal processing circuit 23. It consists of a central processing unit (hereinafter referred to as CPU) 242, an image input circuit 25, and a window generation circuit 26.

すなわち、21A、21Bは記憶手段11の一実施例と
なる画像メモリであり、2種類の画像データDinl、
Din2を個別に記憶し、ウィンド生成回路26から制
御信号により、二種類の被演算データDI、D2を個別
に出力するものである。
That is, 21A and 21B are image memories serving as an embodiment of the storage means 11, and two types of image data Dinl,
Din2 is individually stored, and two types of operand data DI and D2 are individually outputted by a control signal from the window generation circuit 26.

22はデータ演算手段12の一実施例となるデータ演算
回路であり、微分回路22A、−次微分値データメモリ
(1)22B、−次微分値データメモリ (U)22C
,二次微分値データメモリ22D及び乗算回路22Eか
ら成る。微分回路22Aは、関数演算処理の一実施例と
なる二種類の被演算データD1、D2を個別に微分処理
して、それを出力するものであり、−次微分値データメ
モリ(1)22B。
Reference numeral 22 denotes a data calculation circuit which is an embodiment of the data calculation means 12, including a differentiation circuit 22A, a -order differential value data memory (1) 22B, and a -order differential value data memory (U) 22C.
, a second-order differential value data memory 22D, and a multiplication circuit 22E. The differentiating circuit 22A individually differentiates two types of operand data D1 and D2, which is an example of functional operation processing, and outputs the results, and a -th order differential value data memory (1) 22B.

−次微分値データメモリ(I1)22Cは、−次微分処
理された被演算データDI、D2 (以下−次微分デー
タdi、d2という)を個別に記憶するものである。
The -th order differential value data memory (I1) 22C is for individually storing the operand data DI, D2 (hereinafter referred to as -th order differential data di, d2) that has been subjected to the -th order differential processing.

また、微分回路22Aは、微分処理された一次微分デー
タd1を更に微分処理して、二次微分データd3を出力
するものであり、二次微分値データメモリ22Dは、そ
れを記憶するものである。乗算回路22Eは、例えば、
−次微分データd1と二次微分データd3を乗算処理を
し、それを画像演算データd4として出力するものであ
る。
Further, the differentiation circuit 22A further differentiates the differentiated first-order differential data d1 and outputs second-order differential data d3, and the second-order differential value data memory 22D stores it. . The multiplication circuit 22E is, for example,
The -th differential data d1 and the second differential data d3 are multiplied and outputted as image calculation data d4.

23は信号処理手段13の一実施例となる信号処理回路
であり、関数演算処理された一つの画像演算データd4
を信号処理して画像処理データDoutを出力するもの
である。
Reference numeral 23 denotes a signal processing circuit which is an embodiment of the signal processing means 13, and is used to process one image calculation data d4 subjected to function calculation processing.
This is to signal-process the data and output image processing data Dout.

この際の信号処理は、例えば、画像演算データd4を物
体が空間を仕切る形状位置を示すアナログ信号とした場
合、その波形の立ち下がり位置やその立ち上がり位置を
検出し、該検出位置から物体の位置座標(X、Y)を演
算処理するものである。
The signal processing at this time is, for example, when the image calculation data d4 is an analog signal indicating the shape position where the object partitions the space, the falling position and the rising position of the waveform are detected, and the position of the object is determined from the detected position. This is to perform arithmetic processing on coordinates (X, Y).

24は制御手段14の一実施例となるCPUであり、ウ
ィンド生成回路26を介した第1.第2の画像メモリ2
1A、21B、データ演算回路22及び各微分値データ
メモリ22B〜22D、信号処理回路23の入出力を制
御するものである。
24 is a CPU which is an embodiment of the control means 14, and the first. Second image memory 2
1A, 21B, the data calculation circuit 22, each differential value data memory 22B to 22D, and the input/output of the signal processing circuit 23.

25は画像入力回路であり、当該処理装置に入力されて
くる第1.第2のアナログ画像信号AinI  A1n
2をアナログ/デジタル処理して、第1゜第2の画像デ
ータDinl、Din2を個別に出力するものである。
25 is an image input circuit, which receives the first . Second analog image signal AinI A1n
2 is subjected to analog/digital processing, and the first and second image data Dinl and Din2 are individually output.

26はウィンド生成回路であり、CPU24からの制御
信号により、第1.第2の画像メモリ21A  21B
及び微分回路22Aにアドレスを供給し、データ処理領
域等を画定するものである。
26 is a window generation circuit, which generates the first . Second image memory 21A 21B
It supplies an address to the differential circuit 22A and defines a data processing area and the like.

次に、本発明の第1の実施例に係る画像処理装置の動作
について説明をする。
Next, the operation of the image processing apparatus according to the first embodiment of the present invention will be explained.

第5図(a)〜(d)は、本発明の第1の実施例に係る
画像処理装置の動作説明図を示している。
FIGS. 5(a) to 5(d) show operation explanatory diagrams of the image processing apparatus according to the first embodiment of the present invention.

同図(a)において、例えば、物体19Aの位置座標(
X、Y)を含む二種類のアナログ画像信号A1n1.A
1n2を処理して該物体19Aの位置等を特定する画像
処理をする場合、まず、物体19Aの画像が取得される
。ここで、物体19AはX方向に移動走査されているも
のとする。また、第1.第2のアナログ画像信号A1n
1.A1n2.例えば、明るさ画像信号i (x)、高
さ画像信号h (X)がセンサ27Aから出力されてい
るものと仮定する。
In the same figure (a), for example, the position coordinates of the object 19A (
Two types of analog image signals A1n1. A
1n2 to perform image processing to identify the position of the object 19A, first, an image of the object 19A is acquired. Here, it is assumed that the object 19A is being moved and scanned in the X direction. Also, 1st. Second analog image signal A1n
1. A1n2. For example, assume that a brightness image signal i (x) and a height image signal h (X) are output from the sensor 27A.

また、同図(b)は、アナログ/デジタル処理される前
の明るさ画像信号i (x)、高さ画像信号h(χ)の
信号波形をそれぞれ示している。図において、縦軸は信
号波形i (x)、  h (x)であり、横軸は物体
19Aの位置Xを示している。なお、説明の都合上、両
信号波形はアナログ/デジタル処理した後もアナログ波
形で示すものとする。
Further, FIG. 2B shows the signal waveforms of the brightness image signal i (x) and the height image signal h(χ) before being subjected to analog/digital processing. In the figure, the vertical axis represents signal waveforms i (x) and h (x), and the horizontal axis represents the position X of the object 19A. For convenience of explanation, both signal waveforms are shown as analog waveforms even after analog/digital processing.

ここで、Xlは物体19Aの立ち下がり位置、x2はそ
の基底位置とする。
Here, Xl is the falling position of the object 19A, and x2 is its base position.

従って、アナログ/デジタル処理された明るさ画像信号
i (x)、高さ画像信号h (x)は、第1、第2の
画像データDinl、Din2として、それが個別に第
1.第2の画像メモリ21A、21Bに記憶される。次
いで、記憶された2種類の画像データDinl、Din
2が被演算データDI、D2としてCPU24により選
択され、それがデータ演算回路22に出力される。
Therefore, the brightness image signal i (x) and the height image signal h (x) that have been subjected to analog/digital processing are individually divided into the first and second image data Dinl, Din2. The images are stored in the second image memories 21A and 21B. Next, the two types of stored image data Dinl and Din
2 is selected by the CPU 24 as the operand data DI, D2, and is output to the data calculation circuit 22.

これまでの処理は、従来例と同様であるが、本発明では
以下の点で異なっている。
The processing up to now is similar to the conventional example, but the present invention is different in the following points.

すなわち、同図(c)は、物体19Aの画像に係る明る
さ画像信号i (x)、高さ画像信号h (x)の−次
微分データdi、d2及び二次微分データd3に基づく
信号波形をそれぞれ示している。
That is, the same figure (c) shows a signal waveform based on the -order differential data di, d2 and the second-order differential data d3 of the brightness image signal i (x) and the height image signal h (x) related to the image of the object 19A. are shown respectively.

同図(c)において、縦軸は画像演算データであり、各
微分データd1〜d3を示している。横軸は物体19A
の位置Xを示している。また、dlは明るさ画像信号i
  (x)の−次微分データであり、データ演算回路2
2で微分処理されたものである。ここで、−次微分デー
タd1は、説明の都合上、両信号i  (x)及び信号
h (x)の−次微分を(i(x))’及び(h(X)
)’ と表示し、同様に、高さ画像信号h (x)の二
次微分を[h (x) )’と表示するものとする。
In the same figure (c), the vertical axis is image calculation data and shows each differential data d1 to d3. The horizontal axis is object 19A
position X is shown. Also, dl is the brightness image signal i
(x) -th differential data, data calculation circuit 2
This is the result of differential processing using 2. Here, for convenience of explanation, the -th differential data d1 is the -th differential of both the signal i (x) and the signal h (x) as (i(x))' and (h(X)
)' and similarly, the second-order differential of the height image signal h (x) is represented as [h (x) )'.

この−次微分データdi、d2は、個別に各微分値メモ
リ22B、22Cに記憶され、また、微分処理された一
次微分データd1が更に微分処理されて、二次微分デー
タd3となって二次微分値データメモリ22Dに記憶さ
れる。
These -order differential data di, d2 are individually stored in the respective differential value memories 22B, 22C, and the differentially processed first-order differential data d1 is further differentiated to become second-order differential data d3, which is a second-order differential data d3. It is stored in the differential value data memory 22D.

同図(d)は、物体19Aの画像に係る明るさ画像信号
i (x)の−次微分データd1と高さ画像信号h (
x)の二次微分データd3とを乗算処理した合成波形を
示している。
Figure (d) shows the −th order differential data d1 of the brightness image signal i (x) and the height image signal h (
It shows a composite waveform obtained by multiplying the second-order differential data d3 of x).

同図(d)において、d4は画像演算データであり、信
号i  (x)の−次微分データd1及び信号h (x
)の二次微分データd3の乗算値dlXd3 = 〔i
  (x) )’ X (h (x) )”を示してい
る。ここで、xllは合成波形の立ち下がり位置であり
、物体19Aの立ち下がり位置X1を関数演算処理した
ものを示している。xi2は合成波形の基底位置であり
、物体19Aの基底位置x2を関数演算処理したものを
示している。これらが、乗算回路22Hにより演算され
、該乗算処理された画像演算データd4が信号処理回路
23に出力される。
In the same figure (d), d4 is image calculation data, −th order differential data d1 of signal i (x) and signal h (x
) multiplication value dlXd3 of second-order differential data d3 = [i
(x) )' xi2 is the base position of the composite waveform, which is the base position x2 of the object 19A subjected to functional calculation processing.These are calculated by the multiplication circuit 22H, and the multiplied image calculation data d4 is sent to the signal processing circuit. 23.

このようにして、本発明の実施例に係る処理装置によれ
ば、第1.第2の画像メモリ21A、 21B。
In this way, according to the processing apparatus according to the embodiment of the present invention, the first. Second image memories 21A, 21B.

データ演!回路22.信号処理回路23.CPU24、
画像入力回路25及びウィンド生成回路26等が設けら
れている。
Data performance! Circuit 22. Signal processing circuit 23. CPU24,
An image input circuit 25, a window generation circuit 26, etc. are provided.

このため、従来例のように画像取得対象のある位1から
任意の位置までの離隔距離を検出する画像処理が生じた
場合であっても、二種類以上の被演算データDI、D2
のいずれか一方のデータにスライスレベルSLを一義的
に設定処理することなく、例えば、アナログ/デジタル
処理された明るさ画像信号1(x)、高さ画像信号h 
(x)が被演算データDI、D2としてCPU24によ
り選択され、それがデータ演算回路22に出力される。
Therefore, even if image processing is performed to detect the separation distance from a certain position of the image acquisition target to an arbitrary position as in the conventional example, two or more types of operand data DI, D2
For example, the analog/digital processed brightness image signal 1(x), height image signal h
(x) is selected by the CPU 24 as the operand data DI, D2, and is output to the data calculation circuit 22.

データ演算回路22では、−次微分データd1=(i(
x))’及び二次微分データd3=[h(x))2の乗
算処理等の関数演算処理がされる。これによって、画像
処理をした波形立ち下がり位置から、該物体の位置等を
特定する位置座標1例えば、X方向位置x 11.  
x 12を精度良く演算することが可能となる。
In the data calculation circuit 22, -th differential data d1=(i(
Functional calculation processing such as multiplication processing of x))' and second-order differential data d3=[h(x))2 is performed. With this, the position coordinates 1 for specifying the position of the object, etc. from the falling position of the waveform subjected to image processing, for example, the X direction position x 11.
It becomes possible to calculate x 12 with high accuracy.

これにより、個々のデータの信転性が向上し、該信顧性
の高いデータを以後の信号処理に用いることによって、
その検査精度や認識精度の向上を図ることが可能となる
This improves the reliability of individual data, and by using the highly reliable data for subsequent signal processing,
It becomes possible to improve the inspection accuracy and recognition accuracy.

第6図は、本発明の第1の実施例に係る物体検査装置の
構成口を示している。
FIG. 6 shows the configuration of an object inspection device according to a first embodiment of the present invention.

図において、被検査対象19となるプリント基板29の
半導体装部品29Aの良否を非接触で検査する装置は、
少なくとも、前記画像処理装置に三次元形状取得装置2
7.第1の判定回路28及びステージ駆動装置30が設
けられている。
In the figure, the device for non-contact testing of the quality of the semiconductor component 29A of the printed circuit board 29, which is the object to be tested 19, is as follows:
At least a three-dimensional shape acquisition device 2 is provided in the image processing device.
7. A first determination circuit 28 and a stage drive device 30 are provided.

すなわち、27は物体画像取得手段15の一実施例とな
る三次元形状取得装置であり、プリント基板29の画像
を取得して、例えば、第1.第2のアナログ画像信号A
1n1.A1n2となる明るさ画像信号i  (x)、
高さ画像信号h(χ)を出力するものである。
That is, 27 is a three-dimensional shape acquisition device which is an example of the object image acquisition means 15, and acquires an image of the printed circuit board 29, for example, the first . Second analog image signal A
1n1. Brightness image signal i (x) that becomes A1n2,
It outputs a height image signal h(χ).

28は第1の判定手段16の一実施例となる第1の判定
回路であり、先の信号処理回路23の一実施例となる立
ち上がりエツジ検出回路23A及び立ち下がりエツジ検
出回路23Bから出力される第1、第2の画像処理デー
タDout 1. Dout 2及び判定基準となる第
1の基準データDRIを入力して第1の判定結果データ
DAIを出力するものである。
Reference numeral 28 denotes a first determination circuit which is an embodiment of the first determination means 16, and outputs from the rising edge detection circuit 23A and the falling edge detection circuit 23B which are embodiments of the signal processing circuit 23 described above. First and second image processing data Dout 1. Dout 2 and first reference data DRI serving as a determination standard are input, and first determination result data DAI is output.

なお、30はステージ駆動装置であり、プリント基板2
9を載置したステージを移動走査するものである。ステ
ージ駆動装置30は、CPU24からの制御信号により
制御される。
In addition, 30 is a stage drive device, and the printed circuit board 2
9 is placed on a stage that moves and scans. Stage drive device 30 is controlled by a control signal from CPU 24.

次に、当該検査装置の動作について説明をする。Next, the operation of the inspection device will be explained.

第7〜10図は、本発明の第1の実施例に係る物体検査
装置の動作説明図であり、第7図は、本発明の第1の実
施例に係る被検査対象の説明図を示している。
7 to 10 are explanatory diagrams of the operation of the object inspection apparatus according to the first embodiment of the present invention, and FIG. 7 is an explanatory diagram of the object to be inspected according to the first embodiment of the present invention. ing.

回において、29は被検査対象19となるプリント基板
であり、29Aはプリント基板29に実装された半導体
部品等である。X、Yはステージ座標系であり、当該検
査装置の基準座標となるものである。ここで、半導体部
品29Aのリード配線29Cの先端部1からの半田接合
部29Bのはみ出し検査要求があったものと仮定する。
29 is a printed circuit board to be inspected 19, and 29A is a semiconductor component mounted on the printed circuit board 29. X and Y are the stage coordinate system, and serve as the reference coordinates of the inspection apparatus. Here, it is assumed that there is a request to inspect the protrusion of the solder joint 29B from the tip 1 of the lead wire 29C of the semiconductor component 29A.

第8図は、本発明の第1の実施例に係る画像データの説
明図であり、半導体部品29Aの断面図と高さ画像デー
タ及び明るさ画像データとの関係を示している。
FIG. 8 is an explanatory diagram of image data according to the first embodiment of the present invention, and shows the relationship between a cross-sectional view of the semiconductor component 29A, height image data, and brightness image data.

回において、■は先端位置であり、半導体部品29Aの
リード配線29Cの先端部と半田接合部29Bとの境界
位置P(xi)を示している。なお、位置P (x2)
は先端位置■からの半田はみ出し位置であり、その離隔
距離lはP (x2) −P (x1)となるものであ
る。
In the figure, ■ is the tip position and indicates the boundary position P(xi) between the tip of the lead wire 29C of the semiconductor component 29A and the solder joint 29B. In addition, position P (x2)
is the position where the solder protrudes from the tip position (2), and the distance l thereof is P (x2) - P (x1).

このような位置関係を含むプリント基板29の検査をす
る場合、まず、半導体部品29Aの画像が三次元形状取
得装置27により取得される。ここで、半導体部品29
AはX方向に移動走査されているものとする。この際に
、第1.第2のアナログ画像信号A1n1.A1n2と
なる明るさ画像信号1(x)及び高さ画像信号h (x
)が三次元形状取得装置27から出力される。この二種
類のアナログ画像信号A1n1.A1n2は、画像入力
回路25によりアナログ/デジタル処理されて、以後半
導体部品29Aの位置等を特定する画像処理がされる。
When inspecting the printed circuit board 29 that includes such a positional relationship, first, an image of the semiconductor component 29A is acquired by the three-dimensional shape acquisition device 27. Here, the semiconductor component 29
It is assumed that A is being moved and scanned in the X direction. At this time, 1. Second analog image signal A1n1. Brightness image signal 1 (x) and height image signal h (x
) is output from the three-dimensional shape acquisition device 27. These two types of analog image signals A1n1. A1n2 is subjected to analog/digital processing by the image input circuit 25, and thereafter subjected to image processing to specify the position of the semiconductor component 29A, etc.

すなわち、画像入力回路25によりアナログ/デジタル
処理された明るさ画像信号1(x)、高さ画像信号h 
(x)は、第1.第2の画像データDinl  Din
2として、それが個別に第1.第2の画像メモリ21A
、 21Bに記憶される。次いで、記憶された2種類の
画像データDinl、Din2が被演算データDI、D
2としてCPU24により選択され、それがデータ演算
回路22に出力される。
In other words, the brightness image signal 1(x) and the height image signal h are analog/digitally processed by the image input circuit 25.
(x) is the first. Second image data Dinl Din
2, it is individually the first. Second image memory 21A
, 21B. Next, the stored two types of image data Dinl and Din2 are converted into operand data DI and D.
2 is selected by the CPU 24 and outputted to the data calculation circuit 22.

これまでの処理は、従来例と同様であるが、本発明では
以下の点で異なっている。
The processing up to now is similar to the conventional example, but the present invention is different in the following points.

第9図(a)〜(c)は、本発明の第1の実施例に係る
微分処理の説明図であり、同図(a)は、明るさ画像信
号i (x)の−次微分処理波形を示している。
FIGS. 9(a) to 9(c) are explanatory diagrams of differential processing according to the first embodiment of the present invention, and FIG. 9(a) shows −th order differential processing of brightness image signal i (x). It shows the waveform.

同[種類a)において、縦軸は画像演算データd1とな
る明るさ一次微分データであり、信号波形(x)の−次
微分処理をしたものである。横軸は半導体部品29Aの
位置Xを示している。なお、説明の都合上、該信号波形
はアナログ/デジタル処理した後もアナログ波形により
示すものとし、明るさ画像信号i  (x)の−次微分
データd1を[1(x))’ と表示するものとする。
In the same [type a), the vertical axis is brightness first-order differential data serving as image calculation data d1, which is obtained by performing negative-order differential processing on the signal waveform (x). The horizontal axis indicates the position X of the semiconductor component 29A. For convenience of explanation, the signal waveform will be shown as an analog waveform even after analog/digital processing, and the -order differential data d1 of the brightness image signal i (x) will be expressed as [1(x))'. shall be taken as a thing.

また、明るさ画像信号i  (x)は、微分回路22A
により微分処理され、その−次微分データd1が個別に
一次微分メモリ22Bに記憶される。ここで、信号波形
ピークは、半導体部品29Aやリード配線29Cの明る
さ変化位置を示している。
Moreover, the brightness image signal i (x) is
The differential processing is performed by the following, and the -order differential data d1 is individually stored in the first-order differential memory 22B. Here, the signal waveform peak indicates the position where the brightness of the semiconductor component 29A or the lead wiring 29C changes.

同図(b)は、高さ画像信号h (x)の−次微分処理
波形を示している。
FIG. 6(b) shows a −th order differential processed waveform of the height image signal h(x).

同[ffl (b)において、縦軸は画像演算データd
2となる高さ一次微分データであり、信号波形h(x)
の−次微分処理をしたものである。横軸は半導体部品2
9Aの位置Xを示している。また、(h(x))’ は
、高さ画像信号h (x)の−次微分データd2を表示
するものである。なお、高さ画像信号h (x)は、微
分回路22Aにより微分処理され、その−次微分データ
d2が個別に一次微分メモリ22Cに記憶される。ここ
で、信号波形ピークは、半導体部品29Aやリード配線
29Cの形状変化位置を示している。
In the same [ffl (b), the vertical axis is image calculation data d
2, which is the first-order height differential data, and the signal waveform h(x)
This is the result of −th order differential processing of . The horizontal axis is semiconductor component 2
9A position X is shown. Further, (h(x))' indicates the −th order differential data d2 of the height image signal h (x). Note that the height image signal h (x) is subjected to differentiation processing by the differentiation circuit 22A, and the -order differential data d2 thereof is individually stored in the first-order differentiation memory 22C. Here, the signal waveform peak indicates a position where the shape of the semiconductor component 29A or the lead wiring 29C changes.

同図(c)は、高さ画像信号h (x)の二次微分処理
波形を示している。
FIG. 4(c) shows a quadratic differential processed waveform of the height image signal h(x).

同図(c)において、縦軸は画像演算データd3となる
高さ二次微分データであり、信号波形(h(x))’の
二次微分処理をしたものである。
In FIG. 3(c), the vertical axis is height second-order differential data serving as image calculation data d3, which is obtained by performing second-order differential processing on the signal waveform (h(x))'.

横軸は半導体部品29Aの位置χを示している。また、
(h(χ)〕2は高さ画像信号(h(X))’の二次微
分データd3を表示するものである。なお、二次微分デ
ータd3は二次微分データメモリ22Dに記憶される。
The horizontal axis indicates the position χ of the semiconductor component 29A. Also,
(h(χ))]2 is for displaying the second-order differential data d3 of the height image signal (h(X))'.The second-order differential data d3 is stored in the second-order differential data memory 22D. .

ここで、信号波形の負ピークは、半導体部品29Aやリ
ード配線29Cの形状立ち下がり変化位置を示し、その
正ピークは、その形状立ち上がり変化位置を示している
Here, the negative peak of the signal waveform indicates the position where the shape of the semiconductor component 29A or the lead wiring 29C changes to fall, and the positive peak thereof indicates the position where the shape changes to the rise.

このように微分処理された明るさ画像信号1(x)の−
次微分データd1や高さ画像信号〔h(χ)]lの二次
微分データd3がCPU24を介して乗算回路22Hに
読み出される。
- of the brightness image signal 1(x) differentially processed in this way
The second-order differential data d1 and the second-order differential data d3 of the height image signal [h(χ)]l are read out to the multiplication circuit 22H via the CPU 24.

第10図は、本発明の第1の実施例に係る各エツジ検出
回路の説明図であり、乗算処理した合成波形とプリント
基板の断面図との関係を示している。
FIG. 10 is an explanatory diagram of each edge detection circuit according to the first embodiment of the present invention, and shows the relationship between the multiplied composite waveform and the cross-sectional view of the printed circuit board.

図において、d4は画像演算データであり、信号i  
(x)の−次微分データd1及び信号h (x)の二次
微分データd3の乗算値dlXd3=(i(X) )’
 X [h (X) )”を示している。この画像演算
データd4は乗算回路22Eにより演算され、立上りエ
ツジ検出回路23A、立下りエツジ検出回路23Bに出
力される。
In the figure, d4 is image calculation data, and signal i
Multiply value dlXd3 of negative differential data d1 of (x) and second differential data d3 of signal h (x) = (i(X) )'
This image calculation data d4 is calculated by the multiplication circuit 22E and output to the rising edge detection circuit 23A and the falling edge detection circuit 23B.

ここで、Pは合成波形の負ピークであり、リード配線2
9Cの先端位置のを示すものである。この負ピークPは
、立下りエツジ検出回路23Bにより検出され、リード
配線29Cの立ち下がり位置P(X1)として判定回路
2日に出力される。
Here, P is the negative peak of the composite waveform, and the lead wire 2
This shows the tip position of 9C. This negative peak P is detected by the falling edge detection circuit 23B and outputted to the determination circuit 2 as the falling position P(X1) of the lead wire 29C.

また、qは合成波形の正ピークであり、半田接合部29
Bのはみ出し位置を示すものである。同様に、正ピーク
qは、立上りエツジ検出回路23Aにより検出され、半
田接合部29Bのはみ出し位IP(x2)として第1の
判定回路28に出力される。
In addition, q is the positive peak of the composite waveform, and the solder joint 29
This shows the protruding position of B. Similarly, the positive peak q is detected by the rising edge detection circuit 23A and output to the first determination circuit 28 as the protrusion position IP(x2) of the solder joint 29B.

第1の判定回路28では、各検出回路23A及び23B
から出力される第1.第2の画像処理データDout 
1. Dout 2と判定基準となる第1の基準データ
DRIとが入力されて第1の判定結果データDAIが出
力される。この際の判定処理は、例えば、リード配M2
9Bの先端位置のからの実際#閘距離lとその離隔基準
値とを比較することにより行われる。これにより、プリ
ント基板29の半導体部品29Aのリード配線29Cの
先端位置からの半田接合部29Bのはみ出し検査判定を
することができる。
In the first determination circuit 28, each detection circuit 23A and 23B
The first . Second image processing data Dout
1. Dout 2 and first reference data DRI serving as a determination standard are input, and first determination result data DAI is output. The determination process at this time is, for example, lead arrangement M2.
This is done by comparing the actual #lock distance l from the tip position of 9B with its separation reference value. Thereby, it is possible to inspect and determine whether the solder joint 29B protrudes from the tip of the lead wiring 29C of the semiconductor component 29A of the printed circuit board 29.

このようにして、本発明の実施例に係る検査装置によれ
ば、前記処理装置に三次元形状取得装置27及び第1の
判定回路28が設けられている。
In this manner, according to the inspection device according to the embodiment of the present invention, the three-dimensional shape acquisition device 27 and the first determination circuit 28 are provided in the processing device.

このため、従来例のようにプリント基板29の半導体部
品29Aのリード配線29Cの先端位置■からの実際離
隔距離!とその離隔基準値とを比較する画像処理により
、その取付は位置P(x1)P (x2)を検出する場
合であっても、明るさ画像信号i (x)及び高さ画像
信号h (x)のいずれか一方の二値化データに一義的
にスライスレベルSLを設定処理することが無くなる。
Therefore, as in the conventional example, the actual separation distance from the tip position of the lead wiring 29C of the semiconductor component 29A of the printed circuit board 29! By image processing that compares the distance and its distance reference value, even when detecting the position P (x1) P (x2), the brightness image signal i (x) and the height image signal h (x ) It is no longer necessary to uniquely set the slice level SL for either one of the binary data.

例えば、アナログ/デジタル処理された信号i (x)
、  h(x)をデータ演算回路22により、その−次
微分処理をし、次いで、−次微分処理されたデータの乗
算処理等の関数演算処理をすることによって、その波形
の負ピークpから半導体部品29Aのリード配線29C
の先端位置の=P(χ1)を検出すること、及びその正
ピークqから半田接合部29Bのはみ出し位置P(x2
)を精度良く演算処理することができる。このことで、
先端位置のがらの実際離隔距離!の検出量に誤差の介入
が極力抑制された第1の画像処理データDoutと予め
設定された第1の基準データDRIとを比較処理等をす
ることにより、高信軌度の第1の判定結果データDAI
を出力することが可能となる。
For example, analog/digital processed signal i (x)
, h(x) is subjected to negative-order differential processing by the data calculation circuit 22, and then functional calculation processing such as multiplication processing is performed on the data subjected to the negative-order differential processing, thereby converting the negative peak p of the waveform to the semiconductor Lead wiring 29C of component 29A
Detecting =P(x1) of the tip position of the solder joint 29B from its positive peak q
) can be calculated with high precision. With this,
Actual separation distance at the tip position! The first determination result of high confidence orbit is obtained by comparing the first image processing data Dout in which the interference of errors in the detected amount is suppressed as much as possible with the first reference data DRI set in advance. Data DAI
It becomes possible to output.

これにより、半導体装部品等の被検査対象29の取付は
位置等を精度良く検査することが可能となる。
This makes it possible to accurately inspect the mounting position of the object 29 to be inspected, such as a semiconductor component.

(ii)第2の実施例の説明 第11.第12図は、本発明の第2の実施例に係るパタ
ーンg!識装置の説明図であり、第11図は、本発明の
第2の実施例に係る画像処理装置を組み込んだ認識装置
を示している。
(ii) Description of the second embodiment 11. FIG. 12 shows the pattern g! according to the second embodiment of the present invention. FIG. 11 is an explanatory diagram of a recognition device, and FIG. 11 shows a recognition device incorporating an image processing device according to a second embodiment of the present invention.

図において、被認識対象2oとなる文字パターン40の
印刷有無を非接触で認識する装置は、少なくとも、前記
画像処理装置に三次元形状取得装置27.第2の判定回
路38.ステージ駆動装置30、高さ辞書メモリ31c
、明るさ辞書メモリ31D及びデータ入力回路36が設
けられている。
In the figure, a device for non-contact recognition of the printing presence or absence of a character pattern 40 serving as the object to be recognized 2o includes at least the image processing device and the three-dimensional shape acquisition device 27. Second determination circuit 38. Stage drive device 30, height dictionary memory 31c
, a brightness dictionary memory 31D, and a data input circuit 36 are provided.

すなわち、27はパターン画像取得手段17の一実施例
となる三次元形状取得装置であり、第1の実施例で用い
た装置を兼用する。該取得装置27は、文字パターン4
0の画像を取得して、例えば、第1.第2のアナログ画
像信号A1n1.A1n2となる明るさ画像信号1(x
)、高さ画像信号h (x)を出力するものである。
That is, 27 is a three-dimensional shape acquisition device which is an embodiment of the pattern image acquisition means 17, and is also used as the device used in the first embodiment. The acquisition device 27 acquires character pattern 4
0 images, for example, 1st. Second analog image signal A1n1. Brightness image signal 1(x
), which outputs a height image signal h (x).

31C,31Dは、文字パターン40の高さ辞書データ
D3や明るさ辞書データD4を記憶する高さ辞書メモリ
及び明るさ辞書メモリを示している。
31C and 31D indicate a height dictionary memory and a brightness dictionary memory that store height dictionary data D3 and brightness dictionary data D4 of the character pattern 40.

32はデータ演算手段12の一実施例となるデータ相関
演算回路であり、高さデータ相関回路32A、明るさデ
ータ相関回路32B及び多重相関演算回路32Cから成
る。高さデータ相関回路32Aは、アナログ/デジタル
処理された高さ画像信号h(x)と高さ辞書データD3
との相互関係を演算するものである。また、明るさデー
タ相関回路32Bは、アナログ/デジタル処理された明
るさ画像信号i  (X)と明るさ辞書データD4との
相互関係を演算するものである。さらに、多重相関演算
回路32Cは、演算画像データdi、d2の一例となる
相関演算データd11.  d12を合成処理(多重処
理)して、それを多重演算データd13として位置/マ
ツチング度検出回路33に出力するものである。
A data correlation calculation circuit 32 is an embodiment of the data calculation means 12, and includes a height data correlation circuit 32A, a brightness data correlation circuit 32B, and a multiple correlation calculation circuit 32C. The height data correlation circuit 32A uses the analog/digital processed height image signal h(x) and the height dictionary data D3.
It calculates the correlation between Further, the brightness data correlation circuit 32B calculates the correlation between the brightness image signal i (X) subjected to analog/digital processing and the brightness dictionary data D4. Further, the multiple correlation calculation circuit 32C calculates the correlation calculation data d11. which is an example of the calculation image data di, d2. d12 is combined (multiprocessed) and outputted to the position/matching degree detection circuit 33 as multiple calculation data d13.

33は信号処理回路23の一実施例となる位置/マツチ
ング度検出回路であり、多重演算データd13の内容と
なる文字パターン40の多重マツチング度やマツチング
位置を検出するものである。
A position/matching degree detection circuit 33 is an embodiment of the signal processing circuit 23, and detects the degree of multiple matching and the matching position of the character pattern 40, which is the content of the multiple calculation data d13.

38は第2の判定手段1日の一実施例となる第2の判定
回路であり、位置/マツチング度検出回路33から出力
される第3の画像処理データDout3及び判定基準と
なる第2の基準データDR2を入力して第2の判定結果
データDA2を出力するものである。この際の第2の基
準データDR2は、文字パターン40のマツチング位置
ずれ等の許容値データである。
Reference numeral 38 denotes a second judgment circuit which is an example of the second judgment means 1st, and which detects the third image processing data Dout3 outputted from the position/matching degree detection circuit 33 and the second criterion which is the judgment standard. It inputs data DR2 and outputs second determination result data DA2. The second reference data DR2 at this time is tolerance value data such as matching positional deviation of the character pattern 40.

なお、39は設計データファイルであり、文字パターン
40の高さ辞書データや明るさ辞書データ等の設計デー
タが格納されているものである。
Note that 39 is a design data file in which design data such as height dictionary data and brightness dictionary data of the character pattern 40 is stored.

36はデータ入力回路であり、両データを入力処理する
ものである。また、30はステージ駆動装置であり、文
字パターン40が印刷されたプリント基板等を載置した
ステージを移動走査するものである。
A data input circuit 36 inputs and processes both data. Further, 30 is a stage driving device, which moves and scans a stage on which a printed circuit board or the like on which a character pattern 40 is printed is mounted.

その他、第1の実施例と同名称のものは同し機能を有す
るので説明を省略する。
Other components having the same names as those in the first embodiment have the same functions, so description thereof will be omitted.

次に、当該認識装置の動作について説明をする。Next, the operation of the recognition device will be explained.

第12図(a)〜(e)は、本発明の第2の実施例に係
るパターン認識装置の動作説明図であり、同図(a)は
、被認識対象20のパターン例を示している。
FIGS. 12(a) to 12(e) are explanatory diagrams of the operation of the pattern recognition device according to the second embodiment of the present invention, and FIG. 12(a) shows an example of the pattern of the object to be recognized 20. .

図において、例えば、被認識対象20となるプリント基
板に印刷された文字や形状等の認識要求があったものと
仮定する。ここで、40は文字パターンであり、プリン
ト基板等の被認識領域A1に印刷されたローマ字「A」
を示している。また、41はその高さ形状パターンであ
り、その被認識領域A2に配置された四角形状を示して
いる。
In the figure, it is assumed that, for example, there is a request to recognize characters, shapes, etc. printed on a printed circuit board serving as the object to be recognized 20. Here, 40 is a character pattern, which is the Roman letter "A" printed on the recognition area A1 of the printed circuit board etc.
It shows. Further, 41 is the height shape pattern, which is a rectangular shape arranged in the recognition area A2.

同図(b)は、被認識対象20の辞書パターン例を示し
ている。
FIG. 2B shows an example of a dictionary pattern of the object to be recognized 20. FIG.

図において、42は辞書文字パターンであり、明るさ辞
書メモリ31Dに記憶される明るさ辞書データD4の内
容を示すものである。また、43は辞書形状パターンで
あり、高さ辞書メモリ31Cに記憶された高さ辞書デー
タD3の内容を示すものである。これらのデータD3.
D4が設計データファイル39から読み出され、データ
入力回路36を介して各メモリ31C,31Dに記憶さ
れる。
In the figure, 42 is a dictionary character pattern, which indicates the contents of the brightness dictionary data D4 stored in the brightness dictionary memory 31D. Further, 43 is a dictionary shape pattern, which indicates the contents of the height dictionary data D3 stored in the height dictionary memory 31C. These data D3.
D4 is read from the design data file 39 and stored in each memory 31C, 31D via the data input circuit 36.

一方、被認識対象20の画像が三次元画像取得装置27
により取得され、それが第1.第2のアナログ画像信号
A1n1.A1n2となって、画像入力回路35に入力
される。この際のアナログ画像信号A1n1.A1n2
は、文字パターン40や形状パターン41の明るさ画像
信号1(x)、高さ画像信号h (x)を示すものであ
る。
On the other hand, the image of the object to be recognized 20 is captured by the three-dimensional image acquisition device 27.
is obtained by the first . Second analog image signal A1n1. A1n2 is input to the image input circuit 35. At this time, the analog image signal A1n1. A1n2
represents the brightness image signal 1(x) and height image signal h(x) of the character pattern 40 and the shape pattern 41.

これらの信号i  (x)、  h (x)は、第1の
実施例と同様に、画像入力回路35でアナログ/デジタ
ル処理されて2種類の画像データDint、Din2と
して個別に、高さ画像メモリ31A、明るさ画像メモリ
31Bに記憶される。
Similar to the first embodiment, these signals i (x) and h (x) are subjected to analog/digital processing in the image input circuit 35 and are individually stored as two types of image data Dint and Din2 in the height image memory. 31A, and stored in the brightness image memory 31B.

また、画像データDinlと高さ辞書データD3とがC
PU24により選択され、被演算データDI  D3と
して、高さデータ相関回路32Aに入力される。ここで
、同図(C)において、縦軸は高さマツチング度であり
、横軸は画像データと辞書データとの相対位置を示して
いる。また、高さマツチング度は、高さデータ相関回路
32Aにおいて、画像データDinlと高さ辞書データ
D3とが比較処理され、その高さ及び位置に関して相互
関係が求められる。これにより、形状パターン41のパ
ターン認識がされる。
Furthermore, the image data Dinl and the height dictionary data D3 are C
It is selected by the PU 24 and inputted to the height data correlation circuit 32A as the operand data DI D3. Here, in the same figure (C), the vertical axis represents the degree of height matching, and the horizontal axis represents the relative position between the image data and the dictionary data. Further, the height matching degree is determined by comparing the image data Dinl and the height dictionary data D3 in the height data correlation circuit 32A, and determining the correlation with respect to the height and position. As a result, the shape pattern 41 is recognized.

さらに、画像データDin2と明るさ辞書データD4と
がCPU24により選択され、被演算データD2.D4
として、明るさデータ相関回路32Bに入力される。こ
こで、同図(d)において、縦軸は明るさマツチング度
であり、横軸は位置を示している。また、明るさマツチ
ング度は、明るさデータ相関回路32Bにおいて、画像
データDin2と明るさ辞書データD4とが比較処理さ
れ、その明るさ及び位置に関して相互関係が求められる
Further, the image data Din2 and the brightness dictionary data D4 are selected by the CPU 24, and the operand data D2. D4
is input to the brightness data correlation circuit 32B. Here, in FIG. 3D, the vertical axis represents the degree of brightness matching, and the horizontal axis represents the position. Further, the brightness matching degree is determined by comparing the image data Din2 and the brightness dictionary data D4 in the brightness data correlation circuit 32B, and determining the correlation with respect to the brightness and position.

これにより、文字パターン40のパターン認識がされる
As a result, the character pattern 40 is recognized.

その後、各相関回路32A、 32Bから出力された相
関演算データdll、  d12が多重相関演算回路3
2Cにより多重処理される。ここで、同図(e)におい
て、縦軸は多重マツチング度であり、横軸は位置を示し
ている。また、多重マツチング度は、明るさマツチング
度と高さマツチング度とを多重処理したものである。こ
の際に多重処理された多重演算データd13は、位置/
マツチング度検出回路33に出力される。
Thereafter, the correlation calculation data dll, d12 output from each correlation circuit 32A, 32B is sent to the multiplex correlation calculation circuit 3.
Multiple processing is performed by 2C. Here, in FIG. 4(e), the vertical axis represents the degree of multiple matching, and the horizontal axis represents the position. Further, the multiple matching degree is a result of multiple processing of the brightness matching degree and the height matching degree. The multiple calculation data d13 subjected to multiple processing at this time is
It is output to the matching degree detection circuit 33.

位置/マツチング度検出回#I33では、文字パターン
40の多重マツチング度やマツチング位置が検出され、
該回路33から出力された第3の画像処理データDou
t 3は、判定基準となる第2の基準データDR2と比
較処理される。その結果、第2の判定回路から第2の判
定結果データDA2が出力される。これにより、被認識
領域A1やA2に設計通りの文字パターン402例えば
ローマ字’AJや形状パターンが存在するか否か、また
、存在はするもののマツチング位置ずれ許容値範囲にあ
るか否かの判定等がされる。
In position/matching degree detection step #I33, the multiple matching degree and matching position of the character pattern 40 are detected,
The third image processing data Dou output from the circuit 33
t3 is compared with second reference data DR2, which serves as a determination criterion. As a result, second determination result data DA2 is output from the second determination circuit. As a result, it is possible to determine whether or not a character pattern 402 as designed, such as the Roman letter 'AJ' or a shape pattern, exists in the recognition area A1 or A2, or whether or not the character pattern 402, such as the Roman letter 'AJ' or a shape pattern, exists in the recognition area A1 or A2, and whether or not the character pattern 402 exists, but is within the matching position deviation tolerance range. is done.

このようにして、本発明の実施例に係る認識装置によれ
ば、前記処理装置に三次元画像取得装置27及び第2の
判定手段38等が設けられている。
In this way, according to the recognition device according to the embodiment of the present invention, the processing device is provided with the three-dimensional image acquisition device 27, the second determination means 38, and the like.

このため、文字パターン40の明るさ画像データや高さ
画像データを画像処理することにより、そのパターン認
識をする場合であっても、二種類以上の被演算データD
1〜D4のいずれか一方のデータにスライスレベルSL
を一義的に設定処理することなく、例えば、四種類の被
演算データD1〜D4をデータ相関演算回路32により
、その相関処理をし、次いで、相関処理されたデータの
多重処理等の関数演算処理をすることにより、そのマツ
チング度の鋭さから文字パターン40の位置ずれを精度
良く認識処理することができる。このことで、高マツチ
ング度の第2の画像処理データDoutと予め設定され
た第2の基準データDR2とを比較処理等をすることに
より、高信顛度の第2の判定結果データDA2を出力す
ることが可能となる。
Therefore, even if pattern recognition is performed by image processing the brightness image data and height image data of the character pattern 40, two or more types of operand data D
Slice level SL for any one of data 1 to D4
For example, the data correlation calculation circuit 32 performs correlation processing on four types of operand data D1 to D4 without uniquely setting processing, and then performs functional calculation processing such as multiple processing on the correlated data. By doing this, it is possible to accurately recognize and process the positional shift of the character pattern 40 based on the sharpness of the matching degree. As a result, by performing a comparison process between the second image processing data Dout having a high degree of matching and the second reference data DR2 set in advance, the second determination result data DA2 having a high degree of accuracy is output. It becomes possible to do so.

これにより、半導体装部品等の被認識対象20の取付は
状態を精度良く認識することが可能となる。
This makes it possible to accurately recognize the mounting condition of the object 20 to be recognized, such as a semiconductor component.

なお、本発明の各実施例では被検査対象19や被認識対
象20の位置座標を含む二種類の画像データを用いる場
合について説明をしたが、その反射率データや赤、青、
緑等の色彩データを用いて画像処理をする場合にも本発
明を適用することができる。
In each of the embodiments of the present invention, two types of image data including the position coordinates of the object to be inspected 19 and the object to be recognized 20 are used, but the reflectance data, red, blue,
The present invention can also be applied to image processing using color data such as green.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明の処理装置によれば二種類
以上の画像データを微分処理又は合成処理、若しくは、
該微分処理及び合成処理等をして一種類以上の画像演算
データを出力するデータ演算手段が設けられている。
As explained above, according to the processing device of the present invention, two or more types of image data are subjected to differential processing or composition processing, or
A data calculation means is provided which performs the differential processing, composition processing, etc. and outputs one or more types of image calculation data.

この゛ため、従来例のように画像取得対象のある位置か
ら任意の位置までのH隔距離を検出する画像処理が生し
た場合であっても、波形立ち下がり位置から物体の位置
座標を精度良く演算することが可能となる。
Therefore, even if image processing is performed to detect the distance H distance from a certain position of the image acquisition target to an arbitrary position as in the conventional example, the position coordinates of the object can be accurately determined from the waveform falling position. It becomes possible to perform calculations.

また、本発明の検査装置によれば、前記処理装置に物体
画像取得手段及び第1の判定手段が設けられている。
Moreover, according to the inspection apparatus of the present invention, the processing device is provided with an object image acquisition means and a first determination means.

このため、二種類以上の被演算データがデータ演算手段
により一次微分処理や乗算処理等の関数演算処理される
ことによって、個々のデータの信軽度が向上し、被検査
対象の位置座標を精度良く演算処理することができる。
Therefore, by performing functional calculation processing such as first-order differentiation processing and multiplication processing on two or more types of operand data by the data calculation means, the reliability of each data is improved, and the position coordinates of the object to be inspected can be determined with high precision. It is possible to perform arithmetic processing.

このことで、誤差の介入が極力抑制された第1の画像処
理データに基づいて被検査対象の取付は位置等を精度良
く検査することが可能となる。
This makes it possible to accurately inspect the mounting position of the object to be inspected, etc., based on the first image processing data in which the intervention of errors is suppressed as much as possible.

さらに、本発明の認識装置によれば、前記処理装置にパ
ターン画像取得手段及び第2の判定手段が設けられてい
る。
Furthermore, according to the recognition device of the present invention, the processing device is provided with a pattern image acquisition means and a second determination means.

このため、二種類以上の被演算データがデータ演算手段
により相関処理され、その後、多重処理される。このこ
とで、高マツチング度の第2の画像処理データに基づい
て、半導体装部品等の被認識対象の取付は状態を精度良
く認識することが可能となる。
Therefore, two or more types of operand data are subjected to correlation processing by the data calculation means, and then subjected to multiple processing. This makes it possible to accurately recognize the mounting state of the object to be recognized, such as a semiconductor component, based on the second image processing data with a high degree of matching.

これにより、高信顛度かつ高精度の画像処理装置、物体
検査装置及びパターン認識装置の製造に寄与するところ
が大きい。
This greatly contributes to the manufacture of highly reliable and highly accurate image processing devices, object inspection devices, and pattern recognition devices.

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

第1図は、本発明に係る画像処理装置の原理図、第2図
は、本発明に係る物体検査装置の原理図、第3図は、本
発明に係るパターン認識装置の原理図、 第4図は、本発明の第1の実施例に係る画像処理装置の
構成図、 第5図は、本発明の第1の実施例に係る画像処理装置の
動作説明図、 第6図は、本発明の第1の実施例に係る物体検査装置の
構成図、 第7図は、本発明の第1の実施例に係る被検査対象の説
明図、 第8図は、本発明の第1の実施例に係る画像データの説
明図、 第9図は、本発明の第1の実施例に係る微分処理の説明
図、 第10図は、本発明の第1の実施例に係る各エンジ検出
回路の説明図、 第11図は、本発明の第1の実施例に係る画像処理装置
を組み入れたパターン認識装置の構成図、第12図は、
本発明の第2の実施例に係るパターン認識装置の動作説
明図、 第13図は、従来例に係る物体検査装置の構成図、第1
4図は、従来例に係る問題点を説明する図である。 (符号の説明) 11・・・記憶手段、 12・・・データ演算手段、 13・・・信号処理手段、 14・・・制御手段、 15・・・物体画像取得手段、 16.18・・・第1.第2の判定手段、17・・・パ
ターン画像取得手段、 18・・・光路分割手段、 M1〜Mn・・・第1〜第nの記憶手段、Dinl−D
inn−第1〜第nの画像データ、D1〜Dn・・・第
1〜第nの被演算データ、d1〜dn・・・第1〜第n
の画像演算データ、Dout  Dout 1 、  
Dout 2−画像処理データ。 第1.第2の画像処理データ、 DPI、 DR2・・・第1.第2の基準データ、DA
I、 DA2・・・第1.第2の判定結果データ。 〆11記憶手段
FIG. 1 is a principle diagram of an image processing device according to the present invention, FIG. 2 is a principle diagram of an object inspection device according to the present invention, FIG. 3 is a principle diagram of a pattern recognition device according to the present invention, and FIG. 5 is a diagram illustrating the operation of the image processing device according to the first embodiment of the present invention. FIG. 6 is a diagram illustrating the operation of the image processing device according to the first embodiment of the present invention. FIG. 7 is an explanatory diagram of an object to be inspected according to the first embodiment of the present invention; FIG. 8 is a diagram of the object inspection apparatus according to the first embodiment of the present invention; FIG. 9 is an explanatory diagram of the differential processing according to the first embodiment of the present invention. FIG. 10 is an explanatory diagram of each engine detection circuit according to the first embodiment of the present invention. FIG. 11 is a block diagram of a pattern recognition device incorporating the image processing device according to the first embodiment of the present invention, and FIG.
FIG. 13 is an explanatory diagram of the operation of the pattern recognition device according to the second embodiment of the present invention, and FIG.
FIG. 4 is a diagram illustrating problems related to the conventional example. (Explanation of symbols) 11... Storage means, 12... Data calculation means, 13... Signal processing means, 14... Control means, 15... Object image acquisition means, 16.18... 1st. 2nd determination means, 17... Pattern image acquisition means, 18... Optical path division means, M1-Mn... 1st - nth storage means, Dinl-D
inn-first to nth image data, D1 to Dn...first to nth operand data, d1 to dn...first to nth
Image calculation data of Dout Dout 1,
Dout 2-Image processing data. 1st. Second image processing data, DPI, DR2...first. Second reference data, DA
I, DA2... 1st. Second judgment result data. 〆11 Memory means

Claims (5)

【特許請求の範囲】[Claims] (1)n種類の画像データ(Din1〜Dinn)を記
憶して、少なくとも、二種類以上の被演算データ(D1
=Dini、Dn=Dinj)を出力する記憶手段(1
1)と、前記二種類以上の被演算データ(D1〜Dn)
を関数演算処理して、一種類以上の画像演算データ(d
1〜dn)を出力するデータ演算手段(12)と、前記
画像演算データ(d1〜dn)を信号処理して画像処理
データ(Dout)を出力する信号処理、手段(13)
と、前記記憶手段(11)、データ演算手段(12)及
び信号処理手段(13)の入出力を制御する制御手段(
14)とを具備することを特徴とする画像処理装置。
(1) Store n types of image data (Din1 to Dinn) and store at least two or more types of operand data (D1 to Dinn).
=Dini, Dn=Dinj).
1) and the two or more types of operand data (D1 to Dn)
is subjected to functional calculation processing to obtain one or more types of image calculation data (d
data calculation means (12) for outputting image calculation data (d1 to dn); and signal processing means (13) for signal processing the image calculation data (d1 to dn) and outputting image processing data (Dout).
and a control means (
14) An image processing device comprising:
(2)請求項1記載の画像処理装置であって、前記記憶
手段(11)が、第1〜第nの画像データ(Din1〜
Dinn)を個別に記憶して第1〜第nの被演算データ
(D1〜Dn)を個別に出力する第1〜第nの記憶手段
(M1〜Mn)から成り、前記データ演算手段(12)
が、少なくとも、前記第1〜第nの画像データ(Din
1〜Dinn)の中から選択された二種類以上の被演算
データ(D1〜Dn)の微分処理又は合成処理、若しく
は、該微分処理及び合成処理をすることを特徴とする画
像処理装置。
(2) The image processing apparatus according to claim 1, wherein the storage means (11) stores first to nth image data (Din1 to
The data calculation means (12) consists of first to nth storage means (M1 to Mn) that individually store the data (Dinn) and individually output the first to nth operand data (D1 to Dn).
is at least the first to nth image data (Din
1 to Dinn), or performs differential processing and synthesis processing on two or more types of operand data (D1 to Dn).
(3)請求項1記載の画像処理装置を備えた物体検査装
置であって、 前記画像処理装置に、少なくとも、被検査対象(19)
の画像を取得して前記n種類の画像データ(Din1〜
Dinn)を出力する物体画像取得手段(15)と、前
記信号処理手段(13)から出力される第1の画像処理
データ(Dout1)及び判定基準となる第1の基準デ
ータ(DR1)を入力して第1の判定結果データ(DA
1)を出力する第1の判定手段(16)とが設けられて
いることを特徴とする物体検査装置。
(3) An object inspection device comprising the image processing device according to claim 1, wherein the image processing device includes at least an object to be inspected (19).
images are acquired and the n types of image data (Din1 to
The first image processing data (Dout1) outputted from the signal processing means (13) and the first reference data (DR1) serving as a determination standard are inputted to The first judgment result data (DA
1) A first determination means (16) for outputting a first determination means (16).
(4)請求項3記載の物体検査装置であって、前記デー
タ演算手段(12)が、少なくとも、前記第1〜第nの
画像データ(Din1〜Dinn)の中から選択された
画像データ(Dini)のn次微分処理をし、前記n次
微分処理されたデータの乗算処理をすることを特徴とす
る物体検査装置。
(4) The object inspection apparatus according to claim 3, wherein the data calculation means (12) at least performs image data (Dini) selected from the first to n-th image data (Din1 to Dinn). ), and multiplies the data subjected to the n-th differential processing.
(5)請求項1記載の画像処理装置を備えたパターン認
識装置であって、 前記画像処理装置に、少なくとも、被認識対象(20)
の画像を取得して前記n種類の画像データ(Din1〜
Dinn)を出力するパターン画像取得手段(17)と
、前記信号処理手段(13)から出力される第2の画像
処理データ(Dout2)及びパターン判定基準となる
第2の基準データ(DR2)とを入力して第2の判定結
果データ(DA2)を出力する第2の判定手段(18)
とが設けられていることを特徴とするパターン認識装置
(5) A pattern recognition device comprising the image processing device according to claim 1, wherein the image processing device includes at least a target to be recognized (20).
images are acquired and the n types of image data (Din1 to
a pattern image acquisition means (17) that outputs a pattern image (Dinn), second image processing data (Dout2) output from the signal processing means (13), and second reference data (DR2) that serves as a pattern judgment standard. Second determination means (18) for inputting and outputting second determination result data (DA2)
A pattern recognition device comprising:
JP2169270A 1990-06-27 1990-06-27 Picture processor, inspection device for object and pattern recognition device Pending JPH0458374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2169270A JPH0458374A (en) 1990-06-27 1990-06-27 Picture processor, inspection device for object and pattern recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2169270A JPH0458374A (en) 1990-06-27 1990-06-27 Picture processor, inspection device for object and pattern recognition device

Publications (1)

Publication Number Publication Date
JPH0458374A true JPH0458374A (en) 1992-02-25

Family

ID=15883395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2169270A Pending JPH0458374A (en) 1990-06-27 1990-06-27 Picture processor, inspection device for object and pattern recognition device

Country Status (1)

Country Link
JP (1) JPH0458374A (en)

Similar Documents

Publication Publication Date Title
US7260256B2 (en) Method and system for inspecting a pattern
US7024041B2 (en) Pattern inspection apparatus and method
JPS59157505A (en) Pattern inspecting device
JPH09190531A (en) Mounting data production method and device, inspection method for substrate and mounting state
US5206917A (en) Method for collating independent figure elements between images
JPH08292014A (en) Measuring method of pattern position and device thereof
CN115375610A (en) Detection method and device, detection equipment and storage medium
US6920241B1 (en) System and method for bundled location and regional inspection
JPH1187446A (en) Apparatus and method for inspection of defect of pattern
JPH0458374A (en) Picture processor, inspection device for object and pattern recognition device
JP2924859B2 (en) Appearance inspection method and device
JPH07504978A (en) Product inspection method
JPH10340347A (en) Pattern inspecting method, device therefor and production of semiconductor wafer
JP4357666B2 (en) Pattern inspection method and apparatus
JP3198105B2 (en) Automatic visual inspection device
JPH11328404A (en) Image recognizing device and method therefor
JP4302382B2 (en) Image recognition method
JP2912070B2 (en) Object position recognition method
JP2002198406A (en) Appearance inspecting method
JP2003240539A (en) Method and apparatus for testing surface shape
JPH04316346A (en) Pattern recognition method
KR100436294B1 (en) A search method of pattern block in machine vision
JPH0334801B2 (en)
JPH05264240A (en) Visual inspection device
JPH0829359A (en) Method for correcting work position deviation by surface defect inspection device