JPH10148516A - Image inspection apparatus - Google Patents

Image inspection apparatus

Info

Publication number
JPH10148516A
JPH10148516A JP8322146A JP32214696A JPH10148516A JP H10148516 A JPH10148516 A JP H10148516A JP 8322146 A JP8322146 A JP 8322146A JP 32214696 A JP32214696 A JP 32214696A JP H10148516 A JPH10148516 A JP H10148516A
Authority
JP
Japan
Prior art keywords
coordinate data
image
candidate
point
candidate point
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
JP8322146A
Other languages
Japanese (ja)
Inventor
Osamu Matsutake
治 松竹
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP8322146A priority Critical patent/JPH10148516A/en
Publication of JPH10148516A publication Critical patent/JPH10148516A/en
Pending legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an image inspection apparatus, by which the accuracy of the judgment of a quality can be enhanced, by extracting, when the interval between adjacent candidate points is at a threshold value or lower, only the candidate point on one side, which satisfies a definite condition and judging the quality of an object to be inspected. SOLUTION: An image which is picked up by a video camera 1 is converted by an A/D conversion part 2 so as to be stored in an image memory 3, and it is reconverted by a D/A conversion part 4 so as to be displayed on a monitor 5. In a search processing part 12, the imaged image which is stored in the image memory 3 is searched by using a model image which is stored in a model memory 9, and coordinate data on an agreement point is stored in a data memory as coordinate data. A search-candidate thinning-out processing part 13 extracts only a candidate point, on one side, which satisfies a prescribed condition when the interval between adjacent candidate points is at a threshold value or lower, the candidate point is stored in the data memory 10 as coordinate data after a thinning-out processing operation, and a candidate point on the other side is thinned out. A CPU 6 judges the quality of the lead terminal of an IC on the basis of the coordinate data after the thinning-out processing operation so as to be output to an output part 11b.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の帯状または
ピン状端子を有する半導体集積回路などの電子部品の検
査に好適な画像検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image inspection apparatus suitable for inspecting an electronic component such as a semiconductor integrated circuit having a plurality of strip-shaped or pin-shaped terminals.

【0002】[0002]

【従来の技術】従来、撮像装置を用いて対象物体の画像
を撮像し、その撮像した画像を、基準となる既知画像で
サーチしながら両画像のマッチングを取り、対象物体の
良否を判定する画像検査装置が知られている。
2. Description of the Related Art Conventionally, an image of a target object is picked up using an image pickup device, and the picked-up image is searched for a known image serving as a reference, and the two images are matched to judge the quality of the target object. Inspection devices are known.

【0003】対象物体が半導体集積回路であって、その
リード端子の曲りや浮き等の検査を行う場合、ビデオカ
メラによって半導体集積回路を撮像し、予め登録してお
いたリード端子の形状を表すモデル画像によって撮像画
像をサーチし、両画像が一致するときの位置情報からリ
ード端子の先端位置やピッチ等を求め、良否の判定を行
うようにしている。
When the object to be inspected is a semiconductor integrated circuit and its lead terminals are to be bent or floated, a video camera is used to image the semiconductor integrated circuit and a model representing the shape of the lead terminals registered in advance. An image is searched for a captured image, and the leading end position, pitch, and the like of the lead terminal are obtained from the position information when the two images match, and the quality is determined.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、リード
端子の表面は傷があったりメッキの状態が均一でなかっ
たりするため、サーチ処理によってリード端子の先端位
置を見つける際に、判別閾値が適切値であれば、そこに
リード端子があると判定できるが、閾値が大きいとリー
ド端子が見つからず、逆に小さいと傷やメッキむら等か
らリード端子の先端位置を誤検出してしまい、それによ
って良品を不良品と誤判定してしまうという不都合が生
じる。
However, since the surface of the lead terminal is flawed or the plating state is not uniform, the discrimination threshold is set to an appropriate value when finding the leading end position of the lead terminal by search processing. If there is, it can be determined that there is a lead terminal, but if the threshold value is large, the lead terminal cannot be found. The inconvenience of erroneously determining a defective product occurs.

【0005】本発明は、このような従来の課題を解決す
るためになされたもので、サーチ処理によってリード端
子の先端位置を正確に検出し、良品を不良品と誤判定す
ることのない画像検査装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem, and an image inspection method which accurately detects the tip position of a lead terminal by a search process and does not erroneously determine a non-defective product as a defective product. It is intended to provide a device.

【0006】[0006]

【課題を解決するための手段】本発明の請求項1に記載
の発明は、対象物体の画像を記憶する画像メモリと、対
象物体の画像を基準画像でサーチして両画像の一致点を
候補点として検出するサーチ処理部と、隣接する候補点
間の間隔が閾値以下の場合は所定の条件を満たす一方の
候補点のみを抽出し他方の候補点を間引くサーチ候補間
引き処理部と、抽出した候補点に基づいて対象物体の良
否を判定する判定手段とを備えることを特徴とする。
According to a first aspect of the present invention, there is provided an image memory for storing an image of a target object, and a search for a target image in a reference image to determine a coincidence point between the two images. A search processing unit that detects points, and a search candidate thinning processing unit that extracts only one candidate point that satisfies a predetermined condition when the interval between adjacent candidate points is equal to or less than a threshold and thins out the other candidate point. Determining means for determining the quality of the target object based on the candidate points.

【0007】本発明の請求項2に記載の発明は、請求項
1記載の発明において、対象物体は複数の帯状またはピ
ン状端子が配列された電子部品であり、サーチ処理部は
端子の先端位置を候補点として検出し、サーチ候補間引
き処理部は隣接する候補点間の間隔が閾値以下の場合は
端子の長手方向先端側の候補点を抽出し他の候補点を間
引くことを特徴とする。
According to a second aspect of the present invention, in the first aspect, the target object is an electronic component on which a plurality of strip-shaped or pin-shaped terminals are arranged, and the search processing unit is located at a tip end position of the terminal. Is detected as a candidate point, and when the interval between adjacent candidate points is equal to or smaller than a threshold value, the search candidate thinning processing unit extracts a candidate point on the terminal side in the longitudinal direction of the terminal and thins out other candidate points.

【0008】本発明によれば、サーチ処理部におけるテ
ンプレート・マッチングによって候補点を検出し、その
中から所定の条件を満たす候補点のみを抽出して他の候
補点を間引くことにより候補点の検出精度を高め、対象
物体の良否の判定精度を上げるようにしている。
According to the present invention, candidate points are detected by template matching in the search processing section, only candidate points satisfying a predetermined condition are extracted from the candidate points, and other candidate points are thinned out to detect the candidate points. The accuracy is increased, and the accuracy of determining whether the target object is good or bad is improved.

【0009】[0009]

【発明の実施の形態】図1は、本発明による画像検査装
置の一実施の形態を示すブロック図である。同図におい
て、ビデオカメラ1によって撮像された画像は、映像信
号に変換されてA/D変換部2に送られ、ディジタル画
像データとして画像メモリ3に記憶される。画像メモリ
3に記憶された画像データは、D/A変換部4でアナロ
グ映像信号に再変換され、表示装置のモニタ画面5に表
示される。
FIG. 1 is a block diagram showing an embodiment of an image inspection apparatus according to the present invention. In FIG. 1, an image captured by a video camera 1 is converted into a video signal, sent to an A / D converter 2, and stored in an image memory 3 as digital image data. The image data stored in the image memory 3 is converted again into an analog video signal by the D / A converter 4 and displayed on the monitor screen 5 of the display device.

【0010】CPU(中央処理装置)6はこの装置全体
の制御と対象物体の良否を判定する判定手段として機能
するもので、システムバス7を介してCPU6で行う処
理プログラムが記憶されたプログラムメモリ(ROM)
8、撮像画像をサーチするためのモデル画像が記憶され
たモデルメモリ(RAM)9、外部から入力される各種
のデータやCPU6による処理結果等が一時的に記憶さ
れるデータメモリ(RAM)10、キーボードなどの入
力部11aやプリンタなどの出力部11bとデータの送
受を行う入出力インターフェイス(I/O)11がそれ
ぞれ接続されている。
A CPU (Central Processing Unit) 6 functions as control means for controlling the entire apparatus and determining whether or not the target object is good or bad. ROM)
8, a model memory (RAM) 9 for storing model images for searching for captured images, a data memory (RAM) 10 for temporarily storing various data input from the outside, processing results by the CPU 6, and the like; An input unit 11a such as a keyboard and an output unit 11b such as a printer are connected to an input / output interface (I / O) 11 for transmitting and receiving data.

【0011】また、システムバス7には画像メモリ3、
サーチ処理部12、サーチ候補間引き処理部13がそれ
ぞれ接続されている。サーチ処理部12は画像メモリ3
に記憶されている撮像画像をモデルメモリ9に記憶され
ているモデル画像によってサーチし、一致点の座標デー
タを候補点の座標データとしてデータメモリ10に記憶
するものである。サーチ候補間引き処理部13はサーチ
処理部12で検出した候補点の座標データの中から所定
の条件を満たす座標データのみを抽出し、間引き処理後
の座標データとしてデータメモリ10に記憶するもので
ある。
The system bus 7 has an image memory 3,
The search processing unit 12 and the search candidate thinning processing unit 13 are connected to each other. The search processing unit 12 includes the image memory 3
Is searched by the model image stored in the model memory 9 and the coordinate data of the matching point is stored in the data memory 10 as the coordinate data of the candidate point. The search candidate thinning processing unit 13 extracts only coordinate data satisfying a predetermined condition from the coordinate data of the candidate points detected by the search processing unit 12, and stores the coordinate data in the data memory 10 as the thinned coordinate data. .

【0012】次に、図2に示すフローチャートを参照し
ながら本実施の形態の動作について説明する。なお、以
下の説明では、図3に示す半導体集積回路ICのリード
端子群Ra,Rb,Rc,Rdのうち、図の上側に示す
上側リード端子群Raの各端子の先端位置を検出し、そ
れによってリード端子の曲り具合や浮き等の検査を実施
する場合を例に説明する。
Next, the operation of this embodiment will be described with reference to the flowchart shown in FIG. In the following description, among the lead terminal groups Ra, Rb, Rc, and Rd of the semiconductor integrated circuit IC shown in FIG. 3, the leading end position of each terminal of the upper lead terminal group Ra shown in the upper part of the figure is detected. An example will be described in which the inspection of the degree of bending or floating of the lead terminal is performed by the inspection.

【0013】まず、画像メモリ3に記憶されている半導
体集積回路ICの画像を、モデルメモリ9に記憶されて
いる上側リード端子用のモデル画像によってサーチし、
得られた複数N個の候補点の座標データ(SX1,SY
1)〜(SXn,SYn)をデータメモリ10に格納す
る(ステップS1)。候補点の座標データは、例えばリ
ード端子先端の央部の座標とする。この処理はサーチ処
理部12で行う。
First, the image of the semiconductor integrated circuit IC stored in the image memory 3 is searched by the model image for the upper lead terminal stored in the model memory 9.
The obtained coordinate data (SX1, SY) of the plurality of N candidate points
1) to (SXn, SYn) are stored in the data memory 10 (step S1). The coordinate data of the candidate point is, for example, the coordinates of the center of the tip of the lead terminal. This process is performed by the search processing unit 12.

【0014】次に、得られた複数の候補点の座標データ
(SX1,SY1)〜(SXn,SYn)をx座標位置
順にソートし、ソート後の座標データを(X1,Y1)
〜(Xn,Yn)としてデータメモリ10に格納する
(ステップS2)。
Next, the obtained coordinate data (SX1, SY1) to (SXn, SYn) of the plurality of candidate points are sorted in the order of the x-coordinate position, and the sorted coordinate data is (X1, Y1).
To (Xn, Yn) in the data memory 10 (step S2).

【0015】例えば、図4に示すように、原点を左上に
設定し、横方向にx軸、縦方向にy軸を取り、x軸の原
点側から上側リード端子Ra1,Ra2,Ra3,…と
すると、各端子の先端位置の候補点として点P,Q,
R,…を検出する。また、端子Ra1上のメッキむらW
1を候補点Sとして、端子Ra2上の傷W2を候補点T
として、端子Ra3上のメッキむらW3を候補点Uとし
てそれぞれ検出する。
For example, as shown in FIG. 4, the origin is set at the upper left, the x-axis is taken in the horizontal direction, the y-axis is taken in the vertical direction, and the upper lead terminals Ra1, Ra2, Ra3,. Then, points P, Q,
R, ... are detected. In addition, uneven plating W on terminal Ra1
1 as a candidate point S, and a scratch W2 on the terminal Ra2 as a candidate point T
, The uneven plating W3 on the terminal Ra3 is detected as the candidate point U.

【0016】この結果、各候補点P〜Uの座標データ
は、点Pが(SX1,SY1)、点Qが(SX2,SY
2)、点Rが(SX3,SY3)、点Sが(SX4,S
Y4)、点Tが(SX5,SY5)、点Uが(SX6,
SY6)となる。
As a result, in the coordinate data of each of the candidate points P to U, the point P is (SX1, SY1) and the point Q is (SX2, SY).
2), point R is (SX3, SY3) and point S is (SX4, S
Y4), point T is (SX5, SY5), point U is (SX6,
SY6).

【0017】これらの座標データをx座標位置順にソー
トすると、S<P<Q<T<U<Rであるので、ソート
後の座標データは、点Sが(X1,Y1)、点Pが(X
2,Y2)、点Qが(X3,Y3)、点Tが(X4,Y
4)、点Uが(X5,Y5)、点Rが(X6,Y6)と
なる。これらの座標データはデータメモリ10に格納さ
れる。なお、図中、点P〜Uの下に括弧を付して示した
数字はソート後の順番を示している。
When these coordinate data are sorted in the order of the x coordinate position, since S <P <Q <T <U <R, the coordinate data after sorting is such that point S is (X1, Y1) and point P is (X1, Y1). X
2, Y2), point Q is (X3, Y3), point T is (X4, Y
4) The point U is (X5, Y5) and the point R is (X6, Y6). These coordinate data are stored in the data memory 10. In the drawing, the numbers in parentheses below the points P to U indicate the order after sorting.

【0018】次に、ループカウンタiを2にセットし、
端子カウンタcを1にセットする。また、間引き後の1
番目の座標データ(AX1,AY1)として点Sの座標
データ(X1,Y1)を設定する(ステップS3)。
Next, a loop counter i is set to 2;
The terminal counter c is set to 1. In addition, 1 after thinning
The coordinate data (X1, Y1) of the point S is set as the third coordinate data (AX1, AY1) (step S3).

【0019】次いで、座標データXiと座標データAX
cとの差が閾値dx未満か、すなわち、 Xi−AXc<dx ・・・ か判断する(ステップS4)。閾値dxは端子幅程度の
適当値である。
Next, coordinate data Xi and coordinate data AX
It is determined whether the difference from c is less than the threshold value dx, that is, Xi-AXc <dx (step S4). The threshold value dx is an appropriate value about the terminal width.

【0020】今の場合、座標データXi(i=2)は点
Pの座標データX2、座標データAXc(c=1)は点
Sの座標データX1であるので、両点S,Pは同一端子
上にあるため、「X2−X1<dx」となり、式の条
件を満たす。
In this case, since the coordinate data Xi (i = 2) is the coordinate data X2 of the point P and the coordinate data AXc (c = 1) is the coordinate data X1 of the point S, both points S and P are the same terminal. Since it is above, “X2−X1 <dx” is satisfied, and the condition of the expression is satisfied.

【0021】そこで、次はY座標データを比較し、 Yi<AYc ・・・ か判断する(ステップS5)。今の場合、座標データY
i(i=2)は点Pの座標データY2であり、座標デー
タAYc(c=1)は点Sの座標データY1であるの
で、「Y2<Y1」となり、式の条件を満たす。
Then, next, the Y coordinate data is compared to determine whether Yi <AYc (step S5). In this case, the coordinate data Y
Since i (i = 2) is the coordinate data Y2 of the point P and the coordinate data AYc (c = 1) is the coordinate data Y1 of the point S, “Y2 <Y1” is satisfied, and the condition of the equation is satisfied.

【0022】そこで、間引き後のc番目の座標データ
(AXc,AYc)を座標データ(Xi,Yi)とする
(ステップS6)。今の場合、端子カウンタcが1、ル
ープカウンタiが2であるので、間引き後の1番目の座
標データ(AX1,AY1)を点Pの座標データ(X
2,Y2)に書き替える。
Therefore, the c-th coordinate data (AXc, AYc) after the thinning is set as coordinate data (Xi, Yi) (step S6). In this case, since the terminal counter c is 1 and the loop counter i is 2, the first coordinate data (AX1, AY1) after thinning is converted to the coordinate data (X
2, Y2).

【0023】次いで、全N個の全ての候補点についての
処理が終了したか判断し(ステップS7)、終了してい
なければループカウンタiをインクリメントして3とし
(ステップS8)、再び式の条件を判断する(ステッ
プS4)。
Next, it is determined whether or not the processing has been completed for all N candidate points (step S7). If the processing has not been completed, the loop counter i is incremented to 3 (step S8), and the condition of the expression is again satisfied. Is determined (step S4).

【0024】今度は座標データXi(i=3)は点Qの
座標データX3、座標データAXc(c=1)は点Pの
座標データX2であるので、両点Q,Pは異なる端子上
にあるため、「X3−X2>dx」となり、式の条件
を満たさない。
This time, since the coordinate data Xi (i = 3) is the coordinate data X3 of the point Q and the coordinate data AXc (c = 1) is the coordinate data X2 of the point P, the two points Q and P are on different terminals. Therefore, “X3−X2> dx” is satisfied, and the condition of the expression is not satisfied.

【0025】そこで、次は端子カウンタcをインクリメ
ントして2とし、間引き後のc番目の座標データ(AX
c,AYc)を座標データ(Xi,Yi)とする(ステ
ップS9)。今の場合、端子カウンタcが2、ループカ
ウンタiが3であるので、間引き後の2番目の座標デー
タ(AX2,AY2)として点Qの座標データ(X3,
Y3)を設定する。
Therefore, next, the terminal counter c is incremented to 2 and the c-th coordinate data (AX
c, AYc) as coordinate data (Xi, Yi) (step S9). In this case, since the terminal counter c is 2 and the loop counter i is 3, the second coordinate data (AX2, AY2) after thinning out is the coordinate data (X3,
Y3) is set.

【0026】次いで、ステップS7〜S8の処理を実行
し、ループカウンタiをインクリメントして4とし、再
び式の条件を判断する(ステップS4)。今度は座標
データXi(i=4)は点Tの座標データX4、座標デ
ータAXc(c=2)は点Qの座標データX3であるの
で、両点T,Qは同一端子上にあるため、「X4−X3
<dx」となり、式の条件を満たす。
Next, the processing of steps S7 to S8 is executed, the loop counter i is incremented to 4, and the condition of the equation is determined again (step S4). This time, since the coordinate data Xi (i = 4) is the coordinate data X4 of the point T and the coordinate data AXc (c = 2) is the coordinate data X3 of the point Q, since both points T and Q are on the same terminal, "X4-X3
<Dx ”, which satisfies the condition of the equation.

【0027】そこで、再び式の条件を判断する(ステ
ップS5)。今の場合、座標データYi(i=4)は点
Tの座標データY4であり、座標データAYc(c=
2)は点Qの座標データY3であるので、「Y4>Y
3」となり式の条件を満たさない。
Then, the condition of the equation is judged again (step S5). In this case, the coordinate data Yi (i = 4) is the coordinate data Y4 of the point T, and the coordinate data AYc (c =
Since 2) is the coordinate data Y3 of the point Q, "Y4> Y
3 ", which does not satisfy the condition of the expression.

【0028】次いで、ステップS7〜S8の処理を実行
し、ループカウンタiをインクリメントして5とし、再
び式の条件を判断する(ステップS4)。今度は座標
データXi(i=5)は点Uの座標データX5、座標デ
ータAXc(c=2)は点Qの座標データX3であるの
で、両点U,Qは異なる端子上にあるため、「X5−X
3>dx」となり、式の条件を満たさない。
Next, the processing of steps S7 to S8 is executed, the loop counter i is incremented to 5, and the condition of the equation is judged again (step S4). This time, since the coordinate data Xi (i = 5) is the coordinate data X5 of the point U and the coordinate data AXc (c = 2) is the coordinate data X3 of the point Q, since both points U and Q are on different terminals, "X5-X
3> dx ", which does not satisfy the condition of the equation.

【0029】そこで、次は端子カウンタcをインクリメ
ントして3とし、間引き後のc番目の座標データ(AX
c,AYc)を座標データ(Xi,Yi)とする(ステ
ップS9)。今の場合、端子カウンタcが3、ループカ
ウンタiが5であるので、間引き後の3番目の座標デー
タ(AX3,AY3)として点Uの座標データ(X5,
Y5)を設定する。
Then, next, the terminal counter c is incremented to 3 and the c-th coordinate data (AX
c, AYc) as coordinate data (Xi, Yi) (step S9). In this case, since the terminal counter c is 3, and the loop counter i is 5, the coordinate data (X5, X5,
Y5) is set.

【0030】次いで、ステップS7〜S8の処理を実行
し、ループカウンタiをインクリメントして6とし、再
び式の条件を判断する(ステップS4)。今度はiが
6であるので座標データXi(i=6)は点Rの座標デ
ータX6、座標データAXc(c=3)は点Uの座標デ
ータX5であるので、両点R,Uは同一端子上にあるた
め、「X6−X5<dx」となり、式の条件を満た
す。
Next, the processing of steps S7 to S8 is executed, the loop counter i is incremented to 6, and the condition of the equation is judged again (step S4). Since i is 6, the coordinate data Xi (i = 6) is the coordinate data X6 of the point R, and the coordinate data AXc (c = 3) is the coordinate data X5 of the point U. Since it is on the terminal, “X6−X5 <dx” is satisfied, and the condition of the expression is satisfied.

【0031】そこで、再び式の条件を判断する(ステ
ップS5)。今の場合、座標データYi(i=6)は点
Rの座標データY6であり、座標データAYc(c=
3)は点Uの座標データY5であるので、「Y6<Y
5」となり式の条件を満たすことになる。
Then, the condition of the equation is judged again (step S5). In this case, the coordinate data Yi (i = 6) is the coordinate data Y6 of the point R, and the coordinate data AYc (c =
Since 3) is the coordinate data Y5 of the point U, "Y6 <Y
5 ", which satisfies the condition of the expression.

【0032】そこで、間引き後のc番目の座標データ
(AXc,AYc)を座標データ(Xi,Yi)とする
(ステップS6)。今の場合、端子カウンタcが3、ル
ープカウンタiが6であるので、間引き後の3番目の座
標データ(AX3,AY3)は点Rの座標データ(X
6,Y6)に書き替えられる。
Therefore, the c-th coordinate data (AXc, AYc) after the thinning is set as coordinate data (Xi, Yi) (step S6). In this case, since the terminal counter c is 3 and the loop counter i is 6, the third coordinate data (AX3, AY3) after thinning is the coordinate data (X
6, Y6).

【0033】こうして、ステップS4〜S9の処理を繰
り返し、ステップS7で全ての候補点の処理が終了した
と判断すると、処理を終了する。この結果、サーチ候補
間引き処理後の座標データ(AX1,AY1)〜(AX
m,AYm)としては、座標データ(AX1,AY1)
として点Pの座標データ、座標データ(AX2,AY
2)として点Qの座標データ、座標データ(AX3,A
Y3)として点Rの座標データがそれぞれデータメモリ
10に格納される。しかし、点S,T,Uの各座標デー
タは間引き処理され、データメモリ10に格納されるこ
とはない。
Thus, the processing of steps S4 to S9 is repeated, and if it is determined in step S7 that the processing of all the candidate points has been completed, the processing is terminated. As a result, the coordinate data (AX1, AY1) to (AX
m, AYm) is coordinate data (AX1, AY1)
Coordinate data of the point P, coordinate data (AX2, AY
2) The coordinate data of the point Q and the coordinate data (AX3, A
The coordinate data of the point R is stored in the data memory 10 as Y3). However, each coordinate data of the points S, T, and U is thinned out, and is not stored in the data memory 10.

【0034】CPU6は、こうして得られた間引き処理
後の候補点P,Q,R,…の座標データ(AX1,AY
1),(AX2,AY2),(AX3,AY3),…に
基づいて半導体集積回路ICのリード端子の良否を判定
し、その結果を出力部11bに出力する。
The CPU 6 calculates the coordinate data (AX1, AY) of the candidate points P, Q, R,...
1), (AX2, AY2), (AX3, AY3),..., Determine the quality of the lead terminals of the semiconductor integrated circuit IC, and output the result to the output unit 11b.

【0035】なお、前述の実施の形態では、半導体集積
回路ICの上側リード端子群Raの先端位置を検出する
場合について述べたが、他のリード端子群Rb〜Rdを
検査する場合は、それぞれのリード端子用のモデル画像
によって撮像画像をサーチするようにすればよい。
In the above-described embodiment, the case has been described in which the tip position of the upper lead terminal group Ra of the semiconductor integrated circuit IC is detected. What is necessary is just to search a picked-up image by the model image for lead terminals.

【0036】ただし、左側リード端子群Rcおよび右側
リード端子群Rdを検査する場合には、ステップS4で
y軸方向のリード端子間のピッチ幅を判定する必要があ
り、ステップS5,S6ではx軸方向の判定を行う必要
がある。
However, when inspecting the left lead terminal group Rc and the right lead terminal group Rd, it is necessary to determine the pitch width between the lead terminals in the y-axis direction in step S4, and the x-axis in steps S5 and S6. It is necessary to determine the direction.

【0037】[0037]

【発明の効果】本発明によれば、サーチ処理部における
テンプレート・マッチングによって候補点を検出し、そ
の中から所定の条件を満たす候補点のみを抽出して他の
候補点を間引いているので、候補点の検出精度を高め、
対象物体の良否の判定精度を向上させることができる。
According to the present invention, candidate points are detected by template matching in the search processing unit, and only candidate points satisfying a predetermined condition are extracted from the candidate points and other candidate points are thinned out. Increase the accuracy of candidate point detection,
The accuracy of determining the quality of the target object can be improved.

【0038】また、本発明によれば、隣接する候補点の
間隔が閾値以下の場合、つまりリード端子間のピッチ幅
が閾値以下の場合は、端子の長手方向先端側の候補点を
抽出し、他の候補点を間引くようにしているので、端子
の先端位置を精度よく検出することができる。
According to the present invention, when the interval between adjacent candidate points is equal to or smaller than a threshold value, that is, when the pitch width between lead terminals is equal to or smaller than the threshold value, a candidate point on the terminal side in the longitudinal direction of the terminal is extracted. Since other candidate points are thinned out, it is possible to accurately detect the position of the tip of the terminal.

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

【図1】本発明の一実施の形態を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の動作を説明するためのタイミングチャ
ートである。
FIG. 2 is a timing chart for explaining the operation of the present invention.

【図3】(a)は検査対象となる半導体集積回路の平面
図を示し、(b)はその側断面図を示す。
3A is a plan view of a semiconductor integrated circuit to be inspected, and FIG. 3B is a side sectional view thereof.

【図4】半導体集積回路の上側リード端子群の候補点間
引き処理を説明するための説明図である。
FIG. 4 is an explanatory diagram for explaining a candidate point thinning process of an upper lead terminal group of the semiconductor integrated circuit;

【符号の説明】[Explanation of symbols]

1 ビデオカメラ 2 A/D変換部 3 画像メモリ 4 D/A変換部 5 モニタ画面 6 CPU(中央処理装置) 7 システムバス 8 プログラムメモリ(ROM) 9 モデルメモリ(RAM) 10 データメモリ(RAM) 11 入出力インターフェイス(I/O) 12 サーチ処理部 13 サーチ候補間引き処理部 IC 半導体集積回路 Ra〜Rd リード端子群 Reference Signs List 1 video camera 2 A / D conversion unit 3 image memory 4 D / A conversion unit 5 monitor screen 6 CPU (central processing unit) 7 system bus 8 program memory (ROM) 9 model memory (RAM) 10 data memory (RAM) 11 Input / output interface (I / O) 12 Search processing unit 13 Search candidate thinning processing unit IC Semiconductor integrated circuits Ra to Rd Lead terminal group

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 対象物体の画像を記憶する画像メモリ
と、 前記対象物体の画像を基準画像でサーチして両画像の一
致点を候補点として検出するサーチ処理部と、 隣接する候補点間の間隔が閾値以下の場合は所定の条件
を満たす一方の候補点のみを抽出し他方の候補点を間引
くサーチ候補間引き処理部と、 前記抽出した候補点に基づいて前記対象物体の良否を判
定する判定手段と、を備えることを特徴とする画像検査
装置。
An image memory for storing an image of a target object; a search processing unit for searching for an image of the target object with a reference image to detect a coincidence point between the two images as a candidate point; If the interval is equal to or less than the threshold, a search candidate thinning processing unit that extracts only one candidate point that satisfies a predetermined condition and thins out the other candidate point, and determines whether the target object is good or bad based on the extracted candidate point. Means for inspecting an image.
【請求項2】 前記対象物体は複数の帯状またはピン状
端子が配列された電子部品であり、前記サーチ処理部は
前記端子の先端位置を候補点として検出し、前記サーチ
候補間引き処理部は隣接する候補点間の間隔が閾値以下
の場合は前記端子の長手方向先端側の候補点を抽出し他
の候補点を間引くことを特徴とする請求項1記載の画像
検査装置。
2. The target object is an electronic component in which a plurality of band-shaped or pin-shaped terminals are arranged. The search processing unit detects a tip position of the terminal as a candidate point, and the search candidate thinning processing unit is an adjacent component. 2. The image inspection apparatus according to claim 1, wherein when the interval between the candidate points to be executed is equal to or smaller than a threshold value, a candidate point on the distal end side in the longitudinal direction of the terminal is extracted and other candidate points are thinned out.
JP8322146A 1996-11-19 1996-11-19 Image inspection apparatus Pending JPH10148516A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8322146A JPH10148516A (en) 1996-11-19 1996-11-19 Image inspection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8322146A JPH10148516A (en) 1996-11-19 1996-11-19 Image inspection apparatus

Publications (1)

Publication Number Publication Date
JPH10148516A true JPH10148516A (en) 1998-06-02

Family

ID=18140449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8322146A Pending JPH10148516A (en) 1996-11-19 1996-11-19 Image inspection apparatus

Country Status (1)

Country Link
JP (1) JPH10148516A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008076184A (en) * 2006-09-20 2008-04-03 Toshiba Corp Mounting state inspection method for electronic component, mounting state inspection device for electronic component, and manufacturing method of electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008076184A (en) * 2006-09-20 2008-04-03 Toshiba Corp Mounting state inspection method for electronic component, mounting state inspection device for electronic component, and manufacturing method of electronic device

Similar Documents

Publication Publication Date Title
JP2003057019A (en) Pattern inspection device and inspection method using the same
JP2018036226A (en) Image processing program, image processing method, and image processing device
JP5264457B2 (en) Object detection device
JPH07220026A (en) Method and device for picture processing
JPH08136235A (en) Method for detecting pattern
JPH10148516A (en) Image inspection apparatus
WO2000006997A1 (en) Image processor
JPH08125844A (en) Image processing method and image processing system using the method
JP2003086919A (en) Pattern inspection device
JP3427230B2 (en) Image processing device
JPH07168941A (en) Picture processor
JPH09178427A (en) Image position measuring method
KR100227421B1 (en) Insert inspection device and method of printed board
JPH02230381A (en) Work inspecting device
CN117571721B (en) Method and device for detecting surface defects of circuit board bonding pad and storage medium
JPS58129888A (en) Position detector
JP3111434B2 (en) Image processing device
JPH08193958A (en) Device and method for substrate inspection
JP2003035523A (en) Method and device for parts shape testing
JPH10141930A (en) Method and device for inspecting pattern
JPH05113315A (en) Detecting method for center position of circular image data
JPH06300524A (en) Position detecting device for recognition mark
JPH0624032B2 (en) Image inspection equipment
JP3348938B2 (en) Position recognition device
JPH1183435A (en) Image processing device and its measurement item inspection method