JPH0410173A - Picture monitoring method - Google Patents

Picture monitoring method

Info

Publication number
JPH0410173A
JPH0410173A JP2113678A JP11367890A JPH0410173A JP H0410173 A JPH0410173 A JP H0410173A JP 2113678 A JP2113678 A JP 2113678A JP 11367890 A JP11367890 A JP 11367890A JP H0410173 A JPH0410173 A JP H0410173A
Authority
JP
Japan
Prior art keywords
area
monitoring
partial
image
overlapping
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.)
Granted
Application number
JP2113678A
Other languages
Japanese (ja)
Other versions
JP2518442B2 (en
Inventor
Michiya Yokota
道也 横田
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.)
Seikosha KK
Original Assignee
Seikosha KK
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 Seikosha KK filed Critical Seikosha KK
Priority to JP2113678A priority Critical patent/JP2518442B2/en
Publication of JPH0410173A publication Critical patent/JPH0410173A/en
Application granted granted Critical
Publication of JP2518442B2 publication Critical patent/JP2518442B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To enable monitoring by the ambigurous and abstract discrimination basis of the inspection by an outward appearance, etc., by dividing a monitoring area set in the inside of the image pickup picture of an image pickup means into partial areas while overlapping important areas. CONSTITUTION:The quality of the overlapped area is discriminated by a majority among the results of the respectively discriminated result partial areas L1, L2 and L3. Thus, for example, when the position of an oblong hole 11 is deviated and gets out of the area L1, the probability of the 'good' discrimination is high to be done even when the probability of the over-error judgement is high to be done by the influence of noise through the oblong hole 11 is in the area 11. For example, when the oblong hole 11 is deviated upward considerably to be discriminated 'not good' in the area L1 and L3, the upward deviation of the position of the hole is discriminated by the result of the discrimination.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えば製造組立工程等において平面基板上に
IC素子等が正しく実装されたか、孔が正しく開けられ
ているか等の監視を行うための画像監視方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is useful for monitoring whether IC elements, etc. are correctly mounted on a flat substrate, whether holes are correctly opened, etc., in the manufacturing and assembly process, for example. This invention relates to an image monitoring method.

[従来の技術] 従来、長さやパターン等の良否判別、すなわち例えば被
検査物(監視対象物)の長さが規定通りか、被検査物の
形状が規定通りか等の判別は、被検査物をテレビカメラ
等で撮像して、その長さや形状等が現れている特徴領域
部分をウィンドウで指定して検査領域を狭く指定し、そ
の部分内の上記長さや形状が現れている画素の数を数え
る等により物理量として精度高く測定し、その画素数が
許容値以内であるか否か等により、良否判別が行われて
いる。
[Prior Art] Conventionally, quality determination of length, pattern, etc., i.e., determination of whether the length of the inspected object (object to be monitored) is as specified or whether the shape of the inspected object is as specified, has conventionally been carried out using the is imaged with a TV camera, etc., and the characteristic area where the length and shape appear is specified in a window, the inspection area is narrowly specified, and the number of pixels in that area where the above length and shape appear is calculated. A physical quantity is measured with high precision by counting, etc., and quality determination is performed based on whether the number of pixels is within a permissible value or not.

ところで製造組立工程等での加工後の外観検査等、例え
ば孔明は工程等での加工後、孔が正しく開けられている
かの監視は孔の開けられている位置の精度は重要ではな
く、ただ孔が開けられていればよいことも多い。また製
造組立工程等での加工前の外観検査では加工面に大きな
ごみ等か付着していないか等を漠然と監視したい場合も
ある。
By the way, in the appearance inspection after processing in the manufacturing and assembly process, etc., for example, in drilling, monitoring whether the hole is correctly drilled after processing in the process, etc. is not important, but the accuracy of the hole position is not important. In many cases, it is sufficient if the door is open. In addition, in the appearance inspection before processing in the manufacturing and assembly process, etc., there may be cases where it is desired to vaguely monitor whether there is large dust or the like attached to the processing surface.

[解決しようとする課題] 従って、このような外観検査では、前述のように物理量
として精度高く測定する必要はなく、また被検査物の外
観等を全体として検査したいため、前述のように狭い範
囲を指定してその中だけを検査しても、被検査物全体の
監視を行うことができない。一方、被検査物全体を一つ
の検査領域として検査すると、例えばある部分にはごみ
が付着しており、またある部分にはきすがある等により
、これらが検査の段階で異符号として現れて、従ってそ
れらが相殺され、結局正常物として誤判定される場合も
生じる。
[Problem to be solved] Therefore, in this type of visual inspection, it is not necessary to measure physical quantities with high precision as described above, and because it is desired to inspect the external appearance of the object to be inspected as a whole, it is necessary to measure the physical quantity in a narrow range as described above. Even if you specify and inspect only that part, it is not possible to monitor the entire object to be inspected. On the other hand, if the entire object to be inspected is inspected as one inspection area, for example, there may be dust attached to a certain part, or there may be scratches in another part, and these will appear as different signs at the inspection stage. Therefore, these factors cancel each other out, and there are cases where the object is erroneously determined as normal.

そこで本発明の目的は、外観検査等のあいまいな抽象的
判断基準による監視を行うことができ、またこの場合に
おいても重要な特徴領域は重み付けして監視することが
可能な画像監視方法を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an image monitoring method that can perform monitoring based on ambiguous abstract judgment criteria such as visual inspection, and even in this case, important feature areas can be weighted and monitored. There is a particular thing.

[課題を解決するだめの手段] 上記目的を達成するために、本発明は、撮像手段によっ
て監視対象物を撮像し、予め決められている基準画像と
比較することにより、監視対象物の良否判定を行なう画
像監視方法において、撮像手段の撮像画面内において設
定された監視領域を、重要な領域を重複させて部分領域
に分割し、この部分領域ごとに良否判定を行ない、上記
重複している部分領域における各良否判定の結果を照合
し、判定違いを検知した場合には、重複している部分領
域における各良否判定の結果の多数決によって重複して
いる領域の良否判定を行なうこととした。
[Means for Solving the Problems] In order to achieve the above object, the present invention captures an image of the monitored object using an imaging means and compares it with a predetermined reference image to determine the quality of the monitored object. In an image monitoring method that performs The results of each pass/fail judgment in the area are compared, and if a difference in judgment is detected, the pass/fail judgment of the overlapping area is performed by a majority vote of the results of each pass/fail judgment in the overlapping partial areas.

[実施例] 以下、本発明の実施例を図面に基づいて詳細に説明する
[Example] Hereinafter, an example of the present invention will be described in detail based on the drawings.

まず、画像監視装置の全体構成について説明する。第3
図において、監視対象物1は製造ライン等の孔開は加工
工程(図示省略)中にあり、照明2の下で、テレビカメ
ラ3により、孔開けが施される面の撮像が行われる。撮
像は孔開は前の事前画像と、孔開は後の事後画像の双方
が行われる。
First, the overall configuration of the image monitoring device will be explained. Third
In the figure, a monitoring target 1 is in the process of drilling a hole in a manufacturing line or the like (not shown), and a television camera 3 images the surface on which the hole is being drilled under illumination 2 . Imaging is performed for both a preliminary image before the hole is drilled and a post-hole image after the hole is drilled.

孔開は加工機械における加工準備終了や加工終了の入力
制御信号は入力用回線5により装置本体7に入力される
。装置本体7の動作条件等は、キパッド8て入力される
。入力制御信号が入力用回線5より入力されるごとに装
置本体7は事前監視や事後監視を実行し、結果を出力用
回線6より出力制御信号として出力する。なお装置本体
7には、テレビカメラ3で撮像した映像、さらにそれを
2値又は多値符号化した画像信号等を表示可能なCRT
 7 aが設けである。
Input control signals for completion of machining preparation and completion of machining in the processing machine for hole drilling are inputted to the main body 7 of the apparatus through an input line 5. Operating conditions and the like of the device main body 7 are inputted using the keypad 8. Every time an input control signal is input through the input line 5, the device body 7 executes preliminary monitoring or post-monitoring, and outputs the results as an output control signal through the output line 6. The device main body 7 includes a CRT capable of displaying images captured by the television camera 3 and image signals obtained by binary or multi-value encoding of the images.
7a is the setting.

次に本発明の原理を部分領域設定方法の第1実施例であ
る第1図を用いて説明する。
Next, the principle of the present invention will be explained using FIG. 1, which is a first embodiment of a partial area setting method.

第1図(b)〜(e)はテレビカメラ3の画面全面(水
平画素数LH,垂直画素数LV)を監視領域Sとし、事
後監視における各部分領域を走査線単位で与えたもので
ある。加工により、監視領域を等分に4分割し監視領域
を等分に4分割した上方より2番目の領域には横方向に
長孔11が開けられるものとしく同図(a)参照、加工
前は監視領域Sは平面状態とする)、同図(b)に示す
ように部分領域Llは長孔11をカバーした上記等分に
4分割した上方より2番目の領域とし、同図(C)に示
す部分領域L2は上記等分に4分割した上方より1番目
および2番目の領域に、更にLlの下端より若干下方の
部分まで覆った領域とし、同図(d)に示す部分領域L
3は上記等分に4分割した上方より2番目および3番目
の領域に、更にLlの上端より若干上方の部分まで覆っ
た領域とし、同図(e)に示す部分領域L4は上記等分
に4分割した上方より4番目の領域としている。
In Figures 1(b) to (e), the entire screen of the television camera 3 (horizontal pixel number LH, vertical pixel number LV) is taken as the monitoring area S, and each partial area for post-monitoring is given in units of scanning lines. . By machining, the monitoring area is divided into four equal parts, and a long hole 11 is opened in the horizontal direction in the second region from the top of the two equal parts.See figure (a), before machining. The monitoring area S is in a planar state), and as shown in Figure (b), the partial area Ll is the second area from the top of the above-mentioned equally divided four parts that covers the elongated hole 11, and as shown in Figure (C). The partial area L2 shown in FIG.
3 is an area that covers the second and third areas from the top of the above-mentioned equally divided four areas, and further covers the part slightly above the upper end of Ll, and the partial area L4 shown in FIG. This is the fourth region from the top of the four divisions.

長孔11が開けられる部分は重要な特徴領域であり、ご
みか付着しているか否か等の監視よりも重要性が高く、
従って3つの特徴領域LI  L2L3により重複して
検査されるようになっている。
The part where the elongated hole 11 is made is an important feature area, and is more important than monitoring whether there is dirt or not.
Therefore, the three characteristic regions LI, L2, and L3 are inspected redundantly.

そして重複領域の良否の判定はLl、L2.L3それぞ
れの判定結果の多数決により行わる。これにより、例え
ば長孔11の位置がずれて領域L1から外れた場合、長
孔11は領域L1の中に入ってはいるが、ノイズの影響
により過誤判定のなされる割合か高い場合等においても
、良判定のなされる確率が高くなるようになっている。
The quality of the overlapping area is determined by Ll, L2. This is done by majority vote of the determination results of each L3. As a result, for example, if the position of the elongated hole 11 shifts and deviates from the area L1, even if the elongated hole 11 is within the area L1, but the rate of incorrect determination is high due to the influence of noise, etc. , the probability of a good judgment being made is increased.

また、例えば、長孔11が大きく上方にすれて領域Ll
及び領域L3で不良判定か出た場合には、その判定結果
により孔位置が上方にすれたことが判別される。更に、
長孔11の位置ずれはないが、長孔11の穴が半分しか
開けられていない場合等、領域Llの部分に変化があっ
たときは、領域Ll、L2、L3の3領域で変化が表せ
られる。
Also, for example, if the long hole 11 is largely rubbed upward, the area Ll
If a defective determination is made in region L3, it is determined based on the determination result that the hole position has shifted upward. Furthermore,
If the position of the long hole 11 does not shift, but there is a change in the region Ll, such as when only half of the hole in the long hole 11 is opened, the change can be expressed in the three regions Ll, L2, and L3. It will be done.

なお、加工前は監視領域Sは平面状態であり、また特に
重要な特徴領域はないものとし、事前監視においては、
部分領域を上記等分に4分割したそれぞれの部分とし、
部分領域の重複は行なわないものとする。
It should be noted that before processing, the monitoring area S is in a flat state and there are no particularly important feature areas, and in advance monitoring,
The partial area is divided into four equal parts as described above, and each part is divided into four parts,
It is assumed that partial areas do not overlap.

次に、画像監視装置の全体のブロック構成を第4図を用
いて説明する。
Next, the overall block configuration of the image monitoring device will be explained using FIG. 4.

ROM21にはCPU22を動作させるためのプログラ
ムが記憶されている。
A program for operating the CPU 22 is stored in the ROM 21 .

RAM23には監視対象物1の事前の正常状態及び事後
の正常状態をテレビカメラ3で撮像して2値処理又は多
値処理した事前、事後基準画像信号、事前及び事後監視
における部分領域の位置。
The RAM 23 stores pre and post reference image signals obtained by capturing images of the pre-normal state and post-normal state of the monitored object 1 with the television camera 3 and performing binary or multi-value processing, and the positions of partial areas in pre- and post-monitoring.

各部分領域の良否判定を行なう際の許容値、事後監視に
おける重複している部分領域の位置 等のデータが記憶
されている。事前及び事後監視における部分領域の位置
、各部分領域の良否判定を行なう際の許容値、事後監視
における重複している部分領域の位置、タイミング等の
条件は、オペレータがCRT7a等を見ながら、キーバ
ッド8等より入力し、i / oポート29を介してR
AM23に記憶される。
Data such as allowable values for determining the quality of each partial area and positions of overlapping partial areas in post-monitoring are stored. Conditions such as the positions of partial areas in pre- and post-monitoring, tolerance values for determining the quality of each partial area, positions of overlapping partial areas in post-monitoring, timing, etc. can be determined using the keypad while looking at the CRT7a, etc. Input from 8 etc. and R via I/O port 29
It is stored in AM23.

CPU22はROM21の指令およびRAM23のデー
タに基づき、事前及び事後監視における各部分領域の良
否判定、事後監視における重複領域の多数決判定等を行
なう。
Based on the commands in the ROM 21 and the data in the RAM 23, the CPU 22 performs quality determination of each partial area in pre- and post-monitoring, majority decision on overlapping areas in post-monitoring, and the like.

テレビカメラ3で撮像した画像信号はA/D変換回路3
0を経てフレームメモリ31に蓄えられ、またフレーム
メモリ31の内容は表示回路32を経てCRT7aに表
示される。なおフレームメモリ31は2個用意されてお
り、それぞれ事前画像。
The image signal captured by the television camera 3 is sent to the A/D conversion circuit 3
0 and stored in the frame memory 31, and the contents of the frame memory 31 are displayed on the CRT 7a via the display circuit 32. Note that two frame memories 31 are prepared, each containing a preliminary image.

事後画像か記憶される。After the fact, the image is memorized.

次に第5図を用いて、本方法の動作フローを説明する。Next, the operational flow of this method will be explained using FIG. 5.

まず、オペレータが撮像された監視対象物1をCRT 
7 aで見ながら、キーバッド8によりウィンドウで部
分領域を設定する等、事前及び事後の監視条件を設定す
る(102)。なお事前画像における部分領域と事後画
像における部分領域とは同一でなくてもよく、本実施例
では事前画像における部分領域は前述のように4等分割
した各部分であり重複領域は存在していない。
First, an operator displays the captured object 1 on a CRT.
7a, set pre- and post-monitoring conditions, such as setting a partial area in a window using the keypad 8 (102). Note that the partial areas in the prior image and the partial areas in the subsequent image do not have to be the same; in this example, the partial areas in the prior image are divided into four equal parts as described above, and there is no overlapping area. .

次に正常な監視対象物の加工前の画像を、テレビカメラ
3により撮像してCRT 7 aにより像を写しだしく
103)、それぞれの部分領域の特徴量を算出し、これ
らの良否判定基準値及び許容値等を設定する(104)
Next, an unprocessed image of the normal monitoring object is taken with the television camera 3 and the image is displayed with the CRT 7a (103), the feature values of each partial area are calculated, and these quality judgment reference values are used. and set tolerance values, etc. (104)
.

次に上記の正常な監視対象物に正常な孔加工を施し、こ
の加工後の画像を、テレビカメラ3で撮像して、事後監
視における部分領域において上記と同様の操作を行なう
(103,104)。
Next, normal hole processing is performed on the above-mentioned normal monitoring object, the image after this processing is captured by the television camera 3, and the same operation as above is performed in the partial area in the post-monitoring (103, 104). .

次に監視に移り、入力用回線5により加工準備終了の信
号が入ると(105) 、監視対象物1の孔開けされる
面の撮像を行ない、事前検査画像を入力して(106)
、各部分領域ごとにRA M 23に記憶されている基
準画像と特徴量を比較し、許容値内か否かにより、良又
は不良の判定を行ない、全部分領域で良判定のとき監視
対象物1の事前監視結果は良であるとして(107) 
、その信号を出力用回線6により加工機等に伝え(10
8)、孔開は加工が行われる。異常と判定された場合は
再試行又は孔開は中止とする。
Next, the process moves to monitoring, and when a processing preparation completion signal is received via the input line 5 (105), an image of the surface of the object 1 to be drilled is imaged, and a pre-inspection image is input (106).
, compares the feature amount with the reference image stored in the RAM 23 for each partial area, and determines whether it is good or bad depending on whether it is within the tolerance value, and when all partial areas are judged as good, the monitored object Assuming that the preliminary monitoring result of 1 is good (107)
, the signal is transmitted to the processing machine etc. through the output line 6 (10
8) Hole drilling is performed. If it is determined that there is an abnormality, the retry or hole drilling will be canceled.

事前監視結果が良であるとして加工が行われた場合は、
加工終了の信号を受けた後(109)、加工後の画像を
入力する(110)。
If processing is performed because the preliminary monitoring results are good,
After receiving a signal indicating the end of processing (109), the processed image is input (110).

これ以降のフロー111.112の詳細を第6図に示し
てあり、このフロー図に沿って説明すると、まず、各部
分領域の特徴量を抽出する(204)。なお特徴量の算
出は事前画像と事後画像との差画像を採ることにより行
なう。これにより加工前と加工後とで変化した部分のみ
が抽出され、例えば付着しているか良否判定に影響を及
ぼさなかった小さなごみ等は加工後も付着しているため
抽圧されず、事後監視における良否判定への影響をなく
すことかできる。次に、各部分領域で、この差画像から
なる特徴量とRAM23に蓄えられている基準事後画像
のデータとを比較して許容値内か否か判断し、良否判定
を行なっていき(205)、この結果を、RAM23の
中に一時的に蓄えておく。
The details of subsequent flows 111 and 112 are shown in FIG. 6, and will be explained along this flow diagram. First, the feature amount of each partial region is extracted (204). Note that the feature amount is calculated by taking a difference image between the prior image and the subsequent image. As a result, only the parts that have changed between before and after processing are extracted.For example, small particles that are attached or do not affect the quality judgment are not extracted because they are still attached after processing, and are not extracted during post-monitoring. It is possible to eliminate the influence on pass/fail judgment. Next, in each partial region, the feature amount consisting of this difference image is compared with the data of the reference post-image stored in the RAM 23 to determine whether or not it is within the tolerance value, and a pass/fail judgment is made (205). , this result is temporarily stored in the RAM 23.

すべての部分領域の良否判定が終わると(206) 、
CPU22はRAM23の中に一時的に蓄えられた上記
データにより、重複領域が同一判定か否かを照合する(
209)。重複領域においてそれを構成する部分領域の
全てが同一判定ではないときは(210)、多数決を採
る。そして多数決で良と判定されたときは、重複してい
る部分は良と判断する(211)。多数決判定を全ての
重複領域で行ない(212) 、全ての部分領域で良判
定のとき、又は不良判定の部分領域があった場合におい
ても、その部分が他の部分領域と重複しており、かつそ
の多数決判定により重複部分か良判定となった場合には
、事後監視結果は良であるとして、最終結果を出力する
(213. 112)。
When the quality judgment of all partial areas is completed (206),
The CPU 22 verifies whether or not the overlapping areas are determined to be the same, using the data temporarily stored in the RAM 23 (
209). If all of the partial areas that make up the overlapping area do not have the same determination (210), a majority vote is taken. If it is determined to be good by majority vote, the overlapping portion is judged to be good (211). A majority decision is made for all overlapping areas (212), and even if all partial areas are judged to be good or there is a partial area that is judged to be bad, that part overlaps with other partial areas, and If the majority decision determines that the overlapping portion is good, the post-monitoring result is determined to be good, and the final result is output (213.112).

また多数決判定により異常の最終結果を得た場合は、可
能な場合は判定違いの領域のみ再検査して最終結果とす
る。
Furthermore, if a final result of an abnormality is obtained by majority decision, if possible, only the area where the decision was incorrect is re-examined and the final result is determined.

本実施例は重要な特徴領域を重複させて部分領域を設定
し、それぞれの各部分領域の判定結果か同一てないとき
は多数決により判断するため、例えば特徴領域の多少の
位置すれ等は差支えなく、特徴領域が存在することのみ
が重要である場合等は、多数決判定により正しい判断が
行われる。このことは、特徴領域が存在する部分領域の
面積を大きくしておき、この部分領域で特徴領域の良否
の判別を行うことによっても達成される。即ち、この場
合は部分領域の面積が広いため、特徴領域が位置すれを
起こしていても依然として特徴領域はこの部分領域内に
存在させることができ、正しい判定を行うことができる
。また面積が広くなっている割合たけノイズ等の影響が
大きくなるため、判定結果に過誤を生しる割合か高くな
る場合は、特徴領域か存在する部分領域を複数回検査し
て、多数決により良否判別を行なって、より正しい結果
を得ることも可能である。例えば第1図に示す第1の実
施例において、特徴領域を含む部分領域の上端を特徴領
域L3の上端と同じにし、下端を特徴領域L2の下端と
同しにする。そして、これにより部分領域の面積が大き
くなるために、この部分領域の検査を例えば3回行い、
その多数決によりこの部分領域の良否を判断することも
考えられる。しかしながら、実験結果によれば、本発明
のように特徴領域を重複させて異なった部分領域を設定
して多数決により判定を行なった場合の過誤判定の割合
は、上記の特徴領域を含む面積の広い部分領域のみを繰
り返して複数回検査して多数決により判定を行なった場
合の過誤判定の割合よりも少ないという結果が得られた
。これは、本発明では重複している各部分領域はお互い
に位置がすれているために、ノイズが分散され、従って
過誤判定の割合が減少したものと思われる。
In this embodiment, partial regions are set by overlapping important feature regions, and if the judgment results of each partial region are not the same, the decision is made by majority vote. Therefore, for example, slight positional deviation of the feature regions is acceptable. In cases where only the presence of a feature region is important, the correct decision is made by majority decision. This can also be achieved by increasing the area of a partial region in which the characteristic region exists, and determining whether the characteristic region is good or bad using this partial region. That is, in this case, since the area of the partial region is large, even if the characteristic region is misaligned, the characteristic region can still exist within this partial region, and a correct determination can be made. In addition, the wider the area, the greater the influence of noise, etc., so if the probability of error in the judgment results increases, inspect the feature region or existing partial region multiple times, and determine whether it is acceptable or not by majority vote. It is also possible to perform discrimination to obtain more accurate results. For example, in the first embodiment shown in FIG. 1, the upper end of the partial region including the feature region is made the same as the upper end of the feature region L3, and the lower end is made the same as the lower end of the feature region L2. Since this increases the area of the partial area, this partial area is inspected, for example, three times.
It is also conceivable to judge whether this partial area is good or bad based on the majority vote. However, according to the experimental results, when the feature regions are overlapped and different partial regions are set and the decision is made by majority vote as in the present invention, the percentage of incorrect decisions is The result was that the rate of incorrect determinations was lower than that when only the partial area was inspected multiple times and the determination was made by majority vote. This is probably because, in the present invention, the overlapping partial areas are displaced from each other, so noise is dispersed and the rate of erroneous determination is reduced.

なお、上記実施例では領域L2.L3はそれぞれ、4等
分割の1番目及び2番目、2番目及び3番目に所定量の
拡張部分を設けたか、領域L2L3をそれぞれ、4等分
割の1番目及び2番目2番目及び3番目としてもよく、
この場合には、位置すれはカバーできないか、この場合
も多数決判定を行うことにより、ノイズの影響による過
誤判定がより防止される。
Note that in the above embodiment, the area L2. For L3, a predetermined amount of extension is provided in the first and second, second and third areas of the four equal divisions, respectively, or areas L2L3 are provided as the first and second, second and third areas of the four equal divisions, respectively. often,
In this case, erroneous determination due to the influence of noise can be further prevented by determining whether the misalignment cannot be covered or by making a majority decision in this case as well.

また、上記実施例では部分領域は走査線単位で設定した
が、部分領域の設定の方法は種々考えられ、例えば第2
の実施例として、第2図(a)に示すように監視領域S
を矩形に4等分割した場合に、左上の部分に丸孔16か
らなる特徴領域がある場合は、同図(b)〜(e)に示
すように部分領域L21は上記4等分割の左上の部分と
し、部分領域L22は4等分割の左上の部分と左下の部
分を含み更にそれらの右側へ若干範囲を拡張した領域と
し、部分領域L23は上記4等分割の左上の部分と右上
の部分を含み更にそれらの下側へ若干範囲を拡張した領
域とし、部分領域L24は領域L22の右端線と領域L
24の下端線とて囲まれる領域としてもよい。また、監
視領域Sを矩形に4等分割した場合に、左上の部分に丸
孔1Bからなる特徴領域がある場合、部分領域L21は
上記4等分割の左上の部分とし、部分領域L22は4等
分割の左上の部分と左下の部分とし、部分領域L23は
上記4等分割の左上の部分と右上の部分とし、部分領域
L24は上記4等分割の右下の部分としてもよい。なお
部分領域の形状、数9重複領域の数。
In addition, in the above embodiment, the partial area was set in units of scanning lines, but various methods of setting the partial area can be considered.
As an example, as shown in FIG. 2(a), the monitoring area S
When divided into four equal rectangles, if there is a characteristic region consisting of a round hole 16 in the upper left part, the partial region L21 is divided into four equal parts, as shown in (b) to (e) of the same figure. The partial area L22 includes the upper left part and the lower left part of the four equal parts, and the area is slightly expanded to the right of these parts, and the partial area L23 includes the upper left part and the upper right part of the above four equal parts. The partial area L24 is a region that is slightly expanded to the lower side of the area L22 and the right end line of the area L22.
It may also be an area surrounded by the lower end line of 24. Furthermore, when the monitoring area S is divided into four equal rectangles, if there is a feature region consisting of the round hole 1B in the upper left part, the partial area L21 is the upper left part of the above four equal parts, and the partial area L22 is the four equal parts. The upper left part and the lower left part of the division may be the upper left part and the lower left part, the partial area L23 may be the upper left part and the upper right part of the above-mentioned quarter division, and the partial area L24 may be the lower right part of the above-mentioned quarter division. Note that the shape of the partial region is expressed by the number 9, the number of overlapping regions.

重複領域における部分領域の数、配置等は自由に選ぶこ
とができ、これらは監視対象物に含まれる特徴領域の形
状やその特徴領域の監視の重要度。
The number, arrangement, etc. of partial regions in the overlapping region can be freely selected, and these depend on the shape of the feature region included in the object to be monitored and the importance of monitoring that feature region.

さらに監視対象物を画像処理する際の外乱(ノイズ)の
混入度等を基準として、決定する。特に重要な領域につ
いては、部分領域の大きさを小さくして、定量化し易く
し、また重複度を上げる。
Further, it is determined based on the degree of disturbance (noise) mixed in when image processing the monitored object. For particularly important regions, the size of the partial region is made smaller to make it easier to quantify and to increase the degree of overlap.

更に、上記実施例では事後監視処理は事前画像と事後画
像との差画像により行なったが、事後画像を基準事後画
像と比較して行うことも可能である。
Further, in the above embodiment, the post-monitoring process was performed using the difference image between the pre-image and the post-image, but it is also possible to perform the post-monitoring process by comparing the post-image with a reference post-image.

更にまた、上記実施例では事前監視には本発明を適用し
ていないが、事前画像に特徴領域が存在する場合等には
事前監視にも本発明を適用することが可能である。
Furthermore, although the present invention is not applied to advance monitoring in the above embodiments, the present invention can also be applied to advance monitoring when a characteristic region exists in the advance image.

また上記実施例ではテレビカメラ3の画面全体を監視領
域としたが、画面の一部をウィンドウ等で囲って監視領
域とし、この部分に本発明を適用してもよい。
Further, in the embodiment described above, the entire screen of the television camera 3 is used as the monitoring area, but a part of the screen may be surrounded by a window or the like to be used as the monitoring area, and the present invention may be applied to this part.

なお本発明において、各部分領域における特徴量の算出
、各部分領域の良否判断の処理1重複領域が複数箇所あ
る場合にそれらの複数個所における多数決判定等を同時
並行的に行うことにより、処理の高速化を図ることがで
きる。
In addition, in the present invention, the process of calculating the feature amount in each partial region and determining the quality of each partial region 1 When there are multiple overlapping regions, the processing can be performed by simultaneously performing majority judgment at the multiple locations, etc. It is possible to increase the speed.

[効果] 本発明によれば、外観検査等のあいまいな抽象的判断基
準による監視を行うことができ、またこの場合において
も重要な特徴領域は重み付けして監視することが可能で
ある。
[Effects] According to the present invention, monitoring can be performed using ambiguous abstract criteria such as visual inspection, and even in this case, important feature regions can be weighted and monitored.

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

第1図は第1実施例の領域分割方法を示すものて、同図
(a)は撮像手段の画面において部分領域が重複してい
る様子を示す平面図、同図(b)〜(d)は部分領域の
位置を示す平面図、第2図は第2実施例の領域分割方法
を示すもので、同図(a)は撮像手段の画面において部
分領域が重複している様子を示す平面図、同図(b)〜
(d)は部分領域の佐賀を示す平面図、第3図は画像監
視装置で監視対象物を監視している様子を示す外観斜視
図、第4図は画像監視装置のシステムブロック図、第5
図は画像監視装置全体のシステムフロー図、第6図は第
5図のシステムフロー図における監視処理の具体的フロ
ー図である。 1・・・監視対象物、 3・・・テレビカメラ、 Ll −L4 、L21−L24・・・部分領域、S・
・・監視領域。 以  上
FIG. 1 shows the region dividing method of the first embodiment, and FIG. 1(a) is a plan view showing how partial regions overlap on the screen of the imaging means, and FIG. 1(b) to (d) 2 is a plan view showing the position of the partial areas, FIG. 2 is a plan view showing the area dividing method of the second embodiment, and FIG. 2(a) is a plan view showing how the partial areas overlap on the screen of the imaging means , same figure (b) ~
(d) is a plan view showing the partial area Saga, FIG. 3 is an external perspective view showing how an object to be monitored is monitored by the image monitoring device, FIG. 4 is a system block diagram of the image monitoring device, and FIG.
The figure is a system flow diagram of the entire image monitoring apparatus, and FIG. 6 is a specific flow diagram of the monitoring process in the system flow diagram of FIG. 5. 1...Monitored object, 3...TV camera, Ll-L4, L21-L24...partial area, S.
...Monitoring area. that's all

Claims (1)

【特許請求の範囲】 撮像手段によって監視対象物を撮像し、予め決められて
いる基準画像と比較することにより、上記監視対象物の
良否判定を行なう画像監視方法において、 上記撮像手段の撮像画面内において設定された監視領域
を、重要な領域を重複させて部分領域に分割し、 この部分領域ごとに良否判定を行ない、 上記重複している部分領域における各良否判定の結果を
照合し、 判定違いを検知した場合には、上記重複している部分領
域における各良否判定の結果の多数決によって上記重複
している領域の良否判定を行なうこと を特徴とする画像監視方法。
[Scope of Claims] An image monitoring method for determining the quality of the monitored object by capturing an image of the monitored object using an imaging means and comparing it with a predetermined reference image, comprising: Divide the monitoring area set in , into partial areas by overlapping important areas, perform a pass/fail judgment for each partial area, compare the results of each pass/fail judgment in the overlapping partial areas, and check for incorrect judgments. An image monitoring method characterized in that, when the overlapping partial area is detected, the overlapping area is judged to be good or bad based on a majority vote of the results of each pass/fail judgment in the overlapping partial area.
JP2113678A 1990-04-27 1990-04-27 Image monitoring method Expired - Lifetime JP2518442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2113678A JP2518442B2 (en) 1990-04-27 1990-04-27 Image monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2113678A JP2518442B2 (en) 1990-04-27 1990-04-27 Image monitoring method

Publications (2)

Publication Number Publication Date
JPH0410173A true JPH0410173A (en) 1992-01-14
JP2518442B2 JP2518442B2 (en) 1996-07-24

Family

ID=14618395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2113678A Expired - Lifetime JP2518442B2 (en) 1990-04-27 1990-04-27 Image monitoring method

Country Status (1)

Country Link
JP (1) JP2518442B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325587A (en) * 2000-05-16 2001-11-22 Dainippon Printing Co Ltd Outward appearance inspecting device
JP2006107000A (en) * 2004-10-04 2006-04-20 Daihatsu Motor Co Ltd Method and device for deciding image abnormality
JP2019211415A (en) * 2018-06-08 2019-12-12 アズビル株式会社 Appearance inspection device and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6255781A (en) * 1985-09-04 1987-03-11 Matsushita Electric Ind Co Ltd Pattern matching method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6255781A (en) * 1985-09-04 1987-03-11 Matsushita Electric Ind Co Ltd Pattern matching method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001325587A (en) * 2000-05-16 2001-11-22 Dainippon Printing Co Ltd Outward appearance inspecting device
JP2006107000A (en) * 2004-10-04 2006-04-20 Daihatsu Motor Co Ltd Method and device for deciding image abnormality
JP4601376B2 (en) * 2004-10-04 2010-12-22 ダイハツ工業株式会社 Image abnormality determination device
JP2019211415A (en) * 2018-06-08 2019-12-12 アズビル株式会社 Appearance inspection device and method

Also Published As

Publication number Publication date
JP2518442B2 (en) 1996-07-24

Similar Documents

Publication Publication Date Title
US6973209B2 (en) Defect inspection system
EP0186874B1 (en) Method of and apparatus for checking geometry of multi-layer patterns for IC structures
US5305391A (en) Method of and apparatus for inspecting bottle or the like
JP3343444B2 (en) LCD panel image quality inspection apparatus and LCD image presampling method
KR100759950B1 (en) Device and method for inspection external appearance
US5012523A (en) Dimension checking method
JP3924796B2 (en) Pattern position measuring method and measuring apparatus
JPH0410173A (en) Picture monitoring method
JP2002288633A (en) Image processing device and its positional correction method
WO2000028309A1 (en) Method for inspecting inferiority in shape
JPH046404A (en) Image monitoring method
JP3281457B2 (en) Board component mounting inspection method and inspection device
JPH11132750A (en) Point defect detecting device and method therefor
JPH03186768A (en) Injection angle inspecting method for injection device
JP3829024B2 (en) Display screen inspection method and apparatus
CN110288662A (en) Display detection method and system
JPH0894541A (en) Method for detecting chipped corner of subject for inspection
KR970012877A (en) Cathode ray tube screen inspection adjusting device and method
JP3008683B2 (en) Mark inspection equipment
JP2000193437A (en) Method and system for inspecting pattern defect of keyboard of various electronic devices, and computer- readable recording medium where pattern defect inspection program is recorded
JPH0452773A (en) Picture supervisory method
JP3210428B2 (en) Surface inspection equipment
JP2000105167A (en) Address calibration method of image quality inspection device
KR19990086296A (en) Screen output inspection and adjustment device of video display and method
JPS6036120B2 (en) Chip-shaped component positional deviation inspection device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080517

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 14

EXPY Cancellation because of completion of term