JP2007322354A - Silk inspection apparatus - Google Patents

Silk inspection apparatus Download PDF

Info

Publication number
JP2007322354A
JP2007322354A JP2006155790A JP2006155790A JP2007322354A JP 2007322354 A JP2007322354 A JP 2007322354A JP 2006155790 A JP2006155790 A JP 2006155790A JP 2006155790 A JP2006155790 A JP 2006155790A JP 2007322354 A JP2007322354 A JP 2007322354A
Authority
JP
Japan
Prior art keywords
image
silk
unit
cad
print pattern
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.)
Withdrawn
Application number
JP2006155790A
Other languages
Japanese (ja)
Inventor
Ryoji Ohira
良司 大平
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2006155790A priority Critical patent/JP2007322354A/en
Publication of JP2007322354A publication Critical patent/JP2007322354A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To enable a silk printing pattern which is printed on a board and be inspected with high accuracy. <P>SOLUTION: A silk inspection apparatus is equipped with an image capture section for capturing an image of the board; a silk region cut-out section for cutting out a silk printing pattern image from the image of the board acquired by the image capture section; a cut-out image storing section for storing the silk printing pattern image cut out by the silk region cut-out section; a CAD image data reading section for reading a CAD image of the silk printing pattern; a means for totaling the matching levels, between the silk printing pattern image and the CAD image read by the CAD image data reading section, while shifting them; a verification result storing section for storing the totaled result of the matching levels, in association with shifted coordinates; a position shift determining section for determining the amount of shift of the silk printing pattern, based on the totaled result stored in the verification result storing section; and a defect-determining section for determining the defects of the silk printing pattern, based on the amount of shift of the silk printing pattern that is determined by the position shift determining section. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、シルク検査装置に関するものである。   The present invention relates to a silk inspection apparatus.

従来、プリント配線板等の基板には、表面に銅等の導電性金属による配線パターンが印刷メッキ等の方法で形成され、その上部に絶縁保護用ソルダレジスト、さらに、電子部品のシンボルや回路記号等の文字や線を示すシルク印刷パターン等が重ねて印刷されている。そして、電子部品の小型化に伴い、配線や印刷も微細化されている。そこで、これらのパターンが正確に形成され、印刷されているか否かを製品の製造後になんらかの方法で検査する必要がある。   Conventionally, a wiring pattern made of a conductive metal such as copper is formed on a surface of a substrate such as a printed wiring board by a method such as printing plating, and a solder resist for insulation protection is further formed thereon, and further, a symbol or circuit symbol of an electronic component. A silk print pattern or the like indicating characters or lines such as is overprinted. With the miniaturization of electronic components, wiring and printing are also miniaturized. Therefore, it is necessary to inspect by some method after manufacturing the product whether or not these patterns are accurately formed and printed.

近年、基板の外観検査は、検査の高精度化と検査時間の短縮のため、目視検査から画像処理装置を利用する検査装置による検査へと移行し、大量の基板の外観検査を短時間で行うことができるようになってきた。しかし、従来の検査装置の検査性能は、検査精度が十分に高くはなく、また、誤認識、すなわち、虚報の発生が完全に解消されず、検査装置のメーカは、検出精度を上げながら虚報を減らすという非常に困難な開発に時間をかけているのが現実である(例えば、特許文献1〜3参照。)。   In recent years, visual inspection of substrates has shifted from visual inspection to inspection by an inspection apparatus using an image processing apparatus in order to increase the accuracy of inspection and shorten inspection time, and perform visual inspection of a large number of substrates in a short time. It has become possible to However, the inspection performance of conventional inspection equipment is not sufficiently high, and false recognition, that is, the generation of false information is not completely eliminated. The reality is that it takes time to develop a very difficult development (see, for example, Patent Documents 1 to 3).

一般的な基板の製造工程において、ソルダレジスト、パッド、スルーホール等は、基準に合わせて製造されるため、製造誤差が非常に小さくなっている。これに対し、シルク印刷では基準の精度がそれほど高くないので、各基板毎に印刷パターンのずれが大きくなってしまい、比較的良い状態の基板、すなわち、ゴールデンボードを検査のマスターデータとすることが困難である。そのため、シルク印刷パターンの検査は、高精度な検査をすることができず、検査精度が低くなっている。   In a general substrate manufacturing process, solder resists, pads, through-holes, and the like are manufactured according to a standard, so that manufacturing errors are extremely small. On the other hand, since the standard accuracy in silk printing is not so high, the deviation of the printing pattern becomes large for each substrate, and a relatively good substrate, that is, a golden board, can be used as inspection master data. Have difficulty. Therefore, the inspection of the silk print pattern cannot be performed with high accuracy, and the inspection accuracy is low.

また、色によってシルク印刷パターンを抽出し、該シルク印刷パターンのずれに対しては、許容範囲の検査精度を落として検査する技術も提案されている。
特開2002−158413号公報 特開2003−86919号公報 特開平11−337498号公報
In addition, a technique has been proposed in which a silk print pattern is extracted by color, and inspection is performed with a low inspection accuracy with respect to deviation of the silk print pattern.
JP 2002-158413 A JP 2003-86919 A JP-A-11-337498

しかしながら、前記従来の検査装置では、シルク印刷パターンを高い精度で検査することができず、検査精度が低下してしまう。   However, the conventional inspection apparatus cannot inspect the silk print pattern with high accuracy, and the inspection accuracy is lowered.

本発明は、前記従来の問題点を解決して、基板に印刷されたシルク印刷パターンの画像とシルク印刷パターンのCAD(Computer Aided Design)画像とのずれ量に基づいて、基板に印刷されたシルク印刷パターンの良不良を判定するようにして、基板に印刷されたシルク印刷パターンを高い精度で検査することができるシルク検査装置を提供することを目的とする。   The present invention solves the above-mentioned conventional problems, and based on the amount of deviation between the silk printed pattern image printed on the substrate and the CAD (Computer Aided Design) image of the silk printed pattern, the silk printed on the substrate An object of the present invention is to provide a silk inspection apparatus capable of inspecting a silk print pattern printed on a substrate with high accuracy so as to determine whether the print pattern is good or bad.

そのために、本発明のシルク検査装置においては、基板の画像を取得する画像取得部と、該画像取得部が取得した基板の画像からシルク印刷パターンの画像を切り出すシルク領域切り出し部と、該シルク領域切り出し部が切り出したシルク印刷パターンの画像を保存する切り出し画像格納部と、前記シルク印刷パターンのCAD画像を読み込むCAD画像データ読み込み部と、該CAD画像データ読み込み部が読み込んだCAD画像と、前記シルク印刷パターンの画像とをずらしながら一致度合いを集計する手段と、ずらした座標に対して一致度合いの集計結果を格納する照合結果格納部と、該照合結果格納部に格納された集計結果からシルク印刷パターンのずれ量を判定する位置ずれ判定部と、該位置ずれ判定部が判定したシルク印刷パターンのずれ量に基づいてシルク印刷パターンの不良を判定する不良判定部とを有する。   Therefore, in the silk inspection apparatus of the present invention, an image acquisition unit that acquires an image of a substrate, a silk region cutout unit that cuts out an image of a silk print pattern from the image of the substrate acquired by the image acquisition unit, and the silk region A cutout image storage unit that stores an image of a silk print pattern cut out by the cutout unit, a CAD image data read unit that reads a CAD image of the silk print pattern, a CAD image read by the CAD image data read unit, and the silk A means for counting the degree of coincidence while shifting the image of the print pattern, a collation result storage unit for storing the tabulation result of the degree of coincidence with respect to the shifted coordinates, and silk printing from the tabulation result stored in the collation result storage unit A misregistration determination unit that determines a pattern misregistration amount, and a silk print pattern determined by the misregistration determination unit And a defect determining unit for determining a failure of the silk print pattern on the basis of the shift amount of emissions.

本発明の他のシルク検査装置においては、さらに、前記CAD画像の連結成分を抽出する連結成分抽出部と、該連結成分抽出部が抽出した連結成分を複数のグループに分けるグループ作成部と、グループ毎にずらしてシルク印刷パターンの画像とCAD画像との一致度合いを計算する一致率集計部とを有する。   In another silk inspection apparatus of the present invention, a connected component extracting unit that extracts a connected component of the CAD image, a group creating unit that divides the connected component extracted by the connected component extracting unit into a plurality of groups, and a group There is a coincidence rate totaling unit that calculates the degree of coincidence between the silk print pattern image and the CAD image by shifting each time.

本発明の更に他のシルク検査装置においては、さらに、前記シルク印刷パターンの画像を二値化する二値化部と、二値画像の縦方向画素ヒストグラムを作成する縦方向画素ヒストグラム作成部と、前記二値画像の横方向画素ヒストグラムを作成する横方向画素ヒストグラム作成部と、前記CAD画像の縦方向画素ヒストグラムを作成するCAD縦方向画素ヒストグラム作成部と、前記CAD画像の横方向画素ヒストグラムを作成するCAD横方向画素ヒストグラム作成部と、前記シルク印刷パターンの画像及びCAD画像の各々から作成した画素ヒストグラム同士をずらしながら一致度合いを計算する照合部とを有する。   In still another silk inspection apparatus of the present invention, further, a binarization unit that binarizes the image of the silk print pattern, a vertical pixel histogram creation unit that creates a vertical pixel histogram of the binary image, A horizontal pixel histogram generation unit that generates a horizontal pixel histogram of the binary image, a CAD vertical pixel histogram generation unit that generates a vertical pixel histogram of the CAD image, and a horizontal pixel histogram of the CAD image A CAD horizontal pixel histogram creation unit, and a matching unit that calculates the degree of matching while shifting pixel histograms created from the silk print pattern image and the CAD image.

本発明の更に他のシルク検査装置においては、さらに、前記CAD画像の連結成分を抽出する連結成分抽出部と、該連結成分抽出部が抽出した連結成分を複数のグループに分けるグループ作成部と、前記CAD画像のグループ毎に縦方向画素ヒストグラムを作成するCAD縦方向画素ヒストグラム作成部と、前記CAD画像のグループ毎に横方向画素ヒストグラムを作成するCAD横方向画素ヒストグラム作成部と、前記シルク印刷パターンの画像を二値化する二値化部と、前記シルク印刷パターンの二値画像の縦方向画素ヒストグラムを作成する縦方向画素ヒストグラム作成部と、前記二値画像の横方向画素ヒストグラムを作成する横方向画素ヒストグラム作成部と、前記シルク印刷パターンの画像及びCAD画像の各々から作成した画素ヒストグラム同士をずらしながら一致度合いを計算する照合部とを有する。   In still another silk inspection apparatus of the present invention, a connected component extracting unit that extracts a connected component of the CAD image, a group creating unit that divides the connected component extracted by the connected component extracting unit into a plurality of groups, A CAD vertical pixel histogram creation unit that creates a vertical pixel histogram for each group of CAD images, a CAD horizontal pixel histogram creation unit that creates a horizontal pixel histogram for each group of CAD images, and the silk print pattern A binarization unit that binarizes the image of the image, a vertical pixel histogram generation unit that generates a vertical pixel histogram of the binary image of the silk print pattern, and a horizontal pixel histogram that generates a horizontal pixel histogram of the binary image Pixels created from the direction pixel histogram creation unit and each of the silk print pattern image and CAD image And a verification unit for calculating a coincidence degree by shifting the Sutoguramu each other.

本発明の更に他のシルク検査装置においては、さらに、前記一致率集計部は、前記シルク印刷パターンの画像を二値化した二値画像と前記CAD画像の二値画像とを重ね合わせたときに互いに共通する画素同士において、互いに黒である画素又は互いに白である画素を一致している画素として一致率を集計する。   In still another silk inspection apparatus of the present invention, the coincidence rate counting unit further includes a binary image obtained by binarizing the image of the silk print pattern and a binary image of the CAD image. Among the pixels that are common to each other, the coincidence rate is totaled as a pixel in which a pixel that is black or a pixel that is white is the same.

本発明の更に他のシルク検査装置においては、さらに、前記一致率集計部は、前記シルク印刷パターンの画像とCAD画像との画素同士の特徴値の差異を閾(しきい)値と比較し、一致しているか否かを集計する。   In still another silk inspection apparatus of the present invention, the coincidence rate counting unit further compares a difference in feature values between pixels of the silk print pattern image and the CAD image with a threshold value, Count whether they match.

本発明によれば、シルク検査装置は、基板に印刷されたシルク印刷パターンの画像とシルク印刷パターンのCAD画像とのずれ量に基づいて、基板に印刷されたシルク印刷パターンの良不良を判定するようになっている。これにより、基板に印刷されたシルク印刷パターンを高い精度で検査することができることができる。   According to the present invention, the silk inspection apparatus determines whether the silk printing pattern printed on the substrate is good or bad based on the amount of deviation between the silk printing pattern image printed on the substrate and the CAD image of the silk printing pattern. It is like that. Thereby, the silk print pattern printed on the substrate can be inspected with high accuracy.

以下、本発明の実施の形態について図面を参照しながら詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は本発明の第1の実施の形態におけるシルク検査装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing the configuration of the silk inspection apparatus according to the first embodiment of the present invention.

図において、11は検査の対象となるプリント回路基板等の基板である。該基板11は、樹脂、セラミクス等から成り、その片面又は両面に銅等の導電性金属による図示されない配線パターンが形成されている。そして、前記基板11の片面又は両面には、各種部品がはんだ付けによって接続されて実装されるが、ここでは、前記基板11は部品が実装される前の状態にあるものとする。なお、前記部品は、例えば、コンデンサ、抵抗、フィルタ、半導体、IC(Integrated Circuit)等の電気部品又は電子部品であるが、いかなる種類の部品であってもよい。また、前記基板11の片面又は両面には、絶縁保護用ソルダレジストが塗布され、さらに、部品のシンボルや回路記号等の文字や線を示すシルク印刷パターンが印刷されている。   In the figure, reference numeral 11 denotes a substrate such as a printed circuit board to be inspected. The substrate 11 is made of resin, ceramics, or the like, and a wiring pattern (not shown) made of a conductive metal such as copper is formed on one side or both sides thereof. Various components are connected and mounted on one or both surfaces of the substrate 11 by soldering. Here, it is assumed that the substrate 11 is in a state before the components are mounted. The component is, for example, an electric component or an electronic component such as a capacitor, a resistor, a filter, a semiconductor, or an IC (Integrated Circuit), but may be any type of component. Also, a solder resist for insulation protection is applied to one side or both sides of the substrate 11, and a silk print pattern indicating characters and lines such as component symbols and circuit symbols is printed.

そして、12は画像取得部であり、CCD(Charge Coupled Device:電荷結合素子)、CMOS(Complementary Metal Oxide Semiconductor)等の撮像素子、レンズ等の光学素子を備える撮像装置によって撮像された前記基板11の画像を取得する。なお、本実施の形態においては、RGB(Red Green Blue)のカラー画像を取得するものとする。   An image acquisition unit 12 includes an imaging device including an imaging device such as a CCD (Charge Coupled Device) and CMOS (Complementary Metal Oxide Semiconductor), and an optical device such as a lens. Get an image. In the present embodiment, an RGB (Red Green Blue) color image is acquired.

また、13はシルク領域切り出し部であり、切り出し特徴格納部29に格納されている特徴データを用いて、前記画像取得部12が取得した基板11の画像から、シルク印刷パターンの切り出しを行う。そして、14は切り出し画像格納部であり、シルク領域切り出し部13が切り出したシルク印刷パターンの画像を格納する。   A silk area cutout unit 13 cuts out a silk print pattern from the image of the substrate 11 acquired by the image acquisition unit 12 using the feature data stored in the cutout feature storage unit 29. Reference numeral 14 denotes a cutout image storage unit that stores an image of a silk print pattern cut out by the silk region cutout unit 13.

さらに、20はCADデータベースであり、ソルダレジストパターン、シルク印刷パターン、各銅層のパターン、基板11の外形等のCADデータが格納されている。そして、21はシルクCADデータ取得部であり、前記CADデータベース20からシルク印刷パターンのCADデータを取得する。また、22はCAD画像データ変換部であり、前記シルクCADデータ取得部21が取得したシルク印刷パターンのCADデータをCAD画像、すなわち、シルクCAD画像のデータに変換する。   A CAD database 20 stores CAD data such as a solder resist pattern, a silk printing pattern, a pattern of each copper layer, and the outer shape of the substrate 11. Reference numeral 21 denotes a silk CAD data acquisition unit which acquires CAD data of a silk print pattern from the CAD database 20. A CAD image data converter 22 converts the CAD data of the silk print pattern acquired by the silk CAD data acquisition unit 21 into a CAD image, that is, silk CAD image data.

また、23はCAD画像データ格納部であり、前記CAD画像データ変換部22によって変換されたシルク印刷パターンのCAD画像、すなわち、シルクCAD画像のデータを格納する。そして、24は連結成分抽出部であり、前記CAD画像データ変換部22によって変換されたシルクCAD画像のデータからシルク印刷パターンの塊、すなわち、連結成分を取得し、取得した各連結成分にラベル(番号)を付ける。   A CAD image data storage unit 23 stores the CAD image of the silk print pattern converted by the CAD image data conversion unit 22, that is, the data of the silk CAD image. Reference numeral 24 denotes a connected component extraction unit, which acquires a block of silk print patterns, that is, connected components, from the silk CAD image data converted by the CAD image data conversion unit 22, and labels each acquired connected component with a label ( Number).

さらに、15は位置合わせ部であり、あらかじめ照合座標格納部15aに格納されているシルクCAD画像のデータのずらし範囲に従って、切り出し画像格納部14に格納されているシルク印刷パターンの画像と当該印刷パターンのシルクCAD画像との位置合わせを行う。   Further, 15 is an alignment unit, and the silk print pattern image stored in the cut-out image storage unit 14 and the print pattern according to the shift range of the data of the silk CAD image stored in the collation coordinate storage unit 15a in advance. Align with the silk CAD image.

なお、本実施の形態においては、ずらし範囲をX軸に3及びY軸に3とする、すなわち、3×3の範囲でずらすものとする。そして、3×3の左上(X=1、Y=1)を始めの点として、X方向に移動しながら右下(X=3、Y=3)までの9箇所にずらすものとする。また、ずらした座標の番号として、左上(X=1、Y=1)を「1」とし、右下(X=3、Y=3)を「9」とする。   In this embodiment, the shift range is 3 on the X axis and 3 on the Y axis, that is, the shift range is 3 × 3. Then, with the 3 × 3 upper left (X = 1, Y = 1) as the starting point, the position is shifted to nine locations up to the lower right (X = 3, Y = 3) while moving in the X direction. Further, as the shifted coordinate numbers, the upper left (X = 1, Y = 1) is “1”, and the lower right (X = 3, Y = 3) is “9”.

さらに、16は照合部であり、位置合わせ部15の座標に合わせて、切り出し画像格納部14に格納されているシルク印刷パターンの画像と当該印刷パターンのシルクCAD画像とを重ね合わせる。そして、17は一致率集計部であり、照合部16が重ね合わせた画像において、シルク印刷パターンが重なっている度合い、すなわち、重なり度合いを計算して集計する。例えば、該重なり度合いは、シルク印刷パターンが重なっている部分の画素数を画像の全画素数で除算した数で表すことができる。   Reference numeral 16 denotes a collation unit that superimposes the silk print pattern image stored in the cut-out image storage unit 14 and the silk CAD image of the print pattern in accordance with the coordinates of the alignment unit 15. Reference numeral 17 denotes a coincidence rate counting unit, which calculates and tabulates the degree of overlapping of the silk print patterns, that is, the degree of overlapping, in the image superimposed by the matching unit 16. For example, the degree of overlap can be represented by a number obtained by dividing the number of pixels of the overlapping portion of the silk print pattern by the total number of pixels of the image.

また、18は照合結果格納部であり、一致率集計部17が集計した結果を、ずらした座標の番号P1の配列と照合した結果を格納する。さらに、19は照合座標変更部であり、ずらした座標を左上(X=1、Y=1)から1つX方向に移動した点(X=2、Y=1)に変更する。   Reference numeral 18 denotes a collation result storage unit, which stores a result obtained by collating the result totaled by the coincidence rate totaling unit 17 with the array of the shifted coordinate number P1. Reference numeral 19 denotes a collation coordinate changing unit which changes the shifted coordinate from the upper left (X = 1, Y = 1) to a point (X = 2, Y = 1) moved in the X direction.

そして、前記位置合わせ部15、照合部16、一致率集計部17、照合結果格納部18及び照合座標変更部19が、前述の処理を、ずらし範囲である9箇所について終了するまで繰り返して行い、前記9箇所についての処理が終了した後に、以降の処理である位置ずれ判定部25からの処理を行う。   Then, the positioning unit 15, the matching unit 16, the matching rate totaling unit 17, the matching result storage unit 18, and the matching coordinate changing unit 19 repeat the above-described processing until the nine positions that are the shift ranges are completed, After the process for the nine places is completed, the process from the misregistration determination unit 25, which is the subsequent process, is performed.

ここで、該位置ずれ判定部25は、照合結果格納部18に格納されているずらした座標9箇所の結果のうちで最も一致度合いの高い箇所を、シルク印刷パターンの画像と当該シルク印刷パターンのCAD画像とのずれ量であると判定する。   Here, the misregistration determination unit 25 selects the portion having the highest degree of coincidence among the nine shifted coordinate results stored in the matching result storage unit 18 as the silk print pattern image and the silk print pattern. It is determined that the amount of deviation from the CAD image.

また、26は不良判定部であり、前記位置ずれ判定部25が判定したずれ箇所の一致度合いを閾値と比較し、シルク印刷パターンに不良があるか否かを判定する。さらに、27は判定結果格納部であり、不良判定部26の判定結果を格納する。そして、28は結果出力部であり、判定結果格納部27に格納されている判定結果をファイルに出力したり、画面に表示したりする。   Reference numeral 26 denotes a defect determination unit, which compares the degree of coincidence of the shift portion determined by the position shift determination unit 25 with a threshold value to determine whether or not there is a defect in the silk print pattern. Reference numeral 27 denotes a determination result storage unit that stores the determination result of the defect determination unit 26. A result output unit 28 outputs the determination result stored in the determination result storage unit 27 to a file or displays it on the screen.

次に、前記構成のシルク検査装置の動作について説明する。   Next, the operation of the silk inspection apparatus having the above configuration will be described.

図2は本発明の第1の実施の形態におけるシルク印刷パターンの画像とCAD画像とを示す図、図3は本発明の第1の実施の形態におけるずらし範囲を示す図である。   FIG. 2 is a diagram showing an image of a silk print pattern and a CAD image in the first embodiment of the present invention, and FIG. 3 is a diagram showing a shift range in the first embodiment of the present invention.

まず、画像取得部12は、撮像装置によって撮像された基板11のカラー画像を取得する。そして、シルク領域切り出し部13は、あらかじめ切り出し特徴格納部29に格納されているシルク印刷パターンの特徴データを用い、前記画像取得部12が取得した基板11の画像からシルク印刷パターンの切り出しを行い、切り出し画像格納部14に図2(a)に示されるようなシルク印刷パターン画像40を格納する。   First, the image acquisition unit 12 acquires a color image of the substrate 11 captured by the imaging device. The silk area cutout unit 13 cuts out the silk print pattern from the image of the substrate 11 acquired by the image acquisition unit 12 using the silk print pattern feature data stored in the cutout feature storage unit 29 in advance. A silk print pattern image 40 as shown in FIG. 2A is stored in the cut-out image storage unit 14.

また、シルクCADデータ取得部21は、CADデータベース20からシルク印刷パターンのCADデータを取得する。そして、CAD画像データ変換部22は、シルク印刷パターンのCADデータを画像データに変換し、変換した図2(b)に示されるようなシルクCAD画像41のデータをCAD画像データ格納部23に格納する。また、連結成分抽出部24は、CAD画像データ格納部23に格納されたシルクCAD画像41について、シルク印刷パターンの塊、すなわち、連結成分を取得し、取得した各連結成分にラベル(番号)を付ける。   Further, the silk CAD data acquisition unit 21 acquires CAD data of the silk print pattern from the CAD database 20. Then, the CAD image data conversion unit 22 converts the CAD data of the silk printing pattern into image data, and stores the converted silk CAD image 41 data as shown in FIG. 2B in the CAD image data storage unit 23. To do. The connected component extracting unit 24 acquires a block of silk print patterns, that is, connected components, for the silk CAD image 41 stored in the CAD image data storage unit 23, and assigns a label (number) to each acquired connected component. wear.

続いて、位置合わせ部15は、前記シルク印刷パターン画像40及びシルクCAD画像41を入力し、あらかじめ照合座標格納部15aに格納されている、図3に示されるようなシルク印刷パターンのCAD画像のデータのずらし範囲44の番号「1」から「9」に従って、シルクCAD画像41のデータをずらす。本実施の形態においては、ずらし範囲44をX軸に3及びY軸に3とする、すなわち、3×3の範囲でずらすものとする。そして、3×3の左上「1」(X=1、Y=1)を始めの点として、X方向に移動しながら右下「9」(X=3、Y=3)までの9箇所にずらすものとする。また、ずらした座標の番号として、左上(X=1、Y=1)を「1」とし、右下(X=3、Y=3)を「9」とする。なお、本実施の形態において、ずらし範囲44の1ブロックは1画素に相当する。   Subsequently, the alignment unit 15 inputs the silk print pattern image 40 and the silk CAD image 41, and stores the silk print pattern CAD image as shown in FIG. 3 stored in the collation coordinate storage unit 15a in advance. The data of the silk CAD image 41 is shifted according to the numbers “1” to “9” of the data shift range 44. In the present embodiment, it is assumed that the shift range 44 is 3 on the X axis and 3 on the Y axis, that is, within a range of 3 × 3. Then, starting from the 3 × 3 upper left “1” (X = 1, Y = 1), the 9 points from the lower right “9” (X = 3, Y = 3) while moving in the X direction Shall be shifted. Further, as the shifted coordinate numbers, the upper left (X = 1, Y = 1) is “1”, and the lower right (X = 3, Y = 3) is “9”. In the present embodiment, one block in the shift range 44 corresponds to one pixel.

次に、シルク印刷パターン画像40の画素42とシルクCAD画像41の画素43を例にして位置合わせ部15の動作を説明をする。   Next, the operation of the alignment unit 15 will be described using the pixel 42 of the silk print pattern image 40 and the pixel 43 of the silk CAD image 41 as an example.

図4は本発明の第1の実施の形態における位置合わせ部の動作を説明する図、図5は本発明の第1の実施の形態における位置合わせ部及び照合部の動作を説明する図、図6は本発明の第1の実施の形態における照合結果を示す図、図7は本発明の第1の実施の形態における不良判定部の動作を説明する図である。   FIG. 4 is a diagram for explaining the operation of the alignment unit in the first embodiment of the present invention. FIG. 5 is a diagram for explaining the operation of the alignment unit and the collation unit in the first embodiment of the present invention. 6 is a diagram showing the collation result in the first embodiment of the present invention, and FIG. 7 is a diagram for explaining the operation of the defect determination unit in the first embodiment of the present invention.

ここで、シルク印刷パターン画像40の画素42がずらし範囲44の「5」の位置にあるとしたときが図4に示される画素48であり、シルクCAD画像41の画素43をずらし範囲44の「1」の位置に合わせたときが図4に示される画素47である。このときの画像が、図5に示されるシルクCAD画像50及びシルク印刷パターン画像51である。   Here, when the pixel 42 of the silk print pattern image 40 is at the position “5” of the shift range 44, the pixel 48 shown in FIG. 4 is displayed, and the pixel 43 of the silk CAD image 41 is shifted by “ The pixel 47 shown in FIG. 4 corresponds to the position “1”. The images at this time are the silk CAD image 50 and the silk print pattern image 51 shown in FIG.

まず、最初に、位置合わせ部15は図5(a)に示される位置に合わせ、照合部16は、シルク印刷パターン画像51の画素とシルクCAD画像50の画素とが一致している部分の画素数を一致率集計部17に出力する。すると、該一致率集計部17ではシルクCAD画像41における画素の総数を分母として一致している部分の画素数を分子とし、一致率を計算する。そして、照合結果格納部18に、ずらし範囲44の番号「1」(X=1、Y=1)の配列に格納する。   First, the alignment unit 15 is aligned with the position shown in FIG. 5A, and the collation unit 16 is a pixel in a portion where the pixels of the silk print pattern image 51 and the pixels of the silk CAD image 50 match. The number is output to the coincidence rate counting unit 17. Then, the coincidence rate totaling unit 17 calculates the coincidence rate using the total number of pixels in the silk CAD image 41 as the denominator and using the number of matching pixels as a numerator. Then, it is stored in the collation result storage unit 18 in the array of the number “1” (X = 1, Y = 1) in the shift range 44.

続いて、データが照合結果格納部18に格納されると、照合座標変更部19は、ずらし範囲44の「2」の位置に相当する座標値に変更する。そして、位置合わせ部15がシルクCAD画像41の画素43をずらし範囲44の「2」の座標に合わせた画像が図5(b)に示されるシルクCAD画像52である。続いて、照合部16及び一致率集計部17が前述の動作を繰り返し、照合結果格納部18に、ずらし範囲44の番号「2」(X=2、Y=1)の配列にデータを格納する。   Subsequently, when the data is stored in the matching result storage unit 18, the matching coordinate changing unit 19 changes the coordinate value to the coordinate value corresponding to the position “2” in the shift range 44. An image obtained by the alignment unit 15 shifting the pixel 43 of the silk CAD image 41 and matching the coordinates of “2” in the range 44 is a silk CAD image 52 shown in FIG. Subsequently, the collation unit 16 and the coincidence rate totaling unit 17 repeat the above-described operation, and store the data in the collation result storage unit 18 in the array of the number “2” (X = 2, Y = 1) in the shift range 44. .

以降、前記位置合わせ部15、照合部16、一致率集計部17、照合結果格納部18及び照合座標変更部19が、前述の処理を、ずらし範囲44の「9」(画像54)が終了するまで行う。そして、「1」から「9」までの9箇所についての処理が終了した後に、以降の処理である位置ずれ判定部25からの処理が行われる。なお、「1」から「9」までの9箇所についてのずらした座標の結果は、図6に示される表のように、前記照合結果格納部18に格納される。   Thereafter, the positioning unit 15, the collation unit 16, the matching rate totaling unit 17, the collation result storage unit 18, and the collation coordinate changing unit 19 complete the above process, and “9” (image 54) of the shift range 44 is completed. Do until. Then, after the processing for nine locations from “1” to “9” is completed, the processing from the misregistration determination unit 25 as the subsequent processing is performed. Note that the results of the shifted coordinates for nine locations from “1” to “9” are stored in the collation result storage unit 18 as shown in the table of FIG.

そして、位置ずれ判定部25は、照合結果格納部18に格納されているずらし座標9箇所の結果に基づき、最も一致率が高い箇所である番号「5」(X=2、Y=2)がシルク印刷パターン画像40とシルクCAD画像41とがシルク印刷パターンのずれ補正をした位置であると判定する。続いて、不良判定部26は、番号「5」の一致率をあらかじめ設定された閾値と比較し、前記一致率が閾値以上ならば不良ではないと判定し、閾値未満ならば不良であると判定する。例えば、図6に示される例においては、番号「5」の一致率が100〔%〕であるので、不良判定部26は、不良ではないと判定する。そして、不良判定部26が判定した結果は判定結果格納部27に格納される。また、結果出力部28は、判定結果格納部27に格納された結果をファイル出力したり、画面に表示したりする。   Then, based on the result of the nine shift coordinates stored in the collation result storage unit 18, the position deviation determination unit 25 receives the number “5” (X = 2, Y = 2), which is the highest match rate. It is determined that the silk print pattern image 40 and the silk CAD image 41 are positions where the silk print pattern shift correction has been performed. Subsequently, the failure determination unit 26 compares the coincidence rate of the number “5” with a preset threshold value, and determines that it is not defective if the matching rate is equal to or higher than the threshold value, and determines that it is defective if it is less than the threshold value. To do. For example, in the example shown in FIG. 6, since the matching rate of the number “5” is 100 [%], the failure determination unit 26 determines that it is not defective. The result determined by the defect determination unit 26 is stored in the determination result storage unit 27. The result output unit 28 outputs the result stored in the determination result storage unit 27 as a file or displays it on the screen.

このように、本実施の形態においては、基板11の画像からシルク印刷パターン画像40を切り出し、該シルク印刷パターン画像40に対してシルクCAD画像41を特定範囲内においてずらしながらシルク印刷パターンのずれを補正し、補正後に検査を実施するようになっている。これにより、従来困難であったシルクのパターンマッチングによる検査を行うことができ、印刷ずれが大きく高精度に検査することが困難であったシルク印刷パターンの検査を、パターンマッチングによって高精度で実現することができる。   Thus, in the present embodiment, the silk print pattern image 40 is cut out from the image of the substrate 11, and the silk print pattern shift is performed while shifting the silk CAD image 41 within a specific range with respect to the silk print pattern image 40. Corrections are made and inspections are carried out after corrections. This enables inspection by silk pattern matching, which has been difficult in the past, and realizes silk print pattern inspection with high accuracy by pattern matching, which has been difficult to inspect with high printing deviation and high accuracy. be able to.

次に、本発明の第2の実施の形態について説明する。なお、第1の実施の形態と同じ構造を有するものについては、同じ符号を付与することによってその説明を省略する。また、前記第1の実施の形態と同じ動作及び同じ効果についても、その説明を省略する。   Next, a second embodiment of the present invention will be described. In addition, about what has the same structure as 1st Embodiment, the description is abbreviate | omitted by providing the same code | symbol. The description of the same operation and the same effect as those of the first embodiment is also omitted.

図8は本発明の第2の実施の形態におけるシルク検査装置の構成を示すブロック図である。   FIG. 8 is a block diagram showing a configuration of a silk inspection apparatus according to the second embodiment of the present invention.

本実施の形態におけるシルク検査装置は、図に示されるように、グループ作成部30を有する。該グループ作成部30は、連結成分抽出部24が取得したシルク印刷パターンの塊、すなわち、連結成分毎のラベル(番号)について、1つの基板11の全シルク印刷パターンを、例えば、5つのグループにする場合に、5つのグループになるように近くにあるラベル同士をまとめてグループ番号(この場合は、「1」から「5」のいずれかの番号)を付ける。   The silk inspection apparatus in the present embodiment has a group creation unit 30 as shown in the figure. The group creation unit 30 divides all silk printing patterns of one substrate 11 into, for example, five groups with respect to a block of silk printing patterns acquired by the connected component extracting unit 24, that is, a label (number) for each connected component. In this case, the group numbers (in this case, any number from “1” to “5”) are attached together so that there are five groups.

また、位置合わせ部15は、グループ作成部30によって作成されたグループに対して、前記第1の実施の形態と同様に、グループ毎にずらし範囲に従って画像の位置合わせを行う。さらに、照合結果格納部18は、グループ番号とずらし番号の2次元配列に結果を格納する。   In addition, the alignment unit 15 performs image alignment for the group created by the group creation unit 30 according to the shift range for each group, as in the first embodiment. Furthermore, the collation result storage unit 18 stores the results in a two-dimensional array of group numbers and shift numbers.

そして、位置合わせ部15、照合部16、一致率集計部17、照合結果格納部18及び照合座標変更部19は、各々の処理をずらし範囲である9箇所について終了するまで行い、9箇所についての処理が終了した後に、以降の処理である位置ずれ判定部25からの処理を行う。   Then, the positioning unit 15, the matching unit 16, the matching rate totaling unit 17, the matching result storage unit 18, and the matching coordinate changing unit 19 perform each process until the nine shift positions are finished, After the processing is completed, processing from the misregistration determination unit 25, which is subsequent processing, is performed.

なお、その他の点の構成については、前記第1の実施の形態と同様であるので説明を省略する。   Since the configuration of other points is the same as that of the first embodiment, description thereof is omitted.

次に、本実施の形態におけるシルク検査装置の動作について説明する。   Next, the operation of the silk inspection apparatus in the present embodiment will be described.

図9は本発明の第2の実施の形態における画像を重ね合わせる動作を示す第1の図、図10は本発明の第2の実施の形態における画像を重ね合わせる動作を示す第2の図、図11は本発明の第2の実施の形態における照合結果を示す図である。   FIG. 9 is a first diagram showing an operation of superimposing images in the second embodiment of the present invention, and FIG. 10 is a second diagram showing an operation of overlaying images in the second embodiment of the present invention. FIG. 11 is a diagram showing a collation result in the second exemplary embodiment of the present invention.

前記第1の実施の形態においては、画像のずれを高い精度で補正することができない場合がある。例えば、シルク印刷パターンの画像及びシルクCAD画像が、それぞれ、図9(a)に示されるような60及び図9(b)に示されるような63であって、広い範囲に亘(わた)って第1パターン61及び64と第2パターン62及び65とが、それぞれ、分布しているような場合である。この場合、シルク印刷パターン画像60とシルクCAD画像63との一致率を判定するために、シルクCAD画像63の第1パターン64及び第2パターン65を同一条件でずらしていくと、シルク印刷パターン画像60の第1パターン61とシルクCAD画像63の第1パターン64とが一致しても、シルク印刷パターン画像60の第2パターン62とシルクCAD画像63の第2パターン65とが一致しないことがある。すなわち、図9(c)に示されるように、重ね合わせ画像66において、第1パターン67は一致したものとなっても、第2パターン68はずれたものとなってしまうことがある。これは、シルク印刷パターンが均等にずれていないためである。本実施の形態においては、このような問題を解消するために、グループ作成部30が設けられている。   In the first embodiment, there is a case where the image shift cannot be corrected with high accuracy. For example, an image of a silk print pattern and a silk CAD image are 60 as shown in FIG. 9A and 63 as shown in FIG. 9B, respectively, over a wide range. In this case, the first patterns 61 and 64 and the second patterns 62 and 65 are distributed, respectively. In this case, when the first pattern 64 and the second pattern 65 of the silk CAD image 63 are shifted under the same conditions in order to determine the coincidence rate between the silk print pattern image 60 and the silk CAD image 63, the silk print pattern image Even if the first pattern 61 of 60 and the first pattern 64 of the silk CAD image 63 match, the second pattern 62 of the silk print pattern image 60 and the second pattern 65 of the silk CAD image 63 may not match. . That is, as shown in FIG. 9C, in the superimposed image 66, even if the first pattern 67 is matched, the second pattern 68 may be shifted. This is because the silk print pattern is not evenly displaced. In the present embodiment, a group creation unit 30 is provided in order to solve such a problem.

そして、該グループ作成部30は、図10に示されるように、シルクCAD画像73に対して、基準点79a及び79bの2点から近いパターンを2つのグループに分けるとすると、グループ74及び75の2つに分けることができる。そして、グループ74とグループ75のそれぞれについて、前記第1の本実施の形態と同様に、位置合わせ部15、照合部16、一致率集計部17、照合結果格納部18及び照合座標変更部19が処理を行う。ただし、照合結果格納部18には、各グループ74及び75毎にずらし範囲44の「1」から「9」までの9箇所の照合結果が格納される。   Then, as shown in FIG. 10, the group creation unit 30 divides the patterns close to the two reference points 79a and 79b into two groups for the silk CAD image 73. It can be divided into two. Then, for each of the group 74 and the group 75, as in the first embodiment, the alignment unit 15, the collation unit 16, the coincidence rate totaling unit 17, the collation result storage unit 18, and the collation coordinate changing unit 19 Process. However, the collation result storage unit 18 stores nine collation results from “1” to “9” in the shift range 44 for each group 74 and 75.

ここで、照合結果格納部18に格納されているグループ74及び75毎のずらし座標9箇所の結果が、図11に示される表80のようになっているものとする。この場合、位置ずれ判定部25は、表80の結果に基づき、グループ74のずらし座標9箇所のうちで最も一致率が高い箇所である番号「5」(X=2、Y=2)がシルク印刷パターン画像70のパターン71とシルクCAD画像73のグループ74がシルク印刷パターンとのずれを補正した位置であると判定する。また、グループ75のずらし座標9箇所のうちで最も一致率が高い箇所である番号「8」(X=2、Y=3)がシルク印刷パターン画像70のパターン71とシルクCAD画像73のグループ74とがシルク印刷パターンのずれを補正した位置であると判定される。その結果、重ね合わせ画像76におけるパターン77及び78が示すように、シルク印刷パターン画像70とシルクCAD画像73とを一致させることが可能となる。   Here, it is assumed that the results of nine shift coordinates for each of the groups 74 and 75 stored in the collation result storage unit 18 are as shown in Table 80 shown in FIG. In this case, based on the result of Table 80, the position deviation determination unit 25 determines that the number “5” (X = 2, Y = 2), which is the location with the highest matching rate among the nine locations of the shifted coordinates of the group 74, is silk. It is determined that the pattern 71 of the print pattern image 70 and the group 74 of the silk CAD image 73 are positions where the deviation from the silk print pattern is corrected. In addition, the number “8” (X = 2, Y = 3), which has the highest matching rate among the nine shift coordinates of the group 75, has the pattern 71 of the silk print pattern image 70 and the group 74 of the silk CAD image 73. Are determined to be positions where the shift of the silk printing pattern is corrected. As a result, as shown by the patterns 77 and 78 in the superimposed image 76, the silk print pattern image 70 and the silk CAD image 73 can be matched.

そして、不良判定部26は、前記第1の実施の形態と同様に、一致率と閾値とを比較して閾値以上ならば不良ではないとし、閾値未満ならば不良であるとする。例えば、図11に示される表80のグループ74及び75の場合、グループ74の番号「5」の一致率が100〔%〕であるので、不良判定部26は、不良ではないと判定する。そして、不良判定部26が判定した結果は判定結果格納部27に格納される。また、結果出力部28は、判定結果格納部27に格納された結果をファイル出力したり、画面に表示したりする。   Then, as in the first embodiment, the defect determination unit 26 compares the coincidence rate with a threshold value and determines that it is not defective if it is greater than or equal to the threshold value, and determines that it is defective if it is less than the threshold value. For example, in the case of the groups 74 and 75 in the table 80 shown in FIG. 11, since the matching rate of the number “5” of the group 74 is 100 [%], the failure determination unit 26 determines that it is not defective. The result determined by the defect determination unit 26 is stored in the determination result storage unit 27. The result output unit 28 outputs the result stored in the determination result storage unit 27 as a file or displays it on the screen.

このように、本実施の形態においては、シルクCAD画像73をいくつかのグループに分け、グループ毎にシルクCAD画像73を特定範囲内でずらしながらシルク印刷パターンのずれを補正するようになっている。そのため、部分的なシルク印刷パターンのずれに対しても高精度なずれ補正を行うことができ、ずれ補正後に検査を実行することによって、高精度なシルク印刷パターンの検査を行うことができる。   As described above, in the present embodiment, the silk CAD images 73 are divided into several groups, and the shift of the silk print pattern is corrected while shifting the silk CAD images 73 within a specific range for each group. . Therefore, highly accurate displacement correction can be performed even for partial displacement of the silk print pattern, and by performing inspection after the displacement correction, it is possible to perform inspection of the silk print pattern with high accuracy.

次に、本発明の第3の実施の形態について説明する。なお、第1及び第2の実施の形態と同じ構造を有するものについては、同じ符号を付与することによってその説明を省略する。また、前記第1及び第2の実施の形態と同じ動作及び同じ効果についても、その説明を省略する。   Next, a third embodiment of the present invention will be described. In addition, about the thing which has the same structure as 1st and 2nd embodiment, the description is abbreviate | omitted by providing the same code | symbol. Also, the description of the same operations and effects as those of the first and second embodiments is omitted.

図12は本発明の第3の実施の形態におけるシルク検査装置の構成を示すブロック図である。   FIG. 12 is a block diagram showing a configuration of a silk inspection apparatus according to the third embodiment of the present invention.

本実施の形態におけるシルク検査装置は、図に示されるように、二値化部31、縦方向画素ヒストグラム作成部32、横方向画素ヒストグラム作成部33、CAD縦方向画素ヒストグラム作成部34及びCAD横方向画素ヒストグラム作成部35を有する。なお、一致率集計部17及び連結成分抽出部24は省略されている。   As shown in the figure, the silk inspection apparatus according to the present embodiment includes a binarization unit 31, a vertical pixel histogram creation unit 32, a horizontal pixel histogram creation unit 33, a CAD vertical pixel histogram creation unit 34, and a CAD horizontal A direction pixel histogram creation unit 35 is included. In addition, the coincidence rate totaling unit 17 and the connected component extracting unit 24 are omitted.

そして、前記二値化部31は、シルク領域切り出し部13によって切り出されたシルク印刷パターンの画像を二値化する。また、縦方向画素ヒストグラム作成部32は、切り出し画像格納部14に格納されているシルク印刷パターンの二値画像について、縦方向に画素を累積してヒストグラムを作成する。一方、横方向画素ヒストグラム作成部33は、切り出し画像格納部14に格納されているシルク印刷パターンの二値画像について、横方向に画素を累積してヒストグラムを作成する。   The binarization unit 31 binarizes the silk print pattern image cut out by the silk region cutout unit 13. In addition, the vertical pixel histogram creation unit 32 creates a histogram by accumulating pixels in the vertical direction for the binary image of the silk print pattern stored in the cutout image storage unit 14. On the other hand, the horizontal pixel histogram creation unit 33 creates a histogram by accumulating pixels in the horizontal direction for the silk-printed pattern binary image stored in the cut-out image storage unit 14.

また、CAD縦方向画素ヒストグラム作成部34は、CAD画像データ格納部23に格納されているシルクCAD画像のデータについて、縦方向に画素を累積してヒストグラムを作成する。さらに、CAD横方向画素ヒストグラム作成部35は、CAD画像データ格納部23に格納されているシルクCAD画像のデータについて、横方向に画素を累積してヒストグラムを作成する。   Also, the CAD vertical direction pixel histogram creation unit 34 creates a histogram by accumulating pixels in the vertical direction for the data of the silk CAD image stored in the CAD image data storage unit 23. Further, the CAD horizontal direction pixel histogram creation unit 35 creates a histogram by accumulating pixels in the horizontal direction for the silk CAD image data stored in the CAD image data storage unit 23.

そして、位置合わせ部15は、照合座標格納部15aに格納されているずらし範囲に従い、縦方向画素ヒストグラム作成部32によって作成されたヒストグラムとCAD縦方向画素ヒストグラム作成部34によって作成されたヒストグラムとの位置合わせを行う。なお、本実施の形態においては、ずらしの範囲を横に3とする。   The alignment unit 15 then compares the histogram created by the vertical pixel histogram creation unit 32 and the histogram created by the CAD vertical pixel histogram creation unit 34 according to the shift range stored in the collation coordinate storage unit 15a. Perform alignment. In the present embodiment, the shift range is 3 horizontally.

また、位置合わせ部15は、照合座標格納部15aに格納されているずらし範囲に従い、横方向画素ヒストグラム作成部33によって作成されたヒストグラムとCAD横方向画素ヒストグラム作成部35によって作成されたヒストグラムとの位置合わせを行う。なお、本実施の形態においては、ずらしの範囲を縦に3とする。   Further, the alignment unit 15 determines whether the histogram created by the horizontal pixel histogram creation unit 33 and the histogram created by the CAD horizontal pixel histogram creation unit 35 are in accordance with the shift range stored in the collation coordinate storage unit 15a. Perform alignment. In the present embodiment, the shift range is 3 in the vertical direction.

さらに、照合部16は、前記位置合わせ部15の座標に合わせて、縦方向画素ヒストグラム作成部32によって作成されたヒストグラムと、CAD縦方向画素ヒストグラム作成部34によって作成されたヒストグラムとの照合を行う。また、照合部16は、横方向画素ヒストグラム作成部33によって作成されたヒストグラムと、CAD横方向画素ヒストグラム作成部35によって作成されたヒストグラムとの照合を行う。なお、本実施の形態においては、照合方法をヒストグラムの相関性で表すものとし、縦方向画素ヒストグラムの相関性を縦方向ヒストグラム相関結果とし、横方向画素ヒストグラムの相関性を横方向ヒストグラム相関結果とする。   Further, the collation unit 16 collates the histogram created by the vertical pixel histogram creation unit 32 with the histogram created by the CAD vertical pixel histogram creation unit 34 according to the coordinates of the alignment unit 15. . The collation unit 16 collates the histogram created by the horizontal pixel histogram creation unit 33 with the histogram created by the CAD horizontal pixel histogram creation unit 35. In this embodiment, the collation method is represented by histogram correlation, the vertical pixel histogram correlation is the vertical histogram correlation result, and the horizontal pixel histogram correlation is the horizontal histogram correlation result. To do.

そして、照合座標変更部19は、CAD縦方向画素ヒストグラムに対してはずらし座標を横方向に1つ移動させ、CAD横方向画素ヒストグラムに対してはずらし座標を縦方向に1つ移動させる。   Then, the collation coordinate changing unit 19 moves one shift coordinate in the horizontal direction with respect to the CAD vertical pixel histogram, and moves one shift coordinate in the vertical direction with respect to the CAD horizontal pixel histogram.

また、位置ずれ判定部25は、照合結果格納部18に格納されているずらし座標の縦方向ヒストグラム相関結果及び横方向ヒストグラム相関結果のそれぞれに対して最も相関性が高い座標を、シルク印刷パターン画像とシルクCAD画像とのずれ量であると判定する。   The misregistration determination unit 25 also determines the coordinates having the highest correlation with respect to each of the vertical histogram correlation result and the horizontal histogram correlation result of the shift coordinates stored in the matching result storage unit 18 as a silk print pattern image. And the silk CAD image.

さらに、不良判定部26は、前記位置ずれ判定部25によって判定されたずれ箇所に対して、シルク印刷パターン画像とシルクCAD画像との一致度合いを計算し、シルク印刷パターンに不良があるか否かを判断する。   Further, the defect determination unit 26 calculates the degree of coincidence between the silk print pattern image and the silk CAD image with respect to the shift portion determined by the position shift determination unit 25, and determines whether or not there is a defect in the silk print pattern. Judging.

また、判定結果格納部27は、前記不良判定部26の判定結果を格納する。そして、結果出力部28は、前記判定結果格納部27に格納されている結果をファイルに出力したり画面に表示したりする。   The determination result storage unit 27 stores the determination result of the defect determination unit 26. Then, the result output unit 28 outputs the result stored in the determination result storage unit 27 to a file or displays it on the screen.

なお、その他の点の構成については、前記第1の実施の形態と同様であるので説明を省略する。   Since the configuration of other points is the same as that of the first embodiment, description thereof is omitted.

次に、本実施の形態におけるシルク検査装置の動作について説明する。   Next, the operation of the silk inspection apparatus in the present embodiment will be described.

図13は本発明の第3の実施の形態におけるシルク印刷パターンのヒストグラムを示す図、図14は本発明の第3の実施の形態におけるシルクCAD画像のヒストグラムを示す図、図15は本発明の第3の実施の形態におけるシルク印刷パターンのヒストグラムとシルクCAD画像のヒストグラムとの相関性を示す図である。   FIG. 13 is a diagram showing a silk print pattern histogram according to the third embodiment of the present invention, FIG. 14 is a diagram showing a silk CAD image histogram according to the third embodiment of the present invention, and FIG. It is a figure which shows the correlation with the histogram of the silk printing pattern in 3rd Embodiment, and the histogram of a silk CAD image.

まず、二値化部31は、シルク領域切り出し部13によって切り出されたシルク印刷パターンの画像を二値化し、切り出し画像格納部14に格納する。そして、縦方向画素ヒストグラム作成部32は、切り出し画像格納部14に格納されている図13に示されるような二値画像81について、縦方向画素ヒストグラム82を作成する。この場合、二値化された黒画素(二値画像81の部分)の画素数を矢印87で示される方向、すなわち、縦方向に累積して縦方向画素ヒストグラム82を作成する。また、横方向画素ヒストグラム作成部33は、切り出し画像格納部14に格納されている図13に示されるような二値画像81について、横方向画素ヒストグラム83を作成する。この場合、二値化された黒画素(二値画像81の部分)の画素数を矢印88で示される方向、すなわち、横方向に累積して横方向画素ヒストグラム83を作成する。   First, the binarization unit 31 binarizes the silk print pattern image cut out by the silk region cutout unit 13 and stores it in the cutout image storage unit 14. Then, the vertical pixel histogram creation unit 32 creates a vertical pixel histogram 82 for the binary image 81 as shown in FIG. 13 stored in the cutout image storage unit 14. In this case, the vertical pixel histogram 82 is created by accumulating the number of binarized black pixels (portion of the binary image 81) in the direction indicated by the arrow 87, that is, in the vertical direction. Further, the horizontal pixel histogram creation unit 33 creates a horizontal pixel histogram 83 for the binary image 81 as shown in FIG. 13 stored in the cutout image storage unit 14. In this case, the horizontal pixel histogram 83 is created by accumulating the number of pixels of binarized black pixels (part of the binary image 81) in the direction indicated by the arrow 88, that is, in the horizontal direction.

同様に、CAD縦方向画素ヒストグラム作成部34は、CAD画像データ格納部23に格納されている図14に示されるようなシルクCAD画像84について、CAD縦方向画素ヒストグラム85を作成する。この場合、二値化された黒画素(シルクCAD画像84の部分)の画素数を縦方向に累積してCAD縦方向画素ヒストグラム85を作成する。また、CAD横方向画素ヒストグラム作成部35は、CAD画像データ格納部23に格納されている図14に示されるようなシルクCAD画像84について、CAD横方向画素ヒストグラム86を作成する。この場合、二値化された黒画素(シルクCAD画像84の部分)の画素数を横方向に累積してCAD横方向画素ヒストグラム86を作成する。   Similarly, the CAD vertical pixel histogram creation unit 34 creates a CAD vertical pixel histogram 85 for the silk CAD image 84 as shown in FIG. 14 stored in the CAD image data storage unit 23. In this case, the CAD vertical pixel histogram 85 is created by accumulating the number of binarized black pixels (part of the silk CAD image 84) in the vertical direction. In addition, the CAD horizontal pixel histogram creation unit 35 creates a CAD horizontal pixel histogram 86 for the silk CAD image 84 as shown in FIG. 14 stored in the CAD image data storage unit 23. In this case, the CAD horizontal pixel histogram 86 is created by accumulating the number of binarized black pixels (part of the silk CAD image 84) in the horizontal direction.

続いて、位置合わせ部15は、縦方向画素ヒストグラム82及びCAD縦方向画素ヒストグラム85について、あらかじめ照合座標格納部15aに格納されているシルクCAD画像のデータのずらし範囲に対してずらしながら、相関性を計算する。この場合、図15(a)〜(c)に示されるように、CAD縦方向画素ヒストグラム85を線91、94及び96の位置にずらしながら相関性を計算する。   Subsequently, the alignment unit 15 shifts the vertical pixel histogram 82 and the CAD vertical pixel histogram 85 with respect to the shift range of the data of the silk CAD image stored in the collation coordinate storage unit 15a in advance. Calculate In this case, as shown in FIGS. 15A to 15C, the correlation is calculated while the CAD vertical pixel histogram 85 is shifted to the positions of the lines 91, 94, and 96.

同様に、横方向画素ヒストグラム83及びCAD横方向画素ヒストグラム86について、あらかじめ照合座標格納部15aに格納されているシルクCAD画像のデータのずらし範囲に対してずらしながら、相関性を計算する。この場合、図15(d)〜(f)に示されるように、CAD横方向画素ヒストグラム86を線98、100及び102の位置にずらしながら相関性を計算する。   Similarly, the correlation is calculated while shifting the horizontal pixel histogram 83 and the CAD horizontal pixel histogram 86 with respect to the shift range of the data of the silk CAD image stored in the collation coordinate storage unit 15a in advance. In this case, as shown in FIGS. 15D to 15F, the correlation is calculated while the CAD horizontal pixel histogram 86 is shifted to the positions of the lines 98, 100, and 102.

続いて、位置ずれ判定部25は、図15(a)〜(c)のうちで最も相関性が高い結果である図15(b)を横方向のずれと判定し、また、図15(d)〜(f)のうちで最も相関性が高い結果である図15(e)を縦方向のずれと判定する。   Subsequently, the positional deviation determining unit 25 determines that FIG. 15B, which is the result having the highest correlation among FIGS. 15A to 15C, is a lateral deviation, and FIG. ) To (f), which is the result having the highest correlation, is determined as a vertical shift.

そして、不良判定部26は、位置ずれ判定部25によって判定されたずれに対して、シルク印刷パターンとシルクCAD画像との一致率を前記第1の実施の形態と同様に計算し、判定結果を判定結果格納部27に格納する。また、結果出力部28は、判定結果格納部27に格納された結果をファイル出力したり、画面に表示したりする。   Then, the defect determination unit 26 calculates the coincidence rate between the silk print pattern and the silk CAD image with respect to the shift determined by the position shift determination unit 25 in the same manner as in the first embodiment, and determines the determination result. The result is stored in the determination result storage unit 27. The result output unit 28 outputs the result stored in the determination result storage unit 27 as a file or displays it on the screen.

このように、本実施の形態においては、縦方向のヒストグラムと横方向のヒストグラムとを用いて、シルク印刷パターンとシルクCAD画像とのずれ量を検出するようになっている。そのため、シルク印刷パターンとシルクCAD画像とのずれ量を高速で検出することができ、ずれ補正後に検査を実行することによって、高精度なシルク印刷パターンの検査を行うことができる。   As described above, in the present embodiment, the shift amount between the silk print pattern and the silk CAD image is detected using the histogram in the vertical direction and the histogram in the horizontal direction. Therefore, the shift amount between the silk print pattern and the silk CAD image can be detected at high speed, and the inspection of the silk print pattern can be performed with high accuracy by executing the inspection after correcting the shift.

次に、本発明の第4の実施の形態について説明する。なお、第1〜第3の実施の形態と同じ構造を有するものについては、同じ符号を付与することによってその説明を省略する。また、前記第1〜第3の実施の形態と同じ動作及び同じ効果についても、その説明を省略する。   Next, a fourth embodiment of the present invention will be described. In addition, about the thing which has the same structure as the 1st-3rd embodiment, the description is abbreviate | omitted by providing the same code | symbol. Explanation of the same operations and effects as those of the first to third embodiments is also omitted.

図16は本発明の第4の実施の形態におけるシルク検査装置の構成を示すブロック図である。   FIG. 16 is a block diagram showing a configuration of a silk inspection apparatus according to the fourth embodiment of the present invention.

本実施の形態におけるシルク検査装置は、前記第1〜第3の実施の形態を組み合わせた構成を有するものであるので、各部の説明を省略する。   Since the silk inspection apparatus in the present embodiment has a configuration in which the first to third embodiments are combined, description of each part is omitted.

次に、本実施の形態におけるシルク検査装置の動作について説明する。   Next, the operation of the silk inspection apparatus in the present embodiment will be described.

図17は本発明の第4の実施の形態におけるシルク印刷パターンのヒストグラムを示す図、図18は本発明の第4の実施の形態におけるシルクCAD画像のヒストグラムを示す図である。   FIG. 17 is a diagram showing a silk print pattern histogram according to the fourth embodiment of the present invention, and FIG. 18 is a diagram showing a silk CAD image histogram according to the fourth embodiment of the present invention.

まず、二値化部31は、シルク領域切り出し部13によって切り出されたシルク印刷パターンの画像を二値化し、切り出し画像格納部14に格納する。そして、縦方向画素ヒストグラム作成部32は、切り出し画像格納部14に格納されている図17に示されるような二値画像105について、縦方向画素ヒストグラム110を作成する。この場合、二値化された黒画素(二値画像105の部分)の画素数を矢印87で示される方向、すなわち、縦方向に累積して縦方向画素ヒストグラム110を作成する。また、横方向画素ヒストグラム作成部33は、切り出し画像格納部14に格納されている図17に示されるような二値画像105について、横方向画素ヒストグラム111を作成する。この場合、二値化された黒画素(二値画像105の部分)の画素数を矢印88で示される方向、すなわち、横方向に累積して縦方向画素ヒストグラム111を作成する。   First, the binarization unit 31 binarizes the silk print pattern image cut out by the silk region cutout unit 13 and stores it in the cutout image storage unit 14. Then, the vertical pixel histogram creation unit 32 creates a vertical pixel histogram 110 for the binary image 105 as shown in FIG. 17 stored in the cutout image storage unit 14. In this case, the vertical pixel histogram 110 is created by accumulating the number of binarized black pixels (portion of the binary image 105) in the direction indicated by the arrow 87, that is, in the vertical direction. Further, the horizontal pixel histogram creation unit 33 creates a horizontal pixel histogram 111 for the binary image 105 as shown in FIG. 17 stored in the cutout image storage unit 14. In this case, the vertical pixel histogram 111 is created by accumulating the number of binarized black pixels (part of the binary image 105) in the direction indicated by the arrow 88, that is, in the horizontal direction.

また、グループ作成部30は、図18に示されるように、シルクCAD画像73に対して、基準点79a及び79bの2点から近いパターンを2つのグループに分けるとすると、グループ74及び75の2つに分けることができる。そして、グループ74とグループ75のそれぞれについて、前記第1の本実施の形態と同様に、位置合わせ部15、照合部16、一致率集計部17、照合結果格納部18及び照合座標変更部19が処理を行う。   Further, as shown in FIG. 18, the group creating unit 30 divides patterns close to the two reference points 79a and 79b into two groups for the silk CAD image 73. It can be divided into two. Then, for each of the group 74 and the group 75, as in the first embodiment, the alignment unit 15, the collation unit 16, the coincidence rate totaling unit 17, the collation result storage unit 18, and the collation coordinate changing unit 19 Process.

続いて、CAD縦方向画素ヒストグラム作成部34は、CAD画像データ格納部23に格納されているシルクCAD画像73のグループ74及びグループ75のそれぞれについて、CAD縦方向画素ヒストグラム115及び116を作成する。この場合、二値化された黒画素(シルクCAD画像データの部分)の画素数を縦方向に累積してCAD縦方向画素ヒストグラム115及び116を作成する。また、CAD横方向画素ヒストグラム作成部35は、CAD画像データ格納部23に格納されているシルクCAD画像73のグループ74及びグループ75のそれぞれについて、CAD横方向画素ヒストグラム117及び118を作成する。この場合、二値化された黒画素(シルクCAD画像73の部分)の画素数を横方向に累積してCAD横方向画素ヒストグラム117及び118を作成する。   Subsequently, the CAD vertical pixel histogram creation unit 34 creates CAD vertical pixel histograms 115 and 116 for each of the group 74 and the group 75 of the silk CAD image 73 stored in the CAD image data storage unit 23. In this case, the CAD vertical pixel histograms 115 and 116 are created by accumulating the number of binarized black pixels (silk CAD image data portion) in the vertical direction. Further, the CAD horizontal pixel histogram creation unit 35 creates CAD horizontal pixel histograms 117 and 118 for each of the group 74 and the group 75 of the silk CAD image 73 stored in the CAD image data storage unit 23. In this case, CAD horizontal pixel histograms 117 and 118 are created by accumulating the number of binarized black pixels (part of the silk CAD image 73) in the horizontal direction.

続いて、位置合わせ部15は、縦方向画素ヒストグラム110及びグループ74のCAD縦方向画素ヒストグラム115について、あらかじめ照合座標格納部15aに格納されているシルクCAD画像のデータのずらし範囲に対してずらしながら、相関性を計算する。同様に、縦方向画素ヒストグラム110及びグループ75のCAD縦方向画素ヒストグラム116について、相関性を計算する。   Subsequently, the alignment unit 15 shifts the vertical pixel histogram 110 and the CAD vertical pixel histogram 115 of the group 74 with respect to the shift range of the data of the silk CAD image stored in the collation coordinate storage unit 15a in advance. Calculate the correlation. Similarly, correlations are calculated for the vertical pixel histogram 110 and the group 75 CAD vertical pixel histogram 116.

また、位置合わせ部15は、横方向画素ヒストグラム111及びグループ74のCAD横方向画素ヒストグラム117について、あらかじめ照合座標格納部15aに格納されているシルクCAD画像のデータのずらし範囲に対してずらしながら、相関性を計算する。同様に、横方向画素ヒストグラム111及びグループ75のCAD横方向画素ヒストグラム118について、相関性を計算する。   The alignment unit 15 shifts the horizontal pixel histogram 111 and the CAD horizontal pixel histogram 117 of the group 74 with respect to the shift range of the data of the silk CAD image stored in the collation coordinate storage unit 15a in advance. Calculate the correlation. Similarly, the correlation is calculated for the horizontal pixel histogram 111 and the group 75 CAD horizontal pixel histogram 118.

なお、相関性の計算は、前記第3の実施の形態と同様であるので、説明を省略する。また、以降の動作も前記第3の実施の形態と同様であるので、説明を省略する。ただし、本実施の形態においては、グループ74及び75毎に相関性の高い結果の位置をずれと判定し、判定されたずれに対して、シルク印刷パターンとシルクCAD画像との一致率を前記第1の実施の形態と同様に計算し、判定結果を判定結果格納部27に格納する。そして、結果出力部28は、判定結果格納部27に格納された結果をファイル出力したり、画面に表示したりする。   The correlation calculation is the same as in the third embodiment, and a description thereof will be omitted. Since the subsequent operation is the same as that of the third embodiment, the description thereof is omitted. However, in the present embodiment, the position of the highly correlated result is determined as a shift for each of the groups 74 and 75, and the matching rate between the silk print pattern and the silk CAD image is determined for the determined shift. Calculation is performed in the same manner as in the first embodiment, and the determination result is stored in the determination result storage unit 27. Then, the result output unit 28 outputs the result stored in the determination result storage unit 27 as a file or displays it on the screen.

このように、本実施の形態においては、シルクCAD画像73をいくつかのグループに分け、グループ毎にシルクCAD画像73の縦方向画素ヒストグラム115及び116と横方向画素ヒストグラム117及び118とを特定範囲内でずらしながらシルク印刷パターンのずれを補正するようになっている。そのため、部分的なシルク印刷パターンのずれに対しても、高速かつ高精度なシルクずれ補正を行うことができ、シルクずれ補正後に検査を実行することによって、高精度なシルク印刷パターンの検査を実現することができる。   Thus, in the present embodiment, the silk CAD image 73 is divided into several groups, and the vertical pixel histograms 115 and 116 and the horizontal pixel histograms 117 and 118 of the silk CAD image 73 are specified ranges for each group. The shift of the silk print pattern is corrected while shifting within. Therefore, high-speed and high-precision silk shift correction can be performed even for partial silk print pattern shifts, and high-precision silk print pattern inspection is realized by performing inspection after silk shift correction. can do.

なお、本発明の第1〜第4の実施の形態においては、ずらし範囲を1画素として説明したが、それに限定されるものではない。また、シルク印刷パターンの切り出しを行う特徴としてRGBを用いて説明したが、色相、彩度などを用いることでも実現することができる。   In the first to fourth embodiments of the present invention, the shift range is described as one pixel, but the present invention is not limited to this. Further, although description has been made using RGB as a feature for cutting out a silk print pattern, it can also be realized by using hue, saturation, and the like.

また、前記第3及び第4の実施の形態においては、ヒストグラムの一致度合いの検出に相関性を用いたが、差分を特徴としても実現することができる。   In the third and fourth embodiments, the correlation is used to detect the degree of coincidence of the histograms. However, the difference can also be realized as a feature.

さらに、前記第2及び第4の実施の形態においては、グループ作成部30の基準を角点としたが、それに限定されるものではなく、例えば、中心を基準にしたり、画像左上角点を基準にしたりすることができ、基準は自由に設定することができる。   Furthermore, in the second and fourth embodiments, the reference point of the group creating unit 30 is a corner point. However, the reference point is not limited thereto. For example, the reference point is the center or the upper left corner point of the image. The standard can be set freely.

さらに、本発明は前記実施の形態に限定されるものではなく、本発明の趣旨に基づいて種々変形させることが可能であり、それらを本発明の範囲から排除するものではない。   Furthermore, the present invention is not limited to the above-described embodiment, and various modifications can be made based on the spirit of the present invention, and they are not excluded from the scope of the present invention.

本発明の第1の実施の形態におけるシルク検査装置の構成を示すブロック図である。It is a block diagram which shows the structure of the silk inspection apparatus in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるシルク印刷パターンの画像とCAD画像とを示す図である。It is a figure which shows the image and the CAD image of a silk printing pattern in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるずらし範囲を示す図である。It is a figure which shows the shift range in the 1st Embodiment of this invention. 本発明の第1の実施の形態における位置合わせ部の動作を説明する図である。It is a figure explaining operation | movement of the position alignment part in the 1st Embodiment of this invention. 本発明の第1の実施の形態における位置合わせ部及び照合部の動作を説明する図である。It is a figure explaining operation | movement of the position alignment part and collation part in the 1st Embodiment of this invention. 本発明の第1の実施の形態における照合結果を示す図である。It is a figure which shows the collation result in the 1st Embodiment of this invention. 本発明の第1の実施の形態における不良判定部の動作を説明する図である。It is a figure explaining operation | movement of the defect determination part in the 1st Embodiment of this invention. 本発明の第2の実施の形態におけるシルク検査装置の構成を示すブロック図である。It is a block diagram which shows the structure of the silk inspection apparatus in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における画像を重ね合わせる動作を示す第1の図である。It is a 1st figure which shows the operation | movement which superimposes the image in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における画像を重ね合わせる動作を示す第2の図である。It is a 2nd figure which shows the operation | movement which superimposes the image in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における照合結果を示す図である。It is a figure which shows the collation result in the 2nd Embodiment of this invention. 本発明の第3の実施の形態におけるシルク検査装置の構成を示すブロック図である。It is a block diagram which shows the structure of the silk inspection apparatus in the 3rd Embodiment of this invention. 本発明の第3の実施の形態におけるシルク印刷パターンのヒストグラムを示す図である。It is a figure which shows the histogram of the silk printing pattern in the 3rd Embodiment of this invention. 本発明の第3の実施の形態におけるシルクCAD画像のヒストグラムを示す図である。It is a figure which shows the histogram of the silk CAD image in the 3rd Embodiment of this invention. 本発明の第3の実施の形態におけるシルク印刷パターンのヒストグラムとシルクCAD画像のヒストグラムとの相関性を示す図である。It is a figure which shows the correlation with the histogram of the silk printing pattern in the 3rd Embodiment of this invention, and the histogram of a silk CAD image. 本発明の第4の実施の形態におけるシルク検査装置の構成を示すブロック図である。It is a block diagram which shows the structure of the silk inspection apparatus in the 4th Embodiment of this invention. 本発明の第4の実施の形態におけるシルク印刷パターンのヒストグラムを示す図である。It is a figure which shows the histogram of the silk printing pattern in the 4th Embodiment of this invention. 本発明の第4の実施の形態におけるシルクCAD画像のヒストグラムを示す図である。It is a figure which shows the histogram of the silk CAD image in the 4th Embodiment of this invention.

符号の説明Explanation of symbols

11 基板
12 画像取得部
13 シルク領域切り出し部
14 切り出し画像格納部
16 照合部
17 一致率集計部
18 照合結果格納部
24 連結成分抽出部
25 位置ずれ判定部
26 不良判定部
30 グループ作成部
31 二値化部
32 縦方向画素ヒストグラム作成部
33 横方向画素ヒストグラム作成部
34 CAD縦方向画素ヒストグラム作成部
35 CAD横方向画素ヒストグラム作成部
40、51、60、70 シルク印刷パターン画像
41、50、52、53、63、73、84 シルクCAD画像
54 画像
74、75 グループ
81、105 二値画像
82、110 縦方向画素ヒストグラム
83、111 横方向画素ヒストグラム
85、115、116 CAD縦方向画素ヒストグラム
86、117、118 CAD横方向画素ヒストグラム
DESCRIPTION OF SYMBOLS 11 Board | substrate 12 Image acquisition part 13 Silk area cutout part 14 Cutout image storage part 16 Collation part 17 Matching rate totaling part 18 Collation result storage part 24 Connected component extraction part 25 Misalignment determination part 26 Defect determination part 30 Group preparation part 31 Binary Conversion unit 32 Vertical pixel histogram generation unit 33 Horizontal pixel histogram generation unit 34 CAD vertical pixel histogram generation unit 35 CAD horizontal pixel histogram generation units 40, 51, 60, 70 Silk print pattern images 41, 50, 52, 53 63, 73, 84 Silk CAD image 54 Image 74, 75 Group 81, 105 Binary image 82, 110 Vertical pixel histogram 83, 111 Horizontal pixel histogram 85, 115, 116 CAD vertical pixel histogram 86, 117, 118 CAD horizontal pixel histogram

Claims (6)

(a)基板の画像を取得する画像取得部と、
(b)該画像取得部が取得した基板の画像からシルク印刷パターンの画像を切り出すシルク領域切り出し部と、
(c)該シルク領域切り出し部が切り出したシルク印刷パターンの画像を保存する切り出し画像格納部と、
(d)前記シルク印刷パターンのCAD画像を読み込むCAD画像データ読み込み部と、
(e)該CAD画像データ読み込み部が読み込んだCAD画像と、前記シルク印刷パターンの画像とをずらしながら一致度合いを集計する手段と、
(f)ずらした座標に対して一致度合いの集計結果を格納する照合結果格納部と、
(g)該照合結果格納部に格納された集計結果からシルク印刷パターンのずれ量を判定する位置ずれ判定部と、
(h)該位置ずれ判定部が判定したシルク印刷パターンのずれ量に基づいてシルク印刷パターンの不良を判定する不良判定部とを有することを特徴とするシルク検査装置。
(A) an image acquisition unit for acquiring an image of the substrate;
(B) a silk region cutout unit that cuts out an image of a silk print pattern from the image of the substrate acquired by the image acquisition unit;
(C) a cut-out image storage unit that stores an image of a silk print pattern cut out by the silk region cut-out unit;
(D) a CAD image data reading unit for reading a CAD image of the silk print pattern;
(E) means for counting the degree of coincidence while shifting the CAD image read by the CAD image data reading unit and the image of the silk print pattern;
(F) a collation result storage unit that stores the total result of the matching degree with respect to the shifted coordinates;
(G) a displacement determination unit that determines a displacement amount of the silk print pattern from the total result stored in the matching result storage unit;
(H) A silk inspection apparatus comprising: a defect determination unit that determines a defect of a silk print pattern based on a shift amount of the silk print pattern determined by the position shift determination unit.
(a)前記CAD画像の連結成分を抽出する連結成分抽出部と、
(b)該連結成分抽出部が抽出した連結成分を複数のグループに分けるグループ作成部と、
(c)グループ毎にずらしてシルク印刷パターンの画像とCAD画像との一致度合いを計算する一致率集計部とを有する請求項1に記載のシルク検査装置。
(A) a connected component extraction unit that extracts a connected component of the CAD image;
(B) a group creating unit that divides the connected components extracted by the connected component extracting unit into a plurality of groups;
The silk inspection apparatus according to claim 1, further comprising: a coincidence rate totaling unit that calculates a degree of coincidence between the silk print pattern image and the CAD image by shifting for each group.
(a)前記シルク印刷パターンの画像を二値化する二値化部と、
(b)二値画像の縦方向画素ヒストグラムを作成する縦方向画素ヒストグラム作成部と、
(c)前記二値画像の横方向画素ヒストグラムを作成する横方向画素ヒストグラム作成部と、
(d)前記CAD画像の縦方向画素ヒストグラムを作成するCAD縦方向画素ヒストグラム作成部と、
(e)前記CAD画像の横方向画素ヒストグラムを作成するCAD横方向画素ヒストグラム作成部と、
(f)前記シルク印刷パターンの画像及びCAD画像の各々から作成した画素ヒストグラム同士をずらしながら一致度合いを計算する照合部とを有する請求項1に記載のシルク検査装置。
(A) a binarization unit that binarizes the image of the silk print pattern;
(B) a vertical pixel histogram creation unit that creates a vertical pixel histogram of a binary image;
(C) a horizontal pixel histogram creation unit for creating a horizontal pixel histogram of the binary image;
(D) a CAD vertical pixel histogram creation unit for creating a vertical pixel histogram of the CAD image;
(E) a CAD horizontal pixel histogram creation unit that creates a horizontal pixel histogram of the CAD image;
(F) The silk inspection apparatus according to claim 1, further comprising: a matching unit that calculates a degree of matching while shifting pixel histograms created from each of the silk printed pattern image and the CAD image.
(a)前記CAD画像の連結成分を抽出する連結成分抽出部と、
(b)該連結成分抽出部が抽出した連結成分を複数のグループに分けるグループ作成部と、
(c)前記CAD画像のグループ毎に縦方向画素ヒストグラムを作成するCAD縦方向画素ヒストグラム作成部と、
(d)前記CAD画像のグループ毎に横方向画素ヒストグラムを作成するCAD横方向画素ヒストグラム作成部と、
(e)前記シルク印刷パターンの画像を二値化する二値化部と、
(f)前記シルク印刷パターンの二値画像の縦方向画素ヒストグラムを作成する縦方向画素ヒストグラム作成部と、
(g)前記二値画像の横方向画素ヒストグラムを作成する横方向画素ヒストグラム作成部と、
(h)前記シルク印刷パターンの画像及びCAD画像の各々から作成した画素ヒストグラム同士をずらしながら一致度合いを計算する照合部とを有する請求項1に記載のシルク検査装置。
(A) a connected component extraction unit that extracts a connected component of the CAD image;
(B) a group creating unit that divides the connected components extracted by the connected component extracting unit into a plurality of groups;
(C) a CAD vertical pixel histogram creation unit that creates a vertical pixel histogram for each group of CAD images;
(D) a CAD horizontal pixel histogram creation unit that creates a horizontal pixel histogram for each group of the CAD images;
(E) a binarization unit for binarizing the image of the silk print pattern;
(F) a vertical pixel histogram creation unit for creating a vertical pixel histogram of the binary image of the silk print pattern;
(G) a horizontal pixel histogram creation unit for creating a horizontal pixel histogram of the binary image;
The silk inspection apparatus according to claim 1, further comprising: a matching unit that calculates a degree of matching while shifting pixel histograms created from the silk printed pattern image and the CAD image.
前記一致率集計部は、前記シルク印刷パターンの画像を二値化した二値画像と前記CAD画像の二値画像とを重ね合わせたときに互いに共通する画素同士において、互いに黒である画素又は互いに白である画素を一致している画素として一致率を集計する請求項2に記載のシルク検査装置。 The coincidence rate totaling unit is configured such that when the binary image obtained by binarizing the image of the silk print pattern and the binary image of the CAD image are overlapped with each other, the pixels that are common to each other, The silk inspection apparatus according to claim 2, wherein the coincidence ratios are totaled as pixels that match white pixels. 前記一致率集計部は、前記シルク印刷パターンの画像とCAD画像との画素同士の特徴値の差異を閾値と比較し、一致しているか否かを集計する請求項2に記載のシルク検査装置。 3. The silk inspection apparatus according to claim 2, wherein the coincidence rate counting unit compares the difference between the feature values of the pixels of the silk print pattern image and the CAD image with a threshold value and totals whether or not they match.
JP2006155790A 2006-06-05 2006-06-05 Silk inspection apparatus Withdrawn JP2007322354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006155790A JP2007322354A (en) 2006-06-05 2006-06-05 Silk inspection apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006155790A JP2007322354A (en) 2006-06-05 2006-06-05 Silk inspection apparatus

Publications (1)

Publication Number Publication Date
JP2007322354A true JP2007322354A (en) 2007-12-13

Family

ID=38855303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006155790A Withdrawn JP2007322354A (en) 2006-06-05 2006-06-05 Silk inspection apparatus

Country Status (1)

Country Link
JP (1) JP2007322354A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218109A (en) * 2009-03-16 2010-09-30 Ricoh Co Ltd Image retrieval apparatus and image retrieval method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010218109A (en) * 2009-03-16 2010-09-30 Ricoh Co Ltd Image retrieval apparatus and image retrieval method

Similar Documents

Publication Publication Date Title
US7031511B2 (en) Hole inspection apparatus and method
WO2018068415A1 (en) Detection method and system for wrong part
JP2008185514A (en) Substrate visual inspection apparatus
JPS6261390A (en) Method and apparatus for inspecting printed board
WO2016006076A1 (en) Method for producing component placement coordinates and device for producing component placement coordinates
JP3906780B2 (en) Data registration method for component code conversion table, board inspection data creation device, registration processing program, and storage medium thereof
CN108596829A (en) A kind of PCB bare boards picture method for registering and device
JP5045591B2 (en) Method for creating area setting data for inspection area and board appearance inspection apparatus
JP6496159B2 (en) Pattern inspection apparatus and pattern inspection method
EP2919161A2 (en) Method and apparatus for processing barcode images
JP2007322354A (en) Silk inspection apparatus
JP2007033126A (en) Substrate inspection device, parameter adjusting method thereof and parameter adjusting device
JP2002042112A (en) Part mounting inspecting method for circuit board and its system
JP2003086919A (en) Pattern inspection device
JP2002005850A (en) Defect inspection method and apparatus therefor, and production method of mask
TW202215038A (en) Inspection of circuit boards for unauthorized modifications
JP2007309703A (en) Inspection method of pixel
JP3116438B2 (en) Inspection apparatus and inspection method for printed wiring board
JP4507785B2 (en) Substrate inspection device, parameter setting method and parameter setting device
JP3857668B2 (en) Pattern alignment method
JP5130257B2 (en) Image processing device
JP7423809B2 (en) Bump position data generation device
JP2006284543A (en) Method and device for inspecting mounted circuit board
JP4354174B2 (en) Manufacturing method for electronic circuit components
KR102177329B1 (en) Method for sensing of fiducial Mark

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090901