JPH11328409A - Device for inspecting sheet material defect - Google Patents

Device for inspecting sheet material defect

Info

Publication number
JPH11328409A
JPH11328409A JP10130107A JP13010798A JPH11328409A JP H11328409 A JPH11328409 A JP H11328409A JP 10130107 A JP10130107 A JP 10130107A JP 13010798 A JP13010798 A JP 13010798A JP H11328409 A JPH11328409 A JP H11328409A
Authority
JP
Japan
Prior art keywords
area
sheet material
image
resolution
calculated
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
JP10130107A
Other languages
Japanese (ja)
Inventor
Misuzu Yokomae
みすづ 横前
Ryuichi Inoue
竜一 井上
Akira Kobayashi
彰 小林
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP10130107A priority Critical patent/JPH11328409A/en
Publication of JPH11328409A publication Critical patent/JPH11328409A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To accurately detect a defective part even at the time of the acceleration and deceleration of a carrying system by correcting the error of a defective part area extracted based on the resolution change of an image picked-up image corresponding to the carrying speed of the carrying system. SOLUTION: This device is provided with a resolution correction table for preliminarily calculating the rate of the acceleration and deceleration of a carrying system and the rate of the resolution of an image picked-up image, and an area correction calculating means 6 for error-correcting and calculating the area of an extracted area obtained by a labeling means based on the resolution correction table. Therefore, the error of a flattened image generated at the time of the acceleration and deceleration of the carrying system can be corrected, and the area can be calculated with the same resolution as that at a constant speed regardless of the acceleration and deceleration of the carrying system. Thus, a defective part 8 of a sheet member 9 can be exactly detected.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、連続して搬送され
るシート材の傷、打痕等の欠陥を検出するシート材欠陥
検査装置に関し、特に、撮像手段で撮像された濃淡画像
からシート材の欠陥を検出するシート材欠陥検査装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sheet material defect inspection apparatus for detecting defects such as scratches and dents in a sheet material which is continuously conveyed. The present invention relates to a sheet material defect inspection apparatus for detecting a defect of a sheet material.

【0002】[0002]

【従来の技術】近年、各種生産設備において、ラインセ
ンサカメラ等の撮像装置で撮像された撮像画像から対象
物の欠陥を検出する外観検査装置が広く利用されてい
る。この外観検査装置の中からシート材の傷、打痕等の
欠陥を検出するものとしてはシート材欠陥検査装置が利
用されている。
2. Description of the Related Art In recent years, in various production facilities, a visual inspection apparatus for detecting a defect of an object from an image picked up by an image pickup device such as a line sensor camera has been widely used. A sheet material defect inspection device is used as a device for detecting defects such as scratches and dents in the sheet material from among the appearance inspection devices.

【0003】図5は、従来のシート材欠陥検査装置を示
すブロック図である。シート材欠陥検査装置は、図5に
示すように、搬送系(図示せず)により連続して搬送さ
れているシート材9を撮像するラインセンサカメラ1
(撮像手段)と、このラインセンサカメラ1により得ら
れた濃淡画像を処理する電子計算機2とを備えるもので
ある。上記ラインセンサカメラ1は、シート材9の上方
に配置固定され、このシート材9の表面状態を連続して
撮像するものである。また、上記電子計算機2は、ライ
ンセンサカメラ1によって撮像された撮像画像のうちの
濃淡画像を記憶する主メモリ13(濃淡画像記憶手段)
と、この濃淡画像に基づいてシート材9の欠陥部分8を
検出処理するCPU10とを備える。
FIG. 5 is a block diagram showing a conventional sheet material defect inspection apparatus. As shown in FIG. 5, the sheet material defect inspection apparatus includes a line sensor camera 1 for imaging a sheet material 9 continuously conveyed by a conveyance system (not shown).
(Imaging means), and an electronic computer 2 for processing a grayscale image obtained by the line sensor camera 1. The line sensor camera 1 is disposed and fixed above the sheet material 9 and continuously captures an image of the surface state of the sheet material 9. Further, the computer 2 is a main memory 13 (gray-scale image storage means) for storing a gray-scale image among the images captured by the line sensor camera 1.
And a CPU 10 for detecting a defective portion 8 of the sheet material 9 based on the grayscale image.

【0004】上記CPU10は、2値化手段14、ラベ
リング手段15、面積算出手段16、及び欠陥検出手段
17を備えており、このCPU10での一連の処理はハ
ードやソフトウエアにより行うことができる。上記2値
化手段14は、主メモリ13から濃淡画像を読み出し
て、この濃淡画像をシート材9の背景部分と欠陥部分8
とに2値化するものである。上記ラベリング手段15
は、この2値化手段14によって2値化して分けられた
欠陥部分8の領域を示す黒色または白色の領域を抽出す
るものである。上記面積算出手段16は、このラベリン
グ手段15によって抽出された欠陥部分領域からその面
積を算出するものである。上記欠陥検出手段17は、こ
の面積算出手段16によって算出された算出面積を上記
シート材9の欠陥部分8として扱い、この算出面積が指
定範囲より大きければシート材9の欠陥として検出する
ものである。
The CPU 10 includes a binarizing unit 14, a labeling unit 15, an area calculating unit 16, and a defect detecting unit 17, and a series of processes in the CPU 10 can be performed by hardware or software. The binarizing means 14 reads out the grayscale image from the main memory 13 and stores the grayscale image in the background portion and the defective portion 8 of the sheet material 9.
And binarization. The above labeling means 15
Is to extract a black or white area indicating the area of the defective portion 8 binarized and divided by the binarization means 14. The area calculating means 16 calculates the area from the defective part area extracted by the labeling means 15. The defect detecting means 17 treats the calculated area calculated by the area calculating means 16 as a defective portion 8 of the sheet material 9 and detects the defect as a defect of the sheet material 9 if the calculated area is larger than a specified range. .

【0005】次に、このシート材欠陥検査装置の動作を
以下に説明する。図5に示すように、矢印E方向に移動
するシート材9をラインセンサカメラ1によって撮像し
撮像画像を得る。この撮像画像から濃淡画像を得て、こ
の濃淡画像を電子計算機2の主メモリ13に記憶させ
る。次に、主メモリ13に記憶させた濃淡画像を読み出
して、2値化手段14で濃淡画像の背景から欠陥部分8
の領域を切り出す閾値により濃淡画像を0と1とに2値
化する。ここで、例えば、欠陥部分8の領域を1の白色
領域として2値化した場合、ラベリング手段15で白色
領域を抽出することにより、上記欠陥部分領域が取り出
される。そして、面積算出手段16によってこの欠陥部
分領域の占める面積を算出する。面積算出手段16によ
る面積算出は、以下のように欠陥部分領域を座標化して
行われる。
Next, the operation of the sheet material defect inspection apparatus will be described below. As shown in FIG. 5, the sheet material 9 moving in the direction of arrow E is imaged by the line sensor camera 1 to obtain an image. A grayscale image is obtained from the captured image, and the grayscale image is stored in the main memory 13 of the computer 2. Next, the grayscale image stored in the main memory 13 is read out, and the binarizing means 14 extracts the defective portion 8 from the background of the grayscale image.
The grayscale image is binarized into 0 and 1 by a threshold value for cutting out the region. Here, for example, when the area of the defective portion 8 is binarized as one white area, the white area is extracted by the labeling means 15 to extract the defective area. Then, the area occupied by the defective portion area is calculated by the area calculating means 16. The area calculation by the area calculation means 16 is performed by converting the defective partial area into coordinates as follows.

【0006】図6は、上記2値化手段14によって2値
化された濃淡画像のうちの欠陥部分領域を模式的に示
す。図6において、30は上記ラベリング手段15で抽
出された欠陥部分領域であり、31はその欠陥部分領域
30を等分化した1つのラインを示す。ここで、ライン
31のy座標をYとすると、ライン31の前後における
ライン311,312のy座標はそれぞれ(Y−1)、
(Y+1)となる。また、32はライン31のx座標の
始点SX(Y)を示し、33はライン31のx座標の終
点EX(Y)を示す。そうすると、ライン31の面積は
(EX(y)−SX(y))で表すことができる。他の
ラインも同様にしてその面積を求められる。すなわち、
上記ラベリング手段15によって抽出された欠陥部分領
域30の占める面積は次式で示される。 Σ(EX(y)−SX(y)) ・・・ (A) このようにして上記面積算出手段16では、上記(A)
式によって欠陥部分領域30の占める面積が算出され
る。次いで、欠陥検出手段17によって上記面積算出手
段16で算出された算出面積が指定範囲より大きな面積
であればシート材9の欠陥として検出する。
FIG. 6 schematically shows a defective portion area in the grayscale image binarized by the binarizing means 14. In FIG. 6, reference numeral 30 denotes a defective part area extracted by the labeling means 15, and reference numeral 31 denotes one line obtained by equally dividing the defective part area 30. Here, assuming that the y coordinate of the line 31 is Y, the y coordinates of the lines 311 and 312 before and after the line 31 are (Y−1),
(Y + 1). Reference numeral 32 denotes a starting point SX (Y) of the x coordinate of the line 31, and reference numeral 33 denotes an ending point EX (Y) of the x coordinate of the line 31. Then, the area of the line 31 can be represented by (EX (y) -SX (y)). The area of the other lines can be similarly obtained. That is,
The area occupied by the defective partial region 30 extracted by the labeling means 15 is represented by the following equation. Σ (EX (y) −SX (y)) (A) In this way, in the area calculating means 16, (A)
The area occupied by the defective portion region 30 is calculated by the equation. Next, if the calculated area calculated by the area calculating means 16 by the defect detecting means 17 is larger than the designated range, it is detected as a defect of the sheet material 9.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、上記シ
ート材欠陥検査装置では、同じ欠陥部分であっても、搬
送系の一定速度時では、図6に示すように、上記ラベリ
ング手段15で抽出された欠陥部分領域30はライン毎
に等価な画像が得られるのに対し、搬送系の加減速時で
は、図7に示すように、欠陥領域40の各ライン41,
411,412等が間延びしたような画像が得られる。
そして、上記面積算出手段16では、搬送系の加減速時
でもこの間延びした画像に対して上記(A)式によって
その面積が算出されるため、搬送系の一定速度時では実
際の欠陥部分8に比例した算出面積が得られるのに対
し、加減速時では実際の欠陥部分8よりも大きな算出面
積が得られてしまい、その結果、シート材9の欠陥部分
8を誤って検出判定をしてしまうという問題があった。
However, in the above-described sheet material defect inspection apparatus, even at the same defect portion, at a constant speed of the transport system, the same defect portion is extracted by the labeling means 15 as shown in FIG. In the defective partial area 30, an equivalent image is obtained for each line, but when the transport system accelerates or decelerates, as shown in FIG.
An image in which 411, 412, and the like are extended is obtained.
The area calculating means 16 calculates the area of the extended image even when the transport system is accelerated or decelerated by the above equation (A). While a proportional calculated area is obtained, a calculated area larger than the actual defective portion 8 is obtained during acceleration / deceleration, and as a result, the defective portion 8 of the sheet material 9 is erroneously detected and determined. There was a problem.

【0008】本発明は、上記の問題点を解決するために
なされ、特に搬送系の搬送速度に対する撮像画像の分解
能変化に着目し、この分解能変化に基づいて抽出した欠
陥部分領域の誤差を補正することによって搬送系の加減
速時においても正確に欠陥部分を検出することができる
シート材欠陥検査装置を提供するものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems. In particular, the present invention focuses on a change in resolution of a captured image with respect to the transport speed of a transport system, and corrects an error in a defective partial area extracted based on the change in resolution. Accordingly, it is an object of the present invention to provide a sheet material defect inspection apparatus capable of accurately detecting a defective portion even during acceleration / deceleration of a transport system.

【0009】[0009]

【課題を解決するための手段】本発明のシート材欠陥検
査装置は、搬送系により連続して搬送されているシート
材の濃淡画像からその欠陥部分を検出するシート材欠陥
検査装置であって、上記連続して搬送されているシート
材を撮像する撮像手段と、上記撮像手段によって撮像さ
れた撮像画像における濃淡画像を記憶する濃淡画像記憶
手段と、上記濃淡画像記憶手段から読み出した濃淡画像
を、上記シート材の背景部分と欠陥部分との領域に分け
る閾値によってこの濃淡画像を2値化する2値化手段
と、上記2値化手段によって2値化された濃淡画像のう
ちの欠陥部分の領域を抽出するラベリング手段と、上記
搬送系の搬送速度に対する,上記撮像手段による撮像画
像の分解能の変化を表す分解能比率を予め計算した分解
能補正テーブルと、上記ラベリング手段によって抽出さ
れた欠陥部分領域の面積を、上記分解能補正テーブルに
基づき誤差補正をして算出する面積補正算出手段と、上
記面積補正算出手段によって算出された算出面積が指定
範囲より大きければシート材の欠陥として検出する欠陥
検出手段とを備えたことを特徴とするものである。
A sheet material defect inspection apparatus according to the present invention is a sheet material defect inspection apparatus for detecting a defective portion from a grayscale image of a sheet material continuously conveyed by a conveyance system. An imaging unit that captures the sheet material that is continuously conveyed; a gray image storage unit that stores a gray image in a captured image captured by the imaging unit; and a gray image read from the gray image storage unit. A binarizing means for binarizing the grayscale image by a threshold value for dividing the sheet material into a background area and a defective area; and a defect area in the grayscale image binarized by the binarization means. A resolution correction table pre-calculating a resolution ratio representing a change in resolution of an image captured by the image capturing means with respect to the transport speed of the transport system, Area correction calculating means for calculating the area of the defective partial area extracted by the labeling means by performing error correction based on the resolution correction table; and if the calculated area calculated by the area correction calculating means is larger than a specified range. Defect detecting means for detecting a sheet material as a defect.

【0010】また、本発明のシート材欠陥検査装置は、
上記のシート材欠陥検査装置において、上記分解能補正
テーブルは、外部入力手段によって得られた現在の搬送
系の搬送速度に応じて計算したものであることを特徴と
するものである。
[0010] Further, the sheet material defect inspection apparatus of the present invention comprises:
In the above-described sheet material defect inspection apparatus, the resolution correction table is calculated based on a current transport speed of a transport system obtained by an external input unit.

【0011】[0011]

【発明の実施の形態】以下に、本発明によるシート材欠
陥検査装置の実施の形態を図1から図4に基づいて説明
する。なお、本発明のシート材欠陥検査装置は、図5に
示した従来のものと同様に撮像手段や電子計算機を備え
るものであるが、電子計算機を構成する1手段であるC
PUにおいて、分解能補正テーブル、及びこの分解能補
正テーブルに基づいた誤差処理を行う面積補正算出手段
を備えるものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a sheet material defect inspection apparatus according to the present invention will be described below with reference to FIGS. Note that the sheet material defect inspection apparatus of the present invention includes an image pickup unit and an electronic computer as in the conventional apparatus shown in FIG. 5, but is one unit constituting the electronic computer.
The PU includes a resolution correction table and an area correction calculation unit that performs error processing based on the resolution correction table.

【0012】図1は、本発明の実施の形態におけるシー
ト材欠陥検査装置を示すブロック図である。本実施の形
態によるシート材欠陥検査装置は、図1に示すように、
搬送系(図示せず)により連続して搬送されているシー
ト材9を撮像するラインセンサカメラ1(撮像手段)
と、このラインセンサカメラ1により得られた濃淡画像
を処理する電子計算機2とを備えるものである。上記ラ
インセンサカメラ1は、シート材9の上方に配置固定さ
れ、このシート材9の表面状態を連続して撮像するもの
である。また、ラインセンサカメラ1は、外部信号によ
って撮像を開始または終了する。上記電子計算機2は、
ラインセンサカメラ1によって撮像された撮像画像のう
ちの濃淡画像を記憶する主メモリ3(濃淡画像記憶手
段)と、この濃淡画像に基づいてシート材9の欠陥部分
8を検出処理するCPU10とを備える。上記主メモリ
3は、濃淡画像を書き込み・読み出しが可能なRAMに
より構成される。
FIG. 1 is a block diagram showing a sheet material defect inspection apparatus according to an embodiment of the present invention. The sheet material defect inspection apparatus according to the present embodiment, as shown in FIG.
Line sensor camera 1 (imaging means) for imaging sheet material 9 continuously conveyed by a conveyance system (not shown)
And an electronic computer 2 for processing the grayscale image obtained by the line sensor camera 1. The line sensor camera 1 is disposed and fixed above the sheet material 9 and continuously captures an image of the surface state of the sheet material 9. In addition, the line sensor camera 1 starts or ends the imaging by an external signal. The above-mentioned computer 2
It comprises a main memory 3 (gray-scale image storage means) for storing a gray-scale image of images picked up by the line sensor camera 1 and a CPU 10 for detecting a defective portion 8 of the sheet material 9 based on the gray-scale image. . The main memory 3 is composed of a RAM capable of writing and reading a grayscale image.

【0013】上記CPU10は、2値化手段4、ラベリ
ング手段5、分解能補正テーブルT、面積補正算出手段
6、及び欠陥検出手段7を備えている。なお、このCP
U10での処理はハードやソフトウエアにより行うこと
ができる。上記2値化手段4は、主メモリ3から濃淡画
像を読み出して、シート材9の背景部分と欠陥部分8と
に分ける閾値によってこの濃淡画像を2値化するもので
あり、例えば、欠陥部分8を1の白色領域とし、背景部
分を0の黒色領域とするように2値化する。上記ラベリ
ング手段5は、この2値化手段4によって分けられた欠
陥部分8の欠陥部分領域を抽出するものである。上記分
解能補正テーブルTは、シート材9の搬送系の搬送速度
に対する、上記ラインセンサカメラ1によって得られる
撮像画像の分解能変化の関係を示す分解能比率を予め計
算したテーブルである。上記面積補正算出手段6は、分
解能補正テーブルTに基づき、上記ラベリング手段5に
よって抽出された欠陥部分領域を補正してその占める面
積を算出するものである。なお、この面積補正算出手段
6で得られる算出面積が、シート材9の欠陥部分8の面
積として扱われる。上記欠陥検出手段7は、面積算出手
段6によって算出された算出面積が指定範囲より大きい
面積であれば上記シート材9の欠陥として検出するもの
である。
The CPU 10 includes a binarizing means 4, a labeling means 5, a resolution correction table T, an area correction calculating means 6, and a defect detecting means 7. Note that this CP
The processing in U10 can be performed by hardware or software. The binarizing means 4 reads the grayscale image from the main memory 3 and binarizes the grayscale image by a threshold value for dividing the grayscale image into a background portion and a defective portion 8 of the sheet material 9. Are binarized such that 1 is a white region and the background portion is a black region of 0. The labeling means 5 is for extracting a defective part area of the defective part 8 divided by the binarizing means 4. The resolution correction table T is a table in which a resolution ratio indicating a relationship between a conveyance speed of the conveyance system of the sheet material 9 and a resolution change of a captured image obtained by the line sensor camera 1 is calculated in advance. The area correction calculation means 6 corrects the defective partial area extracted by the labeling means 5 based on the resolution correction table T and calculates the area occupied by the area. Note that the calculated area obtained by the area correction calculating means 6 is treated as the area of the defective portion 8 of the sheet material 9. The defect detecting means 7 detects the sheet material 9 as a defect if the calculated area calculated by the area calculating means 6 is larger than a specified range.

【0014】次に、上記分解能補正テーブルTについて
説明する。図2は、上記面積補正算出手段6で使用され
る分解能補正テーブルTを示すグラフであり、その縦軸
が送り方向である撮像画像の取り込みライン(Y)を示
し、横軸が取り込みライン(Y)に対する撮像画像の分
解能比率(f(Y))を示す。分解能補正テーブルT
は、図2に示すように、撮像画像のライン毎の分解能変
化分を表し、その取り込みライン(Y)毎に対する分解
能比率(f(Y))としている。
Next, the resolution correction table T will be described. FIG. 2 is a graph showing a resolution correction table T used by the area correction calculating means 6, in which the vertical axis indicates the capture line (Y) of the captured image in the feed direction, and the horizontal axis indicates the capture line (Y). ) Indicates the resolution ratio (f (Y)) of the captured image. Resolution correction table T
Represents a change in resolution of each line of the captured image, as shown in FIG. 2, and is defined as a resolution ratio (f (Y)) for each fetched line (Y).

【0015】ラインセンサカメラ1が撮像画像の取り込
みを開始してから取り込みを終了するまでの間は一定時
間であるためその単位時間に搬送系が加減速することに
よってシート材9の単位面積当たりに取り込まれるライ
ン数が変化し、このときのライン毎における撮像画像の
分解能も変化することとなる。
Since the time from when the line sensor camera 1 starts taking the captured image to when the taking of the captured image is completed is a fixed time, the transport system is accelerated or decelerated in that unit time, so that the per unit area of the sheet material 9 is increased. The number of fetched lines changes, and the resolution of the captured image for each line at this time also changes.

【0016】図3は、搬送系の搬送速度とラインセンサ
カメラ1による撮像画像の分解能の関係を示し、図3に
おいて縦軸が搬送系の搬送速度を示し、横軸がラインセ
ンサカメラ1による撮像画像の分解能を示す。図3に示
すように、搬送系の搬送速度が0のとき、すなわち静止
しているときでは撮像画像の分解能は最高となるが、搬
送速度が増すに連れて一度にシート材9の広い範囲が撮
像されるためシート材9の単位面積当たりにおける撮像
画像の分解能は低下して行くこととなる。すなわち、分
解能は、搬送速度に対して反比例の関係を有する。ここ
で、撮像画像のyライン目における搬送系の搬送速度S
のとき分解能を1とすると、搬送速度の変化に対する分
解能の変化(f(y(S)))は、以下の式で表すこと
ができる。 f(y(S))=1/S ・・・ (B) 上記(B)式より、搬送系の速度に対する分解能は速度
成分の逆数として表される。搬送系の搬送速度を一定速
度Sに設定するとした場合、搬送系が加減速(0→S、
S→0)にあるときは速度Sより遅いので、そのときの
撮像画像の分解能は一定速度Sにある場合に比べ高くな
る。したがって、搬送系が加減速にある場合の分解能
を、一定速度Sにある場合の分解能1と同じ条件下に設
定するためには、上記(B)式の関係を満足すればよ
い。
FIG. 3 shows the relationship between the transport speed of the transport system and the resolution of the image captured by the line sensor camera 1. In FIG. 3, the vertical axis indicates the transport speed of the transport system, and the horizontal axis indicates the image captured by the line sensor camera 1. Indicates the resolution of the image. As shown in FIG. 3, when the transport speed of the transport system is 0, that is, when the transport system is stationary, the resolution of the captured image is highest, but as the transport speed increases, the wide range of the sheet material 9 at a time increases. Since the image is captured, the resolution of the captured image per unit area of the sheet material 9 is reduced. That is, the resolution has an inversely proportional relationship with the transport speed. Here, the transport speed S of the transport system at the y-th line of the captured image
If the resolution is set to 1 at the time, the change in resolution (f (y (S))) with respect to the change in transport speed can be expressed by the following equation. f (y (S)) = 1 / S (B) From the above equation (B), the resolution with respect to the speed of the transport system is expressed as the reciprocal of the speed component. If the transport speed of the transport system is set to a constant speed S, the transport system accelerates / decelerates (0 → S,
(S → 0), which is slower than the speed S, the resolution of the captured image at that time is higher than that at the constant speed S. Therefore, in order to set the resolution when the transport system is in acceleration or deceleration to the same condition as the resolution 1 when the transport system is at the constant speed S, it is sufficient to satisfy the relationship of the above equation (B).

【0017】上記(B)式で得られる比率を、撮像画像
の取り込みライン毎にプロットすると、図2に示す、分
解能補正テーブルTが得られる。すなわち、分解能補正
テーブルTとしては、図2から明らかなように、搬送系
が一定速度にある場合(図2中、範囲bで示す。)、分
解能比率(f(y))は一定であるが、搬送系が加速時
(図2中、範囲aで示す。)または減速時(図2中、範
囲cで示す。)にある場合、その速度が遅くなればなる
ほど分解能比率(f(y))が小さくなるような関係が
得られることとなる。
When the ratio obtained by the above equation (B) is plotted for each captured image capturing line, a resolution correction table T shown in FIG. 2 is obtained. That is, as is apparent from FIG. 2, the resolution ratio (f (y)) of the resolution correction table T is constant when the transport system is at a constant speed (indicated by a range b in FIG. 2). When the transport system is accelerating (indicated by a range a in FIG. 2) or decelerating (indicated by a range c in FIG. 2), the lower the speed, the higher the resolution ratio (f (y)). Is obtained.

【0018】次に、本実施の形態によるシート材欠陥検
査装置の動作を以下に説明する。図1に示すように、矢
印E方向に移動するシート材9を上方に配置したライン
センサカメラ1によって撮像し撮像画像を得る。この撮
像画像から濃淡画像を得て、この濃淡画像を電子計算機
2の主メモリ3に記憶させる。次に、主メモリ3に記憶
させた濃淡画像を読み出して、2値化手段4で濃淡画像
の背景から欠陥部分8の領域を切り出す閾値により濃淡
画像を0と1とに2値化する。ここで、例えば、欠陥部
分8の領域を1の白色領域として2値化した場合、ラベ
リング手段5で白色領域を抽出することにより、上記欠
陥部分領域が取り出される。そして、面積算出手段6に
よってこの欠陥部分領域の占める面積を算出する。面積
算出手段6による面積算出は、以下のように欠陥部分領
域を座標化して行われる。
Next, the operation of the sheet material defect inspection apparatus according to the present embodiment will be described below. As shown in FIG. 1, a sheet material 9 moving in the direction of arrow E is picked up by a line sensor camera 1 arranged above to obtain a picked-up image. A grayscale image is obtained from the captured image, and the grayscale image is stored in the main memory 3 of the computer 2. Next, the grayscale image stored in the main memory 3 is read out, and the binary imager 4 binarizes the grayscale image into 0 and 1 by using a threshold for cutting out the area of the defective portion 8 from the background of the grayscale image. Here, for example, when the area of the defective portion 8 is binarized as one white area, the white area is extracted by the labeling means 5 to extract the defective area. Then, the area occupied by the defective portion area is calculated by the area calculating means 6. The area calculation by the area calculation means 6 is performed by converting the defective partial area into coordinates as follows.

【0019】図4は、上記面積補正算出手段6で誤差補
正された欠陥部分領域を模式的に示す。図4において、
18は誤差補正された欠陥部分領域(算出面積)であ
り、20はラベリング手段5で抽出された欠陥部分領域
であり、21はy座標のYライン目の抽出領域を示し、
22はライン21のx座標の始点SX(Y)を示し、2
3はライン21のx座標の終点EX(Y)を示す。した
がって、従来の場合と同様にライン21の面積は、(E
X(y)−SX(y))の関係より求められるから、ラ
ベリング手段5で抽出された欠陥部分領域20の面積
は、Σ(EX(y)−SX(y))で表される。
FIG. 4 schematically shows a defective partial area whose error has been corrected by the area correction calculating means 6. In FIG.
Reference numeral 18 denotes an error-corrected defect partial area (calculated area), reference numeral 20 denotes a defect partial area extracted by the labeling unit 5, reference numeral 21 denotes an extraction area on the Y-th line of the y coordinate,
Reference numeral 22 denotes a starting point SX (Y) of the x coordinate of the line 21.
3 indicates an end point EX (Y) of the x coordinate of the line 21. Therefore, as in the conventional case, the area of the line 21 is (E
X (y) −SX (y)), the area of the defective partial region 20 extracted by the labeling unit 5 is represented by Σ (EX (y) −SX (y)).

【0020】次に、予め計算された前記図2の分解能補
正テーブルTを用いて搬送速度の異なる各ライン毎の分
解能比率を加味し、ラベリング手段5によって抽出され
た欠陥部分領域20を誤差補正した面積は、次式で表す
ことができる。 Σ(EX(y)−SX(y))*f(y) ・・・ (C) なお、式中、f(y)は、図2の分解能補正テーブルT
で示す各ライン(y)毎の分解能比率である。上記
(C)式で算出された面積は、搬送速度に対する撮像画
像の分解能比率によって誤差補正された面積18を表す
ものである。
Next, using the previously calculated resolution correction table T shown in FIG. 2 and taking into account the resolution ratio of each line having a different transport speed, the error of the defective partial area 20 extracted by the labeling means 5 was corrected. The area can be represented by the following equation. Σ (EX (y) −SX (y)) * f (y) (C) where f (y) is the resolution correction table T in FIG.
Is the resolution ratio for each line (y). The area calculated by the above equation (C) represents the area 18 whose error has been corrected by the resolution ratio of the captured image to the transport speed.

【0021】このようにして、上記面積補正算出手段6
では、分解能補正テーブルTを加味した上記(C)式で
ラベリング手段5から抽出された欠陥部分領域20から
搬送系の加減速による誤差を補正した算出面積18を得
る。ここで得た算出面積18は、上記シート材9の欠陥
部分8の面積と等価であるとして扱われる。次いで、上
記欠陥検出手段7によってこの算出面積18が指定範囲
より大きな面積であれば、シート材9の欠陥として検出
する。
Thus, the area correction calculating means 6
Then, a calculated area 18 in which an error due to acceleration / deceleration of the transport system is corrected is obtained from the defective partial area 20 extracted from the labeling means 5 by the above equation (C) in consideration of the resolution correction table T. The calculated area 18 obtained here is treated as being equivalent to the area of the defective portion 8 of the sheet material 9. Next, if the calculated area 18 is larger than the specified range by the defect detecting means 7, it is detected as a defect of the sheet material 9.

【0022】以上のように、本実施の形態によるシート
材欠陥検査装置によれば、シート材9の搬送系の加減速
度に応じてラインセンサカメラ1によって得られる撮像
画像の分解能の比率を予め計算した分解能補正テーブル
Tに基づき、ラベリング手段5で抽出された欠陥部分領
域20から面積補正算出手段6によって誤差補正された
面積18を算出するので、搬送系の加減速度に関わらず
一定速度と同じ分解能で欠陥部分8の面積を算出してシ
ート材9の欠陥8を検査することができ、その結果、シ
ート材の欠陥を高精度で検出することができるという効
果を有する。
As described above, according to the sheet material defect inspection apparatus according to the present embodiment, the ratio of the resolution of the captured image obtained by the line sensor camera 1 is calculated in advance according to the acceleration / deceleration of the conveyance system of the sheet material 9. Based on the resolution correction table T, the area 18 having the error corrected by the area correction calculating means 6 is calculated from the defective partial area 20 extracted by the labeling means 5, so that the same resolution as the constant speed regardless of the acceleration / deceleration of the transport system. The defect 8 of the sheet material 9 can be inspected by calculating the area of the defective portion 8 with the result, and as a result, the defect of the sheet material can be detected with high accuracy.

【0023】なお、上記実施の形態では、分解能補正テ
ーブルTは、搬送系の加減速度に応じてその分解能比率
f(y)を予め計算したものを用いたが、搬送系の速度
をエンコーダ等の外部入力装置から逐次に読み取り、そ
のときの速度に応じた分解能補正テーブルを作成して、
この分解能補正テーブルを使用するようにしても良い。
そうすれば、搬送系の速度に追従させた面積を算出する
ことができ、より高精度にシート材の欠陥を検出するこ
とができるという効果を有する。
In the above-described embodiment, the resolution correction table T is obtained by calculating the resolution ratio f (y) in advance in accordance with the acceleration / deceleration of the transport system. Read sequentially from the external input device, create a resolution correction table according to the speed at that time,
This resolution correction table may be used.
Then, the area following the speed of the transport system can be calculated, and the defect of the sheet material can be detected with higher accuracy.

【0024】[0024]

【発明の効果】本発明のシート材欠陥検査装置によれ
ば、搬送系により連続して搬送されているシート材の濃
淡画像からその欠陥部分を検出するシート材欠陥検査装
置であって、上記連続して搬送されているシート材を撮
像する撮像手段と、上記撮像手段によって撮像された撮
像画像における濃淡画像を記憶する濃淡画像記憶手段
と、上記濃淡画像記憶手段から読み出した濃淡画像を、
上記シート材の背景部分と欠陥部分との領域に分ける閾
値によってこの濃淡画像を2値化する2値化手段と、上
記2値化手段によって2値化された濃淡画像のうちの欠
陥部分の領域を抽出するラベリング手段と、上記搬送系
の搬送速度に対する,上記撮像手段による撮像画像の分
解能の変化を表す分解能比率を予め計算した分解能補正
テーブルと、上記ラベリング手段によって抽出された欠
陥部分領域の面積を、上記分解能補正テーブルに基づき
誤差補正をして算出する面積補正算出手段と、上記面積
補正算出手段によって算出された算出面積が指定範囲よ
り大きければシート材の欠陥として検出する欠陥検出手
段とを備えたことを特徴とするもので、上記面積補正手
段では、上記ラベリング手段によって抽出された欠陥部
分領域から、上記分解能補正テーブルに基づいた誤差補
正をして面積を算出するので、この算出面積には搬送系
の加減速時に生じる画像の間延びによる誤差が除かれて
いるため、搬送系の加減速度に関わらず一定速度と同じ
分解能で面積を算出することができ、その結果、シート
材の欠陥部分を正確に検出することができるという効果
を有する。
According to the sheet material defect inspection apparatus of the present invention, there is provided a sheet material defect inspection apparatus for detecting a defective portion from a grayscale image of a sheet material continuously conveyed by a conveyance system. Imaging means for imaging the sheet material being conveyed, and a gray image storage means for storing a gray image in a captured image captured by the imaging means; and a gray image read from the gray image storage means.
A binarizing means for binarizing the grayscale image by a threshold value for dividing the sheet material into a background area and a defective area; and a defect area in the grayscale image binarized by the binarization means. A resolution correction table in which a resolution ratio representing a change in the resolution of the image captured by the imaging means with respect to the transport speed of the transport system is calculated in advance, and an area of the defective partial area extracted by the labeling means. An area correction calculation means for performing error correction based on the resolution correction table, and a defect detection means for detecting as a sheet material defect if the calculated area calculated by the area correction calculation means is larger than a specified range. Wherein the area correcting means extracts the defective portion area extracted by the labeling means, Since the area is calculated by performing an error correction based on the resolution correction table, an error due to the extension of an image generated when the transport system is accelerated / decelerated is removed from the calculated area, and therefore, regardless of the acceleration / deceleration of the transport system. The area can be calculated at the same resolution as the constant speed, and as a result, there is an effect that a defective portion of the sheet material can be accurately detected.

【0025】また、本発明のシート材欠陥検査装置によ
れば、搬送系の速度を逐次にエンコーダ等の外部入力装
置から読み取り、速度に応じた分解能補正テーブルを作
成することによって、搬送系の速度に追従させた面積を
算出でき、シート材の欠陥をより正確に検出することが
できるという効果を有する。
Further, according to the sheet material defect inspection apparatus of the present invention, the speed of the transport system is read by sequentially reading the speed of the transport system from an external input device such as an encoder and creating a resolution correction table according to the speed. This has the effect of calculating the area that follows, and more accurately detecting defects in the sheet material.

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

【図1】本発明の実施の形態によるシート材欠陥検査装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a sheet material defect inspection apparatus according to an embodiment of the present invention.

【図2】分解能補正テーブルを示すグラフである。FIG. 2 is a graph showing a resolution correction table.

【図3】搬送系の搬送速度と分解能との関係を示すグラ
フである。
FIG. 3 is a graph showing a relationship between a transport speed of a transport system and a resolution.

【図4】分解能補正した欠陥部分領域(算出面積)を示
す模式図である。
FIG. 4 is a schematic diagram showing a defect partial region (calculated area) whose resolution has been corrected.

【図5】従来のシート材欠陥検査装置の構成を示すブロ
ック図である。
FIG. 5 is a block diagram showing a configuration of a conventional sheet material defect inspection apparatus.

【図6】搬送系が一定速度時にある場合に従来のシート
材欠陥検査装置により検出した欠陥部分領域を示す模式
図である。
FIG. 6 is a schematic diagram showing a defective portion area detected by a conventional sheet material defect inspection apparatus when the conveyance system is at a constant speed.

【図7】搬送系が加減速時にある場合に従来のシート材
欠陥検査装置により検出した欠陥部分領域を示す模式図
である。
FIG. 7 is a schematic diagram showing a defective portion area detected by a conventional sheet material defect inspection apparatus when the transport system is in acceleration or deceleration.

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

1 ラインセンサカメラ(撮像手段) 2 電子計算機 3 主メモリ(濃淡画像記憶手段) 4 2値化手段 5 ラベリング手段 6 面積補正算出手段 7 欠陥検出手段 8 欠陥部分 9 シート材 10 CPU 18 算出面積 20 ラベリング手段で抽出された欠陥部分領域 21 1ライン 22 x座標の始点 23 x座標の終点 30 ラベリング手段で抽出された欠陥部分領域(一定
速度時) 31 1ライン 32 x座標の始点 33 x座標の終点 311 (y−1)ライン 312 (y+1)ライン a 加速領域 b 定速領域 c 減速領域 T 分解能補正テーブル
DESCRIPTION OF SYMBOLS 1 Line sensor camera (imaging means) 2 Electronic computer 3 Main memory (shading image storage means) 4 Binarization means 5 Labeling means 6 Area correction calculation means 7 Defect detection means 8 Defective part 9 Sheet material 10 CPU 18 Calculation area 20 Labeling Defect part area 21 extracted by the means 21 1 line 22 Start point of x coordinate 23 End point of x coordinate 30 Defect part area extracted at the time of labeling means (at a constant speed) 31 1 line 32 Start point of x coordinate 33 End point of x coordinate 311 (Y-1) line 312 (y + 1) line a acceleration region b constant speed region c deceleration region T resolution correction table

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 搬送系により連続して搬送されているシ
ート材の濃淡画像からその欠陥部分を検出するシート材
欠陥検査装置であって、 上記連続して搬送されているシート材を撮像する撮像手
段と、 上記撮像手段によって撮像された撮像画像における濃淡
画像を記憶する濃淡画像記憶手段と、 上記濃淡画像記憶手段から読み出した濃淡画像を、上記
シート材の背景部分と欠陥部分との領域に分ける閾値に
よってこの濃淡画像を2値化する2値化手段と、 上記2値化手段によって2値化された濃淡画像のうちの
欠陥部分の領域を抽出するラベリング手段と、 上記搬送系の搬送速度に対する,上記撮像手段による撮
像画像の分解能の変化を表す分解能比率を予め計算した
分解能補正テーブルと、 上記ラベリング手段によって抽出された欠陥部分領域の
面積を、上記分解能補正テーブルに基づき誤差補正をし
て算出する面積補正算出手段と、 上記面積補正算出手段によって算出された算出面積が指
定範囲より大きければシート材の欠陥として検出する欠
陥検出手段とを備えたことを特徴とするシート材欠陥検
査装置。
1. A sheet material defect inspection apparatus for detecting a defective portion from a grayscale image of a sheet material continuously conveyed by a conveyance system, wherein the imaging device picks up the continuously conveyed sheet material. Means, a gray-scale image storage means for storing a gray-scale image in the captured image captured by the image-capturing means, and a gray-scale image read from the gray-scale image storage means, divided into areas of a background portion and a defective portion of the sheet material. A binarizing unit for binarizing the grayscale image with a threshold value; a labeling unit for extracting a defective portion area in the grayscale image binarized by the binarizing unit; A resolution correction table in which a resolution ratio indicating a change in resolution of an image captured by the image capturing means is calculated in advance, and a defect portion extracted by the labeling means. Area correction calculating means for calculating the area of the area by performing error correction based on the resolution correction table; and defect detection for detecting as a sheet material defect if the calculated area calculated by the area correction calculating means is larger than a specified range. Means for inspecting sheet material defects.
【請求項2】 上記請求項1に記載のシート材欠陥検査
装置において、 上記分解能補正テーブルは、外部入力手段によって得ら
れた現在の搬送系の搬送速度に応じて計算したものであ
ることを特徴とするシート材欠陥検査装置。
2. The sheet material defect inspection apparatus according to claim 1, wherein the resolution correction table is calculated according to a current transport speed of a transport system obtained by an external input unit. Sheet material defect inspection equipment.
JP10130107A 1998-05-13 1998-05-13 Device for inspecting sheet material defect Pending JPH11328409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10130107A JPH11328409A (en) 1998-05-13 1998-05-13 Device for inspecting sheet material defect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10130107A JPH11328409A (en) 1998-05-13 1998-05-13 Device for inspecting sheet material defect

Publications (1)

Publication Number Publication Date
JPH11328409A true JPH11328409A (en) 1999-11-30

Family

ID=15026129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10130107A Pending JPH11328409A (en) 1998-05-13 1998-05-13 Device for inspecting sheet material defect

Country Status (1)

Country Link
JP (1) JPH11328409A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1422071A1 (en) 2002-11-19 2004-05-26 Fuji Photo Film Co., Ltd. Ink jet recording sheet
JP2010145253A (en) * 2008-12-18 2010-07-01 Sigma Kk Method for imaging cylindrical surface and obtaining rectangular plane image

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1422071A1 (en) 2002-11-19 2004-05-26 Fuji Photo Film Co., Ltd. Ink jet recording sheet
US7754297B2 (en) 2002-11-19 2010-07-13 Fujifilm Corporation Ink jet recording sheet
JP2010145253A (en) * 2008-12-18 2010-07-01 Sigma Kk Method for imaging cylindrical surface and obtaining rectangular plane image

Similar Documents

Publication Publication Date Title
EP0437273A2 (en) Method of matching patterns and apparatus therefor
JP3320164B2 (en) Printing inspection equipment
JP2002207996A (en) Method and device for detecting pattern defect
JPH10221035A (en) Apparatus for inspecting packaged component
JPH11328409A (en) Device for inspecting sheet material defect
JPH08313454A (en) Image processing equipment
JPH0718812B2 (en) Foreign object detection method
JP2006035505A (en) Method and device for inspecting printed matter
JPH1114317A (en) Appearance inspection method and device
JP3753234B2 (en) Defect detection method
JP2841961B2 (en) Visual recognition device
JP3055205B2 (en) Fruit and Vegetable Scratch Detection Device
JP4474006B2 (en) Inspection device
JPS62154076A (en) Picture processing method
JPH0560514A (en) Image processing device for traveling workpiece
JPH05272945A (en) Apparatus for inspecting bent part of lead
JP3412732B2 (en) Defect inspection method and apparatus
JP3339128B2 (en) Defect inspection method and apparatus used for its implementation
JPH0760459B2 (en) Corner detector
JP2000258353A (en) Defect inspection method and device
JP2514727B2 (en) Defect inspection method by visual inspection
JP4410635B2 (en) Image matching degree determination method and apparatus
CN111389765A (en) Product surface quality detection method and device and product sorting system
JPH0552763A (en) Inspecting apparatus of appearance of semiconductor device
JPH0738224B2 (en) Model determination device