JPH04322380A - Check device - Google Patents

Check device

Info

Publication number
JPH04322380A
JPH04322380A JP3092332A JP9233291A JPH04322380A JP H04322380 A JPH04322380 A JP H04322380A JP 3092332 A JP3092332 A JP 3092332A JP 9233291 A JP9233291 A JP 9233291A JP H04322380 A JPH04322380 A JP H04322380A
Authority
JP
Japan
Prior art keywords
character
inspected
inspection
check object
characters
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
JP3092332A
Other languages
Japanese (ja)
Inventor
Kazuhiko Sato
和彦 佐藤
Sachihiro Kaneko
祥宏 金子
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP3092332A priority Critical patent/JPH04322380A/en
Publication of JPH04322380A publication Critical patent/JPH04322380A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To detect the states of a part and the whole of a check object character to perform flexible and accurate check by detecting a defect of the check object character based on comparison between a reference value and normalizing correlation values between divided areas of picture data of the check object character and divided areas of a master character. CONSTITUTION:In a check device where the check object character of characters, graphics, symbols, etc., is checked based on picture data obtained by picking up the image of the check object character by CCD cameras 11a, 11b,...11e, a defect of the check object character is detected based on comparison between the reference value and normalizing correlation values between divided areas of picture data of the check object character and divided areas of the master character.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、例えばCCD(チャー
ジ・カップルド・デバイス)カメラにより文字、図形及
び記号等の被検査対象を撮像して得た画像情報より、被
検査対象の欠陥を検査する検査装置等に適用して好適な
検査装置に関する。
[Industrial Application Field] The present invention inspects defects in an object to be inspected using image information obtained by imaging the object to be inspected, such as characters, figures, and symbols, using a CCD (charge coupled device) camera, for example. The present invention relates to an inspection device suitable for application to inspection devices and the like.

【0002】0002

【従来の技術】従来、文字、図形及び記号等の被検査対
象をCCD(チャージ・カップルド・デバイス)カメラ
で撮像し、これによって得た画像情報に基いて被検査対
象の欠陥を検査する検査装置は周知である。文字、図形
及び記号等を検査する場合にはこれら文字、図形及び記
号を1つずつCCDカメラで撮像するわけではなく、文
字列、図形列及び記号列、または領域等所定範囲を複数
のCCDカメラに割り当てるようにしている。このよう
にして撮像した画像情報を検査するときに問題となるの
は、取り込んだ画像情報から被検査対象としての文字、
図形及び記号(以下説明が雑多となるので単に文字と記
述する)を取り出す場合である。1つの文字や(または
文字列)を取り出す場合には、その取り出す範囲内にお
ける文字の位置が、これらと比較するためのマスター文
字の所定範囲内における位置と一致、即ち、被検査対象
である撮像した文字(検査文字と記述する)をマスター
文字と重ねる際に一番形の一致する座標を検出しなけれ
ばならない。この位置合わせの方法として、例えば重心
を求める方法がある。しかしながら、この方法では、例
えば検査文字の一部が欠けていたりすると重心がずれる
ので、これを考慮しておかないと正確な位置合わせを行
うことができない。従って、このような検査文字の“欠
け”や文字のピントが合わない状態のまま画像情報とし
て取り込まれてしまう、いわゆる“ぼけ”の状態におい
ても、正確な位置合わせを行えるようにした方法が用い
られている。この方法は正規化相関と称され、検査文字
とマスター文字との濃度分布の類似性を検出する方法で
ある。例えば図12に示すように英文字“n”を検査す
る場合においては、破線で示す取り出しの範囲(wx)
×(wy)(単位は画素)の全ての画素をマスター文字
の範囲の全ての画素と演算し、この演算結果によって位
置合わせを行うようにしていた。そして、このように位
置合わせを行った後に、例えば2値化したマスター文字
と検査文字の面積差を求め、この結果によって検査文字
の“欠け”等の欠陥を検出するようにしていた。
[Background Art] Conventionally, an inspection is performed in which an object to be inspected such as characters, figures, symbols, etc. is imaged with a CCD (charge coupled device) camera, and defects in the object to be inspected are inspected based on the image information obtained thereby. The device is well known. When inspecting characters, figures, symbols, etc., these letters, figures, and symbols are not imaged one by one with a CCD camera, but a predetermined range such as a character string, a figure string, a symbol string, or an area is inspected using multiple CCD cameras. I am trying to assign it to When inspecting image information captured in this way, the problem is that characters as the object to be inspected are extracted from the captured image information.
This is a case of extracting figures and symbols (hereinafter simply referred to as characters as the explanation will be complicated). When extracting one character or (or character string), the position of the character within the range to be extracted matches the position of the master character for comparison within a predetermined range, that is, the image of the object to be inspected. When superimposing a character (described as a test character) on a master character, the coordinates that best match the shape must be detected. As a method for this alignment, for example, there is a method of determining the center of gravity. However, in this method, if a part of the test character is missing, for example, the center of gravity will shift, so unless this is taken into consideration, accurate positioning cannot be performed. Therefore, a method is used that allows accurate positioning even in the case of so-called "blurred" conditions, where the inspected characters are "missed" or the characters are captured as image information without being in focus. It is being This method is called normalized correlation, and is a method for detecting the similarity in density distribution between the test character and the master character. For example, when inspecting the alphabetic character “n” as shown in FIG. 12, the extraction range (wx) shown by the broken line
All pixels of ×(wy) (unit: pixel) are calculated with all pixels in the range of the master character, and alignment is performed based on the result of this calculation. After alignment is performed in this manner, the difference in area between the binarized master character and the test character is determined, and defects such as "chip" in the test character are detected based on this result.

【0003】0003

【発明が解決しようとする課題】ところで、上述のよう
に2値化したマスター文字と検査文字の面積差を求め、
この結果によって検査文字の“欠け”等の欠陥を検出す
るようにした場合は、単に検査文字の欠陥の有無だけの
検出を行うだけとなると共に、照明の変化や2値化しき
い値の変動、更にはパッド印刷等文字の印刷タイプ等の
影響により、同じ検査文字でもマスター文字との面積差
にばらつきが生じる。従って、柔軟、且つ、正確な検査
を行うことができない不都合がある。
[Problem to be solved by the invention] By the way, as described above, the difference in area between the binarized master character and the test character is calculated.
If this result is used to detect defects such as "chips" in the inspection characters, it will simply detect the presence or absence of defects in the inspection characters, as well as changes in illumination, binarization threshold fluctuations, etc. Furthermore, due to the influence of the printing type of characters such as pad printing, even the same test character has a variation in area difference from the master character. Therefore, there is a disadvantage that flexible and accurate inspection cannot be performed.

【0004】本発明はかかる点に鑑みてなされたもので
、被検査対象の一部及び全体の状態を検出することがで
きるようにして、柔軟、且つ、正確な検査を行うことの
できる検査装置を提案しようとするものである。
[0004] The present invention has been made in view of the above points, and provides an inspection device capable of performing flexible and accurate inspection by being able to detect the condition of a part and the whole of an object to be inspected. This is what we are trying to propose.

【0005】[0005]

【課題を解決するための手段】本発明検査装置は例えば
図1〜図11に示す如く、文字、図形及び記号等の被検
査対象zを撮像して得た画像情報に基いて、この被検査
対象zを検査するようにした検査装置において、被検査
対象zの画像情報を分割した領域ごとの濃淡情報と、基
準情報mの濃淡情報との類似度を検出して得た値と基準
値との比較に基いて、被検査対象zの欠陥を検出するよ
うにしたものである。
[Means for Solving the Problems] As shown in FIGS. 1 to 11, for example, the inspection apparatus of the present invention detects an object to be inspected based on image information obtained by imaging an object to be inspected z such as characters, figures, and symbols. In an inspection device configured to inspect object z, a value obtained by detecting the degree of similarity between gray scale information for each area obtained by dividing image information of target target z and gray scale information of reference information m, and a reference value. Based on the comparison, defects in the object to be inspected z are detected.

【0006】[0006]

【作用】上述せる本発明によれば、被検査対象zの画像
情報を分割した領域ごとの濃淡情報と、基準情報mの濃
淡情報との類似度を検出して得た値と基準値との比較に
基いて被検査対象zの欠陥を検出するようにしたので、
被検査対象の一部及び全体の状態を検出することができ
るようにして、柔軟、且つ、正確な検査を行うことがで
きる。
[Operation] According to the present invention described above, the value obtained by detecting the degree of similarity between the grayscale information of each region obtained by dividing the image information of the object to be inspected z and the grayscale information of the reference information m and the reference value. Since defects in inspection target z are detected based on comparison,
By being able to detect the condition of a part and the whole of the object to be inspected, flexible and accurate inspection can be performed.

【0007】[0007]

【実施例】以下に、図1を参照して本発明検査装置の一
実施例について詳細に説明する。この図1において、1
はCPU回路で、このCPU回路1はプロセッサ3の操
作による各種コマンドデータやパラメータデータ等をバ
ス(コントロール、アドレス及びデータバスから成る)
2を介して各回路の制御等を行うと共に、後述する各回
路よりのデータ等の処理を行う。また、このプロセッサ
3により装置の立ち上げも行う。4はフロッピーディス
クドライブコントローラで、このフロッピーディスクド
ライブコントローラ4はCPU回路1の制御により、フ
ロッピーディスクドライブ5をコントロールし、このフ
ロッピーディスク6より種々のデータを読みだしたりす
る。この種々のデータとしては、被検査対象を検査する
ための例えば被検査対象ごとのプログラムデータや後述
するマスター文字のプロファイル、即ち、所定領域内の
文字を水平または垂直方向で画素数を検出した結果のデ
ータがある。これらのデータの内、前者のプログラムデ
ータはCPU回路1のメモリ(図示は省略する)にバス
2を介して供給され、後者の結果のデータは夫々対応す
る画像処理回路10a、10b、・・・10eに供給さ
れる。7はインターフェイス回路で、このインターフェ
イス回路7はCPU回路1よりバス2を介して供給され
る欠陥情報データをライン制御部及びシーケンサ部に供
給すると共に、トラックボール8の操作によるコントロ
ールデータを、バス2を介して、CPU回路1に供給し
、これによって被検査対象の選択を行ったり、スレッシ
ュホールドレベル等の各種パラメータを選択したりする
ことができるようにする。またこのライン制御部及びシ
ーケンサ部9は、図2において説明する検査ライン17
による被検査対象物18の搬送等の制御等を行うと共に
、欠陥情報データにより欠陥の生じた被検査対象物を排
除したり、バス2を介して画像処理回路10a、10b
、・・・10eに画像の取り込みコマンドを供給したり
する。これら画像処理回路10a、10b、・・・10
eは各々のCCDカメラ11a、11b、・・・11e
よりの映像信号を処理する。また、これら画像処理回路
10a、10b、・・・10eよりの画像データは操作
盤12によって選択され、この操作盤12を介してモニ
タ13または14に供給され、これらモニタ13や14
の管面に画像として映出される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the inspection apparatus of the present invention will be described in detail below with reference to FIG. In this Figure 1, 1
is a CPU circuit, and this CPU circuit 1 transfers various command data, parameter data, etc. operated by the processor 3 to a bus (consisting of control, address, and data buses).
2, it controls each circuit, and also processes data etc. from each circuit, which will be described later. The processor 3 also starts up the device. A floppy disk drive controller 4 controls a floppy disk drive 5 under the control of the CPU circuit 1, and reads various data from the floppy disk 6. These various data include, for example, program data for each target to be inspected, profiles of master characters to be described later, and results of detecting the number of pixels in horizontal or vertical directions of characters within a predetermined area. There is data on. Of these data, the former program data is supplied to the memory of the CPU circuit 1 (not shown) via the bus 2, and the latter resultant data is supplied to the corresponding image processing circuits 10a, 10b, . . . 10e. 7 is an interface circuit, and this interface circuit 7 supplies defect information data supplied from the CPU circuit 1 via the bus 2 to the line control section and the sequencer section, and also transmits control data by operation of the trackball 8 to the bus 2. The signal is supplied to the CPU circuit 1 via the CPU circuit 1, thereby making it possible to select an object to be inspected and select various parameters such as a threshold level. In addition, this line control section and sequencer section 9 are connected to the inspection line 17 described in FIG.
In addition to controlling the conveyance of the object to be inspected 18 through the bus 2, it also controls the transportation of the object to be inspected 18 through the bus 2, eliminates the object to be inspected with defects based on the defect information data, and controls the image processing circuits 10a and 10b via the bus 2.
, . . . supplies an image capture command to 10e. These image processing circuits 10a, 10b,...10
e represents each CCD camera 11a, 11b, . . . 11e
Processes more video signals. Further, image data from these image processing circuits 10a, 10b, .
is projected as an image on the screen.

【0008】図2に、上述のCCDカメラ11a、11
b、・・・11eで、検査ライン17で搬送される被検
査対象物(例えば図3に示すビデオカセットの検査領域
等)18を撮像して検査を行う場合について示す。この
図2に示すように、検査ライン17及びCCDカメラ1
1a、11b、・・・11e間に光を拡散する拡散板(
例えば白色のアクリル板)16を配する。そして、この
拡散板16を介して照明器具(例えば蛍光灯)よりの照
明光を、検査ライン17上に載置された被検査対象物1
8に照射するようにし、更にこの拡散板16に孔16a
を設け、被検査対象物18をこの孔16aを通じてCC
Dカメラ11a、11b、・・・11eで夫々撮像する
ようにする。このようにすると、照明光を被検査対象物
18に直接照射した場合には、図4Aに示すように、例
えば図3に示す被検査対象物18の検査領域の文字の周
囲が凹凸により照明光が乱反射し、この乱反射により、
撮像した画像は文字の周囲にノイズの乗った画像となる
のに比べ、拡散板16を介して照明光を被検査対象物1
8に照射した場合は、図4Bに示すように、撮像した画
像における文字の周囲にはノイズが乗ることはほとんど
ない。このようにして、検査ライン17上の被検査対象
物18がCCDカメラ11a、11b、・・・11eに
より順次撮像され、これらCCDカメラ11a、11b
、・・・11eよりの映像信号が画像処理回路10a、
10b、・・・10e(図1参照)に夫々供給される。
FIG. 2 shows the above-mentioned CCD cameras 11a and 11.
In b, . . . 11e, a case is shown in which an image of an object to be inspected (for example, an inspection area of a video cassette shown in FIG. 3, etc.) 18 conveyed on the inspection line 17 is imaged and inspected. As shown in FIG. 2, the inspection line 17 and the CCD camera 1
A diffusion plate (
For example, a white acrylic plate) 16 is arranged. Illumination light from a lighting device (for example, a fluorescent lamp) is applied to the object to be inspected placed on the inspection line 17 through the diffusion plate 16.
8, and furthermore, holes 16a are provided in this diffuser plate 16.
is provided, and the object to be inspected 18 is passed through the CC through this hole 16a.
The D cameras 11a, 11b, . . . 11e are arranged to take images, respectively. In this way, when the illumination light is directly irradiated to the object to be inspected 18, as shown in FIG. 4A, for example, the periphery of the letters in the inspection area of the object to be inspected 18 shown in FIG. is reflected diffusely, and due to this diffused reflection,
Compared to the captured image with noise around the characters, the illumination light is transmitted to the object to be inspected 1 through the diffuser plate 16.
8, as shown in FIG. 4B, there is almost no noise around the characters in the captured image. In this way, the object to be inspected 18 on the inspection line 17 is sequentially imaged by the CCD cameras 11a, 11b, ... 11e, and the CCD cameras 11a, 11b
, . . . 11e is sent to the image processing circuit 10a,
10b, . . . 10e (see FIG. 1).

【0009】画像処理回路10a、10b、・・・10
eに夫々取り込まれた映像信号(以下画像データと記述
する)は図1にて説明したCPU回路1の制御により文
字の検査のために種々の画像処理を行う。以下この種々
の画像処理について図5〜図11を参照して説明する。 先ず、図5から説明する。この図5においては、取り込
んだ画像データ(例えば256階調)より文字列を抽出
する様子を示している。即ち、取り込んだ画像データ全
体より被検査対象文字zの列を抽出するために、いわゆ
る水平方向のプロファイル、即ち、水平方向の画素の数
を検出を行い、この図5の右端に示す如き圧縮情報とし
ての検査結果hを得る。そしてこれによって取り込んだ
画像データ中の文字列の位置が得られる。次に、図6に
示すように、画像データより抽出した文字列より更に文
字を切り出すようにする。つまり、抽出した文字列全体
より被検査対象文字zの個々の位置(x軸)を検出する
ために、いわゆる垂直方向プロファイル、即ち、垂直方
向の画素の数を検出を行い、この図6の上端及び下方に
夫々示す如き圧縮情報としての検査結果vを得る。そし
てこれによって取り込んだ画像データ中の個々の被検査
対象文字zのx方向の位置を検出する。  次に、図7
Aに示すように、切り出した被検査対象文字zの領域を
、後に検査するための領域(ウインドウ)にする検出、
即ち、被検査対象文字zに応じた、いわゆるウインドウ
検出を行う。例えばこの図7に示すように、被検査対象
文字zである“a”に対してウインドウ検出をおこなう
場合は、図7Bに示すように、この“a”に対して水平
方向のプロファイル、即ち、水平方向の画素の数の検出
を行った検査結果hを求め、これによって座標(X、Y
)を得る。そしてこの座標(X、Y)に応じた範囲をウ
インドウ領域wとするようにする。
Image processing circuits 10a, 10b, . . . 10
The video signals (hereinafter referred to as image data) respectively taken in by e are subjected to various image processing for character inspection under the control of the CPU circuit 1 explained with reference to FIG. These various image processes will be explained below with reference to FIGS. 5 to 11. First, explanation will be given starting from FIG. FIG. 5 shows how a character string is extracted from captured image data (for example, 256 gradations). That is, in order to extract the string of characters z to be inspected from the entire captured image data, the so-called horizontal profile, that is, the number of pixels in the horizontal direction is detected, and the compressed information as shown at the right end of FIG. Obtain the test result h. Then, the position of the character string in the captured image data can be obtained. Next, as shown in FIG. 6, further characters are cut out from the character string extracted from the image data. In other words, in order to detect the individual position (x-axis) of the character z to be inspected from the entire extracted character string, the so-called vertical profile, that is, the number of pixels in the vertical direction is detected, and the upper end of FIG. and test results v as compressed information as shown below, respectively, are obtained. Then, the position of each character z to be inspected in the captured image data in the x direction is detected. Next, Figure 7
As shown in A, detection of making the cut out area of the target character z to be inspected into an area (window) for later inspection;
That is, so-called window detection is performed according to the character z to be inspected. For example, as shown in FIG. 7, when performing window detection for "a" which is the character z to be inspected, as shown in FIG. 7B, the profile in the horizontal direction for "a", that is, Obtain the inspection result h of detecting the number of pixels in the horizontal direction, and use this to determine the coordinates (X, Y
). Then, the range corresponding to these coordinates (X, Y) is set as the window area w.

【0010】次に、図8Aに示すように、ウインドウ領
域w内の被検査対象文字zの位置を決定するため、被検
査対象文字zの水平方向及び垂直方向のプロファイルに
よる正規化相関を取る。この正規化相関処理は濃度分布
の類似性を検出するもので、、図8Cに示すように、ウ
インドウ領域wをずらし、このずらした位置において夫
々この正規化相関処理を行う。この図8Cにおける各格
子はウインドウ領域wをずらした位置を示している。そ
してウインドウ領域wをずらす毎に得られる検査結果h
及びvと、図8Bに示すマスター文字mの水平及び垂直
方向のプロファイルとの正規化相関値を求める。図8C
に示す各格子内の数値は、この正規化相関処理の結果で
あり、大きな数値になればなる程ウインドウ領域w内の
被検査対象文字zの位置とウインドウ領域w内のマスタ
ー文字mの位置が一致することを示す。この図8Cにお
いては一番大きな数値は“90”である。従ってウイン
ドウ領域wをこの“90”の数値の部分に対応するよう
にずらせば、ウインドウ領域w内の被検査対象文字zの
位置とウインドウ領域w内のマスター文字mの位置が略
一致する。また、このこの図8Cに示す、切り出し位置
と“8近傍”の相関値について図9及び図10を参照し
て説明する。図9に示すように、切り出し位置を“5”
の位置とした場合に、“1”から“4”の位置及び“6
”から“9”の位置における被検査対象文字及びマスタ
ー文字の水平及び垂直方向のプロファイルによる正規化
相関値を求め、これの増加する方向を検出する。そして
、更に、図10に示すように、各方向P1、P2、・・
・P9に関連した“9”以上の数値で示された位置にお
ける正規化相関を求め、ここで、この正規化相関値が最
も大となる位置を最良の切り出し位置とする如くする。
Next, as shown in FIG. 8A, in order to determine the position of the character z to be inspected within the window area w, a normalized correlation is obtained based on the horizontal and vertical profiles of the character z to be inspected. This normalized correlation process detects the similarity of density distributions, and as shown in FIG. 8C, the window area w is shifted and the normalized correlation process is performed at each of the shifted positions. Each grid in FIG. 8C indicates a position shifted from the window area w. And the inspection result h obtained each time the window area w is shifted
and v, and the horizontal and vertical profiles of the master character m shown in FIG. 8B. Figure 8C
The numerical values in each grid shown in are the results of this normalized correlation process. Indicates a match. In this FIG. 8C, the largest value is "90". Therefore, if the window area w is shifted to correspond to the numerical value "90", the position of the character z to be inspected within the window area w and the position of the master character m within the window area w will substantially match. Further, the correlation value between the cutout position and the "8 neighborhood" shown in FIG. 8C will be explained with reference to FIGS. 9 and 10. As shown in Figure 9, set the cutout position to "5".
, the positions “1” to “4” and “6”
The normalized correlation values based on the horizontal and vertical profiles of the target character to be inspected and the master character at the positions from ``9'' to ``9'' are determined, and the direction in which these values increase is detected.Furthermore, as shown in FIG. Each direction P1, P2,...
- Find the normalized correlation at the position indicated by a value of "9" or more related to P9, and set the position where this normalized correlation value is the largest as the best extraction position.

【0011】さて、上述のようにマスター文字mとの位
置合わせが行われた被検査対象文字z(図11A)は、
図11Bに示すように例えば“S”においては領域e1
〜e5に分割される。そしてこれら領域e1〜e5ごと
に例えば256階調での正規化相関が取られ、この結果
得られた値が予め画像処理回路10a、10b、・・・
10eのいずれかのメモリに記憶されている各領域e1
〜e5に対応する基準値より小さい場合には、このとき
の被検査対象文字zは“欠陥有り”と判定される。この
ように一つの被検査対象文字zをいくつかの領域に分割
し、この分割した領域ごとに基準値と比較すると、例え
ば、一つの領域だけが基準値より小さい場合には、被検
査対象文字zのいわゆる“欠け”であると判断したり、
また、分割した領域が全て各々に対応する基準値より小
さい場合は、被検査対象文字zが全体的に細くなってい
ると判断することができる。またこの被検査対象文字z
の分割基準としては、被検査対象文字zの状態を正規化
相関値に反映できるように、例えば極力背景部分を含ま
ないようにするということを基準としている。そして更
に、分割基準として、被検査対象文字zの或領域に“欠
け”があった場合は、その“欠け”の程度によっては正
規化相関値に反映されない場合が生ずるので、分割領域
の境界部分を他の分割領域とオーバーラップするように
している。このように、本例においては被検査対象文字
zの水平及び垂直方向の正規化相関を求めることにより
、少ない情報量でCCDカメラ11a、11b、・・・
11eの位置合わせを行い、更に、同様にして被検査対
象文字zを切り出す際に、切り出す被検査対象文字zに
応じたウインドウ領域wをずらしたいくつかの位置での
正規化相関を取り、これらいくつかの位置で増加する方
向を決定し、更にこの方向に関連した位置について夫々
正規化相関を取り、この結果に応じて被検査対象文字z
の切り出し位置を決定する位置合わせを行うようにした
ので、被検査対象文字zとマスター文字mの位置合わせ
を正確、且つ、高速に行うことができると共に、1つの
被検査対象文字zを検査する時間を短くし、これによっ
て検査工程全体の時間を短縮することができる。また、
本例においてはこのようにして位置合わせを行った後に
、被検査対象文字zをこの被検査対象文字zに応じた領
域に分割し、この分割した領域ごとの正規化相関を取り
、夫々の領域に対応した基準値との大小比較を行い、こ
の結果によって被検査対象文字zの欠陥の有無を判定す
るようにしたので、照明光の変化やいわゆる“ぼけ”等
の影響をほとんど受けることなく、また、被検査対象文
字zがいわゆるパッド印刷されたものであっても、被検
査対象の一部及び全体の状態を検出することができるよ
うにして、柔軟、且つ、正確な検査を行うことができる
Now, the character to be inspected z (FIG. 11A), which has been aligned with the master character m as described above, is
As shown in FIG. 11B, for example, in "S", area e1
~e5. For each of these regions e1 to e5, a normalized correlation at, for example, 256 gradations is taken, and the resulting values are preliminarily stored in the image processing circuits 10a, 10b, . . .
Each area e1 stored in any memory of 10e
If it is smaller than the reference value corresponding to ~e5, the character z to be inspected at this time is determined to be "defective". If one target character z is divided into several areas in this way and each divided area is compared with the reference value, for example, if only one area is smaller than the standard value, the target character It is determined that it is a so-called “missing” of z,
Furthermore, if all of the divided regions are smaller than the corresponding reference values, it can be determined that the character z to be inspected is thinner as a whole. Also, this character to be inspected z
The division criterion is, for example, to avoid including the background part as much as possible so that the state of the character z to be inspected can be reflected in the normalized correlation value. Furthermore, as a division criterion, if there is a "chip" in a certain area of the character z to be inspected, depending on the degree of the "chip", it may not be reflected in the normalized correlation value, so is made to overlap with other divided areas. In this way, in this example, by determining the normalized correlation of the character z to be inspected in the horizontal and vertical directions, the CCD cameras 11a, 11b, . . . can be used with a small amount of information.
11e, and when cutting out the character z to be inspected in the same way, normalized correlations are taken at several positions where the window area w is shifted according to the character z to be inspected to be cut out, and these Determine the direction of increase at several positions, then take the normalized correlation for each position related to this direction, and depending on this result, determine the character z to be tested.
Since alignment is performed to determine the cutting position of the target character z, it is possible to accurately and quickly align the character z to be inspected and the master character m, and also to inspect one character z to be inspected. This can reduce the time required for the entire inspection process. Also,
In this example, after alignment is performed in this way, the target character z to be inspected is divided into regions corresponding to the target character z to be inspected, the normalized correlation for each divided region is taken, and each region is The size is compared with the corresponding standard value, and the presence or absence of a defect in the character z to be inspected is determined based on this result, so it is almost unaffected by changes in illumination light or so-called "blurring", etc. In addition, even if the character z to be inspected is a so-called pad-printed character, it is possible to detect the condition of a part and the whole of the object to be inspected, making it possible to perform flexible and accurate inspection. can.

【0012】尚、本発明は上述の実施例に限ることなく
本発明の要旨を逸脱することなく、その他種々の構成が
取り得ることは勿論である。
It goes without saying that the present invention is not limited to the above-described embodiments, and that various other configurations can be adopted without departing from the gist of the present invention.

【0013】[0013]

【発明の効果】上述せる本発明によれば、被検査対象の
画像情報を分割した領域ごとの濃淡情報と、基準情報の
濃淡情報との類似度を検出して得た値と基準値との比較
に基いて被検査対象の欠陥を検出するようにしたので、
被検査対象の一部及び全体の状態を検出することができ
るようにして、柔軟、且つ、正確な検査を行うことがで
きる利益がある。
Effects of the Invention According to the present invention described above, the value obtained by detecting the degree of similarity between the shading information of each region obtained by dividing the image information of the object to be inspected and the shading information of the reference information and the standard value can be adjusted. Since defects in the inspected object are detected based on comparison,
The present invention has the advantage of being able to detect parts and entire states of an object to be inspected, thereby allowing flexible and accurate inspection.

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

【図1】本発明検査装置の一実施例を示す構成図である
FIG. 1 is a configuration diagram showing an embodiment of an inspection apparatus of the present invention.

【図2】本発明検査装置の一実施例の要部を示す構成図
である。
FIG. 2 is a configuration diagram showing main parts of an embodiment of the inspection apparatus of the present invention.

【図3】本発明検査装置の一実施例の説明に供する被検
査対象物の例を示す図である。
FIG. 3 is a diagram showing an example of an object to be inspected for explaining an embodiment of the inspection apparatus of the present invention.

【図4】本発明検査装置の一実施例の説明に供する照明
光による画像の違いを示す説明図である。
FIG. 4 is an explanatory diagram showing differences in images depending on illumination light, which is used to explain an embodiment of the inspection apparatus of the present invention.

【図5】本発明検査装置の一実施例の説明に供する水平
プロファイルによる文字列の抽出を示す説明図である。
FIG. 5 is an explanatory diagram showing extraction of a character string using a horizontal profile to explain an embodiment of the inspection apparatus of the present invention.

【図6】本発明検査装置の一実施例の説明に供する垂直
プロファイルによる文字の切り出しを示す説明図である
FIG. 6 is an explanatory diagram showing character cutout using a vertical profile to explain an embodiment of the inspection apparatus of the present invention.

【図7】本発明検査装置の一実施例の説明に供する水平
プロファイルによる文字のウインドウ検出を示す説明図
である。
FIG. 7 is an explanatory diagram showing character window detection using a horizontal profile to explain an embodiment of the inspection apparatus of the present invention.

【図8】本発明検査装置の一実施例の説明に供するマス
ターとの水平・垂直プロファイルによる位置合わせ(正
規化相関)を示す説明図である。
FIG. 8 is an explanatory diagram showing alignment (normalized correlation) with a master using horizontal and vertical profiles to explain an embodiment of the inspection apparatus of the present invention.

【図9】本発明検査装置の一実施例の説明に供する位置
合わせの補足を示す説明図である。
FIG. 9 is an explanatory diagram showing supplementary positioning for explaining one embodiment of the inspection apparatus of the present invention.

【図10】本発明検査装置の一実施例の説明に供する各
方向における次候補点(>9)を示す説明図である。
FIG. 10 is an explanatory diagram showing next candidate points (>9) in each direction for explaining one embodiment of the inspection apparatus of the present invention.

【図11】本発明検査装置の一実施例の説明に供するマ
スターとの分割領域における検査(正規化相関)を示す
説明図である。
FIG. 11 is an explanatory diagram showing an inspection (normalized correlation) in a divided area with a master to explain an embodiment of the inspection apparatus of the present invention.

【図12】従来の文字検査を示す説明図である。FIG. 12 is an explanatory diagram showing conventional character inspection.

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

1  CPU回路 2  バス 3  プロセッサ 4  フロッピーディスクドライブコントローラ5  
フロッピーディスクドライブ 6  フロッピーディスク 7  インターフェース回路 8  トラックボール 9  ライン制御部及びシーケンサ部 10a  画像処理回路 10b  画像処理回路 10c  画像処理回路 10d  画像処理回路 10e  画像処理回路 11a  CCDカメラ 11b  CCDカメラ 11c  CCDカメラ 11d  CCDカメラ 11e  CCDカメラ 12  操作盤 13  モニタ 14  モニタ
1 CPU circuit 2 Bus 3 Processor 4 Floppy disk drive controller 5
Floppy disk drive 6 Floppy disk 7 Interface circuit 8 Trackball 9 Line control section and sequencer section 10a Image processing circuit 10b Image processing circuit 10c Image processing circuit 10d Image processing circuit 10e Image processing circuit 11a CCD camera 11b CCD camera 11c CCD camera 11d CCD Camera 11e CCD camera 12 Operation panel 13 Monitor 14 Monitor

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  文字、図形及び記号等の被検査対象を
撮像して得た画像情報に基いて、該被検査対象を検査す
るようにした検査装置において、上記被検査対象の画像
情報を分割した領域ごとの濃淡情報と、基準情報の濃淡
情報との類似度を検出して得た値と基準値との比較に基
いて、上記被検査対象の欠陥を検出するようにしたこと
を特徴とする検査装置。
Claim 1: In an inspection device that inspects an object to be inspected based on image information obtained by imaging the object to be inspected, such as characters, figures, and symbols, the image information of the object to be inspected is divided. Defects in the object to be inspected are detected based on a comparison between a reference value and a value obtained by detecting the degree of similarity between the grayscale information for each area and the grayscale information of the reference information. Inspection equipment.
JP3092332A 1991-04-23 1991-04-23 Check device Pending JPH04322380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3092332A JPH04322380A (en) 1991-04-23 1991-04-23 Check device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3092332A JPH04322380A (en) 1991-04-23 1991-04-23 Check device

Publications (1)

Publication Number Publication Date
JPH04322380A true JPH04322380A (en) 1992-11-12

Family

ID=14051440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3092332A Pending JPH04322380A (en) 1991-04-23 1991-04-23 Check device

Country Status (1)

Country Link
JP (1) JPH04322380A (en)

Similar Documents

Publication Publication Date Title
US7275006B2 (en) Workpiece inspection apparatus assisting device, workpiece inspection method and computer-readable recording media storing program therefor
US7355692B2 (en) System and method for inspecting electrical circuits utilizing reflective and fluorescent imagery
JPH0572961B2 (en)
JPH07260701A (en) Recognition method of area of inspection
JP2018004272A (en) Pattern inspection device and pattern inspection method
JP6623545B2 (en) Inspection system, inspection method, program, and storage medium
US8055056B2 (en) Method of detecting defects of patterns on a semiconductor substrate and apparatus for performing the same
JP2009080004A (en) Inspection device
JP4074624B2 (en) Pattern inspection method
JP2002005850A (en) Defect inspection method and apparatus therefor, and production method of mask
JPH04322380A (en) Check device
JPH04322379A (en) Check device
JP3233205B2 (en) Circuit inspection method and device
JP2004286708A (en) Defect detection apparatus, method, and program
JP2906454B2 (en) Object position detection method
JP4009085B2 (en) Pattern inspection apparatus and pattern inspection method
JPH04279041A (en) Pattern defect detection method
JP4889018B2 (en) Appearance inspection method
JP2006038543A (en) Template histogram forming method and pattern inspection device
JPH0399250A (en) Mounting state recognizing apparatus
JP2531694B2 (en) Method for detecting holes in the soldering part
JPH04123451U (en) Inspection equipment
JP2701872B2 (en) Surface inspection system
JP2002131241A (en) Method and apparatus for inspecting failure
JP2002032736A (en) Method and device for defect inspection