JPH09311030A - Method and apparatus for inspection of quality - Google Patents

Method and apparatus for inspection of quality

Info

Publication number
JPH09311030A
JPH09311030A JP15185396A JP15185396A JPH09311030A JP H09311030 A JPH09311030 A JP H09311030A JP 15185396 A JP15185396 A JP 15185396A JP 15185396 A JP15185396 A JP 15185396A JP H09311030 A JPH09311030 A JP H09311030A
Authority
JP
Japan
Prior art keywords
image
level
inspected
area image
defect
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
JP15185396A
Other languages
Japanese (ja)
Inventor
Yoshitaka Hikami
好孝 氷上
Akihiko Isoo
明彦 磯尾
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.)
DAKKU ENG KK
DATSUKU ENG KK
Original Assignee
DAKKU ENG KK
DATSUKU ENG 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 DAKKU ENG KK, DATSUKU ENG KK filed Critical DAKKU ENG KK
Priority to JP15185396A priority Critical patent/JPH09311030A/en
Publication of JPH09311030A publication Critical patent/JPH09311030A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a method and an apparatus by which a defect part is detected with high accuracy, by which a waste to throw away the whole is eliminated when a defect exists only in an unused part or an unimportant part, by which the defect part is evaluated flexibly, by which an object to be thrown away is reduced to a minimum and whose economical efficiency is enhanced. SOLUTION: Gray levels in the corresponding part of a multigradation area image formed by imaging a face, to be inspected, on a sheet printed object 1 to a reference multigradation area image are compared, and a defect part is judged on the basis of an allowable value from a compared result. Since the defect part is judged on the basis of the allowable value from the compared result of the gray levels, the defect part can be detected without being influenced by the condition such as the shade of the color of the ground, the uneven shape or the like of the face to be inspected, and the defect part can be evaluated flexibly. In addition, when they are compared, a part whose inspection is not required such as an unused part other than a packing box structure 2 in a multigradation area image to be inspected or an unimportant part which is hidden in the use of the packing box structure 2 is mask-treated 70 so as to be removed from an object to be inspected.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数個の包装箱構
成体が一組として繰り返して印刷された長尺の印刷物、
複数個の包装箱構成体が一組印刷された枚葉印刷物、剥
離紙に貼着されたラベル等の印刷物、アルミニウムの長
尺フィルムに食品容器の蓋体等が印刷された印刷物など
のように製品部分が不使用部分と一体化している状態の
各種被検査物や、使用に際し、一部分が重ねられるなど
によりその部分を検査対象から除外することができる壁
紙などの各種被検査物の印刷汚れ、異物の付着等、各種
欠陥を検出するために用いる品質検査方法および品質検
査装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a long printed material in which a plurality of packaging box components are repeatedly printed as one set,
Such as sheet-fed printed matter in which a plurality of packaging box components are printed, printed matter such as labels attached to release paper, printed matter in which a lid of a food container is printed on a long film of aluminum, etc. Various inspected products in a state where the product part is integrated with unused parts, and printing stains on various inspected products such as wallpaper that can be excluded from the inspection target by overlapping parts when using, The present invention relates to a quality inspection method and a quality inspection device used for detecting various defects such as adhesion of foreign matter.

【0002】[0002]

【従来の技術】例えば、図12に示す枚葉印刷物1は厚
紙に複数個の包装箱構成体2が一組として繰返して印刷
された後、一組の包装箱構成体2ごとに方形に裁断され
る。上記一組の包装箱構成体2はなるべく材料の無駄を
生じないような予定配置により印刷される(図12では
4個の包装箱構成体2を一組として図示しているが、そ
の個数は任意である。)。各包装箱構成体2は、図13
に示すように、後にプレス機械で打抜かれるとともに、
折目やミシン目状切取線が形成されることにより得られ
るため、印刷された状態では打抜く外形線や折目、ミシ
ン目状切取線は表示されていないが、理解しやすくする
ため、図12においては予定の打抜外形線を一点鎖線で
示し、予定の折目およびミシン目状切取線を二点鎖線で
示している。
2. Description of the Related Art For example, a sheet-fed printed matter 1 shown in FIG. 12 is formed by repeatedly printing a plurality of packaging box constituents 2 on a cardboard as a set, and then cutting the packaging box constituents 2 into a square. To be done. The above set of packaging box constructions 2 is printed in a predetermined arrangement so as not to waste material as much as possible (in FIG. 12, four packaging box constructions 2 are shown as one set, but the number is Optional.) Each packaging box structure 2 is shown in FIG.
As shown in, after being punched by a press machine,
As it is obtained by forming a fold line or a perforation line, the outline to be punched, the fold line, and the perforation line are not displayed in the printed state, but in FIG. Indicates the planned punched outline by a one-dot chain line, and the planned folds and perforated cut-off lines by a two-dot chain line.

【0003】各包装箱構成体2は正面片3の長辺側の一
側縁と他側縁にそれぞれ折目4と折目5を介して側面片
6と7が連設され、側面片7には正面片3の反対側で折
目8を介して背面片9が連設され、背面片9には側面片
7の反対側で折目10を介して貼着片11が連設され
る。正面片3の短辺側の一側縁と他側縁にそれぞれ折目
12と折目13を介して頂面片14と底面片15が連設
され、頂面片14には正面片3の反対側で折目16を介
して差込片17が連設され、底面片15には正面片3の
反対側で折目18を介して差込片19が連設される。側
面片6の両側短辺縁にはそれぞれ折目20、21を介し
て折込片22、23が連設され、側面片7の両側短辺縁
にはそれぞれ折目24、25を介して折込片26、27
が連設される。背面片9の上部にはミシン目状切取線2
8により密封兼開封片29が形成される。
In each packaging box structure 2, side pieces 6 and 7 are connected to one side edge and the other side edge of the long side of the front piece 3 via folds 4 and 5, respectively. On the opposite side of the front piece 3, a back piece 9 is continuously provided via a fold 8, and on the back piece 9 an adhesive piece 11 is provided on the opposite side of the side piece 7 via a fold 10. . A top surface piece 14 and a bottom surface piece 15 are continuously provided on one side edge and the other side edge of the front surface piece 3 via folds 12 and 13, respectively. Insertion pieces 17 are continuously provided on the opposite side via folds 16, and insertion pieces 19 are provided on the bottom surface piece 15 on opposite sides of the front piece 3 via folds 18. Folding pieces 22 and 23 are continuously provided on both side short side edges of the side surface piece 6 through folds 20 and 21, respectively, and foldable pieces 22 and 23 are formed on both side short side edges of the side surface piece 7 via folds 24 and 25, respectively. 26, 27
Are continuously installed. A perforation line 2 is provided on the upper side of the back piece 9.
8 forms a sealing and opening piece 29.

【0004】正面片3、側面片6、7、背面片10、頂
面片14、底面片15、密封兼開封片29には収納物の
説明用の文字、数字、記号30、バーコード31等が印
刷されている。
The front piece 3, the side pieces 6, 7, the back piece 10, the top piece 14, the bottom piece 15, and the sealing / unsealing piece 29 include letters, numbers, symbols 30, bar codes 31, etc. for explaining stored items. Is printed.

【0005】この枚葉印刷物1から上記のように予定外
形線に沿って打抜かれるとともに、折目4、5、8、1
0、12、13、16、18、20、21、24、25
およびミシン目状切取線28が形成されることにより包
装箱構成体2が得られる。
From the sheet-fed printed matter 1 is punched out along the predetermined outline as described above, and the folds 4, 5, 8, 1 are formed.
0, 12, 13, 16, 18, 20, 21, 24, 25
By forming the perforation cut line 28, the packaging box structure 2 is obtained.

【0006】そして、図14に示すように、折目4、5
に沿って側面片6、7を直角方向に折曲げ、折目8に沿
って背面片9を直角方向に折曲げ、折目10に沿って貼
着片11を直角方向に折曲げ、貼着片11を側面片6の
内側面に貼着する。続いて、折目21、25に沿って折
込片23、27を直角方向に折曲げ、折目13に沿って
底面片15を直角方向に折曲げ、更に、折目18に沿っ
て差込片19を直角方向に折曲げて背面片9の内側に差
込むとともに貼着することにより包装箱底部を封じるこ
とができる。続いて、上部開放部から収納物を収納し、
折目20、24に沿って折込片22、26を直角方向に
折曲げ、折目12に沿って頂面片14を直角方向に折曲
げ、更に、折目16に沿って差込片17を直角方向に折
曲げて背面片9の内側に差込むとともに密封兼開封片2
9に貼着することにより、密封状態の包装箱32を構成
することができる。
Then, as shown in FIG.
Bend the side pieces 6 and 7 in a right angle direction, bend the back piece 9 in a right angle direction along the fold line 8, and bend the sticking piece 11 in a right angle direction along the fold line 10 The piece 11 is attached to the inner surface of the side piece 6. Then, the folding pieces 23 and 27 are bent at right angles along the folds 21 and 25, the bottom piece 15 is bent at right angles along the folds 13, and the insertion pieces are further bent along the folds 18. The bottom of the packaging box can be closed by bending 19 at a right angle, inserting it into the inside of the back piece 9, and adhering it. Next, store items from the upper opening,
Bend the folding pieces 22 and 26 at right angles along the folds 20 and 24, bend the top surface piece 14 at right angles along the folds 12, and further insert the insertion pieces 17 along the folds 16. It is bent at a right angle, inserted into the back piece 9 and sealed and opened 2
By affixing to 9, the packaging box 32 in a sealed state can be constructed.

【0007】従来、上記枚葉印刷物1における印刷汚
れ、異物の付着等、各種欠陥を検出するには、線状のC
CDラインセンサ等を用いて走行する枚葉印刷物1の被
検査面(表面の印刷面)を撮像し、撮像によって得られ
た画像信号を微分して被検査面の濃度変化を検出し、こ
の微分波形を二値化処理して得られる信号パターンをあ
らかじめ作成しておいたマスターパターンと記憶手段内
で比較対照することにより、枚葉印刷物1の欠陥箇所を
検出するようにした方法が知られている。
Conventionally, in order to detect various defects such as print stains and adherence of foreign matter on the above-mentioned sheet-fed printed matter 1, a linear C is detected.
An image of the surface to be inspected (printing surface on the front side) of the sheet-fed printed matter 1 traveling using a CD line sensor or the like is imaged, the image signal obtained by imaging is differentiated to detect the density change of the surface to be inspected, and this differentiation A method is known in which a defective portion of the sheet-fed printed material 1 is detected by comparing and comparing a signal pattern obtained by binarizing a waveform with a master pattern which is created in advance in a storage means. There is.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来例の二値化処理による品質検査方法では、製品として
使用する包装箱構成体2の部分は勿論のこと、製品とし
て使用しない部分をも検査対象とし、この不使用部分を
検査対象から外すことができない。このため、図12に
示すように、製品である包装箱構成体2の部分に欠陥が
なく、不使用部分にのみ欠陥33があっても、製品であ
る包装箱構成体2を含む枚葉印刷物1の全体に欠陥があ
ることになって廃棄処分することになり、非経済的であ
る。
However, in the quality inspection method by the binarization processing of the above-mentioned conventional example, not only the portion of the packaging box structure 2 used as a product but also the portion not used as a product is inspected. The unused part cannot be removed from the inspection target. Therefore, as shown in FIG. 12, even if there is no defect in the part of the packaging box structure 2 that is a product and there is a defect 33 only in the unused part, a sheet-fed printed product including the packaging box structure 2 that is a product. 1 is defective and will be disposed of, which is uneconomical.

【0009】また、上記のように包装箱構成体2は包装
箱32を構成する際、正面片3、背面片9は特に目立
ち、商品イメージに影響を与えるばかりでなく、収納物
が特に薬である場合には内容量表示等の数値が汚れによ
り別の数値に変わるなどにより危険を伴う場合があるた
め、厳格な精度で検出する必要があり、側面片6、7も
正面片3、背面片9のように厳格な精度で検出する必要
はないが、比較的目立ち、商品イメージに影響を与える
ため、普通の精度で検出する必要がある。これに対し、
正面片3、背面片9、側面片6、7以外の各片は目立た
なかったり、包装箱32として組み立てた状態において
隠れたりする箇所で、上記正面片3等の各片ほど重要で
はないので、緩やかな精度で検出すればよいことにな
る。しかしながら、上記従来例の二値化処理による品質
検査方法では、重要である部分と重量でない部分とで精
度の異なる判定レベルで検出するのが困難であるため、
重要でない部分に欠陥があっても枚葉印刷物1の全体を
廃棄処分することになり、上記の場合と同様に非経済的
である。
Further, as described above, when the packaging box structure 2 constitutes the packaging box 32, the front piece 3 and the back piece 9 are particularly conspicuous, not only affecting the product image, but also the stored items are particularly medicines. In some cases, it is necessary to detect with a strict accuracy because it may be dangerous because the numerical value such as the content display changes to another numerical value due to dirt, so it is necessary to detect it with strict accuracy. Although it is not necessary to perform detection with strict precision as in No. 9, it is necessary to perform detection with normal precision because it is relatively conspicuous and affects the product image. In contrast,
Since each piece other than the front piece 3, the back piece 9, and the side pieces 6, 7 is inconspicuous or hidden in the assembled state as the packaging box 32, it is not so important as each piece such as the front piece 3 and the like. It should be detected with a moderate accuracy. However, in the quality inspection method by the binarization processing of the above-mentioned conventional example, it is difficult to detect at the determination level with different accuracy in the important part and the non-weight part,
Even if there is a defect in an unimportant portion, the whole sheet-fed printed matter 1 is discarded, which is uneconomical as in the above case.

【0010】また、二値化処理による品質検査方法で
は、判定レベルの設定が微妙であり、この判定レベルの
設定の適、不適によって欠陥検出精度が大きく左右され
る。また、微分波形によって得られる濃度変化のみによ
って欠陥箇所を検出しているため、地色が濃色である場
合と、薄色である場合とでは検出精度が異なる。
Further, in the quality inspection method using the binarization process, the setting of the judgment level is delicate, and the defect detection accuracy is greatly influenced by the suitability or unsuitability of the setting of the judgment level. Further, since the defective portion is detected only by the density change obtained by the differential waveform, the detection accuracy differs depending on whether the background color is dark or light.

【0011】また、上記のように微分波形によって得ら
れる濃度変化のみによって欠陥を検出すると、図15
(a)に示すようなJ−J線上における目立ちやすい比
較的広い面積で比較的淡い汚れ101については図15
(b)、(c)、(d)に示すJ−J線上の濃度、微分
処理(時間的変化量を電圧値に変換)、差分(二値化に
より一定電圧以上を「1」とする)からも明らかなよう
に緩やかな信号パターンになるため、欠陥箇所ではない
と判定する。一方、図16(a)に示すようなK−K線
上における比較的狭い面積で濃い汚れ102は勿論のこ
と、比較的狭い面積で比較的淡い汚れ、更には比較的狭
い面積で淡い汚れについても図16(b)、(c)、
(d)に示すK−K線上の濃度、微分処理(時間的変化
量を電圧値に変換)、差分(二値化により一定電圧以上
を「1」とする)からも明らかなように急激な信号パタ
ーンになるため、欠陥箇所であると判定することにな
る。
If a defect is detected only by the density change obtained by the differential waveform as described above, FIG.
As shown in FIG. 15A, the stain 101 having a relatively large area and a relatively large area on the line J-J shown in FIG.
(B), (c), the density on the JJ line shown in (d), the differential processing (converting the temporal change amount into a voltage value), the difference (the constant voltage or more is set to "1" by binarization). As is clear from the above, since the signal pattern is gentle, it is determined that it is not a defective portion. On the other hand, not only the dark stain 102 having a relatively small area on the line K-K as shown in FIG. 16A, but also the light stain having a relatively small area, and the light dirt having a relatively small area are also included. 16 (b), (c),
As is clear from the concentration on the KK line shown in (d), the differential processing (converting the temporal change amount into a voltage value), and the difference (binarization, a certain voltage or more is set to “1”), it is sharp. Since it becomes a signal pattern, it is determined that it is a defective portion.

【0012】しかしながら、このような検出方法は必ず
しも人間の視覚による欠陥認識と一致しない。例えば、
被検査面における汚損範囲が極めて狭い範囲であって
も、汚損範囲内外での濃度差が大きい場合には、人間の
視覚では「目立つ汚損」として認識される。また、汚損
濃度が同じ程度であっても、汚損範囲の大、小によって
も「目立つ汚損」として認識され、若しくは「目立たな
い汚損」として認識される。そして、「目立つ汚損」は
製品から確実に排除する必要があるが、他方、「目立た
ない汚損」は排除する必要がない場合が多く、このよう
な人間の視覚感性を考慮した欠陥判定が極めて困難であ
った。
However, such a detection method does not always correspond to human visual defect recognition. For example,
Even if the stain range on the surface to be inspected is extremely narrow, if the density difference between the inside and the outside of the stain range is large, it is recognized as "conspicuous stain" by human vision. Further, even if the stain concentration is about the same, it is recognized as "conspicuous stain" or "not noticeable stain" depending on whether the stain range is large or small. And, while "conspicuous stains" need to be reliably excluded from products, on the other hand, "conspicuous stains" often do not need to be excluded, and it is extremely difficult to judge defects in consideration of such human visual sensibilities. Met.

【0013】本発明は、上記のような従来の問題を解決
するものであり、被検査面の地色の濃淡等の条件に拘ら
ず、欠陥箇所を高精度に検出することができ、また、不
使用部分や、使用に際して隠れるなどによる重要でない
部分に欠陥があるだけでは全体を廃棄処分する無駄をな
くすことができ、しかも、欠陥箇所の評価を柔軟に行う
ことができて廃棄対象を最小限に止めることができ、し
たがって、経済性の向上を図ることができるようにした
品質検査方法および品質検査装置を提供することを目的
とする。
The present invention solves the above-mentioned conventional problems, and can detect a defective portion with high accuracy regardless of the conditions such as the shade of the ground color of the surface to be inspected. It is possible to eliminate the waste of disposing of the whole by only having defects in unused parts and insignificant parts that are hidden during use, and moreover, because the defective parts can be evaluated flexibly, the disposal target is minimized. Therefore, it is an object of the present invention to provide a quality inspection method and a quality inspection device which can be improved in economic efficiency.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するため
の本発明の品質検査方法は、被検査物を撮像手段により
撮像し、上記撮像手段から出力される多階調の画像デー
タをもとに多階調エリア画像を作成し、この被検査多階
調エリア画像における検査不要部分についてはマスク処
理して検査対象から除去し、上記被検査多階調エリア画
像における検査必要部分の各部の濃度レベルを基準多階
調エリア画像の対応する各部の濃度レベルと比較し、こ
の比較結果から各判定レベルにおける許容値をもとに欠
陥箇所を判定するようにしたものである。
The quality inspection method of the present invention for achieving the above object is based on multi-gradation image data output from the image pickup means by picking up an image of an object to be inspected by the image pickup means. A multi-gradation area image is created on the target multi-tone area image, and an unnecessary portion of the inspection multi-tone area image is masked and removed from the inspection target. The level is compared with the density level of each corresponding portion of the reference multi-gradation area image, and the defective portion is judged based on the allowable value at each judgment level from this comparison result.

【0015】上記目的を達成するための本発明の他の品
質検査方法は、上記品質検査方法において、被検査多階
調エリア画像における検査必要部分の各部の濃度レベル
の比較に際し、重要度に応じて精度の異なる判定レベル
で比較するようにしたものである。
According to another quality inspection method of the present invention for achieving the above object, in the above quality inspection method, when comparing the density levels of respective portions of the inspection required portion in the inspected multi-gradation area image, according to the importance level. Therefore, the comparison is made at the judgment levels with different accuracy.

【0016】そして、上記品質検査方法において、被検
査多階調エリア画像と基準多階調エリア画像との位置な
どのずれ量を考慮して欠陥箇所を判定し、また、撮像手
段により撮像する際の被検査物の明るさを検出し、この
検出結果に対応して基準多階調エリア画像の濃度レベル
の明るさを変化させるのが好ましい。
In the above quality inspection method, when the defective portion is determined in consideration of the amount of deviation between the inspected multi-gradation area image and the reference multi-gradation area image, and the image is picked up by the image pickup means. It is preferable to detect the brightness of the inspection object and change the brightness of the density level of the reference multi-gradation area image in accordance with the detection result.

【0017】また、被検査多階調エリア画像と基準多階
調エリア画像の濃度レベル差を所望方向に一定量累積加
算し、強調して比較し、または被検査多階調エリア画像
の濃度を所望方向に一定量累積加算して強調し、濃度を
所望方向に一定量累積加算してある基準多階調エリア画
像の濃度レベルと比較するのが好ましい。
Further, the density level difference between the inspected multi-tone area image and the reference multi-tone area image is cumulatively added in a desired direction by a certain amount, emphasized and compared, or the density of the inspected multi-tone area image is calculated. It is preferable to cumulatively add a certain amount in the desired direction for emphasis and compare the density with the density level of the reference multi-tone area image for which a certain amount has been cumulatively added in the desired direction.

【0018】また、許容値に濃度レベル差を用い、この
濃度レベル差の許容値として、精度の異なる判定レベル
ごとに、基準多階調エリア画像の各行を構成する各多階
調ライン画像の濃度レベルに許容濃度レベルを加算して
明欠陥多階調ライン画像を作成し、他方、基準多階調エ
リア画像の多階調ライン画像の濃度レベルから許容濃度
レベルを減算して暗欠陥多階調ライン画像を作成し、こ
れら明欠陥多階調ライン画像および暗欠陥多階調ライン
画像を許容範囲の上限値および下限値として用いること
ができる。
Further, the density level difference is used as the allowable value, and as the allowable value of this density level difference, the density of each multi-gradation line image forming each row of the reference multi-gradation area image is determined for each determination level with different accuracy. The allowable density level is added to the level to create a bright defect multi-gradation line image, while the allowable density level is subtracted from the density level of the multi-gradation line image of the reference multi-gradation area image to dark defect multi-gradation It is possible to create a line image and use the bright defect multi-tone line image and the dark defect multi-tone line image as the upper limit value and the lower limit value of the allowable range.

【0019】また、上記濃度レベル差の許容値を、精度
の異なる判定レベルごとに、重欠陥レベルと軽欠陥レベ
ルに設定し、濃度レベル差が重欠陥レベルを超えた場合
には欠陥箇所であると判定し、濃度レベル差が軽欠陥レ
ベルと重欠陥レベルの間の場合には精度の異なる判定レ
ベルに共通するレベルで、若しくは精度の異なる判定レ
ベルごとに異なるレベルで軽欠陥レベルを逸脱している
部分の形状を解析することにより、この逸脱部分が広い
場合に欠陥箇所であると判定し、狭い場合には欠陥箇所
でないと判定するのが好ましい。また、軽欠陥レベルを
複数段階に設定することも可能である。
Further, the permissible value of the density level difference is set to the heavy defect level and the light defect level for each judgment level having different accuracy, and when the density level difference exceeds the heavy defect level, it is a defective portion. If the difference in the density level is between the light defect level and the heavy defect level, the light defect level is deviated at a level common to the judgment levels with different accuracies, or at a level different for each judgment level with different accuracies. By analyzing the shape of the existing portion, it is preferable to determine that the deviation portion is a defect portion when the deviation portion is wide, and to determine that the deviation portion is not a defect portion when the deviation portion is narrow. It is also possible to set the light defect level in multiple stages.

【0020】また、許容値は、濃度差と面積の総和、若
しくは横方向と縦方向のサイズの基準値によって区画す
ることもできる。
The permissible value can also be defined by the sum of the density difference and the area, or the reference value of the size in the horizontal and vertical directions.

【0021】上記目的を達成するための本発明の品質検
査装置は、被検査物を撮像する撮像手段と、この撮像手
段から出力される多階調の画像データをもとに作成した
被検査多階調エリア画像および基準多階調エリア画像を
記憶しておく記憶手段と、上記被検査多階調エリア画像
における検査不要部分についてはマスク処理して検査対
象から除去し、上記被検査多階調エリア画像における検
査必要部分の各部の濃度レベルを上記基準多階調エリア
画像の対応する各部の濃度レベルと比較し、この比較結
果から各判定レベルにおける許容値をもとに欠陥箇所を
判定する判定手段とを備えたものである。
A quality inspection apparatus according to the present invention for achieving the above object comprises an image pickup means for picking up an image of an object to be inspected, and an object to be inspected based on multi-tone image data output from the image pickup means. A storage means for storing the gradation area image and the reference multi-gradation area image, and a mask processing is performed on an unnecessary portion of the inspection multi-gradation area image to remove it from the inspection object, The density level of each part of the area requiring inspection in the area image is compared with the density level of each corresponding part of the reference multi-tone area image, and the defect location is judged based on the allowable value at each judgment level from this comparison result. And means.

【0022】上記品質検査装置において、被検査多階調
エリア画像と基準多階調エリア画像との位置などのずれ
量を補正する補正手段を備え、更に、撮像手段により撮
像する際の被検査物の明るさを検出し、この検出結果に
対応して基準多階調エリア画像の濃度レベルの明るさを
変化させる検出手段を備えることができる。
In the above-mentioned quality inspection apparatus, a correction means for correcting the amount of displacement between the inspected multi-tone area image and the reference multi-tone area image is provided, and the inspected object when the image is picked up by the image pick-up means. It is possible to provide a detection unit that detects the brightness of the image and changes the brightness of the density level of the reference multi-gradation area image in accordance with the detection result.

【0023】そして、判定手段が、上記のように被検査
多階調エリア画像における検査必要部分の各部の濃度レ
ベルの比較に際し、重要度に応じて精度の異なる判定レ
ベルで比較し、その判定の際の許容値に濃度レベル差を
用い、その許容値を、明欠陥多階調ライン画像と暗欠陥
多階調ライン画像とによって区画し、更に、形状を解析
して判定することができ、または判定に用いる許容値
を、濃度差と面積の総和の基準値によって区画すること
ができる。
Then, the determination means, when comparing the density levels of the respective portions of the inspection-needed area in the inspected multi-gradation area image as described above, compares at different determination levels with different accuracy according to the importance, and the determination is made. The density level difference is used as the tolerance value at that time, and the tolerance value is divided by the bright defect multi-gradation line image and the dark defect multi-gradation line image, and the shape can be analyzed to make a determination, or The allowable value used for the determination can be divided by the reference value of the density difference and the total area.

【0024】本発明によれば、被検査物の被検査面を撮
像して得られる多階調の画像データをもとに多階調エリ
ア画像を作成し、この被検査多階調エリア画像を基準多
階調エリア画像とパターンマッチングさせて両画像の対
応部分の濃度レベルを比較し、この比較結果から許容値
をもとに欠陥箇所を判定する。このように濃度レベルの
比較結果から許容値をもとに欠陥箇所を判定するので、
欠陥箇所の評価を柔軟に行うことができる。また、上記
比較に際し、被検査多階調エリア画像における不使用部
分や、使用に際して隠れるなどによる重要でない部分
等、検査不要部分についてはマスク処理して検査対象か
ら除去するので、その部分に欠陥があっても全体を廃棄
する無駄をなくすことができる。
According to the present invention, a multi-gradation area image is created on the basis of multi-gradation image data obtained by picking up an image of the surface to be inspected, and the multi-gradation area image is inspected. Pattern matching with the reference multi-tone area image is performed to compare the density levels of the corresponding portions of both images, and the defective portion is determined based on the allowable value from the comparison result. In this way, the defect location is determined based on the allowable value from the density level comparison result.
The defect location can be flexibly evaluated. Further, in the above comparison, the unnecessary portions in the multi-tone area image to be inspected, unimportant portions such as hidden portions when used, are removed from the inspection target by masking, so that there is no defect in that portion. Even if there is, it is possible to eliminate the waste of discarding the whole.

【0025】また、被検査多階調エリア画像における検
査必要部分の各部の濃度レベルの比較に際し、重要度に
応じて精度の異なる判定レベルで比較し、商品価値に影
響を及ぼさない部分の比較的軽い欠陥については欠陥で
はないと判定することにより、全体を廃棄する無駄をな
くすことができる。
Further, when comparing the density levels of the respective portions of the inspection-needed area in the inspected multi-gradation area image, the determination levels with different precisions are compared according to the importance, and the portions that do not affect the commercial value are compared. By determining that a light defect is not a defect, it is possible to eliminate the waste of discarding the whole.

【0026】[0026]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照しながら説明する。まず、本発明の第1の実
施形態について説明する。図1および図2は本発明の第
1の実施形態による品質検査装置の搬送機構部を示す概
略平面図および一部破断概略側面図、図3は同品質検査
装置におけるCCDラインセンサカメラと光源の配置例
を示す正面図、図4は同品質検査装置の処理部を示すブ
ロック図である。
Embodiments of the present invention will be described below with reference to the drawings. First, a first embodiment of the present invention will be described. 1 and 2 are a schematic plan view and a partially cutaway schematic side view showing a transport mechanism section of a quality inspection device according to a first embodiment of the present invention, and FIG. 3 is a CCD line sensor camera and a light source in the quality inspection device. FIG. 4 is a front view showing an arrangement example, and FIG. 4 is a block diagram showing a processing unit of the quality inspection apparatus.

【0027】まず、本発明の一実施形態による品質検査
装置について説明する。図1、図2において、41は枚
葉印刷物1を積層状態でセットするセット部、42はセ
ット部41の枚葉印刷物1を繰出す繰出し部、43は繰
出し部42から繰出される枚葉印刷物1を搬送する搬送
帯、44は搬送帯43の走行を案内するローラ群、45
は搬送される枚葉印刷物1の検査部、46は検査部45
で検査された枚葉印刷物1の良品、不良品を仕分ける仕
分け部、47は不良品の枚葉印刷物1を回収する回収
箱、48は良品の枚葉印刷物1をストックするストック
部、49は各部の制御盤である。
First, a quality inspection apparatus according to an embodiment of the present invention will be described. In FIG. 1 and FIG. 2, 41 is a setting section for setting the sheet-fed printed matter 1 in a stacked state, 42 is a feeding section for feeding the sheet-fed printed matter 1 of the setting section 41, 43 is a sheet-fed printed matter fed from the feeding section 42. 1 is a conveying belt, 44 is a roller group for guiding the traveling of the conveying belt 43, 45
Is an inspection unit for the sheet-fed printed matter 1 to be conveyed, and 46 is an inspection unit 45.
The sorting unit for sorting the non-defective product and the defective product of the sheet-fed printed matter 1 inspected in 1., the collecting box 47 for collecting the defective sheet-fed printed matter 1, 48 the stock section for stocking the non-defective sheet-fed printed matter 1, and 49 for each section It is the control panel of.

【0028】検査部45において、図1ないし図3に示
すように、走行する枚葉印刷物1の印刷面の上方に位置
して撮像部50が配置されている。枚葉印刷物1の走行
方向で撮像部50の両側に反射照明用光源51が配置さ
れ、枚葉印刷物1を挟んで撮像部50と対向するように
透過照明用光源52が配置されている。図示例では、反
射照明と透過照明とを併用しているが、被検査物の種類
によってはいずれかのみを採用してもよい。また、これ
ら照明には、可視光、赤外線、紫外線、γ線、χ線など
を使用することができる。図示例では、撮像部50は5
12、1024、2048、5000ビット等の線状セ
ンサであるCCDラインセンサカメラ(以下、単にカメ
ラと称す)50a〜50eが走行する無地紙1の幅方向
に沿うように5台設置され、走行する枚葉印刷物1の全
幅が順次撮像されるようになっている。
In the inspection section 45, as shown in FIGS. 1 to 3, an image pickup section 50 is arranged above the printing surface of the traveling sheet-fed printed matter 1. Reflection illumination light sources 51 are arranged on both sides of the image pickup section 50 in the traveling direction of the sheet-fed printed matter 1, and transmission illumination light sources 52 are arranged so as to face the image pickup section 50 with the sheet-fed printed matter 1 interposed therebetween. In the illustrated example, the reflective illumination and the transmissive illumination are used together, but either one may be used depending on the type of the inspection object. Further, visible light, infrared rays, ultraviolet rays, γ rays, χ rays and the like can be used for these illuminations. In the illustrated example, the imaging unit 50 has five
Five CCD line sensor cameras (hereinafter, simply referred to as cameras) 50a to 50e, which are linear sensors of 12, 1024, 2048, 5000 bits, etc., are installed and run along the width direction of the plain paper 1 on which they run. The entire width of the sheet-fed printed matter 1 is sequentially imaged.

【0029】図4において、60は画像メモリであり、
カメラ50a〜50eから出力された枚葉印刷物1の印
刷表示面の被検査画像を多値化画像として記憶する。例
えば、カメラ50a〜50eから順次出力される256
段階の多階調ライン画像のデータを記憶するとともに、
多階調エリア画像を作成する。61はX補正回路、62
はY補正回路であり、カメラ50a〜50eから出力さ
れた画像より検査基準となる印刷表示位置を記憶し、検
査対象の印刷表示位置と比較することにより補正量を抽
出し、画像メモリ60から多階調エリア画像を読み出す
際に補正量を加え、多階調エリア画像を移動させ、検査
対象と検査対象基準の画像の位置を同じにする。X補正
回路61は枚葉印刷物1の走行方向に対して画像を垂直
方向に補正し、Y補正回路62は枚葉印刷物1の走行方
向に対して画像を同一方向に補正する。
In FIG. 4, 60 is an image memory,
The inspected image on the print display surface of the sheet printed matter 1 output from the cameras 50a to 50e is stored as a multi-valued image. For example, 256 sequentially output from the cameras 50a to 50e
While storing the data of the multi-gradation line image of the stage,
Create a multi-tone area image. 61 is an X correction circuit, 62
Is a Y correction circuit, which stores a print display position serving as an inspection reference from the images output from the cameras 50a to 50e, extracts a correction amount by comparing it with the print display position of the inspection target, and stores it in the image memory 60. A correction amount is added when the gradation area image is read out to move the multi-gradation area image so that the positions of the inspection target image and the inspection target reference image are the same. The X correction circuit 61 corrects the image in the direction perpendicular to the traveling direction of the sheet printed matter 1, and the Y correction circuit 62 corrects the image in the same direction as the traveling direction of the sheet printed matter 1.

【0030】そして、上記補正を行うには、被検査画像
と基準画像のいずれか一方、若しくは両方を記憶手段の
内部で移動させることにより、被検査画像と基準画像を
重ね合わせた上、両画像を比較対象する。画像移動方法
としては公知の手段を適宜採用することができ、メモリ
上でのソフトウエア処理、専用論理回路を用いたハード
ウエア処理のいずれを用いることも任意である。ソフト
ウエア処理としては、例えば、画像の特徴点を認識さ
せ、この特徴点を基準にして画像を移動する手法や、概
略抽出した画像輪郭を基準にして画像を移動させる手法
を採用することができる。またはあらかじめ画像のずれ
を想定した多数の基準画像をメモリに記憶させておき、
被検査画像を基準画像と順次比較し、一致することによ
り補正量を抽出して被検査画像を移動させる手法を採用
することができる。
In order to perform the above correction, either or both of the inspection image and the reference image are moved inside the storage means so that the inspection image and the reference image are superposed on each other and both the images are superposed. To be compared. As a method of moving an image, known means can be appropriately adopted, and any of software processing on a memory and hardware processing using a dedicated logic circuit can be arbitrarily used. As the software processing, for example, a method of recognizing a feature point of an image and moving the image based on the feature point or a method of moving the image based on the roughly extracted image contour can be adopted. . Alternatively, a large number of reference images assuming image shifts are stored in memory in advance,
It is possible to employ a method of sequentially comparing the inspected image with the reference image, extracting a correction amount when they match, and moving the inspected image.

【0031】63は平均濃度検出回路であり、カメラ5
0a〜50eから出力された印刷表示画像をもとに検査
基準となる印刷表示平均濃度を検出し、検査対象の印刷
表示平均濃度と比較することにより補正量を抽出する。
64は画像基準メモリであり、検査基準となる印刷表示
画像を多値化画像として記憶する。例えば、あらかじめ
撮像した正常な枚葉印刷物1の基準(マスタ)画像の2
56段階の多階調エリア画像を記憶する。65は許容値
選択メモリであり、後述するように画像メモリ60から
出力される被検査多階調エリア画像と基準画像メモリ6
4から出力される基準多階調エリア画像とを画素ごとに
比較するための複数の濃度許容値を記憶し、選択する。
Reference numeral 63 denotes an average density detection circuit, which is used by the camera 5
Based on the print display images output from 0a to 50e, the print display average density serving as the inspection reference is detected, and the correction amount is extracted by comparing with the print display average density of the inspection target.
An image reference memory 64 stores a print display image serving as an inspection reference as a multi-valued image. For example, a reference (master) image 2 of a normal sheet-fed printed matter 1 captured in advance
A multi-tone area image of 56 steps is stored. Reference numeral 65 denotes a permissible value selection memory, which is a multi-tone area image to be inspected output from the image memory 60 and the reference image memory 6 as described later.
A plurality of density allowable values for comparing each pixel with the reference multi-tone area image output from No. 4 are stored and selected.

【0032】上記のように包装箱構成体2は包装箱32
を構成する際、正面片3、背面片9は特に目立つ箇所で
あるばかりでなく、内容表示、商品イメージとして重要
であるので、濃度レベルの許容値を厳格に設定し、側面
片6、7は正面片3、背面片9に次いで目立つ箇所で商
品イメージとして重量であるので、濃度レベルの許容値
を普通に設定し、その他の各片は目立たなかったり、包
装箱32として組み立てた際に隠れたりする箇所で上記
各片ほど重要ではないので、濃度レベルの許容値を緩和
するように設定し、それぞれの判定レベルでウインドウ
処理できるようにする。すなわち、濃度レベル差の許容
値を、精度の異なる判定レベルごとに、基準多階調ライ
ン画像データの真値である基準濃度レベルに一定の許容
値を加算して得られる「明」側で軽欠陥濃度レベルおよ
び重欠陥濃度レベルと、基準濃度レベルから一定の許容
値を減算して得られる「暗」側で軽欠陥濃度レベルおよ
び重欠陥濃度レベルを設定する。また、精度の異なる判
定レベルごとに異なるレベルで軽欠陥レベルを逸脱して
いる部分におけるx方向(幅方向)とy方向(流れ方
向)の形状による判定レベルを設定する。この軽欠陥濃
度レベルを逸脱している部分におけるx方向とy方向の
判定レベルについては精度の異なる判定レベルに共通で
あってもよい。異なる場合の判定レベルの一例について
表1に示し、共通の場合の判定レベルの一例について表
2に示す。また、枚葉印刷物1における包装箱構成体2
以外の部分については判定に際してマスク処理すること
ができるように許容値が最大となるように設定してお
く。
As described above, the packaging box structure 2 includes the packaging box 32.
When configuring the above, since the front piece 3 and the back piece 9 are not only particularly conspicuous parts but also important for the content display and the product image, the tolerance value of the density level is strictly set, and the side pieces 6, 7 are Since the weight is a product image in a place that stands out next to the front piece 3 and the back piece 9, the allowable value of the concentration level is set normally, and the other pieces are inconspicuous or hidden when assembled as the packaging box 32. Since it is not as important as the above-mentioned pieces at the place to be performed, the allowable value of the density level is set to be relaxed so that the window processing can be performed at each judgment level. That is, the permissible value of the density level difference is lightened on the “bright” side obtained by adding a certain permissible value to the reference density level, which is the true value of the reference multi-gradation line image data, for each determination level having different accuracy. The light defect density level and the heavy defect density level are set on the "dark" side obtained by subtracting a certain allowable value from the defect density level and the heavy defect density level, and the reference density level. In addition, a determination level based on the shape in the x direction (width direction) and the y direction (flow direction) at a portion deviating from the light defect level is set for each determination level with different accuracy. The determination levels in the x direction and the y direction in the portion deviating from the light defect density level may be common to determination levels having different precisions. Table 1 shows an example of the determination level when different, and Table 2 shows an example of the determination level when common. In addition, the packaging box structure 2 in the sheet-fed printed matter 1
The other parts are set so that the allowable value becomes maximum so that the mask processing can be performed in the determination.

【0033】[0033]

【表1】 [Table 1]

【0034】[0034]

【表2】 [Table 2]

【0035】66は画像演算回路であり、画像メモリ6
0から抽出した位置補正後で平均濃度検出回路63によ
り検出された補正量を加えた被検査多階調エリア画像の
各部の濃度を基準画像メモリ64から抽出した基準多階
調エリア画像の対応する各部の濃度レベルと比較し、こ
の比較結果について許容値選択メモリ65から抽出した
許容値をもとに欠陥箇所を判定する。すなわち、枚葉印
刷物1における包装箱構成体2以外の部分については許
容値が最大となるので、マスク処理して比較対象から除
外し、包装箱構成体2において、比較して得られた濃度
レベル差が許容値を超えると欠陥であると判定し、許容
値を超えなければ欠陥がないと判定する。67は欠陥検
出回路であり、画像演算回路66で抽出された欠陥画像
よりx方向とy方向の欠陥寸法を計測し、許容値選択メ
モリ65に設定されているx方向とy方向の判定レベル
を超えるものを欠陥として検出し、検出した欠陥の位
置、大きさの情報を記憶する。上記各メモリ60、6
4、65、各回路61、62、63、66、67はCP
U(図示省略)によって制御される。
Reference numeral 66 denotes an image calculation circuit, which is an image memory 6
The density of each portion of the inspected multi-gradation area image to which the correction amount detected by the average density detection circuit 63 after position correction extracted from 0 is added corresponds to the reference multi-tone area image extracted from the reference image memory 64. The density level of each part is compared, and the defective portion is determined based on the allowable value extracted from the allowable value selection memory 65 for this comparison result. That is, since the maximum allowable value is obtained for the portion of the sheet-fed printed material 1 other than the packaging box constituent 2, it is masked and excluded from the comparison target, and the density level obtained by comparison in the packaging box constituent 2 is compared. If the difference exceeds the allowable value, it is determined to be a defect, and if it does not exceed the allowable value, it is determined that there is no defect. Reference numeral 67 denotes a defect detection circuit, which measures defect dimensions in the x direction and the y direction from the defect image extracted by the image calculation circuit 66, and determines the determination levels in the x direction and the y direction set in the allowable value selection memory 65. Information exceeding the position and size of the detected defect is stored. Each of the memories 60, 6
4, 65, each circuit 61, 62, 63, 66, 67 is CP
It is controlled by U (not shown).

【0036】次に、本発明の第1の実施形態による品質
検査方法について上記品質検査装置の動作と共に説明す
る。図5〜図9は本発明の第1の実施形態による品質検
査方法の原理説明図である。
Next, a quality inspection method according to the first embodiment of the present invention will be described together with the operation of the quality inspection apparatus. 5 to 9 are explanatory views of the principle of the quality inspection method according to the first embodiment of the present invention.

【0037】図1、図2に示すようにセット部41に積
層している枚葉印刷物1を繰出し部42の操作により順
次繰出し、ローラ群44の案内により走行する搬送帯4
3により搬送する。この間、枚葉印刷物1の欠陥の有無
について検査部45により検査し、この検査部45から
の指令による仕分け部46の操作により不良品の枚葉印
刷物1を回収箱47に回収し、良品の枚葉印刷物1をス
トック部48にストックする。
As shown in FIGS. 1 and 2, the sheet-fed printed matter 1 stacked on the setting section 41 is successively fed by the operation of the feeding section 42, and is conveyed by the guide of the roller group 44.
Transport by 3. During this period, the inspection unit 45 inspects the sheet printed matter 1 for defects, and the defective sheet-fed printed matter 1 is collected in the collection box 47 by the operation of the sorting unit 46 according to a command from the inspection unit 45. The leaf print 1 is stocked in the stock section 48.

【0038】上記検査部45における検査方法の詳細に
ついて説明すると、上記のように走行する枚葉印刷物1
を照明用光源51、52により照射し、枚葉印刷物1の
被検査面をその幅方向の全長にわたってカメラ50a〜
50eにより順次撮像する。画像メモリ60はカメラ5
0a〜50eから順次出力される256段階の多階調ラ
イン画像のデータを記憶するとともに、多階調エリア画
像を作成する。一方、X補正回路61とY補正回路62
はカメラ50a〜50eから出力された画像データから
検査基準となる印刷表示位置を記憶し、検査対象の印刷
表示位置と比較することにより補正量を抽出する。ま
た、平均濃度検出回路63はカメラ50a〜50eから
出力された画像データから検査基準となる印刷表示平均
濃度を検出し、検査対象の印刷表示平均濃度と比較する
ことにより補正量を抽出する。
The inspection method in the inspection section 45 will be described in detail. The sheet-fed printed matter 1 traveling as described above.
Is irradiated by the illumination light sources 51 and 52, and the surface to be inspected of the sheet-fed printed matter 1 extends over the entire length in the width direction of the camera 50a.
Images are sequentially captured by 50e. The image memory 60 is the camera 5.
Data of 256 gradation multi-gradation line images sequentially output from 0a to 50e is stored and a multi-gradation area image is created. On the other hand, the X correction circuit 61 and the Y correction circuit 62
Stores the print display position serving as the inspection reference from the image data output from the cameras 50a to 50e, and extracts the correction amount by comparing with the print display position of the inspection target. Further, the average density detection circuit 63 detects the print display average density serving as the inspection reference from the image data output from the cameras 50a to 50e, and compares it with the print display average density of the inspection target to extract the correction amount.

【0039】基準画像メモリ64は画像メモリ60の被
検査多階調エリア画像をX補正回路62、Y補正回路6
3の補正量で移動させ、検査基準である基準多階調エリ
ア画像と印刷表示位置を一致させて記憶する。そして、
画像演算回路66が被検査多階調エリア画像の不要部分
をマスク処理し、それ以外の各部の濃度レベルを基準多
階調エリア画像の対応する各部の濃度レベルと比較す
る。そして、両画像の対応部分の濃度レベル差の許容値
をもとに欠陥箇所を判定する。画像演算回路66で軽欠
陥であると判定された被検査多階調エリア画像における
欠陥箇所の形状を欠陥検出回路67により解析して欠陥
であるか否かについて判定する。この間、上記のように
作成された被検査面の多階調エリア画像をモニタTV
(図示省略)に映し出し、検査員による目視が可能とな
る。
The reference image memory 64 is an X correction circuit 62 and a Y correction circuit 6 for the inspected multi-tone area image of the image memory 60.
The image is moved by the correction amount of 3, and the reference multi-tone area image which is the inspection reference and the print display position are matched and stored. And
The image calculation circuit 66 masks unnecessary portions of the multi-tone area image to be inspected, and compares the density levels of the other portions with the density levels of the corresponding portions of the reference multi-tone area image. Then, the defective portion is determined based on the allowable value of the density level difference between the corresponding portions of both images. The defect detection circuit 67 analyzes the shape of the defective portion in the inspected multi-tone area image, which is determined to be a light defect by the image calculation circuit 66, and determines whether or not it is a defect. During this period, the multi-tone area image of the surface to be inspected created as described above is displayed on the monitor TV.
It is displayed on the screen (not shown) and can be visually inspected by an inspector.

【0040】これらの判定作業を更に詳細に説明する
と、上記のように枚葉印刷物1における各包装箱構成体
2の外側の不要部分は許容値を最大にすることにより、
図5に斜線で示すように、マスク処理70を施して検査
対象から除外しているので、この不要部分に汚れ71等
の欠陥があってもこれを検出しない。
To explain these determination operations in more detail, as described above, the unnecessary value on the outside of each packaging box structure 2 in the sheet-fed printed product 1 is maximized by the maximum allowable value.
As indicated by the diagonal lines in FIG. 5, since the mask processing 70 is performed to exclude from the inspection target, even if there is a defect such as the stain 71 in this unnecessary portion, it is not detected.

【0041】図6(a)、(b)および図7(a)、
(b)は画像の濃淡検出原理を示している。図6(a)
と図7(a)に示す基準画像72と被検査画像73にお
ける二つの文字Vのうち、一方の斜線で示す文字「V」
が「暗」側であり、他方の白抜きで示す文字「V」が
「明」側であるとすれば、L−L線における波形は図6
(b)、図7(b)に示すようになる。ここで、図7
(a)に示す被検査画像73における汚れ等の欠陥71
が基準画像72における波形形状とは異なる波形形状部
分74として現われる。そして、この濃淡差が設定した
判定レベルにおける重欠陥濃度レベルを超え、若しくは
軽欠陥濃度レベルと重欠陥濃度レベルの間でサイズの条
件も同時に満たせば被検査物である枚葉印刷物1に欠陥
があると見なすことになるので、上記X補正回路61、
Y補正回路62の位置補正により文字等30、バーコー
ド31の膨脹を防止し、平均濃度検出回路63で自動濃
度補正することが重要となる。
FIGS. 6A, 6B and 7A,
(B) shows the principle of image density detection. FIG. 6 (a)
And one of the two letters V in the reference image 72 and the inspected image 73 shown in FIG.
Is on the “dark” side, and the other white letter “V” is on the “bright” side, the waveform on the LL line is as shown in FIG.
7B and FIG. 7B. Here, FIG.
Defects 71 such as stains in the inspection image 73 shown in (a)
Appears as a waveform shape portion 74 different from the waveform shape in the reference image 72. Then, if the density difference exceeds the heavy defect density level at the set judgment level, or if the size condition is also satisfied between the light defect density level and the heavy defect density level, the sheet-fed printed matter 1 as the inspection object has a defect. Therefore, the X correction circuit 61,
It is important to prevent the characters 30 and the bar code 31 from expanding by the position correction of the Y correction circuit 62 and to perform automatic density correction by the average density detection circuit 63.

【0042】図8および図9(a)〜(e)は便宜的に
一つの包装箱構成体2における表面片3の欠陥の有無を
判定する場合について示している。図9(a)〜(e)
において、枚葉印刷物1における各包装箱構成体2の被
検査多階調ライン画像と基準多階調ライン画像データの
濃度レベル(印刷されている文字等30、バーコード3
1の波形形状については便宜上、削除して平坦上に図示
している)81が一致しており、厳密に言えば、これら
の多階調ライン画像データの濃度レベル(以下、基準濃
度レベルと称す)81に対して「暗」側、若しくは
「明」側のいずれかに波形形状の変化として現われれば
包装箱構成体2そのものとしては欠陥となるが、上記の
ように目立たない欠陥を欠陥として認識しないように基
準画像の多階調ライン画像データに対し、濃度レベル差
に一定の許容値を設定してある。
FIGS. 8 and 9 (a) to 9 (e) show the case of determining the presence / absence of a defect of the surface piece 3 in one packaging box construct 2 for convenience. 9 (a) to 9 (e)
In, the density levels of the inspected multi-gradation line image and the reference multi-gradation line image data of each packaging box structure 2 in the sheet printed matter 1 (printed characters etc. 30, bar code 3
For the sake of convenience, the waveform shape of No. 1 is the same as that of the waveform 81, which is deleted and shown on the flat surface). Strictly speaking, the density levels of these multi-gradation line image data (hereinafter, referred to as reference density levels). ) 81, if it appears as a change in the waveform shape on either the “dark” side or the “bright” side, it will be a defect as the packaging box structure 2 itself, but the inconspicuous defect as described above will be a defect. A certain permissible value is set for the density level difference for the multi-gradation line image data of the reference image so as not to recognize it.

【0043】上記許容値としては、多階調ライン画像デ
ータの真値である基準濃度レベル81に一定の許容値を
加算して得られる「明」側で軽欠陥濃度レベル82aお
よび重欠陥濃度レベル82bと、基準濃度レベル81か
ら一定の許容値を減算して得られる「暗」側で軽欠陥濃
度レベル83aおよび重欠陥濃度レベル83bを作成し
てある。そして、原則的にはこの軽欠陥濃度レベル82
aと83aとによって区画される領域内に被検査多階調
ライン画像データが収まっている場合には、欠陥ではな
いと判断し、上記領域からの逸脱部分があれば、この部
分は軽度、若しくは重度の欠陥であると判断する(各濃
度レベル81、82、83は光源51、52による照度
が両外側部で弱くなるので、湾曲形状となってい
る。)。
As the above-mentioned allowable value, the light defect density level 82a and the heavy defect density level 82a on the "bright" side obtained by adding a certain allowable value to the reference density level 81 which is the true value of the multi-gradation line image data. 82b and a light defect concentration level 83a and a heavy defect concentration level 83b on the "dark" side obtained by subtracting a certain allowable value from the reference concentration level 81. And, in principle, this light defect concentration level 82
If the inspected multi-gradation line image data is contained in the area defined by a and 83a, it is determined that it is not a defect, and if there is a portion deviating from the above area, this portion is light or It is determined to be a serious defect (the density levels 81, 82, and 83 are curved because the illuminance by the light sources 51 and 52 becomes weaker on both outer sides).

【0044】この判断基準によれば、図8のA−A線上
にある比較的狭い面積で比較的淡い汚れ75の部分は、
図9(a)に示すように、その波形形状の変化が「暗」
側の軽欠陥濃度レベル83a内であるので、欠陥ではな
いと検出する。図8のB−B線上にある比較的狭い面積
で濃い汚れ76は、図9(b)に示すように、その波形
形状の変化が「暗」側の重欠陥濃度レベル83bを逸脱
しているので、重欠陥であると検出する。図8のC−C
線上にある比較的大きい面積で比較的淡い汚れ77は、
図9(c)に示すように、その波形形状の変化が「暗」
側の軽欠陥濃度レベル83aを逸脱しているので、軽欠
陥であると検出する。図8のD−D線上にある比較的狭
い面積で比較的淡い汚れ78は、図9(d)に示すよう
に、その波形形状の変化が「暗」側の軽欠陥濃度レベル
83aを逸脱しているので、軽欠陥であると検出する。
図8のE−E線上にある光反射性の汚れ(若しくは穴)
79は、図9(e)に示すように、その波形形状の変化
が「明」側の重欠陥濃度レベル82bを逸脱しているの
で、重欠陥であると検出することになる。
According to this criterion, the portion of the dirt 75 having a relatively small area and located on the line AA in FIG.
As shown in FIG. 9A, the change in the waveform shape is “dark”.
Since it is within the light defect concentration level 83a on the side, it is detected that it is not a defect. As shown in FIG. 9 (b), the change in the waveform shape of the comparatively narrow area and thick dirt 76 on the line BB in FIG. 8 deviates from the heavy defect concentration level 83 b on the “dark” side. Therefore, it is detected as a serious defect. C-C in FIG.
A relatively large area of relatively light dirt 77 on the line
As shown in FIG. 9C, the change in the waveform shape is “dark”.
Since it deviates from the light defect concentration level 83a on the side, it is detected as a light defect. As shown in FIG. 9D, the waveform 78 of the comparatively small area 78 having a relatively small area on the line D-D in FIG. 8 deviates from the light defect concentration level 83 a on the “dark” side. Therefore, it is detected as a light defect.
Light-reflecting stain (or hole) on the line EE in FIG.
As shown in FIG. 9E, since the change of the waveform shape deviates from the heavy defect concentration level 82b on the "bright" side, 79 is detected as a heavy defect.

【0045】上記判定方法によれば、ある程度現実的な
欠陥検出が可能となるが、この判定方法だけでは不十分
な場合もある。例えば、汚損範囲や汚損の色と地色との
濃度差等によっては人間の視覚上では比較的目立たない
場合や比較的目立ちやすい場合があり、したがって、こ
のような汚損を除去対象とするか、若しくは除去対象か
ら外すかという問題に対処するために次のように判定す
る。
According to the above determination method, it is possible to detect a defect to some extent realistically, but this determination method alone may not be sufficient. For example, depending on the density range and the density difference between the stained area and the color of the stain and the ground color, it may be relatively inconspicuous or relatively conspicuous on human vision, and therefore, such a stain is targeted for removal, Alternatively, the following determination is made in order to address the problem of whether or not to remove from the removal target.

【0046】図9(c)に示すように、「明」側の軽欠
陥濃度レベル82aと「暗」側の軽欠陥濃度レベル83
aとによって区画される領域からの逸脱部分の形状、す
なわち、x、y(図8参照)の寸法が、比較的大きい場
合には、その汚損状態は軽欠陥であると認識させ、他
方、図9(d)に示すように、逸脱部分の形状、すなわ
ち、x、y(図8参照)の寸法が比較的小さい場合に
は、その汚損状態は欠陥ではないと認識させて仕分ける
ようにする。このように逸脱した部分の濃度レベルと形
状を監視することによって判定することも可能である
が、逸脱部分の濃度レベルと面積を認識させることによ
り判定することも可能である。
As shown in FIG. 9C, the light defect concentration level 82a on the "bright" side and the light defect concentration level 83 on the "dark" side.
If the shape of the portion deviating from the area defined by a, i.e., the dimensions of x and y (see FIG. 8) are relatively large, the stained state is recognized as a light defect. As shown in FIG. 9 (d), when the shape of the deviated portion, that is, the dimensions of x and y (see FIG. 8) are relatively small, the stained state is recognized as not being a defect and sorting is performed. Although the determination can be made by monitoring the density level and the shape of the deviated portion, the determination can be made by recognizing the density level and the area of the deviated portion.

【0047】裏面片9についても表面片3と同様に厳格
レベルで欠陥の有無を検出し、側面片6、7については
表1における普通レベルで上記と同様に欠陥の有無を検
出し、その他の各片については表1における緩和レベル
で上記と同様に欠陥の有無を検出する。
Similarly to the front surface piece 3, the back surface piece 9 is also detected as to whether or not there is a defect, and the side surface pieces 6 and 7 are detected as to whether or not there is any defect at the normal level in Table 1 as described above. For each piece, the presence or absence of defects is detected at the relaxation level in Table 1 in the same manner as above.

【0048】上記検出例では、濃度レベル差が軽欠陥レ
ベルと重欠陥レベルの間の場合には精度の異なる判定レ
ベルごとに異なるレベルで軽欠陥レベルを逸脱している
部分の形状を解析することにより、この逸脱部分が広い
場合に欠陥箇所であると判定し、狭い場合には欠陥箇所
でないと判定しているが、表2で示すように、精度の異
なる判定レベルに共通するレベルで軽欠陥レベルを逸脱
している部分の形状を解析することにより、この逸脱部
分が広い場合に欠陥箇所であると判定し、狭い場合には
欠陥箇所でないと判定することもできる。
In the above detection example, when the density level difference is between the light defect level and the heavy defect level, the shape of the portion deviating from the light defect level at a different level is analyzed for each judgment level having different accuracy. According to this, when the deviation portion is wide, it is determined to be a defective portion, and when it is narrow, it is determined to be not a defective portion. However, as shown in Table 2, the light defect is at a level common to determination levels having different accuracies. By analyzing the shape of the portion that deviates from the level, it is possible to determine that the deviation portion is a defect portion when it is wide and to determine that it is not a defect portion when it is narrow.

【0049】本実施形態によれば、比較的狭い面積で濃
い汚れ76、比較的広い面積で比較的淡い汚れ77、光
反射性の汚れ(若しくは穴)79については欠陥箇所で
あると判定し、比較的狭い面積で淡い汚れ75、比較的
狭い面積で比較的淡い汚れ78については欠陥箇所では
ないと判定することになる。これに対し、上記従来例の
微分二値化処理を利用した検査方法では、目立ちやすい
比較的広い面積で比較的淡い汚れ77については図15
に示すような緩やかな信号パターンになるため、欠陥箇
所ではないと判定し、光反射性(若しくは穴)79、比
較的狭い面積で濃い汚れ76は勿論のこと、比較的狭い
面積で比較的淡い汚れ76、更には比較的狭い面積で淡
い汚れ75についても図16に示すような急激な信号パ
ターンになるため、欠陥箇所であると判定することにな
る。これからも本実施形態によれば、欠陥箇所を高精度
に検出することができ、また、欠陥箇所の評価を柔軟に
行うことができることが明らかである。また、被検査画
像の基準画像に対する位置ずれを修正するので、包装箱
構成体2に印刷した文字30、バーコード31等を明瞭
に識別することができ、修正しない場合の膨脹による欠
陥であるとの誤認識を防止することができる。
According to the present embodiment, the dark stains 76 in a relatively small area, the relatively light stains 77 in a relatively large area, and the light-reflecting stains (or holes) 79 are determined to be defective portions. It is determined that the light stain 75 having a relatively small area and the light stain 78 having a relatively small area are not defective. On the other hand, in the inspection method using the differential binarization processing of the above-mentioned conventional example, the comparatively wide area, which is conspicuous, and the relatively pale stain 77 is shown in FIG.
Since it becomes a gentle signal pattern as shown in (3), it is determined that it is not a defective portion, and not only light reflectivity (or hole) 79 and dark stain 76 in a relatively small area, but also relatively light in a relatively small area. The stain 76, and also the light stain 75 having a relatively small area has a rapid signal pattern as shown in FIG. 16, and is therefore determined to be a defective portion. From this, it is apparent that the present embodiment can detect a defective portion with high accuracy and can flexibly evaluate the defective portion. Further, since the position shift of the image to be inspected with respect to the reference image is corrected, the characters 30, the bar code 31, etc. printed on the packaging box structure 2 can be clearly identified, and it is a defect due to expansion if not corrected. It is possible to prevent erroneous recognition of.

【0050】次に、本発明の第2の実施形態による品質
検査方法について説明する。図10(a)〜(f)は本
発明の第2の実施形態による品質検査方法を示す原理説
明図である。
Next, a quality inspection method according to the second embodiment of the present invention will be described. FIGS. 10A to 10F are principle explanatory views showing the quality inspection method according to the second embodiment of the present invention.

【0051】図10(a)は基準多階調エリア画像9
1、図10(b)は被検査多階調エリア画像92を示
し、被検査多階調エリア画像92には送り方向Yに沿っ
て不連続線状の欠陥93が存在しているものとする。図
10(c)は上記被検査多階調エリア画像92を基準多
階調エリア画像91とパターンマッチングした多階調エ
リア画像94を示し、この多階調エリア画像94には上
記不連続線状の欠陥93とランダムノイズ95が存在す
る。
FIG. 10A shows the reference multi-gradation area image 9
1, FIG. 10B shows the inspected multi-tone area image 92, and the inspected multi-tone area image 92 has a discontinuous linear defect 93 along the feeding direction Y. . FIG. 10C shows a multi-tone area image 94 in which the inspected multi-tone area image 92 is pattern-matched with a reference multi-tone area image 91. The multi-tone area image 94 has the discontinuous linear shape. Defect 93 and random noise 95 exist.

【0052】パターンマッチング後の多階調エリア画像
94のF−F線上における信号波形は図10(d)に示
すようになり、欠陥93をノイズ95と識別することが
できない。そこで、被検査多階調エリア画像92と基準
多階調エリア画像91のパターンマッチング後の濃度レ
ベル差を図10(e)に示すように、Y方向に一定量Y
Lについて累積加算し、強調画像とする。この強調画像
における長さYLの累積加算信号波形は図10(f)に
示すようになり、不連続線状欠陥93が一本の連続線状
になり、ランダムノイズ95と明瞭に識別して検出する
ことができる。そして、検出した濃度レベルを上記第1
の実施形態と同様に許容値に基づいて欠陥であるか否か
について判定する。
The signal waveform on the FF line of the multi-tone area image 94 after the pattern matching is as shown in FIG. 10D, and the defect 93 cannot be distinguished from the noise 95. Therefore, as shown in FIG. 10E, the density level difference after pattern matching between the inspected multi-tone area image 92 and the reference multi-tone area image 91 is a constant amount Y in the Y direction.
L is cumulatively added to obtain an emphasized image. The waveform of the cumulative addition signal having the length YL in this emphasized image is as shown in FIG. 10F, and the discontinuous linear defect 93 becomes one continuous linear shape, and is clearly distinguished from the random noise 95 and detected. can do. Then, the detected density level is set to the first
Similar to the above embodiment, it is determined whether or not there is a defect based on the allowable value.

【0053】次に、本発明の第3の実施形態による品質
検査方法ついて説明する。図11(a)〜(e)は本発
明の第3の実施形態による品質検査方法を示す原理説明
図である。
Next, a quality inspection method according to the third embodiment of the present invention will be described. 11A to 11E are principle explanatory views showing the quality inspection method according to the third embodiment of the present invention.

【0054】図11(a)は入力多階調エリア画像にY
方向で一定量YLについて累積加算した基準多階調エリ
ア画像97に示し、図11(b)は上記基準多階調エリ
ア画像97と同様の処理をした被検査多階調エリア画像
98を示す。各画像97、98における文字Vのエッジ
部の横線は累積加算によりシャープさがなくなるのを示
している。上記処理により上記第2の実施形態と同様に
被検査多階調エリア画像98に不連続線状の欠陥93が
あった場合、一本の連続線状になる。図11(c)は基
準多階調エリア画像97のG−G線上における信号波形
を示し、図11(d)は被検査多階調エリア画像98の
H−H線上における信号波形の32000レベルから3
5000レベルの波形を示している。
FIG. 11A shows that Y is added to the input multi-gradation area image.
The reference multi-tone area image 97 is shown by cumulatively adding a fixed amount YL in the direction, and FIG. 11B shows the inspected multi-tone area image 98 which has been processed in the same manner as the reference multi-tone area image 97. The horizontal line of the edge portion of the character V in each of the images 97 and 98 indicates that sharpness is lost due to cumulative addition. When the inspection multi-tone area image 98 has a discontinuous linear defect 93 as in the second embodiment by the above processing, it becomes one continuous linear defect. FIG. 11C shows a signal waveform on the GG line of the reference multi-tone area image 97, and FIG. 11D shows 32000 levels of the signal waveform on the H-H line of the inspected multi-tone area image 98. Three
A waveform of 5000 levels is shown.

【0055】本実施形態においては、上記のようにパタ
ーンマッチング前に濃度を累積加算した被検査多階調エ
リア画像98を同様の処理をしてある基準多階調エリア
画像97とパターンマッチングし、濃度レベル差を検出
する。そして、検出した濃度レベルを上記第1の実施形
態と同様に許容値に基づいて欠陥であるか否かについて
判定する。
In the present embodiment, the inspected multi-tone area image 98 in which the densities are cumulatively added before the pattern matching as described above is pattern-matched with the reference multi-tone area image 97 which has been subjected to the same processing. Detect the density level difference. Then, similarly to the first embodiment, it is determined whether the detected density level is a defect based on the allowable value.

【0056】上記第2、第3の実施形態においては、枚
葉印刷物1の送り方向Yについて濃度の累積加算を行う
場合について説明したが、横方向Xについて濃度の累積
加算を行うようにしてもよく、また、X、Yの両方向共
に濃度の累積加算を行うようにしてもよい。
In the above second and third embodiments, the case where the cumulative addition of the density is performed in the feeding direction Y of the sheet printed matter 1 has been described, but the cumulative addition of the density may be performed in the horizontal direction X. Alternatively, the cumulative addition of the densities may be performed in both the X and Y directions.

【0057】本発明の更に他の実施形態として、濃度レ
ベル差の許容値を「明」側と「暗」側における濃度差と
面積の総和(体積)、若しくは横方向Xと縦方向(送り
方向)Yのサイズの基準値により区画するにより欠陥箇
所を更に一層確実に検出することができる。
As still another embodiment of the present invention, the permissible value of the density level difference is the sum (volume) of the density difference and the area on the “bright” side and the “dark” side, or the horizontal direction X and the vertical direction (feed direction). ) Defects can be detected more reliably by partitioning by the reference value of the Y size.

【0058】上記実施形態においては、白地に黒色で印
刷された場合に限らず、カラー印刷においても同様に許
容値をもとに欠陥箇所を判定することができる。
In the above-described embodiment, not only the case of printing in black on a white background but also the case of color printing can similarly determine the defective portion based on the allowable value.

【0059】なお、上記各実施形態において、例えば、
包装箱構成体2の貼着片11は包装箱32の組立後にお
いては外部に露出しないので、検査に際してマスク処理
することもできる。また、アルミニウムのフィルムに食
品容器の蓋体が印刷された印刷物の品質検査を行う場
合、蓋体以外の不要部分に虫が付着していると衛生上に
おいて問題があり、マスク処理して検査対象から除去す
ることができないので、この不要部分については緩やか
な精度の判定レベルで検査し、虫の付着については欠陥
であると判定し、その他の軽度の汚れ等については欠陥
ではないと判定するようにすればよい。また、複数のラ
インセンサカメラ50a〜50eを用いることに替えて
1台のラインセンサカメラを首振り移動させるなどして
撮像対象部位を連続的に変化させるようにしてもよく、
要するに被検査物の被検査面とラインセンサカメラを相
対的に移動させるようにすればよい。また、上記実施形
態では256段階の多階調ライン画像データを得るよう
にしているが、512段階、若しくは1024段階等の
多階調ライン画像データを得るようにすることもでき
る。また、撮像手段は上記CCDラインセンサカメラに
限定されるものではなく、被検査物を撮像して多階調画
像データを得ることができれば、いかなる手段でもよ
い。また、上記実施形態においては、被検査多階調エリ
ア画像をX方向とY方向に位置補正する場合について説
明したが、あらかじめ回転角度の異なる基準多階調エリ
ア画像を記憶しておき、これら基準多階調エリア画像と
被検査多階調エリア画像のパターンマッチングを行うこ
となどにより回転方向(θ方向)の位置補正をも行うこ
とができる。更に、このほか、本発明は、その基本的技
術思想を逸脱しない範囲で変更することができる。
In each of the above embodiments, for example,
Since the sticking piece 11 of the packaging box structure 2 is not exposed to the outside after the packaging box 32 is assembled, it can be masked during inspection. Also, when performing a quality inspection of a printed product in which a lid of a food container is printed on an aluminum film, there is a problem in hygiene if insects are attached to unnecessary parts other than the lid, and it is necessary to mask and inspect. Since it is not possible to remove it from above, it is necessary to inspect this unnecessary part with a judgment level with a moderate accuracy, to judge that the adhesion of insects is a defect, and to judge that other minor stains are not a defect. You can do this. Further, instead of using a plurality of line sensor cameras 50a to 50e, one line sensor camera may be moved in a swinging manner to continuously change the imaging target site,
In short, the surface to be inspected of the inspection object and the line sensor camera may be moved relatively. Further, in the above embodiment, the multi-gradation line image data of 256 steps is obtained, but it is also possible to obtain the multi-gradation line image data of 512 steps, 1024 steps or the like. Further, the image pickup means is not limited to the above CCD line sensor camera, and any means may be used as long as it can pick up an image of the object to be inspected and obtain multi-tone image data. Further, in the above-described embodiment, the case where the position of the multi-tone area image to be inspected is corrected in the X direction and the Y direction has been described, but reference multi-tone area images having different rotation angles are stored in advance, and these reference multi-tone area images are stored. By performing pattern matching between the multi-tone area image and the multi-tone area image to be inspected, position correction in the rotation direction (θ direction) can also be performed. Further, in addition to this, the present invention can be modified without departing from the basic technical idea thereof.

【0060】[0060]

【発明の効果】以上説明したように本発明によれば、被
検査物の被検査面を撮像して得られる多階調の画像デー
タをもとに多階調エリア画像を作成し、この被検査多階
調エリア画像を基準多階調エリア画像とパターンマッチ
ングさせて両画像の対応部分の濃度レベルを比較し、こ
の比較結果から許容値をもとに欠陥箇所を判定する。こ
のように濃度レベルの比較結果から許容値をもとに欠陥
箇所を判定するので、被検査面の地色の濃淡や凹凸形状
等の条件に左右されることなく、欠陥箇所を検出するこ
とができ、また、欠陥箇所の評価を柔軟に行うことがで
きる。また、上記比較に際し、被検査多階調エリア画像
における不使用部分や、使用に際して隠れるなどによる
重要でない部分等、検査不要部分についてはマスク処理
して検査対象から除去するので、その部分に欠陥があっ
ても全体を廃棄する無駄をなくすことができる。したが
って、経済性を向上させることができ、資源の有効利用
に貢献することができる。
As described above, according to the present invention, a multi-tone area image is created based on multi-tone image data obtained by picking up an image of the surface of the object to be inspected. The inspection multi-tone area image is pattern-matched with the reference multi-tone area image to compare the density levels of the corresponding portions of both images, and the defective portion is determined based on the allowable value from the comparison result. Since the defect location is determined based on the allowable value from the density level comparison result in this manner, the defect location can be detected without being affected by the conditions such as the shade of the ground color of the surface to be inspected and the uneven shape. In addition, it is possible to flexibly evaluate the defective portion. Further, in the above comparison, the unnecessary portions in the multi-tone area image to be inspected, unimportant portions such as hidden portions when used, are removed from the inspection target by masking, so that there is no defect in that portion. Even if there is, it is possible to eliminate the waste of discarding the whole. Therefore, economic efficiency can be improved and effective use of resources can be contributed.

【0061】また、被検査多階調エリア画像における検
査必要部分の各部の濃度レベルの比較に際し、重要度に
応じて精度の異なる判定レベルで比較し、商品価値に影
響を及ぼさない部分の比較的軽い欠陥については欠陥で
はないと判定することにより、全体を廃棄する無駄をな
くすことができる。したがって、更に一層、経済性の向
上を図り、資源の有効利用に貢献することができる。
Further, in comparing the density levels of the respective portions of the inspection required portion in the multi-tone area image to be inspected, the determination levels having different precisions are compared according to the importance, and the portions that do not affect the commercial value are compared. By determining that a light defect is not a defect, it is possible to eliminate the waste of discarding the whole. Therefore, it is possible to further improve the economical efficiency and contribute to the effective use of resources.

【0062】また、被検査多階調エリア画像と基準多階
調エリア画像の濃度レベル差を所望方向に一定量累積加
算し、強調して比較し、または被検査多階調エリア画像
の濃度を所望方向に一定量累積加算して強調し、濃度を
所望方向に一定量累積加算してある基準多階調エリア画
像の濃度レベルと比較することにより、淡い欠陥やかす
れた欠陥に対して有効であり、また、前者においては部
分レベルマスク機能を有効に利用することができ、後者
においてはより高い感度で検出することができる。
Further, the density level difference between the inspected multi-tone area image and the reference multi-tone area image is cumulatively added in a desired direction by a certain amount, emphasized and compared, or the density of the inspected multi-tone area image is determined. It is effective for light defects and faint defects by comparing the density level of a standard multi-tone area image that has been cumulatively added in a desired direction by a certain amount and emphasized and comparing the density by a certain amount in a desired direction. In the former case, the partial level mask function can be effectively used, and in the latter case, the detection can be performed with higher sensitivity.

【0063】また、許容値に濃度レベル差を用い、濃度
レベル差の許容値を重欠陥濃度レベルと軽欠陥濃度レベ
ルに設定し、濃度レベル差が重欠陥濃度レベルを超えた
場合には欠陥箇所であると判定し、濃度レベル差が軽欠
陥濃度レベルと重欠陥濃度レベルの間の場合には軽欠陥
濃度レベルを逸脱している部分の形状を解析し、その逸
脱部分が広い場合には欠陥箇所であると判定し、狭い場
合には欠陥箇所ではないと判定することにより、目視判
定に近い判定結果を得ることができる。
Further, the density level difference is used as the allowable value, the allowable value of the density level difference is set to the heavy defect density level and the light defect density level, and when the density level difference exceeds the heavy defect density level, the defect location is detected. If the density level difference is between the light defect concentration level and the heavy defect concentration level, the shape of the portion deviating from the light defect concentration level is analyzed. It is possible to obtain a judgment result close to the visual judgment by judging that it is a spot, and if it is narrow, it is judged that it is not a defect spot.

【0064】また、許容値として、濃度差と面積の総和
の基準値によって区画することにより、欠陥箇所を更に
一層確実に検出することができる。
By dividing the allowable value by the reference value of the total of the density difference and the area, the defective portion can be detected more reliably.

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

【図1】本発明の一実施形態による品質検査装置の搬送
機構部を示す概略平面図である。
FIG. 1 is a schematic plan view showing a conveyance mechanism section of a quality inspection device according to an embodiment of the present invention.

【図2】同品質検査装置の搬送機構部を示す一部破断面
概略側面図である。
FIG. 2 is a schematic side view of a partially broken section showing a transport mechanism section of the quality inspection device.

【図3】同品質検査装置におけるCCDラインセンサカ
メラと光源の配置例を示す正面図である。
FIG. 3 is a front view showing an arrangement example of a CCD line sensor camera and a light source in the quality inspection apparatus.

【図4】同品質検査装置の処理部を示すブロック図であ
る。
FIG. 4 is a block diagram showing a processing unit of the quality inspection device.

【図5】本発明の第1の実施形態による品質検査方法を
示し、枚葉印刷物における包装箱構成体の外側の不要部
分にマスク処理した状態の説明図である。
FIG. 5 shows the quality inspection method according to the first embodiment of the present invention, and is an explanatory diagram showing a state in which unnecessary portions outside a packaging box structure in a sheet-fed printed matter are masked.

【図6】(a)と(b)は同品質検査方法における画像
の濃淡検出原理を説明するための基準画像とその濃度分
布波形図である。
6A and 6B are reference images and their density distribution waveform charts for explaining the principle of image density detection in the same quality inspection method.

【図7】(a)と(b)は同品質検査方法における画像
の濃淡検出原理を説明するための被検査画像とその濃度
分布波形図である。
7A and 7B are diagrams of an image to be inspected and its concentration distribution waveform diagram for explaining the principle of image density detection in the same quality inspection method.

【図8】同品質検査方法を示し、包装箱構成体の正面片
の汚れの説明図である。
FIG. 8 is an explanatory view showing the same quality inspection method and stains on the front piece of the packaging box assembly.

【図9】(a)〜(e)は同品質検査方法を示し、汚れ
の検出原理説明図である。
9 (a) to 9 (e) show the same quality inspection method and are explanatory diagrams of the principle of detecting dirt.

【図10】(a)〜(f)は本発明の第2の実施形態に
よる品質検査方法を示す原理説明図である。
10A to 10F are principle explanatory views showing a quality inspection method according to a second embodiment of the present invention.

【図11】(a)〜(e)は本発明の第3の実施形態に
よる品質検査方法を示す原理説明図である。
11A to 11E are principle explanatory views showing a quality inspection method according to a third embodiment of the present invention.

【図12】被検査物の一例である枚葉印刷物を示す平面
図である。
FIG. 12 is a plan view showing a sheet-fed printed matter which is an example of an inspection object.

【図13】同枚葉印刷物から打抜いた包装箱構成体を示
す平面図である。
FIG. 13 is a plan view showing a packaging box structure punched from the same sheet printed matter.

【図14】同枚葉印刷物から打抜いた包装箱構成体によ
り組み立てた包装箱の概略斜視図である。
FIG. 14 is a schematic perspective view of a packaging box assembled from a packaging box constituent punched out from the same printed matter.

【図15】(a)〜(d)は従来の微分二値化処理を用
いた品質検査方法により目立ちやすい比較的広い面積で
比較的淡い汚れについて欠陥を検出する場合の原理説明
図である。
15A to 15D are principle explanatory views in the case of detecting a defect with respect to a relatively light stain in a relatively large area which is conspicuous by a quality inspection method using a conventional differential binarization process.

【図16】(a)〜(d)は従来の微分二値化処理を用
いた品質検査方法により比較的狭い面積で濃い汚れにつ
いて欠陥を検出する場合の原理説明図である。
16 (a) to 16 (d) are explanatory views of the principle in the case of detecting a defect with respect to thick dirt in a relatively narrow area by a quality inspection method using a conventional differential binarization process.

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

1 枚葉印刷物(被検査物) 2 包装箱構成体 50 撮像部 50a〜50e CCDラインセンサカメラ 60 画像メモリ 61 X補正回路 62 Y補正回路 63 平均濃度検出回路 64 基準画像メモリ 65 許容値選択メモリ 66 画像演算回路 67 欠陥検出回路 70 マスク処理部 71 汚れ 72 基準画像 73 被検査画像 75 比較的狭い面積で比較的淡い汚れ 76 比較的狭い面積で濃い汚れ 77 比較的広い面積で比較的淡い汚れ 78 比較的狭い面積で比較的淡い汚れ 79 光反射性の汚れ 81 基準濃度レベル 82a 「明」側の軽欠陥濃度レベル 82b 「明」側の重欠陥濃度レベル 83a 「暗」側の軽欠陥濃度レベル 83b 「暗」側の重欠陥濃度レベル 1 Sheet-fed printed matter (object to be inspected) 2 Packaging box structure 50 Imaging unit 50a to 50e CCD line sensor camera 60 Image memory 61 X correction circuit 62 Y correction circuit 63 Average density detection circuit 64 Reference image memory 65 Allowable value selection memory 66 Image calculation circuit 67 Defect detection circuit 70 Mask processing unit 71 Stain 72 Reference image 73 Inspected image 75 Relatively light stain in a relatively small area 76 Dark stain in a relatively small area 77 Relatively light stain in a relatively wide area 78 Comparison Comparatively light stain in a relatively small area 79 Light-reflecting stain 81 Reference concentration level 82a Light defect concentration level on the "bright" side 82b Heavy defect concentration level on the "bright" side 83a Light defect concentration level on the "dark" side 83b " Heavy defect concentration level on the "dark" side

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 被検査物を撮像手段により撮像し、上記
撮像手段から出力される多階調の画像データをもとに多
階調エリア画像を作成し、この被検査多階調エリア画像
における検査不要部分についてはマスク処理して検査対
象から除去し、上記被検査多階調エリア画像における検
査必要部分の各部の濃度レベルを基準多階調エリア画像
の対応する各部の濃度レベルと比較し、この比較結果か
ら各判定レベルにおける許容値をもとに欠陥箇所を判定
する品質検査方法。
1. An image of an object to be inspected is picked up by an image pickup means, a multi-tone area image is created based on multi-tone image data output from the image pick-up means, and a multi-tone area image is inspected. The portion not requiring inspection is masked and removed from the subject to be inspected, and the density level of each portion of the portion requiring inspection in the inspected multi-tone area image is compared with the density level of each corresponding portion of the reference multi-tone area image, A quality inspection method for determining a defective portion based on an allowable value at each determination level from the comparison result.
【請求項2】 被検査多階調エリア画像における検査必
要部分の各部の濃度レベルの比較に際し、重要度に応じ
て精度の異なる判定レベルで比較する請求項1記載の品
質検査方法。
2. The quality inspection method according to claim 1, wherein when comparing the density levels of respective portions of the inspection-required portion in the inspected multi-gradation area image, the determination levels are different in accuracy according to the degree of importance.
【請求項3】 被検査多階調エリア画像と基準多階調エ
リア画像との位置などのずれ量を考慮して欠陥箇所を判
定する請求項1または2のいずれかに記載の品質検査方
法。
3. The quality inspection method according to claim 1, wherein the defective portion is determined in consideration of a deviation amount such as a position between the inspected multi-tone area image and the reference multi-tone area image.
【請求項4】 撮像手段により撮像する際の被検査物の
明るさを検出し、この検出結果に対応して基準多階調エ
リア画像の濃度レベルの明るさを変化させる請求項1な
いし3のいずれかに記載の品質検査方法。
4. The brightness of an object to be inspected when an image is picked up by the image pickup means, and the brightness of the density level of the reference multi-gradation area image is changed according to the detection result. Quality inspection method described in either.
【請求項5】 被検査多階調エリア画像と基準多階調エ
リア画像の濃度レベル差を所望方向に一定量累積加算
し、強調して比較する請求項1ないし4のいずれかに記
載の品質検査方法。
5. The quality according to claim 1, wherein the density level difference between the inspected multi-tone area image and the reference multi-tone area image is cumulatively added in a desired direction by a certain amount and emphasized and compared. Inspection methods.
【請求項6】 被検査多階調エリア画像の濃度を所望方
向に一定量累積加算して強調し、濃度を所望方向に一定
量累積加算してある基準多階調エリア画像の濃度レベル
と比較する請求項1ないし4のいずれかに記載の品質検
査方法。
6. A density level of a multi-tone area image to be inspected is cumulatively added in a desired direction by a certain amount to emphasize and compared with a density level of a reference multi-tone area image in which a certain amount of density is cumulatively added in a desired direction. The quality inspection method according to any one of claims 1 to 4.
【請求項7】 許容値に濃度レベル差を用いる請求項1
ないし6のいずれかに記載の品質検査方法。
7. The density level difference is used as the allowable value.
7. The quality inspection method according to any one of 1 to 6.
【請求項8】 濃度レベル差の許容値が、精度の異なる
判定レベルごとに、基準多階調エリア画像の多階調ライ
ン画像の濃度レベルに許容濃度レベルを加算して作成し
た明欠陥多階調ライン画像と、基準多階調エリア画像の
多階調ライン画像の濃度レベルから許容濃度レベルを減
算して作成した暗欠陥多階調ライン画像とによって区画
される請求項7記載の品質検査方法。
8. The bright defect multi-level, which is created by adding the permissible density level difference to the density level of the multi-gradation line image of the reference multi-gradation area image for each judgment level with different accuracy. 8. The quality inspection method according to claim 7, wherein the tone defect line image and the dark defect multi-tone line image are created by subtracting an allowable density level from the density level of the multi-tone line image of the reference multi-tone area image. .
【請求項9】 濃度レベル差の許容値が、精度の異なる
判定レベルごとに、重欠陥レベルと軽欠陥レベルに設定
され、濃度レベル差が重欠陥レベルを超えた場合には欠
陥箇所であると判定し、濃度レベル差が軽欠陥レベルと
重欠陥レベルの間の場合には精度の異なる判定レベルに
共通するレベルで軽欠陥レベルを逸脱している部分の形
状を解析することにより、この逸脱部分が広い場合に欠
陥箇所であると判定し、狭い場合には欠陥箇所でないと
判定する請求項8記載の品質検査方法。
9. An allowable value of the density level difference is set to a heavy defect level and a light defect level for each determination level having different accuracy, and when the density level difference exceeds the heavy defect level, it is determined as a defective portion. If the density level difference is between the light defect level and the heavy defect level, the shape of the part that deviates from the light defect level at the level common to the judgment levels with different accuracy is analyzed, and the deviation part is analyzed. 9. The quality inspection method according to claim 8, wherein when the value is wide, it is determined that it is a defective portion, and when it is narrow, it is determined that it is not a defective portion.
【請求項10】 濃度レベル差の許容値が、精度の異な
る判定レベルごとに、重欠陥レベルと軽欠陥レベルに設
定され、濃度レベル差が重欠陥レベルを超えた場合には
欠陥箇所であると判定し、濃度レベル差が軽欠陥レベル
と重欠陥レベルの間の場合には精度の異なる判定レベル
ごとに異なるレベルで軽欠陥レベルを逸脱している部分
の形状を解析することにより、この逸脱部分が広い場合
に欠陥箇所であると判定し、狭い場合には欠陥箇所でな
いと判定する請求項8記載の品質検査方法。
10. An allowable value of the density level difference is set to a heavy defect level and a light defect level for each determination level with different accuracy, and when the density level difference exceeds the heavy defect level, it is a defective portion. If the density level difference is between the light defect level and the heavy defect level, the shape of the part that deviates from the light defect level at a different level for each judgment level with different accuracy is analyzed. 9. The quality inspection method according to claim 8, wherein when the value is wide, it is determined that it is a defective portion, and when it is narrow, it is determined that it is not a defective portion.
【請求項11】 許容値が、濃度差と面積の総和、若し
くは横方向と縦方向のサイズの基準値によって区画され
る請求項1ないし6のいずれかに記載の品質検査方法。
11. The quality inspection method according to claim 1, wherein the allowable value is defined by a sum of density difference and area, or a reference value of horizontal and vertical sizes.
【請求項12】 被検査物を撮像する撮像手段と、この
撮像手段から出力される多階調の画像データをもとに作
成した被検査多階調エリア画像および基準多階調エリア
画像を記憶しておく記憶手段と、上記被検査多階調エリ
ア画像における検査不要部分についてはマスク処理して
検査対象から除去し、上記被検査多階調エリア画像にお
ける検査必要部分の各部の濃度レベルを上記基準多階調
エリア画像の対応する各部の濃度レベルと比較し、この
比較結果から各判定レベルにおける許容値をもとに欠陥
箇所を判定する判定手段とを備えた品質検査装置。
12. An image pickup means for picking up an image of an object to be inspected, and an inspected multi-tone area image and a reference multi-tone area image created based on multi-tone image data output from the image pick-up means are stored. The storing means and the inspection unnecessary portion in the inspected multi-tone area image are masked and removed from the inspection object, and the density level of each portion of the inspection necessary portion in the inspected multi-tone area image is set to the above. A quality inspection apparatus comprising: a determination unit that compares a density level of each corresponding portion of a reference multi-gradation area image and determines a defective portion based on an allowable value at each determination level based on the comparison result.
【請求項13】 被検査多階調エリア画像と基準多階調
エリア画像との位置などのずれ量を補正する補正手段を
備えた請求項12記載の品質検査装置。
13. The quality inspection apparatus according to claim 12, further comprising a correction unit that corrects a displacement amount such as a position between the inspected multi-tone area image and the reference multi-tone area image.
【請求項14】 撮像手段により撮像する際の被検査物
の明るさを検出し、この検出結果に対応して基準多階調
エリア画像の濃度レベルの明るさを変化させる検出手段
を備えた請求項12または13記載の品質検査装置。
14. A detection means for detecting the brightness of an object to be inspected when an image is picked up by the image pickup means and changing the brightness of the density level of the reference multi-gradation area image in accordance with the detection result. Item 12. The quality inspection device according to item 12 or 13.
JP15185396A 1996-05-24 1996-05-24 Method and apparatus for inspection of quality Pending JPH09311030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15185396A JPH09311030A (en) 1996-05-24 1996-05-24 Method and apparatus for inspection of quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15185396A JPH09311030A (en) 1996-05-24 1996-05-24 Method and apparatus for inspection of quality

Publications (1)

Publication Number Publication Date
JPH09311030A true JPH09311030A (en) 1997-12-02

Family

ID=15527701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15185396A Pending JPH09311030A (en) 1996-05-24 1996-05-24 Method and apparatus for inspection of quality

Country Status (1)

Country Link
JP (1) JPH09311030A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008008841A (en) * 2006-06-30 2008-01-17 Dac Engineering Co Ltd Printed matter inspection method and printed matter inspection system
JP2008074069A (en) * 2006-09-25 2008-04-03 Dac Engineering Co Ltd Method for making inspection frame and inspection frame forming system
JP2014071046A (en) * 2012-09-28 2014-04-21 Fujifilm Corp Image evaluating device, image evaluating method, and program
JP2014069499A (en) * 2012-09-28 2014-04-21 Fujifilm Corp Image evaluation device, image evaluation method, image evaluation system, and program
JP2014071045A (en) * 2012-09-28 2014-04-21 Fujifilm Corp Image evaluating device, image evaluating method, and program
JP2015055555A (en) * 2013-09-12 2015-03-23 トヨタ自動車株式会社 Method of inspecting fuel cell catalyst coated membrane
KR20150044907A (en) * 2012-08-28 2015-04-27 스미또모 가가꾸 가부시끼가이샤 Defect inspection apparatus, and defect inspection method
WO2018192684A1 (en) * 2017-04-21 2018-10-25 Bobst Mex Sa Device and method for inspecting exposure samples, discharge station and machine for processing sheet-shaped elements

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008008841A (en) * 2006-06-30 2008-01-17 Dac Engineering Co Ltd Printed matter inspection method and printed matter inspection system
JP2008074069A (en) * 2006-09-25 2008-04-03 Dac Engineering Co Ltd Method for making inspection frame and inspection frame forming system
KR20150044907A (en) * 2012-08-28 2015-04-27 스미또모 가가꾸 가부시끼가이샤 Defect inspection apparatus, and defect inspection method
JP2014071046A (en) * 2012-09-28 2014-04-21 Fujifilm Corp Image evaluating device, image evaluating method, and program
JP2014069499A (en) * 2012-09-28 2014-04-21 Fujifilm Corp Image evaluation device, image evaluation method, image evaluation system, and program
JP2014071045A (en) * 2012-09-28 2014-04-21 Fujifilm Corp Image evaluating device, image evaluating method, and program
US9213894B2 (en) 2012-09-28 2015-12-15 Fujifilm Corporation Image evaluation device, image evaluation method and program storage medium
US9727805B2 (en) 2012-09-28 2017-08-08 Fujifilm Corporation Image evaluation device, image evaluation method and program storage medium
JP2015055555A (en) * 2013-09-12 2015-03-23 トヨタ自動車株式会社 Method of inspecting fuel cell catalyst coated membrane
WO2018192684A1 (en) * 2017-04-21 2018-10-25 Bobst Mex Sa Device and method for inspecting exposure samples, discharge station and machine for processing sheet-shaped elements
TWI670486B (en) * 2017-04-21 2019-09-01 瑞士商巴柏斯特麥克斯合資公司 An inspection device for inspecting sample blanks for a processing machine for processing elements in sheet form, a method for the quality control of sample blanks of a processing machine for processing elements in sheet form, processing machine for proc
CN110546095A (en) * 2017-04-21 2019-12-06 鲍勃斯脱梅克斯股份有限公司 Apparatus and method for inspecting exposed samples, ejection station and machine for processing sheet-like elements

Similar Documents

Publication Publication Date Title
US5987159A (en) System or method for detecting defect within a semi-opaque enclosure
EP2660787B1 (en) Defect Categorisation in a digital image
US6373519B1 (en) System and method for visually inspecting a cigarette packaging process
CN111239142A (en) Paste appearance defect detection device and method
US5970166A (en) System or method for identifying contents of a semi-opaque envelope
JPH09311030A (en) Method and apparatus for inspection of quality
JPH09311031A (en) Method and apparatus for inspection of quality of punched and worked product
JP2822830B2 (en) Defect detection method for printed sheets
JP3904981B2 (en) Wrapping / unfolding determination method and apparatus for wrapping paper
US6807302B2 (en) Recognition apparatus and recognition method
JPH05164706A (en) Inspecting method for mixing-in of vessel of different kind
JP3737950B2 (en) X-ray foreign object detection apparatus and defective product detection method in the apparatus
JPH10297063A (en) Quality inspection/selection method for printed matter
US20020146120A1 (en) Inspecting print quality using digital watermarks
JP3501967B2 (en) Penetration inspection device
JP2002074332A (en) Method and device for detecting sealing defect of packing material and packing body
JP4016381B2 (en) Surface defect inspection equipment
JP2681513B2 (en) Painted surface inspection equipment for vehicles
JP4630509B2 (en) Destination recognition device, sorter, destination recognition method and sorting method
JP2003232744A (en) Apparatus and method for visual inspection of skived and hemmed part
JPH07306160A (en) Method for inspecting quality of plain material
JPH06201346A (en) Brand discrimination device
JP2000182046A (en) Defect inspecting device for printing paper
JPH0581697U (en) Appearance inspection device
CN212180649U (en) Paste appearance defect detection equipment