JP2000163579A - Appearance inspection method and device - Google Patents

Appearance inspection method and device

Info

Publication number
JP2000163579A
JP2000163579A JP10335377A JP33537798A JP2000163579A JP 2000163579 A JP2000163579 A JP 2000163579A JP 10335377 A JP10335377 A JP 10335377A JP 33537798 A JP33537798 A JP 33537798A JP 2000163579 A JP2000163579 A JP 2000163579A
Authority
JP
Japan
Prior art keywords
inspection
inspection area
edge
area
pixel
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
JP10335377A
Other languages
Japanese (ja)
Inventor
Kazuhisa Goto
和久 後藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP10335377A priority Critical patent/JP2000163579A/en
Publication of JP2000163579A publication Critical patent/JP2000163579A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain the appearance inspection with the decision approximate to the human decision by setting an initial check area in an area to be inspected, turning the initial inspection area into a temporary inspection area and then into a check area via the specific processing and processing the image data included in the inspection area to decide the quality of an inspection object. SOLUTION: An initial inspection area setting part 6 sets an initial inspection area in an area to be inspected. An edge stroke detection part 7 scans the stroke of every pixel that is formed toward the outline of the inspection object among the pixels forming every side of the initial inspection area and detects the edge pixels of the inspection object. A temporary inspection area production part 8 connects the edge elements together on every side and decides a regression expression of every side as a temporary inspection area. An inspection area production part 9 connects together the outside edge pixels of the temporary inspection area on every side among the edge pixels and decides again every regression expression as the inspection area. A decision part 11 processes the image data included in the inspection area and decides the quality of the inspection object.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えばICパツケ
ージやICチップなどの表面に汚れ、傷、欠け、へこみ
等が無いか否かを調べる外観検査方法およびそれを用い
た外観検査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an appearance inspection method and an appearance inspection apparatus for inspecting the surface of, for example, an IC package or an IC chip for dirt, scratches, chips, dents and the like.

【0002】[0002]

【従来の技術】図13はICパッケージの外観検査装置
の一般的な構成図である。
2. Description of the Related Art FIG. 13 is a general block diagram of an appearance inspection apparatus for an IC package.

【0003】検査対象のICパッケージ31の上方に
は、リング状の照明装置32及びTVカメラ33が配置
され、ICパッケージ3lを上方から照明することで、
欠けや微小な未充填の欠陥部分をICパッケージ3lの
明るさよりも暗く見えるようにしてTVカメラ33によ
り撮像する。
A ring-shaped illumination device 32 and a TV camera 33 are arranged above an IC package 31 to be inspected, and illuminate the IC package 3l from above, whereby
Chips and minute unfilled defective portions are imaged by the TV camera 33 such that they appear darker than the brightness of the IC package 3l.

【0004】このTVカメラ33から出力される映像信
号は、ディジタル化されて画像データとして画像メモリ
34に格納され、画像データ処理装置35で画像処理に
よる欠陥抽出を行い、ICパッケージ31の良品又は不
良品を判定する。
The video signal output from the TV camera 33 is digitized and stored as image data in an image memory 34. The image data processing unit 35 extracts a defect by image processing, and determines whether or not the IC package 31 is good or bad. Judge good products.

【0005】この画像データ処理装置35で行われる外
観検査方法を図14で示すフローチャートと、図15で
示す処理ステップ毎の各処理画像にもとづいて説明す
る。
The appearance inspection method performed by the image data processing device 35 will be described with reference to a flowchart shown in FIG. 14 and each processing image for each processing step shown in FIG.

【0006】TVカメラ33は、ICパッケージ31を
撮像してその映像信号を出力する。この映像信号は、ス
テップ#31におい図15(a)のような入力画像がデ
ジタルデータとして取り込まれる。この例はテープキャ
リア上にICチップ31が装着されているTCPパツケ
ージの例である。
[0006] The TV camera 33 takes an image of the IC package 31 and outputs a video signal thereof. In this video signal, an input image as shown in FIG. 15A is taken in as digital data in step # 31. This is an example of a TCP package in which an IC chip 31 is mounted on a tape carrier.

【0007】検査の対象は、領域36のICチップ31
の部分で、検査領域を設定してその領域内に存在する欠
け39、41やくぼみ40を検出する。なお、位置合わ
せのためにテンプレート画像との合わせ部37が設定さ
れている。
The inspection target is the IC chip 31 in the area 36.
In the part, the inspection area is set, and the chips 39 and 41 and the depression 40 existing in the inspection area are detected. It should be noted that a matching section 37 with the template image is set for positioning.

【0008】ステップ#32において図15(b)のよ
うなテンプレート画像42をあらかじめ基準画像から作
成しておき、このテンプレート画像42が入力画像のど
の位置にあるかを求める処理を行なう。これは、ICチ
ップ31の検査対象の領域36を特定するためである。
次に検査対象の領域36の特定後、領域36内に存在す
る欠け39,41やくぼみ40を見つけるために上方か
らの照明を行なう。照明を受けたICチップ31の表面
は輝度が高く(明るく)、欠けやくぼみの部分は輝度が
低く(暗く)なる。その状態をTVカメラ33で画像を
入力し、入力画像に対してマッチング処理を行なうと、
入力画像中の検査対象の位置や姿勢が毎回変動しても適
正値に補正することができる。次にステップ#33で検
査対象領域の設定を行う。入力画像内にはテープキャリ
アのパターンなど背景画像が存在するが、検査対象のI
Cチップ31の面だけに処理範囲を限定する。
In step # 32, a template image 42 as shown in FIG. 15 (b) is created in advance from the reference image, and processing is performed to determine the position of the template image 42 in the input image. This is for specifying the inspection target area 36 of the IC chip 31.
Next, after the area 36 to be inspected is specified, illumination from above is performed to find the chips 39 and 41 and the depression 40 existing in the area 36. The surface of the illuminated IC chip 31 has a high brightness (bright), and a chipped or hollow portion has a low brightness (dark). When an image is input by the TV camera 33 and the matching process is performed on the input image,
Even if the position or orientation of the inspection target in the input image changes every time, it can be corrected to an appropriate value. Next, an inspection target area is set in step # 33. A background image such as a tape carrier pattern exists in the input image.
The processing range is limited to only the surface of the C chip 31.

【0009】その一つの方法としては予め図15(c)
のようなマスク画像を用意しておき、検査対象の領域4
4の値を「1」、その他43の値を「0」とし、マスク
画像の値が1の範囲はそのままで、値が0の範囲を最高
輝度(白、通常255)にすることで検査対象の領域の
みを取り出す。ただし、検査対象ぎりぎりにマスク画像
を作成しておくと、微妙な位置合わせの精度、形状の変
動、照明の変動などにより図15(d)のように周辺部
分で背景パターン45、46、47などが残ってしまう
場合も発生する。
As one of the methods, FIG.
A mask image like that shown in FIG.
The value of 4 is "1", the value of other 43 is "0", and the range of the mask image where the value is 1 remains as it is, and the range where the value is 0 is the highest luminance (white, usually 255) to be inspected. Extract only the area of However, if a mask image is created just before the inspection target, background patterns 45, 46, 47, etc. are formed in the peripheral portion as shown in FIG. 15D due to delicate alignment accuracy, shape variation, illumination variation, and the like. May also remain.

【0010】そのため、通常は数画素だけ本来の検査領
域より小さめのマスク画像を作成し、図15(e)のよ
うな画像を得ている。ただしこの場合は、欠け39とく
ぼみ40だけしか検出できない。
Therefore, usually, a mask image smaller than the original inspection area by only a few pixels is created to obtain an image as shown in FIG. However, in this case, only the chip 39 and the depression 40 can be detected.

【0011】さらに、この画像をステップ#34で2値
化処理する。それにより、図15(f)のような2値化
画像を得ている。ステップ#34では図6に示すように
検査領域の輝度ヒストグラムで最頻値や平均値を基準に
して、例えば下記で定める式によってしきい値tを決定
し、それよりも小さな画素を1、それ以外を0とするこ
とで2値化画像を得ている。
Further, this image is binarized in step # 34. Thus, a binarized image as shown in FIG. In step # 34, as shown in FIG. 6, the threshold value t is determined based on the mode or average value in the luminance histogram of the inspection area by, for example, the following equation, and pixels smaller than the threshold value are set to 1, By setting the other values to 0, a binarized image is obtained.

【0012】 しきい値t=チップ面の輝度平均値×パラメータ しきい値t=チップ面の輝度最頻値×パラメータ そしてステップ#35では、この2値画像で白(値が
1)として残っている画素の合計値等で良品か不良品か
の判別を行なっている。
Threshold value t = average luminance value of chip surface × parameter Threshold value t = mode of luminance value of chip surface × parameter In step # 35, white (value 1) remains in this binary image. Whether the pixel is good or defective is determined based on the total value of the pixels.

【0013】[0013]

【発明が解決しようとする課題】上述のように従来の方
法では、予め決まった大きさと位置のマスク画像を用意
し検査エリアを設定しているが、検査装置の搬送系の位
置決め精度や、検査対象の形状、姿勢のばらつき、照明
のばらつき等で、検査領域の境界付近に検査領域外の微
少領域が残り虚報(本来欠陥でないものを欠陥と判断し
てしまう)になる問題が生じる。
As described above, in the conventional method, a mask image having a predetermined size and position is prepared and an inspection area is set. There is a problem that a minute area outside the inspection area remains near the boundary of the inspection area due to variations in the shape, posture, illumination, and the like of the target, resulting in false information (a non-defective defect is determined to be a defect).

【0014】そのためそれを回避するために本来の検査
領域よりも数画素小さい領域をマスク画像として用意せ
ざるを得ない。しかしながら、その場合は図15(a)
(e)に示すように、検査領域内部の欠陥40では問題
ないが、特に境界付近の欠陥39,41では問題が生じ
る。つまり、欠陥39では大きさが本来の欠陥の大きさ
よりも小さいものとして認識され、また、欠陥41では
まったく見逃されてしまうことになり、人間であれば良
品と判定するところを不良品と判定したり、又は逆に人
間であれば不良品として判定するとこらを良品と判定し
てしまう。
Therefore, in order to avoid this, a region smaller than the original inspection region by several pixels must be prepared as a mask image. However, in that case, FIG.
As shown in (e), there is no problem with the defect 40 inside the inspection area, but there is a problem especially with the defects 39 and 41 near the boundary. In other words, the defect 39 is recognized as having a size smaller than the original size of the defect, and the defect 41 is completely overlooked. Or, conversely, if it is a human, if it is determined to be defective, it is determined to be good.

【0015】そこで本発明は、被検査体の外観検査を人
間の判定に近い判定をすることができる外観検査方法及
びその装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an appearance inspection method and apparatus capable of making an appearance inspection of an object to be inspected close to human judgment.

【0016】[0016]

【課題を解決するための手段】請求項1の発明による手
段によれば、検査対象の画像を取り込んで外観検査を行
う外観検査方法において、検査対象の領域の内側に初期
検査エリアを設定する第1の工程と、この第1の工程で
設定された前記初期検査エリアの各辺を、この各辺を形
成する画素から前記検査対象の外形方向へ形成された画
素毎の点列を走査し検査対象のエッジの画素を検出する
第2の工程と、この第2の工程で求めた前記エッジの画
素を前記各辺毎に接続処理し、それぞれの辺の回帰式を
求めて暫定的検査領域とする第3の工程と前記第2の工
程で求めたエッジの画素のうち、第3の工程で求めた前
記暫定的検査領域の外側のエッジの画素を前記各辺毎に
接続処理して、それぞれ再度回帰式を求めて検査領域と
する第4の工程と、この第4の工程で設定された前記検
査領域内の画像データを画像処理して検査対象の良品ま
たは不良品を判断する第5の工程とを有することを特徴
とする外観検査方法である。
According to a first aspect of the present invention, there is provided a visual inspection method for capturing an image of an inspection object and performing an external inspection, wherein an initial inspection area is set inside an area of the inspection object. Step 1 and inspection of each side of the initial inspection area set in the first step by scanning a point sequence for each pixel formed in the outer direction of the inspection target from a pixel forming each side. A second step of detecting the pixel of the target edge, and connecting the pixel of the edge obtained in the second step for each of the sides, obtaining a regression equation for each side, Out of the pixels of the edge obtained in the third step and the second step to be processed, the pixels of the edge outside the tentative inspection area obtained in the third step are connected to each of the sides, and A fourth step of obtaining a regression equation again and setting it as an inspection area; A visual inspection method characterized by having a fifth step of determining inspected good or defective image data of the inspection area set in the fourth step the image processing to.

【0017】また請求項2の発明による手段によれば、
検査対象の画像を取り込んで外観検査を行う外観検査方
法において、検査対象の領域の外側に初期検査エリアを
設定する第1の工程と、この第1の工程で設定された前
記初期検査エリアの各辺を、この各辺を形成する画素か
ら前記検査対象の外形方向へ形成された画素毎の点列を
走査し検査対象のエッジの画素を検出する第2の工程
と、この第2の工程で求めた前記エッジの画素を前記各
辺毎に接続処理し、それぞれの辺の回帰式を求めて暫定
的検査領域とする第3の工程と前記第2の工程で求めた
エッジの画素のうち、第3の工程で求めた前記暫定的検
査領域の内側のエッジの画素を前記各辺毎に接続処理し
て、それぞれ再度回帰式を求めて検査領域とする第4の
工程と、この第4の工程で設定された前記検査領域内の
画像データを画像処理して検査対象の良品または不良品
を判断する第5の工程とを有することを特徴とする外観
検査方法である。
According to the second aspect of the present invention,
In the appearance inspection method of performing an appearance inspection by capturing an image of an inspection object, a first step of setting an initial inspection area outside a region of the inspection object, and each of the initial inspection area set in the first step A second step of scanning a point sequence for each pixel formed in a contour direction of the inspection target from a pixel forming each side in the outer direction of the inspection target to detect a pixel at an edge of the inspection target; Among the pixels of the edge obtained in the third step and the second step which are obtained by performing a connection process on the obtained edge pixels for each of the sides and obtaining a regression equation for each side and setting the provisional inspection area, A fourth step of connecting pixels on the inner edge of the tentative inspection area obtained in the third step for each of the sides and obtaining a regression equation again to obtain an inspection area; Image data in the inspection area set in the step A visual inspection method characterized by having a fifth step of determining inspected good or defective by.

【0018】また請求項3の発明による手段によれば、
前記検査対象の外形方向へ形成された画素毎の点列のエ
ッジは、点列した画素の輝度が予め設定されているしき
い値以下の最後の画素とすることを特徴とする外観検査
方法である。
According to the third aspect of the present invention,
The appearance inspection method is characterized in that the edge of the dot sequence for each pixel formed in the outer direction of the inspection target is the last pixel whose luminance of the dot sequence pixel is equal to or less than a preset threshold value. is there.

【0019】また請求項4の発明による手段によれば、
前記しきい値は、予め設定されている固定値であること
を特徴とする外観検査方法である。
According to the means of the invention of claim 4,
The threshold value is a preset fixed value, and is an appearance inspection method.

【0020】また請求項5の発明による手段によれば、
前記しきい値は、チップ面の輝度平均値とパラメータと
の積で算出した値であることを特徴とする外観検査方法
である。
According to the fifth aspect of the present invention,
The appearance inspection method is characterized in that the threshold value is a value calculated by a product of an average luminance value of a chip surface and a parameter.

【0021】また請求項6の発明による手段によれば、
前記しきい値は、チップ面の輝度最頻値とパラメータと
の積で算出した値であることを特徴とする外観検査方法
である。
According to the means of the invention of claim 6,
The appearance inspection method is characterized in that the threshold value is a value calculated by a product of a mode value of a luminance of a chip surface and a parameter.

【0022】また請求項7の発明による手段によれば、
検査対象を撮像する撮像手段と、この撮像手段により得
られた画像データに対して検査対象領域の内側に初期検
査エリアを設定する初期検査エリア設定手段と、この初
期検査エリア設定手段が設定した初期検査エリアの各辺
から、この各辺を形成する画素から前記検査対象の外形
方向へ形成された画素毎の点列を走査し検査対象のエッ
ジの画素を検出するエッジ点列検出手段と、このエッジ
点列検出手段で検出した前記エッジの画素を前記各辺毎
に接続処理し、それぞれの辺の回帰式を求めて暫定的検
査領域を作成する暫定検査領域作成手段と、前記エツジ
点列検出手段により求めたエッジの画素のうち、前記暫
定的検査領域の外側のエッジの画素を前記各辺毎に接続
処理して、それぞれ再度回帰式を作成する検査領域作成
手段と、この検査領域作成手段が設定した検査領域に対
して画像処理を行い検査対象の良品または不良品を判定
する手段と、を具備したことを特徴とする外観検査装置
である。
According to the means of the invention of claim 7,
Imaging means for imaging the inspection object, initial inspection area setting means for setting an initial inspection area inside the inspection object area for image data obtained by the imaging means, and initial setting by the initial inspection area setting means From each side of the inspection area, an edge point sequence detecting means for scanning a point sequence for each pixel formed in a contour direction of the inspection target from a pixel forming each side and detecting a pixel of an edge of the inspection target; Provisional inspection area creation means for connecting pixels of the edge detected by edge point sequence detection means for each of the sides and obtaining a regression equation for each side to create a provisional inspection area; and detecting the edge point sequence Inspection area creating means for connecting the pixels of the edge outside the temporary inspection area out of the pixels of the edge obtained by the means for each of the sides and creating a regression equation again, Frequency creating unit is an external inspection apparatus characterized by comprising means for determining the inspected non-defective or defective performs image processing, the the inspection area is set.

【0023】また請求項8の発明による手段によれば、
検査対象を撮像する撮像手段と、この撮像手段により得
られた画像データに対して検査対象領域の外側に初期検
査エリアを設定する初期検査エリア設定手段と、この初
期検査エリア設定手段が設定した初期検査エリアの各辺
から、この各辺を形成する画素から前記検査対象の外形
方向へ形成された画素毎の点列を走査し検査対象のエッ
ジの画素を検出するエッジ点列検出手段と、このエッジ
点列検出手段で検出した前記エッジの画素を前記各辺毎
に接続処理し、それぞれの辺の回帰式を求めて暫定的検
査領域を作成する暫定検査領域作成手段と、前記エツジ
点列検出手段により求めたエッジの画素のうち、前記暫
定的検査領域の内側のエッジの画素を前記各辺毎に接続
処理して、それぞれ再度回帰式を作成する検査領域作成
手段と、この検査領域作成手段が設定した検査領域に対
して画像処理を行い検査対象の良品または不良品を判定
する手段とを具備したことを特徴とする外観検査装置で
ある。
According to the means of the invention of claim 8,
Imaging means for imaging the inspection object, initial inspection area setting means for setting an initial inspection area outside the inspection area for image data obtained by the imaging means, and initial setting by the initial inspection area setting means From each side of the inspection area, an edge point sequence detecting means for scanning a point sequence for each pixel formed in a contour direction of the inspection target from a pixel forming each side and detecting a pixel of an edge of the inspection target; Provisional inspection area creation means for connecting pixels of the edge detected by edge point sequence detection means for each of the sides and obtaining a regression equation for each side to create a provisional inspection area; and detecting the edge point sequence Inspection area creation means for connecting the pixels of the edge inside the temporary inspection area among the pixels of the edge obtained by the means for each of the sides, and creating regression equations again, respectively, Frequency creating unit is an external inspection apparatus characterized by comprising a means for determining the inspected non-defective or defective performs image processing on the inspection area is set.

【0024】[0024]

【発明の実施の形態】以下、本発明の第1の実施の形態
について図面を参照して説明する。図1はICチップの
外観検査装置の構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of an IC chip appearance inspection apparatus.

【0025】検査対象はテープキャリア上に装着された
ICチップ1である。外観検査装置は検査対象であるI
Cチップ1の上方から照明するリング状の照明装置2
と、さらにその上方から撮像するTVカメラ3と、この
TVカメラ3で撮像された画像をデジタル画像データと
して格納する画像メモリ4と、画像メモリ4に格納され
た画像データを読み取り画像処理を行なってICチップ
1の表面上に欠陥があるか否かを判定する画像データ処
理装置5等で構成されている。なお、TVカメラ3の画
像出力端子には画像メモリ4が接続しており、この画像
メモリ4に対して画像データ処理装置5が読み出し自在
に機能するよう構成されている。
The inspection target is the IC chip 1 mounted on the tape carrier. The visual inspection device is the object I to be inspected.
Ring-shaped illumination device 2 for illuminating from above C chip 1
A TV camera 3 for capturing an image from above, an image memory 4 for storing an image captured by the TV camera 3 as digital image data, and image data stored in the image memory 4 for image processing. It comprises an image data processing device 5 for determining whether or not the surface of the IC chip 1 has a defect. Note that an image memory 4 is connected to an image output terminal of the TV camera 3, and the image data processing device 5 functions so as to be freely readable from the image memory 4.

【0026】この画像データ処理装置5は、初期検査エ
リア設定部6、エッジ点列検出部7、暫定検査領域作成
部8、検査領域作成部9、2値化処理部10、判定部1
1を具備している。
The image data processing apparatus 5 includes an initial inspection area setting section 6, an edge point sequence detecting section 7, a provisional inspection area creating section 8, an inspection area creating section 9, a binarization processing section 10, a determining section 1
1 is provided.

【0027】初期検査エリア設定部6は、図2に示すよ
うに検査対象であるICチップ1の表面に、ICチップ
1の外形12よりも内側に矩形状の初期検査エリア13
を設定する機能を有している。それは、例えば、図15
(b)のようなテンプレート画像42をあらかじめ基準
画像から作成しておき、このテンプレート画像42が入
力画像のどの位置にあるかを求める処理を行ない位置を
調整する。
As shown in FIG. 2, the initial inspection area setting section 6 places a rectangular initial inspection area 13 inside the outer shape 12 of the IC chip 1 on the surface of the IC chip 1 to be inspected.
Has the function of setting It can be seen, for example, in FIG.
A template image 42 as shown in (b) is created in advance from the reference image, and the position of this template image 42 in the input image is determined by adjusting the position.

【0028】エッジ点列検出部7は、初期検査エリア設
定部6で設定した図2で示す初期検査エリア13の矩形
状の各辺からICチップ1の外形12方向に1画素毎に
走査していくことで、ICチップ1の外形27の画素の
点列を求める機能を有している。
The edge point sequence detecting section 7 scans the rectangular area of the initial inspection area 13 shown in FIG. 2 set by the initial inspection area setting section 6 in the direction of the outer shape 12 of the IC chip 1 pixel by pixel. Thus, a function of obtaining a dot sequence of pixels of the outer shape 27 of the IC chip 1 is provided.

【0029】すなわち、図3は図2で示す領域Aの部分
を拡大した詳細図で、初期検査エリア13の矩形状の一
辺に関してこのエッジの検出機能を示したものである。
That is, FIG. 3 is an enlarged detail view of the area A shown in FIG. 2 and shows the function of detecting this edge with respect to one rectangular side of the initial inspection area 13.

【0030】初期検査エリア13の上の端の画素からI
Cチップ1の外形12の方向へ1画素ずつ走査し、各画
素毎に輝度がしきい値t以下か否かを調べる。対象画素
がしきい値t以上の場合は、更に順次、次の画素を調べ
しきい値t以上でない画素が存在するまで1画素ずつ調
べていく。対象画素がしきい値t以下になった場合。そ
の画素の手前の画素である最後のしきい値t以下の画素
をエッジと判断する。以後、初期検査エリア2の次の画
素(例えばn画素隣の画素)を同様の方法で順次調べ
る。
From the pixel at the upper end of the initial inspection area 13
The pixel is scanned one pixel at a time in the direction of the outer shape 12 of the C chip 1, and whether or not the luminance is equal to or smaller than the threshold value t is checked for each pixel. When the target pixel is equal to or larger than the threshold value t, the next pixel is checked sequentially, and the pixels are checked one by one until there is a pixel which is not larger than the threshold value t. When the target pixel falls below the threshold value t. The pixel before the pixel, that is, the pixel that is equal to or smaller than the last threshold value t, is determined to be an edge. Thereafter, the next pixel in the initial inspection area 2 (for example, the pixel next to n pixels) is sequentially examined by the same method.

【0031】図4は図3のB−C断面に沿って輝度分布
の変化とエツジ検出の条件を示した説明図である。すな
わち、初期検査エリア13の辺を形成する画素から1画
素ずつ走査していったところの画素がしきい値t以下で
ある場合に、その画素の場所をエッジの点列に加え、初
期検査エリアのn画素隣り(nは任意の整数で、小さい
値ならばICチップ1のエッジを形成する線が精密にな
るが時間を要する。一方、大きい値であればICチップ
のエッジを形成する線が粗くなるが短時間で行なえる)
の位置からも同様に走査していき、エッジ点列を検出し
ていく。このようにして、順次、初期検査エリア13の
辺に沿って点列を形成してエッジを検出する。この検出
された各エッジを結べばICチップ1のエッジが検出で
きる。
FIG. 4 is an explanatory diagram showing a change in luminance distribution and conditions for edge detection along the section B-C in FIG. That is, when the pixels scanned one by one from the pixels forming the sides of the initial inspection area 13 are equal to or smaller than the threshold value t, the location of the pixel is added to the point sequence of the edge, and the initial inspection area is added. (N is an arbitrary integer, and if the value is small, the line forming the edge of the IC chip 1 becomes precise but takes time. On the other hand, if the value is large, the line forming the edge of the IC chip becomes (It can be done in a short time, though it is rough)
The scanning is performed in the same manner from the position of, and an edge point sequence is detected. In this manner, a sequence of points is sequentially formed along the sides of the initial inspection area 13 to detect edges. The edges of the IC chip 1 can be detected by connecting the detected edges.

【0032】初期検査エリア13の上の辺が終われば、
右、下、左の辺も同様に順次行こない、初期検査エリア
13全体のエッジを検出する。
When the upper side of the initial inspection area 13 ends,
Similarly, the right, bottom, and left sides are sequentially performed, and the edges of the entire initial inspection area 13 are detected.

【0033】なお、しきい値tは予め定めた固定値を用
いてもよいし、または次式で算出したいずれかの値を用
いてもよい。
The threshold value t may be a predetermined fixed value or may be any value calculated by the following equation.

【0034】 しきい値t=チップ面の輝度平均値×パラメータ しきい値t=チップ面の輝度最頻値×パラメータ また、初期検査エリア13を形成する画素を、外形12
方向へ1列の画素毎に走査していったところの、画素が
しきい値t以下か否かの1画素でエッジを判断するので
はなく、初期検査エリア13を形成する画素の隣の数列
の画素の平均値をしきい値tと比較することでより安定
したエッジを検出することもできる。
Threshold value t = average luminance value of chip surface × parameter Threshold value t = mode value of luminance value of chip surface × parameter
Instead of judging the edge by one pixel of whether or not the pixel is equal to or less than the threshold value t, which has been scanned for each column of pixels in the direction, several rows next to the pixel forming the initial inspection area 13 By comparing the average value of the pixels with the threshold value t, a more stable edge can be detected.

【0035】暫定検査領域作成部8は、エッジ点列検出
部7で得られたエッジの点列から回帰式により暫定的な
検査領域を決定する機能を有している。図5(a)は初
期検査エリア13上の辺に関して、エッジ点列から回帰
直線hlを求めている例である。回帰直線は aX+bY+c=0 とおき、最小二乗法で係数、a,b,cを決定する。初
期検出エリア13の右、下、左の辺に関しても同様にそ
れぞれ、h2、h3、h4の回帰直線を求めれば、それ
らに囲まれた領域として暫定検査領域が得られる。
The provisional inspection area creation section 8 has a function of determining a provisional inspection area from the point sequence of edges obtained by the edge point sequence detection section 7 using a regression equation. FIG. 5A shows an example in which a regression line hl is obtained from a sequence of edge points for a side on the initial inspection area 13. The regression line is set as aX + bY + c = 0, and the coefficients a, b, and c are determined by the least squares method. Similarly, if the regression lines of h2, h3, and h4 are obtained for the right, lower, and left sides of the initial detection area 13, respectively, a provisional inspection area is obtained as an area surrounded by the regression lines.

【0036】検査領域作成部9は、エッジ点列検出部7
で得られたエッジ点列のうち、図5(a)で示すように
暫定検査領域作成部8で作成された領域h1よりも外側
のエッジ点列pだけを用いて回帰式により最終的な検査
領域を決定する機能を有している。
The inspection area creation unit 9 includes an edge point sequence detection unit 7
5A, a final inspection is performed by a regression equation using only the edge point sequence p outside the region h1 created by the provisional inspection region creating unit 8 as shown in FIG. It has a function of determining an area.

【0037】図5(b)は初期検査エリア13上の辺に
関して、図5(a)で示す暫定的な検査領域h1よりも
外側のエッジ点列(黒丸q)に限定し回帰直線H1を求
めている例である。回帰直線は前記と同様に a´X+b´Y+c´=0 とおき、最小二乗法で係数a´、b´、c´を決定する
事で求める。初期検出エリア13の右、下、左の辺に関
しても同様にそれぞれ、H2、H3、H4の回帰直線を
求めれば、図5(c)に示すように、それら(H1、H
2、H3、H4)に囲まれた領域として検査領域が得ら
れる。
FIG. 5B shows a regression line H1 obtained by limiting the side on the initial inspection area 13 to an edge point sequence (black circle q) outside the temporary inspection area h1 shown in FIG. 5A. This is an example. The regression line is determined by setting a'X + b'Y + c '= 0 as in the above and determining the coefficients a', b ', and c' by the least squares method. Similarly, when the regression lines of H2, H3, and H4 are obtained for the right, lower, and left sides of the initial detection area 13, respectively, as shown in FIG.
An inspection area is obtained as an area surrounded by (2, H3, H4).

【0038】2値化処理部10では、例えば図6に示す
ように検査領域の輝度ヒストグラムで最頻値や平均値を
基準にして、下記で定める式によってしきい値を決定
し、いずれかのしきい値を用いて、それよりも小さな画
素を1、それ以外を0とすることで2値画像が得られ
る。
In the binarization processing section 10, for example, as shown in FIG. 6, the threshold value is determined by the following formula based on the mode or average value in the luminance histogram of the inspection area. A binary image can be obtained by using a threshold value and setting pixels smaller than 1 to 0 and other pixels to 0.

【0039】 しきい値t=チップ面の輝度平均値×パラメータ しきい値t=チップ面の輝度最頻値×パラメータ そして判定部で、この2値画像で白(値が1)として残
っている画素の合計値等で良品か不良品かの判別を行な
う。
Threshold value t = average luminance value of chip surface × parameter Threshold value t = mode of luminance value of chip surface × parameter Then, the determination unit remains white (value 1) in this binary image. It is determined whether the product is good or defective based on the total value of the pixels.

【0040】次に、これらのように構成された外観検査
装置の作用については図7および図8に示すフローチャ
ートにもとづいて説明する。なお、図7は本発明の実施
の形態の一例を示す外観検査方法全体のフローチャート
で、図8はエッジ点列検出の詳細フローチャートであ
る。
Next, the operation of the visual inspection apparatus thus configured will be described with reference to the flowcharts shown in FIGS. FIG. 7 is a flowchart of the entire appearance inspection method showing an example of the embodiment of the present invention, and FIG. 8 is a detailed flowchart of edge point sequence detection.

【0041】図7で示すステップ#1において、TVカ
メラ3で撮像され画像メモリ4に保持されたデジタル画
像データを画像メモリ4に画像入力する。
In step # 1 shown in FIG. 7, digital image data captured by the TV camera 3 and held in the image memory 4 is input to the image memory 4.

【0042】次にステップ#2では、画像メモリ4に入
力された画像データと予め登録されている図15(b)
で示すテンプレート画像42でパターンマッチングを行
い位置補正を行う。
Next, in step # 2, the image data input to the image memory 4 and the previously registered image data shown in FIG.
The position is corrected by performing pattern matching on the template image 42 indicated by.

【0043】次にステップ#3では、検査対象であるI
Cチップ1を、図2で示すのICチップ1の内側に予め
登録してある初期検査エリア13の座標を設定する。
Next, in step # 3, the I
For the C chip 1, the coordinates of the initial inspection area 13 registered in advance inside the IC chip 1 shown in FIG. 2 are set.

【0044】次にステップ#4では、設定された初期設
定エリア13の辺からICチツプ1の外形12の上のエ
ッジ点列を検出する。エッジ点列の検出方法の詳細は図
8に示す。
Next, in step # 4, a sequence of edge points on the outer shape 12 of the IC chip 1 is detected from the side of the set initial setting area 13. FIG. 8 shows the details of the method of detecting the edge point sequence.

【0045】すなわち、図8で示すようにまず、#14
では、初期検査エリア13のある辺を形成している端の
画素からスタートし、ICチップ1の外形12方向へ1
画素移動する。
That is, as shown in FIG.
Then, starting from the pixel at the end forming a certain side of the initial inspection area 13, moving toward the outer shape 12 of the IC chip 1
Move pixel.

【0046】#15では、移動した位置の画素の輝度が
予め設定したしきい値tと比較して、それ以下か否かを
判定する。
In step # 15, the luminance of the pixel at the moved position is compared with a preset threshold value t to determine whether or not it is lower than the threshold value t.

【0047】#16では、判定した画素がしきい値t以
下である場合は、その画素をエッジ点列に加える。も
し、判定した画素がしきい値以下になっていないとき、
画素がしきい値以下になるまで更に1画素ずつ走査す
る。
In step # 16, if the determined pixel is smaller than the threshold value t, the pixel is added to the edge point sequence. If the determined pixel is not below the threshold,
Scan one more pixel at a time until the pixel falls below the threshold.

【0048】#17では、判定した画素がしきい値t以
下である場合は、画素をエッジ点列に加え初期検査エリ
ア13の辺の最終点を確認する。
In step # 17, if the determined pixel is equal to or smaller than the threshold value t, the pixel is added to the edge point sequence and the final point on the side of the initial inspection area 13 is confirmed.

【0049】#18では、最終点でない場合は、初期検
査エリア13のn画素横の位置に移動し、上述のようの
各ステップを行なってエッジ点を追加していく。
In step # 18, if it is not the final point, the position is moved to a position n pixels wide in the initial inspection area 13, and the above steps are performed to add edge points.

【0050】#19では、#17で初期検査エリア13
の辺の最終点である場合、最終辺であるか否かを確認す
る。最終辺である場合は検査を終了する。一方、最終辺
で無い場合は、同様に初期検査エリアの各辺を順次行い
終了する。
In step # 19, in step # 17, the initial inspection area 13
If it is the last point of the side, it is checked whether it is the last side. If it is the last side, the inspection ends. On the other hand, if it is not the last side, each side of the initial inspection area is similarly sequentially executed, and the processing is terminated.

【0051】次にステップ#5では、エッジ点列から初
期検査エリアの各辺の回帰直線を算出し、暫定的な検査
領域を設定する。
Next, in step # 5, a regression line for each side of the initial inspection area is calculated from the edge point sequence, and a temporary inspection area is set.

【0052】次にステップ#6では、エッジ点列のうち
暫定的な検査領域の外側にある点列を用いて再度各辺の
回帰直線を求めそれらに囲まれた領域を最終的な検査領
域とする。
Next, in step # 6, a regression line of each side is obtained again by using a point sequence outside the provisional inspection region in the edge point sequence, and a region surrounded by the regression lines is defined as a final inspection region. I do.

【0053】ステップ#7では、最終的な検査領域に対
して2値化処埋を行う。
In step # 7, binarization processing is performed on the final inspection area.

【0054】ステップ#8では、残った領域の面積から
良品、不良品の判別を行う。
In step # 8, a good or defective product is determined from the area of the remaining area.

【0055】以上のような構成、手段および方法を持つ
ことで、従来例では欠陥検出できなかった図15の周辺
欠陥41も検出可能となる。また、本来の欠陥の大きさ
より小さいものとしか検出できなかつた図15の周辺欠
陥もより大きな欠陥として検出可能となる。
With the above configuration, means, and method, the peripheral defect 41 shown in FIG. 15 which could not be detected in the conventional example can be detected. Further, the peripheral defect shown in FIG. 15 which can be detected only as a defect smaller than the original defect size can be detected as a larger defect.

【0056】図9(a)〜(c)、図10(a)〜
(c)、図11(a)〜(c)に、上述の実施の形態に
より実際に検出した周辺欠陥の例を示す説明図である。
FIGS. 9A to 9C and FIGS.
FIGS. 11 (c) and 11 (a) to 11 (c) are explanatory diagrams showing examples of peripheral defects actually detected by the above-described embodiment.

【0057】すなわち、図9(a)は検査対象の短辺に
クサビ状の欠けがある場合であり、図10(a)は検査
対象のコーナ部が欠けている場合であり、図11(a)
は検査対象の両方のコーナ部に欠けがあり短辺中央が出
ている場合である。
FIG. 9A shows a case where the short side of the inspection object has a wedge-shaped chip, and FIG. 10A shows a case where the inspection object has a corner part. )
Is a case where both corners of the inspection target are chipped and the center of the short side is exposed.

【0058】図9(a)、図10(a)、図11(a)
は、実際の周辺欠陥とそれぞれの場合の暫定検査領域h
4で検出できる欠陥の大きさと、検査領域H4で検出で
きる欠陥の大きさを示している。
FIGS. 9A, 10A and 11A
Is the actual peripheral defect and the provisional inspection area h in each case
4 shows the size of a defect that can be detected in the inspection area H4.

【0059】図9(b)、図10(b)、図11(b)
は、それぞれの場合に暫定検査領域h4で検出された欠
陥の大きさを示している。
FIGS. 9 (b), 10 (b), 11 (b)
Indicates the size of the defect detected in the provisional inspection area h4 in each case.

【0060】図9(c)、図10(c)、図11(c)
は、それぞれの場合に検査領域H4で検出された欠陥の
大きさを示している。
9 (c), 10 (c), 11 (c)
Indicates the size of the defect detected in the inspection area H4 in each case.

【0061】これらの結果から明らかなように、暫定検
査領域でもある程度検出が可能であるが、暫定検査領域
の外側のエッジ点列に限定して回帰直線を求め検査領域
を設定することにより確実に周辺部分の欠陥を抽出する
ことができる。
As is clear from these results, it is possible to detect to some extent even in the provisional inspection area. However, it is possible to obtain a regression line limited to the edge point sequence outside the provisional inspection area and to set the inspection area without fail. Defects in the peripheral portion can be extracted.

【0062】これらによる外観検査方法と装置では、初
期設定エリア設定部6による初期設定エリアは常に正規
の方向に設定されている。しかも、基準となる初期設定
エリアから1画素ずつ検出し、その検出結果をしきい値
で判定し、判定結果を基に回帰式でICチップのエッジ
を求めている。従って、外観検査装置の搬送路を搬送さ
れてくるICチップが、例え搬送路に対して傾いている
場合でも、常に、正確なICチップのエッジを得ること
ができる。その結果、それを用いた外観検査は極めて信
頼度の高い、精度の良好なものが得られる。
In the appearance inspection method and apparatus according to the above, the initial setting area by the initial setting area setting section 6 is always set in a normal direction. In addition, each pixel is detected one by one from the reference initial setting area, the detection result is determined by a threshold value, and the edge of the IC chip is obtained by a regression equation based on the determination result. Therefore, an accurate edge of the IC chip can always be obtained even when the IC chip conveyed along the conveyance path of the visual inspection apparatus is inclined with respect to the conveyance path. As a result, an appearance inspection using the same can be obtained with extremely high reliability and high accuracy.

【0063】したがって、検査装置の搬送系の位置決め
精度や、検査対象の形状、姿勢のばらつき、照明のばら
つき等で虚報(本来欠陥でないものを欠陥と判断してし
まう)の発生を確実に防止できる。
Therefore, it is possible to reliably prevent the occurrence of a false report (a non-defective defect is determined to be a defect) due to the positioning accuracy of the transport system of the inspection apparatus, the variation in the shape and posture of the inspection object, the variation in illumination, and the like. .

【0064】なお、上述の実施の形態では、初期検査エ
リア設定部6は、図2に示すように検査対象であるIC
チップ1の表面に、ICチップ1の外形12よりも内側
に矩形状の初期検査エリア13を設定する機能を有して
いるものを用いたが、図12に示すように、ICチップ
1の外形12よりも外側に矩形状の初期検査エリア14
を設定する機能を有しているものを用いてもよい。
In the above-described embodiment, the initial inspection area setting unit 6 sets the IC to be inspected as shown in FIG.
On the surface of the chip 1, one having a function of setting a rectangular initial inspection area 13 inside the outer shape 12 of the IC chip 1 was used, but as shown in FIG. A rectangular initial inspection area 14 outside the area 12
May be used.

【0065】この場合は、エッジ点列検出部7は、初期
検査エリア設定部6で設定した図12の初期検査エリア
14の矩形状の各辺からICチップ1の方向に1画素毎
に走査していくことで、ICチップ1の外形12の点列
を求める機能を持たせ、初期検査エリア14の下の端の
画素からICチップ1の方向へ1画素ずつ走査し、その
画素の輝度がしきい値t以下かどうかを調べる。それ以
後の処理は上述の実施の形態と同様である。
In this case, the edge point sequence detecting section 7 scans each pixel in the direction of the IC chip 1 from each side of the rectangular shape of the initial inspection area 14 in FIG. 12 set by the initial inspection area setting section 6. As a result, a function for obtaining a point sequence of the outer shape 12 of the IC chip 1 is provided, and the pixel is scanned one pixel at a time from the lower end pixel of the initial inspection area 14 toward the IC chip 1, and the brightness of the pixel is reduced. It is checked whether it is less than the threshold value t. Subsequent processing is the same as in the above-described embodiment.

【0066】[0066]

【発明の効果】以上記したように従来例では検出が不可
能な検査対象周辺部の欠陥に対して微細なものも検出が
可能になった。
As described above, it is possible to detect a minute defect even in the peripheral portion of the inspection object which cannot be detected in the conventional example.

【0067】また、検査対象の位置決め誤差、微妙な形
状の変化、照明変動に対しても確実に周辺領域の欠陥を
検出することが可能となった。
Further, it is possible to reliably detect a defect in a peripheral area even with respect to a positioning error of an inspection object, a subtle change in shape, and a variation in illumination.

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

【図1】本発明に実施の形態の一例を示す外観検査装置
の構成図。
FIG. 1 is a configuration diagram of a visual inspection apparatus showing an example of an embodiment of the present invention.

【図2】本発明に実施の形態のICチップの初期検査エ
リアを示す説明図。
FIG. 2 is an explanatory diagram showing an initial inspection area of the IC chip according to the embodiment of the present invention.

【図3】本発明の実施の形態のエッジ点列の検出方法を
示す説明図。
FIG. 3 is an explanatory diagram showing a method of detecting an edge point sequence according to the embodiment of the present invention.

【図4】本発明の実施の形態のエッジ検出方法を示す説
明図。
FIG. 4 is an explanatory diagram showing an edge detection method according to the embodiment of the present invention.

【図5】(a)は本発明の実施の形態の暫定検査領域作
成の説明図、(b)は本発明の実施の形態の検査領域作
成の説明図、(c)は本発明の実施の形態の検査領域作
成の説明図。
5A is an explanatory diagram of creating a provisional inspection area according to an embodiment of the present invention, FIG. 5B is an explanatory diagram of creating an inspection area according to an embodiment of the present invention, and FIG. FIG. 4 is an explanatory view of creating an inspection area in a form.

【図6】2値化処理の説明図。FIG. 6 is an explanatory diagram of a binarization process.

【図7】本発明の実施の形態の外観検査方法のフローチ
ャート。
FIG. 7 is a flowchart of an appearance inspection method according to the embodiment of the present invention.

【図8】本発明の実施の形態の外観検査方法でのエッジ
点列検出のフローチャート。
FIG. 8 is a flowchart of edge point sequence detection in the appearance inspection method according to the embodiment of the present invention.

【図9】本発明の外観検査方法での外観検査結果の説明
図。
FIG. 9 is an explanatory diagram of an appearance inspection result by the appearance inspection method of the present invention.

【図10】本発明の外観検査方法での外観検査結果の説
明図。
FIG. 10 is an explanatory diagram of an appearance inspection result by the appearance inspection method of the present invention.

【図11】本発明の外観検査方法での外観検査結果の説
明図。
FIG. 11 is an explanatory diagram of an appearance inspection result by the appearance inspection method of the present invention.

【図12】本発明に実施の形態のICチップの初期検査
エリアを示す説明図。
FIG. 12 is an explanatory diagram showing an initial inspection area of the IC chip according to the embodiment of the present invention.

【図13】従来の外観検査装置の構成図。FIG. 13 is a configuration diagram of a conventional visual inspection device.

【図14】従来の外観検査方法のフローチャート。FIG. 14 is a flowchart of a conventional visual inspection method.

【図15】従来の外観検査方法での工程毎の画像で、
(a)は入力画像、(b)はテンプレートの画像、
(c)はマスク画像、(d)小さいマスクを用いた場合
のマスク処理後の画像、(e)大きいマスクを用いた場
合のマスク処理後の画像、(f)2値化後の画像。
FIG. 15 is an image for each process in a conventional visual inspection method,
(A) is an input image, (b) is a template image,
(C) shows a mask image, (d) an image after mask processing when using a small mask, (e) an image after mask processing when using a large mask, and (f) an image after binarization.

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

1…ICチップ、3…TVカメラ、4…画像メモリ、5
…画像データ処理装置、6…初期検査エリア設定部、7
…エッジ点列検出部、8…暫定検査領域作成部、9…検
査領域作成部、10…2値化処理部、11…判定部、1
2…外形、13、14…初期検査エリア
DESCRIPTION OF SYMBOLS 1 ... IC chip, 3 ... TV camera, 4 ... Image memory, 5
... image data processing device, 6 ... initial inspection area setting unit, 7
... Edge point sequence detecting section, 8. Provisional inspection area creating section, 9... Inspection area creating section, 10.
2 ... external shape, 13, 14 ... initial inspection area

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2F065 AA12 AA49 CC17 CC25 FF04 FF26 GG16 JJ03 JJ26 PP22 QQ05 QQ08 QQ18 QQ24 QQ38 QQ42 QQ43 SS04 UU05 2G051 AA61 AB01 AB02 AB03 AB07 AB10 AC01 BB01 CA04 CB01 EA11 EB01 EC02 EC03 ED01 ED07 ED22 5B057 AA03 BA02 CA02 CA08 CA12 CA16 CB02 CB06 CB12 CB16 CC03 DA03 DA08 DB02 DB05 DB08 DC16 5L096 AA03 AA06 BA03 BA18 CA02 EA37 FA06 FA17  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2F065 AA12 AA49 CC17 CC25 FF04 FF26 GG16 JJ03 JJ26 PP22 QQ05 QQ08 QQ18 QQ24 QQ38 QQ42 QQ43 SS04 UU05 2G051 AA61 AB01 AB02 AB03 AB07 AB10 AC01 EB01 EC03 ED01 EC01 ED01 5B057 AA03 BA02 CA02 CA08 CA12 CA16 CB02 CB06 CB12 CB16 CC03 DA03 DA08 DB02 DB05 DB08 DC16 5L096 AA03 AA06 BA03 BA18 CA02 EA37 FA06 FA17

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 検査対象の画像を取り込んで外観検査を
行う外観検査方法において、検査対象の領域の内側に初
期検査エリアを設定する第1の工程と、 この第1の工程で設定された前記初期検査エリアの各辺
を、この各辺を形成する画素から前記検査対象の外形方
向へ形成された画素毎の点列を走査し検査対象のエッジ
の画素を検出する第2の工程と、 この第2の工程で求めた前記エッジの画素を前記各辺毎
に接続処理し、それぞれの辺の回帰式を求めて暫定的検
査領域とする第3の工程と前記第2の工程で求めたエッ
ジの画素のうち、第3の工程で求めた前記暫定的検査領
域の外側のエッジの画素を前記各辺毎に接続処理して、
それぞれ再度回帰式を求めて検査領域とする第4の工程
と、 この第4の工程で設定された前記検査領域内の画像デー
タを画像処理して検査対象の良品または不良品を判断す
る第5の工程とを有することを特徴とする外観検査方
法。
A first step of setting an initial inspection area inside a region to be inspected, wherein the first step is to set an initial inspection area inside a region to be inspected. A second step of scanning each side of the initial inspection area from a pixel forming each side to a point sequence for each pixel formed in the outer direction of the inspection target to detect a pixel at an edge of the inspection target; A third step of connecting the pixels of the edge obtained in the second step for each of the sides and obtaining a regression equation for each side to obtain a provisional inspection area; and an edge obtained in the second step. Of the pixels of the outer edge of the provisional inspection area determined in the third step, the connection processing for each side,
A fourth step of obtaining a regression equation again and setting the inspection area as an inspection area; and a fifth step of performing image processing on the image data in the inspection area set in the fourth step to determine a non-defective or defective product to be inspected. A visual inspection method comprising the steps of:
【請求項2】 検査対象の画像を取り込んで外観検査を
行う外観検査方法において、 検査対象の領域の外側に初期検査エリアを設定する第1
の工程と、 この第1の工程で設定された前記初期検査エリアの各辺
を、この各辺を形成する画素から前記検査対象の外形方
向へ形成された画素毎の点列を走査し検査対象のエッジ
の画素を検出する第2の工程と、 この第2の工程で求めた前記エッジの画素を前記各辺毎
に接続処理し、それぞれの辺の回帰式を求めて暫定的検
査領域とする第3の工程と前記第2の工程で求めたエッ
ジの画素のうち、第3の工程で求めた前記暫定的検査領
域の内側のエッジの画素を前記各辺毎に接続処理して、
それぞれ再度回帰式を求めて検査領域とする第4の工程
と、 この第4の工程で設定された前記検査領域内の画像デー
タを画像処理して検査対象の良品または不良品を判断す
る第5の工程とを有することを特徴とする外観検査方
法。
2. An appearance inspection method for taking an image of an inspection object and performing an appearance inspection, wherein a first inspection area is set outside an area of the inspection object.
And scanning each side of the initial inspection area set in the first step from a pixel forming each side to a point sequence for each pixel formed in the outer direction of the inspection target by inspecting the inspection target. A second step of detecting the pixel of the edge of the above, and connecting processing of the pixel of the edge obtained in the second step for each of the sides, and obtaining a regression equation of each side as a provisional inspection area. In the pixel of the edge obtained in the third step and the second step, the pixel of the edge inside the temporary inspection area obtained in the third step is connected for each of the sides,
A fourth step of obtaining a regression equation again and setting the inspection area as an inspection area; and a fifth step of performing image processing on the image data in the inspection area set in the fourth step to determine a non-defective or defective product to be inspected. A visual inspection method comprising the steps of:
【請求項3】 前記検査対象の外形方向へ形成された画
素毎の点列のエッジは、点列した画素の輝度が予め設定
されているしきい値以下の最後の画素とすることを特徴
とする請求項1または2のいずれかに記載の外観検査方
法。
3. An edge of a dot sequence for each pixel formed in the outer direction of the inspection target is a last pixel whose luminance of the dot sequence pixel is equal to or less than a preset threshold value. The appearance inspection method according to claim 1 or 2, wherein
【請求項4】 前記しきい値は、予め設定されている固
定値であることを特徴とする請求項1又は2のいずれか
に記載の外観検査方法。
4. The appearance inspection method according to claim 1, wherein the threshold value is a preset fixed value.
【請求項5】 前記しきい値は、チップ面の輝度平均値
とパラメータとの積で算出した値であることを特徴とす
る請求項1又は2のいずれかに記載の外観検査方法。
5. The appearance inspection method according to claim 1, wherein the threshold value is a value calculated by a product of a luminance average value of a chip surface and a parameter.
【請求項6】 前記しきい値は、チップ面の輝度最頻値
とパラメータとの積で算出した値であることを特徴とす
る請求項1又は2のいずれかに記載の外観検査方法。
6. The visual inspection method according to claim 1, wherein the threshold value is a value calculated by multiplying a mode of luminance of a chip surface by a parameter.
【請求項7】 検査対象を撮像する撮像手段と、 この撮像手段により得られた画像データに対して検査対
象領域の内側に初期検査エリアを設定する初期検査エリ
ア設定手段と、 この初期検査エリア設定手段が設定した初期検査エリア
の各辺から、この各辺を形成する画素から前記検査対象
の外形方向へ形成された画素毎の点列を走査し検査対象
のエッジの画素を検出するエッジ点列検出手段と、 このエッジ点列検出手段で検出した前記エッジの画素を
前記各辺毎に接続処理し、それぞれの辺の回帰式を求め
て暫定的検査領域を作成する暫定検査領域作成手段と、 前記エツジ点列検出手段により求めたエッジの画素のう
ち、前記暫定的検査領域の外側のエッジの画素を前記各
辺毎に接続処理して、それぞれ再度回帰式を作成する検
査領域作成手段と、 この検査領域作成手段が設定した検査領域に対して画像
処理を行い検査対象の良品または不良品を判定する手段
と、を具備したことを特徴とする外観検査装置。
7. An image pickup means for picking up an image of an inspection target, an initial inspection area setting means for setting an initial inspection area inside an inspection target area for image data obtained by the image pickup means, and an initial inspection area setting From each side of the initial inspection area set by the means, an edge point sequence for scanning a point sequence for each pixel formed in a contour direction of the inspection target from a pixel forming each side and detecting a pixel of an edge of the inspection target Detecting means, connecting processing of the pixels of the edge detected by the edge point sequence detecting means for each of the sides, obtaining a regression equation of each side, a provisional inspection area creating means for creating a temporary inspection area, Inspection area creation in which, of the pixels of the edge obtained by the edge point sequence detection means, connection processing is performed on the pixels of the edge outside the provisional inspection area for each of the sides, and a regression equation is created again. Stage and appearance inspection apparatus characterized by comprising means for determining the inspected non-defective or defective performs image processing, the the inspection area set by this inspection area creation means.
【請求項8】 検査対象を撮像する撮像手段と、 この撮像手段により得られた画像データに対して検査対
象領域の外側に初期検査エリアを設定する初期検査エリ
ア設定手段と、 この初期検査エリア設定手段が設定した初期検査エリア
の各辺から、この各辺を形成する画素から前記検査対象
の外形方向へ形成された画素毎の点列を走査し検査対象
のエッジの画素を検出するエッジ点列検出手段と、 このエッジ点列検出手段で検出した前記エッジの画素を
前記各辺毎に接続処理し、それぞれの辺の回帰式を求め
て暫定的検査領域を作成する暫定検査領域作成手段と、 前記エツジ点列検出手段により求めたエッジの画素のう
ち、前記暫定的検査領域の内側のエッジの画素を前記各
辺毎に接続処理して、それぞれ再度回帰式を作成する検
査領域作成手段と、 この検査領域作成手段が設定した検査領域に対して画像
処理を行い検査対象の良品または不良品を判定する手段
とを具備したことを特徴とする外観検査装置。
8. An image pickup means for picking up an image of an inspection target, an initial inspection area setting means for setting an initial inspection area outside an inspection target area for image data obtained by the image pickup means, From each side of the initial inspection area set by the means, an edge point sequence for scanning a point sequence for each pixel formed in a contour direction of the inspection target from a pixel forming each side and detecting a pixel of an edge of the inspection target Detecting means, connecting processing of the pixels of the edge detected by the edge point sequence detecting means for each of the sides, obtaining a regression equation of each side, a provisional inspection area creating means for creating a temporary inspection area, Inspection area creation in which, among the pixels of the edge obtained by the edge point sequence detection means, the pixels of the edge inside the provisional inspection area are connected for each of the sides, and a regression equation is created again. Stage and appearance inspection apparatus characterized by comprising a means for determining the inspected non-defective or defective performs image processing on the inspection area set by this inspection area creation means.
JP10335377A 1998-11-26 1998-11-26 Appearance inspection method and device Pending JP2000163579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10335377A JP2000163579A (en) 1998-11-26 1998-11-26 Appearance inspection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10335377A JP2000163579A (en) 1998-11-26 1998-11-26 Appearance inspection method and device

Publications (1)

Publication Number Publication Date
JP2000163579A true JP2000163579A (en) 2000-06-16

Family

ID=18287868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10335377A Pending JP2000163579A (en) 1998-11-26 1998-11-26 Appearance inspection method and device

Country Status (1)

Country Link
JP (1) JP2000163579A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002157581A (en) * 2000-11-17 2002-05-31 Ibiden Co Ltd Method for reducing image data capacity and device therefor
GB2376069A (en) * 2001-02-27 2002-12-04 Emhart Glass Sa Glass container inspection machine
JP2006145415A (en) * 2004-11-22 2006-06-08 Fujitsu Ltd Surface inspection method and device
JP2007003245A (en) * 2005-06-21 2007-01-11 Aoi Kiko Kk Burr detection method and apparatus
JP2008058124A (en) * 2006-08-31 2008-03-13 Hitachi High-Technologies Corp Flaw inspection method and flaw inspection device
JP2010164333A (en) * 2009-01-13 2010-07-29 Toshiba Corp Device and method for inspecting defect
JP2012026988A (en) * 2010-07-28 2012-02-09 Hitachi High-Technologies Corp Defect detection device and computer program
JP2012093118A (en) * 2010-10-25 2012-05-17 Yamatake Corp Image processing device and image processing method
WO2013111373A1 (en) * 2012-01-27 2013-08-01 オムロン株式会社 Image examination method and image examination apparatus
WO2013136591A1 (en) * 2012-03-14 2013-09-19 オムロン株式会社 Image inspection method and inspection region setting method
JP2014025748A (en) * 2012-07-25 2014-02-06 Kanazawa Univ Dimension measuring program, dimension measuring instrument, and dimension measuring method
JP2015011632A (en) * 2013-07-01 2015-01-19 株式会社ディスコ Key pattern detection method
JP2018205002A (en) * 2017-05-31 2018-12-27 株式会社キーエンス Image inspection device

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002157581A (en) * 2000-11-17 2002-05-31 Ibiden Co Ltd Method for reducing image data capacity and device therefor
GB2376069A (en) * 2001-02-27 2002-12-04 Emhart Glass Sa Glass container inspection machine
GB2376069B (en) * 2001-02-27 2004-11-03 Emhart Glass Sa Glass container inspection machine
JP2006145415A (en) * 2004-11-22 2006-06-08 Fujitsu Ltd Surface inspection method and device
JP4652024B2 (en) * 2004-11-22 2011-03-16 富士通株式会社 Surface inspection method and apparatus
JP2007003245A (en) * 2005-06-21 2007-01-11 Aoi Kiko Kk Burr detection method and apparatus
JP4498228B2 (en) * 2005-06-21 2010-07-07 葵機工株式会社 Burr detection method and apparatus
JP2008058124A (en) * 2006-08-31 2008-03-13 Hitachi High-Technologies Corp Flaw inspection method and flaw inspection device
JP2010164333A (en) * 2009-01-13 2010-07-29 Toshiba Corp Device and method for inspecting defect
JP2012026988A (en) * 2010-07-28 2012-02-09 Hitachi High-Technologies Corp Defect detection device and computer program
JP2012093118A (en) * 2010-10-25 2012-05-17 Yamatake Corp Image processing device and image processing method
JP2013156094A (en) * 2012-01-27 2013-08-15 Omron Corp Image inspection method and image inspection device
US9619877B2 (en) 2012-01-27 2017-04-11 Omron Corporation Image examination method and image examination apparatus
WO2013111373A1 (en) * 2012-01-27 2013-08-01 オムロン株式会社 Image examination method and image examination apparatus
CN104053984A (en) * 2012-01-27 2014-09-17 欧姆龙株式会社 Image examination method and image examination apparatus
US20150117750A1 (en) * 2012-01-27 2015-04-30 Omron Corporation Image examination method and image examination apparatus
WO2013136591A1 (en) * 2012-03-14 2013-09-19 オムロン株式会社 Image inspection method and inspection region setting method
JP2013191064A (en) * 2012-03-14 2013-09-26 Omron Corp Image inspection method and inspection area setting method
CN104204783A (en) * 2012-03-14 2014-12-10 欧姆龙株式会社 Image inspection method and inspection region setting method
US9892504B2 (en) 2012-03-14 2018-02-13 Omron Corporation Image inspection method and inspection region setting method
US20150055823A1 (en) * 2012-03-14 2015-02-26 Omron Corporation Image inspection method and inspection region setting method
JP2014025748A (en) * 2012-07-25 2014-02-06 Kanazawa Univ Dimension measuring program, dimension measuring instrument, and dimension measuring method
JP2015011632A (en) * 2013-07-01 2015-01-19 株式会社ディスコ Key pattern detection method
JP2018205002A (en) * 2017-05-31 2018-12-27 株式会社キーエンス Image inspection device
JP7188870B2 (en) 2017-05-31 2022-12-13 株式会社キーエンス Image inspection equipment

Similar Documents

Publication Publication Date Title
US6748104B1 (en) Methods and apparatus for machine vision inspection using single and multiple templates or patterns
JP4776308B2 (en) Image defect inspection apparatus, image defect inspection system, defect classification apparatus, and image defect inspection method
KR20090066212A (en) Defect detection method and defect detection apparatus
JP2000163579A (en) Appearance inspection method and device
TW201930908A (en) Board defect filtering method and device thereof and computer-readabel recording medium
KR20050037358A (en) Defect inspection method
KR101022187B1 (en) Substrate inspection device
JP2000180374A (en) Method for detecting defect
JP4669940B2 (en) Pattern defect detection method and apparatus
JP2002243655A (en) Method and equipment for visual inspection of electronic component
JP2003194735A (en) Inspection method and device for printed-wiring substrate
JPH1114317A (en) Appearance inspection method and device
JP2006035505A (en) Method and device for inspecting printed matter
JP2000321038A (en) Method for detecting fault of pattern
JP2004286708A (en) Defect detection apparatus, method, and program
JP2002140695A (en) Inspection method and its device
JPH0413953A (en) Detect inspection preprocessor for electronic component molded form
JP2745763B2 (en) Wiring pattern inspection equipment
JP2000258353A (en) Defect inspection method and device
JP2002314982A (en) Method for detecting defect
JPH0943162A (en) External appearance inspection method
JP2874402B2 (en) Circular container inner surface inspection device
JP2001183119A (en) Pattern inspecting device
JP3670244B2 (en) Pattern inspection device and different kind mixing inspection device
JPH0590365A (en) Testing apparatus