JP2008014703A - Image flaw inspection system, image flaw inspection method and program - Google Patents

Image flaw inspection system, image flaw inspection method and program Download PDF

Info

Publication number
JP2008014703A
JP2008014703A JP2006184400A JP2006184400A JP2008014703A JP 2008014703 A JP2008014703 A JP 2008014703A JP 2006184400 A JP2006184400 A JP 2006184400A JP 2006184400 A JP2006184400 A JP 2006184400A JP 2008014703 A JP2008014703 A JP 2008014703A
Authority
JP
Japan
Prior art keywords
image
edge
pixel
margin value
defect inspection
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
JP2006184400A
Other languages
Japanese (ja)
Inventor
Itaru Furukawa
至 古川
Kiyotada Amemori
清忠 雨森
Kazuki Fukui
一希 福井
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP2006184400A priority Critical patent/JP2008014703A/en
Publication of JP2008014703A publication Critical patent/JP2008014703A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique for inspecting another part with high flaw detection sensitivity, while preventing the edge part of an image from being detected as flaw, in an image flaw inspection system. <P>SOLUTION: The image flaw inspection system 40 is constituted so as to set a margin value at each pixel on the basis of the edge image data D5 formed from reference image data D1, and the flaws of the image are inspected by using the margin value different at each pixel. Accordingly, for determining the presence of the flaw, margin values different in the edge part A3 and other regions A1 and A2 are used. As a result, the other parts A1 and A2 can be inspected with high flaw detection sensitivity, while preventing the edge part A3 from being detected as a flaw. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、基準画像と対象画像とを比較して対象画像上の欠陥検査を行う画像欠陥検査技術に関する。   The present invention relates to an image defect inspection technique for performing a defect inspection on a target image by comparing a reference image and the target image.

従来より、印刷工程においては、印刷物上に印刷された画像に欠陥がないか否かの検査が行われる。このような画像欠陥検査を行うときには、まず、CCDスキャナ等の撮像装置により印刷物上の画像を読み取り、検査対象画像を取得する。そして、検査対象画像と基準画像との差分画像を生成し、差分画像の各ピクセルの濃度値と規定のマージン値とを比較することにより、各ピクセルにおける欠陥の有無を判定する。   Conventionally, in a printing process, it is inspected whether an image printed on a printed material is free from defects. When performing such an image defect inspection, first, an image on a printed matter is read by an imaging device such as a CCD scanner to obtain an inspection target image. Then, a difference image between the inspection target image and the reference image is generated, and the density value of each pixel of the difference image is compared with a specified margin value to determine the presence / absence of a defect in each pixel.

印刷物の画像欠陥検査に関する従来の技術は、例えば、特許文献1に開示されている。   For example, Patent Literature 1 discloses a conventional technique related to image defect inspection of printed matter.

特開平10−19796号公報JP-A-10-19796

ところで、印刷物上の画像にエッジ部分(濃度値が大きく切り替わる部分)が存在する場合には、当該画像をCCDスキャナにより読み取ると、エッジ部分に中間濃度帯(エイリアシング)が発生したり、エッジ部分の位置が僅かにずれたりする場合がある。このようなエッジ部分の誤差は、殆どの場合印刷物上では問題がなく、画像欠陥検査において欠陥として検出しないことが望ましい。   By the way, when an edge portion (a portion where the density value changes greatly) exists in the image on the printed matter, when the image is read by a CCD scanner, an intermediate density band (aliasing) occurs in the edge portion, The position may be slightly shifted. In most cases, such an edge error has no problem on the printed matter, and it is desirable not to detect it as a defect in the image defect inspection.

しかしながら、従来の画像欠陥検査においては、マージン値を小さく設定すると、検査対象画像におけるエッジ部分の誤差を大量の欠陥として検出してしまう場合があった。マージン値を大きく設定すれば、このようなエッジ部分の欠陥検出数は低減されるが、そうすると、エッジ部分以外の領域についての欠陥検出力も低下することとなり、望ましくなかった。   However, in the conventional image defect inspection, if the margin value is set to be small, the error of the edge portion in the inspection target image may be detected as a large number of defects. If the margin value is set to be large, the number of detected defects in such an edge portion is reduced. However, if this is done, the defect detecting power for the region other than the edge portion is also lowered, which is not desirable.

本発明は、このような事情に鑑みなされたものであり、画像欠陥検査において、画像のエッジ部分を欠陥として検出してしまうことを防止しつつ、他の部分を高い欠陥検出感度で検査することができる技術を提供することを目的とする。   The present invention has been made in view of such circumstances, and inspecting other parts with high defect detection sensitivity while preventing the edge part of the image from being detected as a defect in the image defect inspection. It aims at providing the technology that can do.

上記課題を解決するため、請求項1に係る発明は、基準画像と対象画像とを比較して前記対象画像上の欠陥検査を行う画像欠陥検査装置であって、前記基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成手段と、前記エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定手段と、前記基準画像と前記対象画像との差分画像を生成する差分画像生成手段と、前記差分画像の各ピクセルの値と当該ピクセルの前記マージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定手段と、を備えることを特徴とする。   In order to solve the above-described problem, the invention according to claim 1 is an image defect inspection apparatus that performs a defect inspection on the target image by comparing the reference image and the target image, and an edge whose density is switched in the reference image. Edge image generating means for generating an edge image by extracting a part; margin value setting means for setting a margin value for each pixel based on the edge image; and generating a difference image between the reference image and the target image Differential image generation means for performing the determination, and defect determination means for determining the presence or absence of a defect for each pixel by comparing the value of each pixel of the difference image with the margin value of the pixel. .

請求項2に係る発明は、請求項1に記載の画像欠陥検査装置であって、前記エッジ画像生成手段は、前記基準画像における前記エッジ部分の濃度変化の程度に応じて、前記エッジ画像における前記エッジ部分の濃度値を多段階に設定することを特徴とする。   The invention according to claim 2 is the image defect inspection apparatus according to claim 1, wherein the edge image generation unit is configured to change the edge image in the edge image according to a degree of density change of the edge portion in the reference image. The density value of the edge portion is set in multiple stages.

請求項3に係る発明は、請求項1または請求項2に記載の画像欠陥検査装置であって、前記エッジ画像生成手段は、前記エッジ画像における前記エッジ部分に太らせ処理を行うことを特徴とする。   The invention according to claim 3 is the image defect inspection apparatus according to claim 1 or 2, wherein the edge image generation means performs a fattening process on the edge portion of the edge image. To do.

請求項4に係る発明は、請求項1から請求項3までのいずれかに記載の画像欠陥検査装置であって、前記マージン値設定手段は、前記エッジ画像に基づいて各ピクセルの補正係数を算出し、標準的なマージン値と前記補正係数とに基づいて各ピクセルの前記マージン値を設定することを特徴とする。   The invention according to claim 4 is the image defect inspection apparatus according to any one of claims 1 to 3, wherein the margin value setting means calculates a correction coefficient for each pixel based on the edge image. The margin value of each pixel is set based on a standard margin value and the correction coefficient.

請求項5に係る発明は、請求項4に記載の画像欠陥検査装置であって、前記マージン値設定手段は、前記エッジ画像の各ピクセルの値と所定のルックアップテーブルとに基づいて、各ピクセルの補正係数を算出することを特徴とする。   The invention according to claim 5 is the image defect inspection apparatus according to claim 4, wherein the margin value setting unit is configured to determine each pixel based on a value of each pixel of the edge image and a predetermined lookup table. The correction coefficient is calculated.

請求項6に係る発明は、基準画像と対象画像とを比較して前記対象画像上の欠陥検査を行う画像欠陥検査方法であって、前記基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成工程と、前記エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定工程と、前記基準画像と前記対象画像との差分画像を生成する差分画像生成工程と、前記差分画像の各ピクセルの値と当該ピクセルの前記マージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定工程と、を含むことを特徴とする。   The invention according to claim 6 is an image defect inspection method for performing a defect inspection on the target image by comparing a reference image with a target image, and extracting an edge portion where the density is switched in the reference image. An edge image generation step for generating an image; a margin value setting step for setting a margin value for each pixel based on the edge image; a difference image generation step for generating a difference image between the reference image and the target image; A defect determination step of comparing each pixel value of the difference image with the margin value of the pixel to determine the presence / absence of a defect for each pixel.

請求項7に係る発明は、基準画像と対象画像とを比較して前記対象画像上の欠陥検査を行うためのプログラムであって、コンピュータに、前記基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成手順と、前記エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定手順と、前記基準画像と前記対象画像との差分画像を生成する差分画像生成手順と、前記差分画像の各ピクセルの値と当該ピクセルの前記マージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定手順と、を実行させることを特徴とする。   The invention according to claim 7 is a program for performing a defect inspection on the target image by comparing the reference image and the target image, and extracting, to a computer, an edge portion whose density is switched in the reference image. An edge image generation procedure for generating an edge image by using a margin value setting procedure for setting a margin value for each pixel based on the edge image, and a difference image generation procedure for generating a difference image between the reference image and the target image And a defect determination procedure for determining the presence / absence of a defect for each pixel by comparing the value of each pixel of the difference image with the margin value of the pixel.

請求項8に係る発明は、請求項7に記載のプログラムであって、前記エッジ画像生成手順は、前記基準画像における前記エッジ部分の濃度変化の程度に応じて、前記エッジ画像における前記エッジ部分の濃度値を多段階に設定することを特徴とする。   The invention according to claim 8 is the program according to claim 7, wherein the edge image generation procedure is performed according to a degree of density change of the edge portion in the reference image. The density value is set in multiple stages.

請求項9に係る発明は、請求項7または請求項8に記載のプログラムであって、前記エッジ画像生成手順は、前記エッジ画像における前記エッジ部分に太らせ処理を行うことを特徴とする。   The invention according to claim 9 is the program according to claim 7 or 8, wherein the edge image generation procedure performs a fattening process on the edge portion of the edge image.

請求項10に係る発明は、請求項7から請求項9までのいずれかに記載のプログラムであって、前記マージン値設定手順は、前記エッジ画像に基づいて各ピクセルの補正係数を算出し、標準的なマージン値と前記補正係数とに基づいて各ピクセルの前記マージン値を設定することを特徴とする。   The invention according to claim 10 is the program according to any one of claims 7 to 9, wherein the margin value setting procedure calculates a correction coefficient of each pixel based on the edge image, and The margin value of each pixel is set based on a typical margin value and the correction coefficient.

請求項11に係る発明は、請求項10に記載のプログラムであって、前記マージン値設定手順は、前記エッジ画像の各ピクセルの値と所定のルックアップテーブルとに基づいて、各ピクセルの補正係数を算出することを特徴とする。   The invention according to claim 11 is the program according to claim 10, wherein the margin value setting procedure is based on a value of each pixel of the edge image and a predetermined lookup table, and a correction coefficient for each pixel. Is calculated.

請求項1〜5に記載の発明によれば、画像欠陥検査装置は、基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成手段と、エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定手段と、基準画像と対象画像との差分画像を生成する差分画像生成手段と、差分画像の各ピクセルの値と当該ピクセルのマージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定手段と、を備える。このため、エッジ部分とその他の領域とに異なるマージン値を設定し、領域ごとに異なるマージン値に基づいて欠陥の有無を判定することができる。したがって、エッジ部分を欠陥として検出してしまうことを防止しつつ、他の部分を高い欠陥検出感度で検査することができる。   According to the first to fifth aspects of the present invention, the image defect inspection apparatus includes an edge image generation unit that generates an edge image by extracting an edge portion whose density is switched in the reference image, and each pixel based on the edge image. By comparing the margin value setting means for setting the margin value, the difference image generation means for generating a difference image between the reference image and the target image, the value of each pixel of the difference image and the margin value of the pixel, Defect determination means for determining the presence or absence of a defect for each pixel. For this reason, different margin values can be set for the edge portion and other regions, and the presence or absence of defects can be determined based on the different margin values for each region. Therefore, it is possible to inspect other portions with high defect detection sensitivity while preventing the edge portion from being detected as a defect.

特に、請求項2に記載の発明によれば、エッジ画像生成手段は、基準画像におけるエッジ部分の濃度変化の程度に応じて、エッジ画像におけるエッジ部分の濃度値を多段階に設定する。このため、基準画像におけるエッジ部分の濃度変化の程度に応じて、最適なマージン値を設定することができる。   In particular, according to the second aspect of the invention, the edge image generation means sets the density value of the edge portion in the edge image in multiple stages according to the degree of density change of the edge portion in the reference image. Therefore, an optimum margin value can be set according to the degree of density change of the edge portion in the reference image.

特に、請求項3に記載の発明によれば、エッジ画像生成手段は、エッジ画像におけるエッジ部分に太らせ処理を行う。このため、エッジ部分に対応するマージン値が適用される領域が拡大する。したがって、エッジ部分に対応するマージン値をエッジ部分に確実に適用することができる。   In particular, according to the invention described in claim 3, the edge image generation means performs the fattening process on the edge portion in the edge image. For this reason, the area to which the margin value corresponding to the edge portion is applied is enlarged. Therefore, the margin value corresponding to the edge portion can be reliably applied to the edge portion.

特に、請求項4に記載の発明によれば、マージン値設定手段は、エッジ画像に基づいて各ピクセルの補正係数を算出し、標準的なマージン値と補正係数とに基づいて各ピクセルのマージン値を設定する。このため、標準的なマージン値を基準として、各ピクセルのマージン値を増減することができる。   In particular, according to the fourth aspect of the present invention, the margin value setting means calculates a correction coefficient for each pixel based on the edge image, and the margin value for each pixel based on the standard margin value and the correction coefficient. Set. For this reason, the margin value of each pixel can be increased or decreased based on the standard margin value.

特に、請求項5に記載の発明によれば、マージン値設定手段は、エッジ画像の各ピクセルの値と所定のルックアップテーブルとに基づいて、各ピクセルの補正係数を算出する。このため、エッジ画像の各ピクセルの値と補正係数との関係を自由に細かく設定することができる。したがって、多様なエッジに応じて最適な補正係数を算出することができる。   In particular, according to the invention described in claim 5, the margin value setting means calculates the correction coefficient of each pixel based on the value of each pixel of the edge image and a predetermined lookup table. For this reason, the relationship between the value of each pixel of the edge image and the correction coefficient can be set freely and finely. Therefore, an optimal correction coefficient can be calculated according to various edges.

また、請求項6に記載の発明によれば、画像欠陥検査方法は、基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成工程と、エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定工程と、基準画像と対象画像との差分画像を生成する差分画像生成工程と、差分画像の各ピクセルの値と当該ピクセルのマージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定工程と、を含む。このため、エッジ部分とその他の領域とに異なるマージン値を設定し、領域ごとに異なるマージン値に基づいて欠陥の有無を判定することができる。したがって、エッジ部分を欠陥として検出してしまうことを防止しつつ、他の部分を高い欠陥検出感度で検査することができる。   According to the invention described in claim 6, the image defect inspection method includes an edge image generation step of generating an edge image by extracting an edge portion whose density is switched in the reference image, and a pixel-by-pixel basis based on the edge image. By comparing the margin value setting step for setting a margin value to the difference image generation step for generating a difference image between the reference image and the target image, and the value of each pixel of the difference image and the margin value of the pixel, A defect determination step for determining the presence or absence of a defect for each pixel. For this reason, different margin values can be set for the edge portion and other regions, and the presence or absence of defects can be determined based on the different margin values for each region. Therefore, it is possible to inspect other portions with high defect detection sensitivity while preventing the edge portion from being detected as a defect.

また、請求項7〜11に記載の発明によれば、プログラムは、コンピュータに、基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成手順と、エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定手順と、基準画像と対象画像との差分画像を生成する差分画像生成手順と、差分画像の各ピクセルの値と当該ピクセルのマージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定手順と、を実行させる。このため、エッジ部分とその他の領域とに異なるマージン値を設定し、領域ごとに異なるマージン値に基づいて欠陥の有無を判定することができる。したがって、エッジ部分を欠陥として検出してしまうことを防止しつつ、他の部分を高い欠陥検出感度で検査することができる。   According to the invention described in claims 7 to 11, the program is based on an edge image generation procedure for generating an edge image by extracting an edge portion whose density is switched in the reference image, and the edge image. The margin value setting procedure for setting a margin value for each pixel, the difference image generation procedure for generating a difference image between the reference image and the target image, and the value of each pixel of the difference image and the margin value of the pixel are compared. Thus, a defect determination procedure for determining the presence or absence of a defect for each pixel is executed. For this reason, different margin values can be set for the edge portion and other regions, and the presence or absence of defects can be determined based on the different margin values for each region. Therefore, it is possible to inspect other portions with high defect detection sensitivity while preventing the edge portion from being detected as a defect.

特に、請求項8に記載の発明によれば、エッジ画像生成手順は、基準画像におけるエッジ部分の濃度変化の程度に応じて、エッジ画像におけるエッジ部分の濃度値を多段階に設定する。このため、基準画像におけるエッジ部分の濃度変化の程度に応じて、最適なマージン値を設定することができる。   In particular, according to the eighth aspect of the invention, the edge image generation procedure sets the density value of the edge part in the edge image in multiple stages according to the degree of density change of the edge part in the reference image. Therefore, an optimum margin value can be set according to the degree of density change of the edge portion in the reference image.

特に、請求項9に記載の発明によれば、エッジ画像生成手順は、エッジ画像におけるエッジ部分に太らせ処理を行う。このため、エッジ部分に対応するマージン値が適用される領域が拡大する。したがって、エッジ部分に対応するマージン値をエッジ部分に確実に適用することができる。   In particular, according to the invention described in claim 9, the edge image generation procedure performs the fattening process on the edge portion in the edge image. For this reason, the area to which the margin value corresponding to the edge portion is applied is enlarged. Therefore, the margin value corresponding to the edge portion can be reliably applied to the edge portion.

特に、請求項10に記載の発明によれば、マージン値設定手順は、エッジ画像に基づいて各ピクセルの補正係数を算出し、標準的なマージン値と補正係数とに基づいて各ピクセルのマージン値を設定する。このため、標準的なマージン値を基準として、各ピクセルのマージン値を増減することができる。   In particular, according to the invention described in claim 10, the margin value setting procedure calculates a correction coefficient for each pixel based on the edge image, and the margin value for each pixel based on the standard margin value and the correction coefficient. Set. For this reason, the margin value of each pixel can be increased or decreased based on the standard margin value.

特に、請求項11に記載の発明によれば、マージン値設定手順は、エッジ画像の各ピクセルの値と所定のルックアップテーブルとに基づいて、各ピクセルの補正係数を算出する。このため、エッジ画像の各ピクセルの値と補正係数との関係を自由に細かく設定することができる。したがって、多様なエッジに応じて最適な補正係数を算出することができる。   In particular, according to the invention described in claim 11, the margin value setting procedure calculates the correction coefficient of each pixel based on the value of each pixel of the edge image and a predetermined look-up table. For this reason, the relationship between the value of each pixel of the edge image and the correction coefficient can be set freely and finely. Therefore, an optimal correction coefficient can be calculated according to various edges.

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

<1.印刷システムの構成>
図1は、本発明の一実施形態に係る画像欠陥検査装置40を備えた印刷システム1の構成を示したブロック図である。印刷システム1は、入力された画像に対して画像処理を行うとともに、画像処理後の画像について印刷版の作成および印刷を行い、更に、作成された印刷物上の画像に対して欠陥検査を行うためのシステムである。図1に示したように、印刷システム1は、画像処理装置10と、製版装置20と、印刷装置30と、画像欠陥検査装置40と、を備えている。
<1. Configuration of printing system>
FIG. 1 is a block diagram illustrating a configuration of a printing system 1 including an image defect inspection apparatus 40 according to an embodiment of the present invention. The printing system 1 performs image processing on the input image, creates and prints a printing plate for the image after image processing, and further performs defect inspection on the image on the created printed matter. System. As shown in FIG. 1, the printing system 1 includes an image processing apparatus 10, a plate making apparatus 20, a printing apparatus 30, and an image defect inspection apparatus 40.

画像処理装置10は、入力された画像データを印刷用の画像データに変換するための装置である。画像処理装置10は、Portable Document FormatやPostScript(Adobe Systems社の登録商標)の形式で記述された画像データを受信し、当該画像データに対してRIP処理等の画像処理を行う。画像データは、出力時の解像度に応じてピクセルに分割され、各ピクセルの濃度値によって濃淡が表現された画像データ(ビットマップデータ)となる。この画像処理により生成された画像データは、以降の印刷処理において出力の基準となる画像データであるため、以下では基準画像データD1と称する。画像処理装置10において生成された基準画像データD1は、通信線51を介して製版装置20へ送信されるとともに、通信線52を介して画像欠陥検査装置40へ送信される。   The image processing apparatus 10 is an apparatus for converting input image data into image data for printing. The image processing apparatus 10 receives image data described in the format of Portable Document Format or PostScript (registered trademark of Adobe Systems), and performs image processing such as RIP processing on the image data. The image data is divided into pixels according to the resolution at the time of output, and becomes image data (bitmap data) in which the density is expressed by the density value of each pixel. Since the image data generated by this image processing is image data that becomes a reference for output in the subsequent printing processing, it is hereinafter referred to as reference image data D1. The reference image data D1 generated in the image processing apparatus 10 is transmitted to the plate making apparatus 20 through the communication line 51 and is transmitted to the image defect inspection apparatus 40 through the communication line 52.

製版装置20は、画像処理装置10から受信した基準画像データD1に基づいて印刷版P1を作成するための装置である。製版装置20は、基準画像データD1を色要素ごとに金属版上に記録することにより、印刷版P1を作成する。例えば、製版装置20は、ドラムや記録ヘッドを備えた構成とされ、感光材が塗布された金属版をドラムの表面に保持して回転させつつ、記録ヘッドから金属版に対してレーザ光線を照射することにより、金属版上に基準画像を記録する。   The plate making apparatus 20 is an apparatus for creating the printing plate P1 based on the reference image data D1 received from the image processing apparatus 10. The plate making apparatus 20 creates the printing plate P1 by recording the reference image data D1 on the metal plate for each color element. For example, the plate making apparatus 20 is configured to include a drum and a recording head, and irradiates the metal plate with a laser beam from the recording head while rotating the metal plate coated with a photosensitive material on the surface of the drum. By doing so, a reference image is recorded on the metal plate.

印刷装置30は、製版装置20において作成された印刷版P1を使用して、印刷用紙上に基準画像を印刷するための装置である。印刷装置30は、例えば、円筒形の版胴に印刷版P1を装着し、印刷用紙を搬送しつつ印刷版P1から印刷用紙へ画像を転写することにより、印刷を行う。印刷の結果として作成された印刷物P2は、画像欠陥検査装置40へ渡される。印刷物P2上に印刷された画像は、画像欠陥検査装置40において検査対象となる画像であるため、以下では検査対象画像Iという。   The printing apparatus 30 is an apparatus for printing a reference image on printing paper using the printing plate P1 created in the plate making apparatus 20. For example, the printing apparatus 30 performs printing by mounting the printing plate P1 on a cylindrical plate cylinder and transferring the image from the printing plate P1 to the printing paper while conveying the printing paper. The printed matter P2 created as a result of printing is delivered to the image defect inspection apparatus 40. Since the image printed on the printed material P2 is an image to be inspected in the image defect inspection apparatus 40, it is hereinafter referred to as an inspection object image I.

画像欠陥検査装置40は、印刷物P2上の検査対象画像Iを読み取り、検査対象画像Iの欠陥検査を行うための装置である。図1に示したように、画像欠陥検査装置40は、画像データ取得部41と、欠陥検査処理部42とを有している。画像データ取得部41は、走査駆動部41aにより印刷物P2を縦横に走査しつつ、印刷物P2上の検査対象画像Iを撮像部41bにより撮像する。撮像部41bは、CCD素子等の撮像素子により検査対象画像Iを読み取り、複数のピクセルにより構成された検査対象画像データD2を取得する。取得された検査対象画像データD2は、撮像部41bから欠陥検査処理部42へ送信される。   The image defect inspection apparatus 40 is an apparatus for reading the inspection target image I on the printed material P2 and performing the defect inspection of the inspection target image I. As shown in FIG. 1, the image defect inspection apparatus 40 includes an image data acquisition unit 41 and a defect inspection processing unit 42. The image data acquisition unit 41 images the inspection target image I on the printed material P2 by the imaging unit 41b while scanning the printed material P2 vertically and horizontally by the scanning drive unit 41a. The imaging unit 41b reads the inspection target image I with an imaging element such as a CCD element, and acquires inspection target image data D2 including a plurality of pixels. The acquired inspection target image data D2 is transmitted from the imaging unit 41b to the defect inspection processing unit 42.

欠陥検査処理部42は、画像処理装置10から受信する基準画像データD1と、撮像部41bから受信する検査対象画像データD2とを比較することにより、検査対象画像データD2の欠陥検査を行う。図2は、欠陥検査処理部42の詳細な構成を示したブロック図である。図2に示したように、欠陥検査処理部42は、エッジ画像生成部42aと、補正係数算出部42bと、マージン値設定部42cと、差分画像生成部42dと、欠陥判定部42eと、を有している。なお、欠陥検査処理部42は、具体的には、CPU、メモリ、ハードディスク等を備えたコンピュータにより構成されており、上記の各部の動作は、コンピュータにインストールされたプログラム42gに基づいてコンピュータが動作することにより実現される。   The defect inspection processing unit 42 performs defect inspection of the inspection target image data D2 by comparing the reference image data D1 received from the image processing apparatus 10 with the inspection target image data D2 received from the imaging unit 41b. FIG. 2 is a block diagram showing a detailed configuration of the defect inspection processing unit 42. As shown in FIG. 2, the defect inspection processing unit 42 includes an edge image generation unit 42a, a correction coefficient calculation unit 42b, a margin value setting unit 42c, a difference image generation unit 42d, and a defect determination unit 42e. Have. The defect inspection processing unit 42 is specifically configured by a computer including a CPU, a memory, a hard disk, and the like. The operation of each unit described above is performed based on a program 42g installed in the computer. It is realized by doing.

エッジ画像生成部42aは、基準画像データD1の中で濃度値が大きく切り替わる部分(エッジ部分)を抽出し、エッジ画像データD5を生成するための処理部である。図3の例を参照しつつ、エッジ画像生成部42aの処理について説明する。図3の基準画像データD1は、濃度値の低い領域A1と濃度値の高い領域A2とを有しており、領域A1,A2の境界は、濃度値が大きく切り替わるエッジ部分A3となっている。このような基準画像データD1がエッジ画像生成部42aに入力されると、エッジ画像生成部42aは、まず、基準画像データD1に対してぼかし処理を行う。すなわち、エッジ画像生成部42aは、基準画像データD1のエッジ部分A3に領域A1,A2の中間濃度帯B1を生成し、ぼかし画像データD3を生成する。   The edge image generation unit 42a is a processing unit for extracting a portion (edge portion) where the density value is largely switched in the reference image data D1 and generating the edge image data D5. The processing of the edge image generation unit 42a will be described with reference to the example of FIG. The reference image data D1 of FIG. 3 has a low density value area A1 and a high density value area A2, and the boundary between the areas A1 and A2 is an edge portion A3 where the density value is largely switched. When such reference image data D1 is input to the edge image generation unit 42a, the edge image generation unit 42a first performs a blurring process on the reference image data D1. That is, the edge image generation unit 42a generates the intermediate density band B1 of the areas A1 and A2 at the edge portion A3 of the reference image data D1, and generates blurred image data D3.

次に、エッジ画像生成部42aは、基準画像データD1とぼかし画像データD3との差分を取ることにより、差分画像データD4を生成する。そして、エッジ画像生成部42aは、差分画像データD4に対して太らせ処理を行うことにより、エッジ画像データD5を生成する。エッジ画像データD5は、複数の多値ピクセルにより構成された画像データであり、エッジ画像データD5におけるエッジ部分の濃度値は、基準画像データD1におけるエッジ部分A3の濃度変化の程度を反映したものとなっている。   Next, the edge image generation unit 42a generates difference image data D4 by taking the difference between the reference image data D1 and the blurred image data D3. Then, the edge image generation unit 42a generates edge image data D5 by performing a fattening process on the difference image data D4. The edge image data D5 is image data composed of a plurality of multi-value pixels, and the density value of the edge portion in the edge image data D5 reflects the degree of density change of the edge portion A3 in the reference image data D1. It has become.

補正係数算出部42bは、画像に応じて標準的なマージン値を補正するための補正係数を算出する処理部である。図4の例を参照しつつ、補正係数算出部42bの処理について説明する。図4に示したように、補正係数算出部42bは、エッジ画像生成部42aにおいて生成されたエッジ画像データD5の各ピクセルの濃度値と、予め設定されたルックアップテーブルLUTとに基づいて、ピクセルごとに補正係数を算出する。この結果、エッジ部分A3には補正係数c1が設定され、他の領域には補正係数c2が設定されるという具合に、領域ごとに異なる補正係数が設定される。なお、ルックアップテーブルLUTは、エッジ画像データD5中の各ピクセルの濃度値を補正係数に変換させるための変換係数の集合として欠陥検査処理部42内に保存されているものである。ルックアップテーブルLUT中の変換係数は、所定の入力部(図示省略)を操作することにより任意に変更することができる。   The correction coefficient calculation unit 42b is a processing unit that calculates a correction coefficient for correcting a standard margin value according to an image. The processing of the correction coefficient calculation unit 42b will be described with reference to the example of FIG. As shown in FIG. 4, the correction coefficient calculation unit 42b performs pixel detection based on the density value of each pixel of the edge image data D5 generated by the edge image generation unit 42a and a preset lookup table LUT. A correction coefficient is calculated for each. As a result, the correction coefficient c1 is set for the edge portion A3, the correction coefficient c2 is set for the other areas, and different correction coefficients are set for each area. The look-up table LUT is stored in the defect inspection processing unit 42 as a set of conversion coefficients for converting the density value of each pixel in the edge image data D5 into a correction coefficient. The conversion coefficient in the lookup table LUT can be arbitrarily changed by operating a predetermined input unit (not shown).

マージン値設定部42cは、補正係数算出部42bにおいて算出された補正係数を使用して標準的なマージン値を補正し、画像固有のマージン値を設定するための処理部である。図5の例を参照しつつ、マージン値設定部42cの処理について説明する。図5に示したように、マージン値設定部42cは、標準的なマージン値と各ピクセルの補正係数とを掛け合わせて、ピクセルごとに固有のマージン値を設定する。図5の例では、エッジ部分A3には、標準的なマージン値m1と補正係数c1とが掛け合わされて、固有のマージン値m2が設定されている。また、他の領域には、標準的なマージン値m1と補正係数c2とが掛け合わされて、固有のマージン値m3が設定されている。エッジ部分A3に設定されたマージン値m2は、基準画像データD1におけるエッジ部分A3の濃度変化の程度を反映したものとなっている。   The margin value setting unit 42c is a processing unit for correcting a standard margin value using the correction coefficient calculated by the correction coefficient calculation unit 42b and setting an image-specific margin value. The processing of the margin value setting unit 42c will be described with reference to the example of FIG. As shown in FIG. 5, the margin value setting unit 42c multiplies the standard margin value and the correction coefficient of each pixel to set a unique margin value for each pixel. In the example of FIG. 5, a specific margin value m2 is set in the edge portion A3 by multiplying the standard margin value m1 and the correction coefficient c1. In other regions, a unique margin value m3 is set by multiplying the standard margin value m1 and the correction coefficient c2. The margin value m2 set in the edge portion A3 reflects the degree of density change of the edge portion A3 in the reference image data D1.

差分画像生成部42dは、基準画像データD1と検査対象画像データD2との差分を取ることにより、差分画像データD6を生成するための処理部である。図6の例を参照しつつ、差分画像生成部42dの処理について説明する。差分画像生成部42dは、基準画像データD1と検査対象画像データD2とをピクセルごとに比較し、ピクセルごとに濃度値の差分の絶対値を算出する。そして、算出された値を各ピクセルの濃度値として差分画像データD6を構成する。図5に示したように、差分画像データD6では、欠陥部分A4,A5やエッジ部分A3に比較的高い濃度値が残ることとなる。   The difference image generation unit 42d is a processing unit for generating difference image data D6 by taking the difference between the reference image data D1 and the inspection target image data D2. The process of the difference image generation unit 42d will be described with reference to the example of FIG. The difference image generation unit 42d compares the reference image data D1 and the inspection target image data D2 for each pixel, and calculates the absolute value of the difference in density value for each pixel. Then, the difference image data D6 is configured with the calculated value as the density value of each pixel. As shown in FIG. 5, in the difference image data D6, relatively high density values remain in the defective portions A4 and A5 and the edge portion A3.

欠陥判定部42eは、マージン値設定部42cにおいて設定されたマージン値と差分画像生成部42dにおいて生成された差分画像データD6とを使用して、ピクセルごとに欠陥の有無を判定するための処理部である。図7の例を参照しつつ、欠陥判定部42eの処理について説明する。欠陥判定部42eは、差分画像データD6の各ピクセルの濃度値と当該ピクセルに対応するマージン値とを比較し、当該ピクセルの濃度値がマージン値以下である場合には、当該ピクセルを正常ピクセルとして判定する。また、欠陥判定部42eは、当該ピクセルの濃度値がマージン値を越えている場合には、当該ピクセルを欠陥ピクセルとして判定する。   The defect determination unit 42e uses the margin value set in the margin value setting unit 42c and the difference image data D6 generated in the difference image generation unit 42d to determine the presence / absence of a defect for each pixel. It is. Processing of the defect determination unit 42e will be described with reference to the example of FIG. The defect determination unit 42e compares the density value of each pixel of the difference image data D6 with the margin value corresponding to the pixel. If the density value of the pixel is equal to or less than the margin value, the defect determination unit 42e sets the pixel as a normal pixel. judge. Further, when the density value of the pixel exceeds the margin value, the defect determination unit 42e determines the pixel as a defective pixel.

ここで、上記のマージン値設定部42cは、エッジ部分A3に特に大きなマージン値を設定している。すなわち、エッジ部分A3の検査感度は部分的に低くなっている。このため、欠陥判定部42eは、エッジ部分A3に残存する濃度値を多数の欠陥として判定することはなく、欠陥部分A4,A5のみを欠陥として判定する。また、上記のエッジ画像生成部42aは、太らせ処理によりエッジ画像データD5のエッジ部分A3を太らせている。このため、マージン値がm2に設定されている領域はエッジ部分A3よりもやや広くなっている。したがって、欠陥判定部42eは、エッジ部分A3にマージン値m2を確実に適用することができる。例えば、差分画像生成部42dは、検査対象画像D2のわずかな位置ずれを許容するために基準画像データD1と検査対象画像データD2とを数ピクセルゆすらせて差分をとる「ゆすらせ処理」を行うことがあるが、このような場合にも、欠陥判定部42eは、エッジ部分A3にマージン値m2を確実に適用することができる。   Here, the margin value setting unit 42c sets a particularly large margin value in the edge portion A3. That is, the inspection sensitivity of the edge portion A3 is partially reduced. For this reason, the defect determination unit 42e does not determine the density value remaining in the edge portion A3 as a large number of defects, and determines only the defect portions A4 and A5 as defects. The edge image generation unit 42a thickens the edge portion A3 of the edge image data D5 by the thickening process. For this reason, the region where the margin value is set to m2 is slightly wider than the edge portion A3. Therefore, the defect determination unit 42e can reliably apply the margin value m2 to the edge portion A3. For example, the difference image generation unit 42d performs a “swing process” in which the reference image data D1 and the inspection target image data D2 are shifted by several pixels to obtain a difference in order to allow a slight positional shift of the inspection target image D2. Even in such a case, the defect determination unit 42e can reliably apply the margin value m2 to the edge portion A3.

<2.印刷システムの処理>
続いて、上記の印刷システム1において、印刷物P2を作成してその画像欠陥検査を行うときの処理の流れについて、図8のフローチャートを参照しつつ説明する。まず、画像データが画像処理装置10に入力されると、画像処理装置10は、入力された画像に対して画像処理を行い、基準画像データD1を生成する(ステップS1)。画像処理装置10は、生成した基準画像データD1を、製版装置20と画像欠陥検査装置40の欠陥検査処理部42とへ送信する。
<2. Processing of printing system>
Next, a processing flow when the printed system P1 creates the printed matter P2 and performs the image defect inspection will be described with reference to the flowchart of FIG. First, when image data is input to the image processing apparatus 10, the image processing apparatus 10 performs image processing on the input image and generates reference image data D1 (step S1). The image processing apparatus 10 transmits the generated reference image data D1 to the plate making apparatus 20 and the defect inspection processing unit 42 of the image defect inspection apparatus 40.

製版装置20は、画像処理装置10から基準画像データD1を受信すると、当該基準画像データD1を金属版上に記録することにより、印刷版P1を作成する(ステップS2)。作成された印刷版P1は、印刷装置30へ搬送される。そして、印刷装置30は、印刷版P1を使用して印刷用紙上に印刷を行い、印刷物P2を作成する(ステップS3)。   When receiving the reference image data D1 from the image processing apparatus 10, the plate making apparatus 20 creates the printing plate P1 by recording the reference image data D1 on the metal plate (step S2). The created printing plate P1 is conveyed to the printing apparatus 30. Then, the printing apparatus 30 performs printing on the printing paper using the printing plate P1, and creates a printed material P2 (step S3).

印刷装置30において作成された印刷物P2は、画像欠陥検査装置40へ搬送され、画像欠陥検査装置40の画像データ取得部41にセットされる。画像データ取得部41は、走査駆動部41aにより印刷物P2を走査しつつ、印刷物P2上の検査対象画像Iを撮像することにより、検査対象画像データD2を取得する(ステップS4)。検査対象画像データD2は、画像データ取得部41から欠陥検査処理部42へ送信される。   The printed matter P2 created in the printing apparatus 30 is conveyed to the image defect inspection apparatus 40 and set in the image data acquisition unit 41 of the image defect inspection apparatus 40. The image data acquisition unit 41 acquires the inspection target image data D2 by capturing the inspection target image I on the printed matter P2 while scanning the printed matter P2 by the scan driving unit 41a (step S4). The inspection target image data D2 is transmitted from the image data acquisition unit 41 to the defect inspection processing unit 42.

欠陥検査処理部42は、基準画像データD1と検査対象画像データD2との色空間やサイズが異なる場合には、これらを統一する。そして、基準画像データD1と検査対象画像データD2とに基づいて検査対象画像データD2の欠陥検査を行う。まず、エッジ画像生成部42aが、基準画像データD1中のエッジ部分を抽出することにより、エッジ画像データD5を生成する(ステップS5)。エッジ画像データD5は、ぼかし処理により生成されたぼかし画像データD3と基準画像データD1との差分をとり、得られた差分画像データD4に太らせ処理を行うことにより生成される。   If the color space and size of the reference image data D1 and the inspection target image data D2 are different, the defect inspection processing unit 42 unifies them. Then, defect inspection of the inspection target image data D2 is performed based on the reference image data D1 and the inspection target image data D2. First, the edge image generation unit 42a generates edge image data D5 by extracting an edge portion in the reference image data D1 (step S5). The edge image data D5 is generated by taking a difference between the blurred image data D3 generated by the blurring process and the reference image data D1, and performing a fattening process on the obtained difference image data D4.

次に、補正係数算出部42bは、ステップS5において生成されたエッジ画像データD5に基づいて、ピクセルごとに補正係数を算出する(ステップS6)。具体的には、エッジ画像データD5の各ピクセルの値と所定のルックアップテーブルLUTとに基づいて、各ピクセルの補正係数が設定される。そして、マージン値設定部42cは、ステップS6において算出された補正係数と、標準的なマージン値m1とを掛け合わせることにより、ピクセルごとに固有のマージン値を設定する(ステップS7)。   Next, the correction coefficient calculation unit 42b calculates a correction coefficient for each pixel based on the edge image data D5 generated in step S5 (step S6). Specifically, the correction coefficient of each pixel is set based on the value of each pixel of the edge image data D5 and a predetermined lookup table LUT. Then, the margin value setting unit 42c sets a unique margin value for each pixel by multiplying the correction coefficient calculated in step S6 by the standard margin value m1 (step S7).

一方、差分画像生成部42dは、基準画像データD1と検査対象画像データD2との差分をとることにより、差分画像データD6を生成する(ステップS8)。そして、欠陥判定部42eは、ステップS7において設定されたマージン値とステップS8において生成された差分画像データD6とを使用して、ピクセルごとに欠陥の有無を判定する(ステップS9)。すなわち、欠陥判定部42eは、差分画像データD6の各ピクセルの濃度値と当該ピクセルに対応するマージン値とを比較し、当該ピクセルの濃度値がマージン値以下である場合には、当該ピクセルを正常ピクセルとして判定する。また、当該ピクセルの濃度値がマージン値を越えている場合には、当該ピクセルを欠陥ピクセルとして判定する。ステップS9の欠陥判定処理が終了すると、欠陥検査処理部42は、検出された欠陥ピクセルの情報を表示部42fに表示する。以上をもって、印刷システム1における一連の処理が終了する。   On the other hand, the difference image generation unit 42d generates difference image data D6 by taking the difference between the reference image data D1 and the inspection target image data D2 (step S8). Then, the defect determination unit 42e determines the presence / absence of a defect for each pixel using the margin value set in step S7 and the difference image data D6 generated in step S8 (step S9). That is, the defect determination unit 42e compares the density value of each pixel of the difference image data D6 with the margin value corresponding to the pixel. If the density value of the pixel is equal to or less than the margin value, the defect determination unit 42e Judge as pixel. If the density value of the pixel exceeds the margin value, the pixel is determined as a defective pixel. When the defect determination process in step S9 is completed, the defect inspection processing unit 42 displays information on the detected defective pixels on the display unit 42f. Thus, a series of processes in the printing system 1 is completed.

このように、本実施形態の画像欠陥検査装置40は、基準画像データD1から生成されたエッジ画像データD5に基づいて、ピクセル毎にマージン値を設定する。そして、ピクセル毎に異なるマージン値を使用して画像欠陥検査を行う。このため、欠陥の有無を判定する際には、エッジ部分A3と他の領域A1,A2とで異なるマージン値が使用される。したがって、エッジ部分A3を欠陥として検出してしまうことを防止しつつ、他の部分A1,A2を高い欠陥検出感度で検査することができる。   As described above, the image defect inspection apparatus 40 according to the present embodiment sets a margin value for each pixel based on the edge image data D5 generated from the reference image data D1. Then, image defect inspection is performed using a different margin value for each pixel. For this reason, when determining the presence or absence of a defect, different margin values are used for the edge portion A3 and the other regions A1 and A2. Therefore, it is possible to inspect the other portions A1 and A2 with high defect detection sensitivity while preventing the edge portion A3 from being detected as a defect.

<3.変形例>
以上、本発明の一実施形態について説明したが、本発明は上記の例に限定されるものではない。例えば、上記の例では、印刷物P2上の画像を撮像して取得した画像データを検査対象画像データD2としていたが、検査対象画像データD2は、印刷前のデジタルデータであってもよい。特に、印刷版を使用することなくインクジェット等により直接印刷用紙上に画像を印刷するような場合には、印刷前の画像データを検査対象画像データD2とし、基準画像データD1と比較することによって検査対象画像データD2上の欠陥を検出するようにしてもよい。
<3. Modification>
As mentioned above, although one Embodiment of this invention was described, this invention is not limited to said example. For example, in the above example, the image data acquired by capturing an image on the printed matter P2 is used as the inspection target image data D2. However, the inspection target image data D2 may be digital data before printing. In particular, when an image is printed directly on printing paper by using an ink jet or the like without using a printing plate, the image data before printing is set as inspection object image data D2, and the inspection is performed by comparing with the reference image data D1. A defect on the target image data D2 may be detected.

また、上記のエッジ画像生成部42aでは、図3のように、基準画像データD1にぼかし処理と太らせ処理とを行うことによりエッジ画像データD5を生成していたが、他の方法によりエッジ画像データD5を生成してもよい。図9は、他の方法によるエッジ画像データ生成処理の例を示した図である。図9の例では、エッジ画像生成部42aは、基準画像データD1に対してMax処理(各画素の濃度値を周囲N×N画素の最大濃度値に置き換える処理)を行いMax画像データD7を生成し、また、基準画像データD1に対してMin処理(各画素の濃度値を周囲N×N画素の最小濃度値に置き換える処理)を行いMin画像データD8を生成する。そして、Max画像データD7とMin画像データD8との差分を取ることにより、エッジ画像データD5を生成する。また、更に他の方法として、エッジ画像生成部42aは、基準画像データD1に対して直接ラプラシアンフィルタ等によるフィルタ処理を行い、エッジ画像データD5を生成してもよい。   In the edge image generation unit 42a, the edge image data D5 is generated by performing blurring processing and fattening processing on the reference image data D1, as shown in FIG. Data D5 may be generated. FIG. 9 is a diagram showing an example of edge image data generation processing by another method. In the example of FIG. 9, the edge image generation unit 42a generates Max image data D7 by performing Max processing (processing for replacing the density value of each pixel with the maximum density value of surrounding N × N pixels) on the reference image data D1. Further, Min processing (processing for replacing the density value of each pixel with the minimum density value of surrounding N × N pixels) is performed on the reference image data D1, and Min image data D8 is generated. Then, edge image data D5 is generated by taking a difference between the Max image data D7 and the Min image data D8. As still another method, the edge image generation unit 42a may perform filter processing using a Laplacian filter or the like directly on the reference image data D1 to generate edge image data D5.

また、上記の補正係数算出部42bは、ルックアップテーブルLUTを利用してピクセルごとの補正係数を算出していたが、所定の関数によってエッジ画像データD5の各ピクセルの濃度値を補正係数に変換してもよい。ただし、ルックアップテーブルを利用すれば、濃度値と補正係数との関係を自由に細かく規定することができる。したがって、多様なエッジ応じて最適な補正係数を算出することができる。   The correction coefficient calculation unit 42b calculates the correction coefficient for each pixel using the lookup table LUT, but converts the density value of each pixel of the edge image data D5 into a correction coefficient using a predetermined function. May be. However, if the lookup table is used, the relationship between the density value and the correction coefficient can be freely defined in detail. Therefore, an optimal correction coefficient can be calculated according to various edges.

また、上記の例では、各ピクセルについて補正係数を一旦算出し、その補正係数と標準的なマージン値とを掛け合わせることにより、各ピクセルのマージン値を算出していたが、エッジ画像データD5の各ピクセルの濃度値から直接各ピクセルのマージン値を算出してもよい。この場合には、エッジ画像データD5の各ピクセルの濃度値とマージン値との間の変換係数をルックアップテーブルLUT内に設定しておけばよい。   In the above example, the correction coefficient is calculated once for each pixel, and the margin value of each pixel is calculated by multiplying the correction coefficient by a standard margin value. However, the edge image data D5 The margin value of each pixel may be calculated directly from the density value of each pixel. In this case, a conversion coefficient between the density value and the margin value of each pixel of the edge image data D5 may be set in the lookup table LUT.

画像欠陥検査装置を備えた印刷システムの構成を示したブロック図である。It is the block diagram which showed the structure of the printing system provided with the image defect inspection apparatus. 欠陥検査処理部の詳細な構成を示したブロック図である。It is the block diagram which showed the detailed structure of the defect inspection process part. エッジ画像生成部による処理の例を示した図である。It is the figure which showed the example of the process by an edge image generation part. 補正係数算出部による処理の例を示した図である。It is the figure which showed the example of the process by the correction coefficient calculation part. マージン値設定部による処理の例を示した図である。It is the figure which showed the example of the process by a margin value setting part. 差分画像生成部による処理の例を示した図である。It is the figure which showed the example of the process by a difference image generation part. 欠陥判定部による処理の例を示した図である。It is the figure which showed the example of the process by a defect determination part. 印刷システムにおける処理の流れを示したフローチャートである。6 is a flowchart showing a flow of processing in the printing system. 変形例に係るエッジ画像生成部の処理の例を示した図である。It is the figure which showed the example of the process of the edge image generation part which concerns on a modification.

符号の説明Explanation of symbols

1 印刷システム
10 画像処理装置
20 製版装置
30 印刷装置
40 欠陥検査装置
41 画像データ取得部
42 欠陥検査処理部
42a エッジ画像生成部
42b 補正係数算出部
42c マージン値設定部
42d 差分画像生成部
42e 欠陥判定部
42f 表示部
42g プログラム
A3 エッジ部分
A4,A5 欠陥部分
D1 基準画像データ
D2 検査対象画像データ
D3 ぼかし画像データ
D4 差分画像データ
D5 エッジ画像データ
D6 差分画像データ
I 検査対象画像
LUT ルックアップテーブル
P1 印刷版
P2 印刷物
c1,c2 補正係数
m1,m2,m3 マージン値

DESCRIPTION OF SYMBOLS 1 Printing system 10 Image processing apparatus 20 Plate making apparatus 30 Printing apparatus 40 Defect inspection apparatus 41 Image data acquisition part 42 Defect inspection process part 42a Edge image generation part 42b Correction coefficient calculation part 42c Margin value setting part 42d Difference image generation part 42e Defect determination Part 42f display part 42g program A3 edge part A4, A5 defective part D1 reference image data D2 inspection object image data D3 blurred image data D4 difference image data D5 edge image data D6 difference image data I inspection object image LUT lookup table P1 printing plate P2 printed material c1, c2 Correction coefficient m1, m2, m3 Margin value

Claims (11)

基準画像と対象画像とを比較して前記対象画像上の欠陥検査を行う画像欠陥検査装置であって、
前記基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成手段と、
前記エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定手段と、
前記基準画像と前記対象画像との差分画像を生成する差分画像生成手段と、
前記差分画像の各ピクセルの値と当該ピクセルの前記マージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定手段と、
を備えることを特徴とする画像欠陥検査装置。
An image defect inspection apparatus that performs a defect inspection on the target image by comparing a reference image and the target image,
Edge image generation means for generating an edge image by extracting an edge portion whose density is switched in the reference image;
Margin value setting means for setting a margin value for each pixel based on the edge image;
Difference image generation means for generating a difference image between the reference image and the target image;
Defect determination means for determining the presence or absence of a defect for each pixel by comparing the value of each pixel of the difference image with the margin value of the pixel;
An image defect inspection apparatus comprising:
請求項1に記載の画像欠陥検査装置であって、
前記エッジ画像生成手段は、前記基準画像における前記エッジ部分の濃度変化の程度に応じて、前記エッジ画像における前記エッジ部分の濃度値を多段階に設定することを特徴とする画像欠陥検査装置。
The image defect inspection apparatus according to claim 1,
The image defect inspection apparatus, wherein the edge image generation means sets the density value of the edge portion in the edge image in multiple stages according to the degree of density change of the edge portion in the reference image.
請求項1または請求項2に記載の画像欠陥検査装置であって、
前記エッジ画像生成手段は、前記エッジ画像における前記エッジ部分に太らせ処理を行うことを特徴とする画像欠陥検査装置。
The image defect inspection apparatus according to claim 1 or 2,
The image defect inspection apparatus, wherein the edge image generation means performs a fattening process on the edge portion of the edge image.
請求項1から請求項3までのいずれかに記載の画像欠陥検査装置であって、
前記マージン値設定手段は、前記エッジ画像に基づいて各ピクセルの補正係数を算出し、標準的なマージン値と前記補正係数とに基づいて各ピクセルの前記マージン値を設定することを特徴とする画像欠陥検査装置。
An image defect inspection apparatus according to any one of claims 1 to 3,
The margin value setting means calculates a correction coefficient for each pixel based on the edge image, and sets the margin value for each pixel based on a standard margin value and the correction coefficient. Defect inspection equipment.
請求項4に記載の画像欠陥検査装置であって、
前記マージン値設定手段は、前記エッジ画像の各ピクセルの値と所定のルックアップテーブルとに基づいて、各ピクセルの補正係数を算出することを特徴とする画像欠陥検査装置。
The image defect inspection apparatus according to claim 4,
The margin value setting means calculates the correction coefficient of each pixel based on the value of each pixel of the edge image and a predetermined look-up table.
基準画像と対象画像とを比較して前記対象画像上の欠陥検査を行う画像欠陥検査方法であって、
前記基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成工程と、
前記エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定工程と、
前記基準画像と前記対象画像との差分画像を生成する差分画像生成工程と、
前記差分画像の各ピクセルの値と当該ピクセルの前記マージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定工程と、
を含むことを特徴とする画像欠陥検査方法。
An image defect inspection method for performing a defect inspection on the target image by comparing a reference image with the target image,
An edge image generation step of generating an edge image by extracting an edge portion whose density is switched in the reference image;
A margin value setting step for setting a margin value for each pixel based on the edge image;
A difference image generation step for generating a difference image between the reference image and the target image;
A defect determination step of determining the presence or absence of a defect for each pixel by comparing the value of each pixel of the difference image with the margin value of the pixel;
An image defect inspection method comprising:
基準画像と対象画像とを比較して前記対象画像上の欠陥検査を行うためのプログラムであって、
コンピュータに、
前記基準画像において濃度が切り替わるエッジ部分を抽出することによりエッジ画像を生成するエッジ画像生成手順と、
前記エッジ画像に基づいてピクセルごとにマージン値を設定するマージン値設定手順と、
前記基準画像と前記対象画像との差分画像を生成する差分画像生成手順と、
前記差分画像の各ピクセルの値と当該ピクセルの前記マージン値とを比較することにより、ピクセルごとに欠陥の有無を判定する欠陥判定手順と、
を実行させることを特徴とするプログラム。
A program for performing a defect inspection on the target image by comparing a reference image and the target image,
On the computer,
An edge image generation procedure for generating an edge image by extracting an edge portion whose density is switched in the reference image;
A margin value setting procedure for setting a margin value for each pixel based on the edge image;
A difference image generation procedure for generating a difference image between the reference image and the target image;
A defect determination procedure for determining the presence or absence of a defect for each pixel by comparing the value of each pixel of the difference image with the margin value of the pixel;
A program characterized in that is executed.
請求項7に記載のプログラムであって、
前記エッジ画像生成手順は、前記基準画像における前記エッジ部分の濃度変化の程度に応じて、前記エッジ画像における前記エッジ部分の濃度値を多段階に設定することを特徴とするプログラム。
The program according to claim 7,
The edge image generation procedure sets the density value of the edge part in the edge image in multiple stages according to the degree of density change of the edge part in the reference image.
請求項7または請求項8に記載のプログラムであって、
前記エッジ画像生成手順は、前記エッジ画像における前記エッジ部分に太らせ処理を行うことを特徴とするプログラム。
A program according to claim 7 or claim 8, wherein
The edge image generation procedure performs a fattening process on the edge portion of the edge image.
請求項7から請求項9までのいずれかに記載のプログラムであって、
前記マージン値設定手順は、前記エッジ画像に基づいて各ピクセルの補正係数を算出し、標準的なマージン値と前記補正係数とに基づいて各ピクセルの前記マージン値を設定することを特徴とするプログラム。
A program according to any one of claims 7 to 9,
The margin value setting procedure calculates a correction coefficient for each pixel based on the edge image, and sets the margin value for each pixel based on a standard margin value and the correction coefficient. .
請求項10に記載のプログラムであって、
前記マージン値設定手順は、前記エッジ画像の各ピクセルの値と所定のルックアップテーブルとに基づいて、各ピクセルの補正係数を算出することを特徴とするプログラム。

The program according to claim 10,
The margin value setting procedure calculates a correction coefficient of each pixel based on a value of each pixel of the edge image and a predetermined lookup table.

JP2006184400A 2006-07-04 2006-07-04 Image flaw inspection system, image flaw inspection method and program Pending JP2008014703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006184400A JP2008014703A (en) 2006-07-04 2006-07-04 Image flaw inspection system, image flaw inspection method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006184400A JP2008014703A (en) 2006-07-04 2006-07-04 Image flaw inspection system, image flaw inspection method and program

Publications (1)

Publication Number Publication Date
JP2008014703A true JP2008014703A (en) 2008-01-24

Family

ID=39071864

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006184400A Pending JP2008014703A (en) 2006-07-04 2006-07-04 Image flaw inspection system, image flaw inspection method and program

Country Status (1)

Country Link
JP (1) JP2008014703A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014055852A (en) * 2012-09-12 2014-03-27 Ricoh Co Ltd Image inspection apparatus, image processing system, and image inspection method
JP2017090444A (en) * 2015-11-09 2017-05-25 株式会社リコー Inspection device, method for inspection, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014055852A (en) * 2012-09-12 2014-03-27 Ricoh Co Ltd Image inspection apparatus, image processing system, and image inspection method
JP2017090444A (en) * 2015-11-09 2017-05-25 株式会社リコー Inspection device, method for inspection, and program

Similar Documents

Publication Publication Date Title
JP4055385B2 (en) Image inspection device
US10726556B2 (en) Inspection apparatus and inspection program
JP5521440B2 (en) Image inspection apparatus, image inspection method, program, and recording medium
JP2011146033A (en) Image output test system, image test device, and program
JP2017013372A (en) Image processing device and image processing method
JP2007226616A (en) Printed matter inspection device, printed matter inspection method, printer, method of printing, program, record medium
JP2006297739A (en) Printing system
JP2008014703A (en) Image flaw inspection system, image flaw inspection method and program
JP2021158583A (en) Image processing apparatus, image processing method, and program
JP3204876B2 (en) Print inspection equipment
JP4507523B2 (en) Printed matter inspection apparatus and printed matter inspection program
JP2007017214A (en) Inspection device and inspection method
JP2004246110A (en) Plate inspection apparatus, printing system, method for inspecting printed data on plate, and program
JP4400481B2 (en) Image processing device
JP2007088650A (en) Image processing device and image processing method
JP4585109B2 (en) Steel plate surface flaw detection device, detection method, and storage medium
JP2004297691A (en) Image reader and image processor
JP2004098489A (en) Image output apparatus
JP2006058155A (en) Printing tester
JP2011033391A (en) Printed matter inspection apparatus, printed matter inspection system, method of inspecting printed matter and printed matter inspection program
JP4392757B2 (en) Image processing device
JP4862686B2 (en) Inspection program, inspection system, and inspection method
JP2004279445A (en) Print system, attribute information generating device, rasterizing device, plate inspection apparatus, plate inspection method of print data, and program
JP2005144875A (en) Printed image color reproduction system
JP3317403B2 (en) Image data inspection method, plate inspection method, computer readable recording medium recording image data inspection program, and computer readable recording medium recording plate inspection program