JP2008304312A - Image processing program and image processor - Google Patents

Image processing program and image processor Download PDF

Info

Publication number
JP2008304312A
JP2008304312A JP2007151558A JP2007151558A JP2008304312A JP 2008304312 A JP2008304312 A JP 2008304312A JP 2007151558 A JP2007151558 A JP 2007151558A JP 2007151558 A JP2007151558 A JP 2007151558A JP 2008304312 A JP2008304312 A JP 2008304312A
Authority
JP
Japan
Prior art keywords
profile
defect
width parameter
low frequency
defect score
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
JP2007151558A
Other languages
Japanese (ja)
Inventor
Chie Terui
千絵 照井
Jun Abe
純 安部
Yoshihiko Sakai
義彦 酒井
Takeshi Saito
剛 齋藤
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2007151558A priority Critical patent/JP2008304312A/en
Publication of JP2008304312A publication Critical patent/JP2008304312A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To detect a stripe-like flaw in a waveform noise regardless of the thickness of a stripe at a high speed with high precision in performing the evaluation of a flaw. <P>SOLUTION: An image processing program is characterized in that the profile calculation step (steps S1-S2) for obtaining the profile in the imaging of an object and the low-frequency removing step (step S3) for removing a low-frequency component from the profile according to a noise removing width parameter are executed by a computer. An image processor is equipped with a profile calculation part for obtaining the profile in the imaging of the object and a low frequency removing part for removing the low-frequency component from the profile obtained in the profile calculation part according to the noise removing width parameter. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像処理プログラムおよび画像処理装置に関する。   The present invention relates to an image processing program and an image processing apparatus.

所定の媒体にトナー像等の画像を形成した際の筋状欠陥を検査する従来の検査方法では、一般的に、対象物の画像から欠陥部分を強調するためにフィルタを適用する。通常のフィルタを用いて精度良く筋状欠陥を抽出するためには、筋の幅に適合するフィルタを適用する必要がある。   In a conventional inspection method for inspecting a streak defect when an image such as a toner image is formed on a predetermined medium, a filter is generally applied to emphasize a defective portion from an image of an object. In order to accurately extract a streak defect using a normal filter, it is necessary to apply a filter suitable for the width of the streak.

しかし、対象物に発生する筋の幅を検査前に知ることはできない。したがって、十分な性能を得ることができなかった。これを解決するために、特許文献1が提案されている。この方法では、一次微分フィルタを用いることで筋幅に対応している。   However, it is not possible to know the width of the stripe generated in the object before the examination. Therefore, sufficient performance could not be obtained. In order to solve this, Patent Document 1 is proposed. In this method, the line width is dealt with by using a first-order differential filter.

特開2006−189293号公報JP 2006-189293 A

本発明は、対象物を撮像してノイズを除去し筋状欠陥の評価を行うにあたり、波形ノイズ中の筋状欠陥を、筋の太さによらず、高速かつ高精度に検出しようとするものである。   The present invention is intended to detect a streak defect in waveform noise at a high speed and with high accuracy regardless of the thickness of the streak defect when the object is imaged to remove noise and evaluate the streak defect. It is.

本願請求項1に係る発明は、対象物の撮像におけるプロファイルを得るプロファイル算出ステップと、前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去ステップとをコンピュータによって実行させることを特徴とする画像処理プログラムである。   The invention according to claim 1 of the present application causes a computer to execute a profile calculation step for obtaining a profile in imaging of an object and a low frequency removal step for removing low frequency components from the profile according to a noise removal width parameter. Is an image processing program.

また、本願請求項2に係る発明は、対象物の撮像におけるプロファイルを得るプロファイル算出ステップと、前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去ステップと、欠陥スコア算出幅パラメータに応じて欠陥スコアプロファイルを算出する欠陥スコア算出ステップとをコンピュータによって実行させることを特徴とする画像処理プログラムである。   The invention according to claim 2 of the present application is a profile calculation step for obtaining a profile in imaging of an object, a low frequency removal step for removing low frequency components from the profile according to a noise removal width parameter, and a defect score calculation width parameter. And a defect score calculating step of calculating a defect score profile according to the image processing program.

また、本願請求項3に係る発明は、対象物の撮像におけるプロファイルを得るプロファイル算出ステップと、前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去ステップと、欠陥スコア算出幅パラメータに応じて欠陥スコアプロファイルを算出する欠陥スコア算出ステップと、前記欠陥スコアプロファイルから欠陥位置を決定する欠陥位置検出ステップとをコンピュータによって実行させることを特徴とする画像処理プログラムである。   Further, the invention according to claim 3 of the present application is a profile calculation step for obtaining a profile in imaging of an object, a low frequency removal step for removing low frequency components from the profile according to a noise removal width parameter, and a defect score calculation width parameter. A defect score calculation step for calculating a defect score profile in accordance with the defect score detection step and a defect position detection step for determining a defect position from the defect score profile are executed by a computer.

また、本願請求項4に係る発明は、対象物の撮像におけるプロファイルを得るプロファイル算出ステップと、前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去ステップと、欠陥スコア算出幅パラメータに応じて欠陥スコアプロファイルを算出する欠陥スコア算出ステップと、前記欠陥スコアプロファイルから欠陥位置を決定する欠陥位置検出ステップと、検出した欠陥位置における欠陥の評価値を算出する評価値算出ステップとをコンピュータによって実行させることを特徴とする画像処理プログラムである。   Further, the invention according to claim 4 of the present application is a profile calculation step for obtaining a profile in imaging of an object, a low frequency removal step for removing low frequency components from the profile according to a noise removal width parameter, and a defect score calculation width parameter. A defect score calculating step for calculating a defect score profile according to the defect score, a defect position detecting step for determining a defect position from the defect score profile, and an evaluation value calculating step for calculating an evaluation value of the defect at the detected defect position This is an image processing program that is executed by.

また、本願請求項5に係る発明は、前記低周波除去ステップにおいて、前記対象物の撮像におけるプロファイルの信号値からノイズ除去幅パラメータにおける近傍平均を減算することにより低周波成分を除去することを特徴とする請求項1から4のうちいずれか1項に記載の画像処理プログラムである。   The invention according to claim 5 of the present application is characterized in that, in the low frequency removal step, a low frequency component is removed by subtracting a neighborhood average in a noise removal width parameter from a signal value of a profile in imaging of the object. The image processing program according to any one of claims 1 to 4.

また、本願請求項6に係る発明は、前記欠陥スコア算出ステップにおいて、低周波成分除去後のプロファイルの着目位置の信号値から、前記欠陥スコア算出幅パラメータにおける近傍の平均を減算し、標準偏差で除算することで欠陥スコアを算出することを特徴とする請求項1から4のうちいずれか1項に記載の画像処理プログラムである。   Further, in the invention according to claim 6 of the present application, in the defect score calculation step, the average of the neighborhood in the defect score calculation width parameter is subtracted from the signal value of the target position of the profile after removal of the low frequency component, and the standard deviation is obtained. The image processing program according to any one of claims 1 to 4, wherein the defect score is calculated by division.

また、本願請求項7に係る発明は、前記欠陥位置検出ステップにおいて、前記欠陥スコアプロファイルの閾値処理によって欠陥位置を決定することを特徴とする請求項3または4記載の画像処理プログラムである。   The invention according to claim 7 of the present application is the image processing program according to claim 3 or 4, wherein the defect position is determined by threshold processing of the defect score profile in the defect position detection step.

また、本願請求項8に係る発明は、前記欠陥スコア算出ステップにおいて、前記ノイズ除去幅パラメータに応じて前記欠陥スコア幅パラメータを決定することを特徴とする請求項2から4のうちいずれか1項に記載の画像処理プログラムである。   The invention according to claim 8 of the present application is characterized in that, in the defect score calculation step, the defect score width parameter is determined according to the noise removal width parameter. The image processing program described in the above.

また、本願請求項9に係る発明は、前記欠陥スコア算出ステップにおいて、前記欠陥スコア幅パラメータとして前記ノイズ除去幅パラメータに所定の係数を掛けたものを用いることを特徴とする請求項2から4のうちいずれか1項に記載の画像処理プログラムである。   The invention according to claim 9 is characterized in that, in the defect score calculation step, the defect score width parameter obtained by multiplying the noise removal width parameter by a predetermined coefficient is used. The image processing program according to any one of the above.

また、本願請求項10に係る発明は、前記欠陥スコア算出ステップにおいて、前記欠陥スコア幅パラメータとして前記ノイズ除去幅パラメータ以下の値を用いることを特徴とする請求項2から4のうちいずれか1項に記載の画像処理プログラムである。   In the invention according to claim 10 of the present application, in the defect score calculation step, a value equal to or smaller than the noise removal width parameter is used as the defect score width parameter. The image processing program described in the above.

また、本願請求項11に係る発明は、前記欠陥位置検出ステップにおいて、複数の前記ノイズ除去幅パラメータと前記欠陥スコア幅パラメータの組み合わせによる複数の欠陥スコアから、前記欠陥位置を検出することを特徴とする請求項3または4記載の画像処理プログラムである。   The invention according to claim 11 is characterized in that, in the defect position detecting step, the defect position is detected from a plurality of defect scores by a combination of the plurality of noise removal width parameters and the defect score width parameters. The image processing program according to claim 3 or 4.

また、本願請求項12に係る発明は、前記評価値算出ステップにおいて、前記欠陥位置の欠陥スコアまたは低周波除去プロファイルから評価値を算出することを特徴とする請求項4記載の画像処理プログラムである。   The invention according to claim 12 of the present application is the image processing program according to claim 4, wherein, in the evaluation value calculating step, an evaluation value is calculated from a defect score or a low frequency removal profile at the defect position. .

また、本願請求項13に係る発明は、対象物の撮像におけるプロファイルを得るプロファイル算出部と、前記プロファイル算出部で得た前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去部とを備えることを特徴とする画像処理装置である。   The invention according to claim 13 of the present application is a profile calculation unit that obtains a profile in imaging of an object, and a low frequency removal unit that removes low frequency components from the profile obtained by the profile calculation unit according to a noise removal width parameter. And an image processing apparatus.

また、本願請求項14に係る発明は、対象物の撮像におけるプロファイルを得るプロファイル算出部と、前記プロファイル算出部で得た前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去部と、前記低周波除去部で低周波成分を除去したプロファイルについて欠陥スコア算出幅パラメータに応じた欠陥スコアプロファイルを算出する欠陥スコア算出部とを備えることを特徴とする画像処理装置である。   The invention according to claim 14 is a profile calculation unit that obtains a profile in imaging of an object, and a low frequency removal unit that removes a low frequency component from the profile obtained by the profile calculation unit according to a noise removal width parameter. And a defect score calculation unit that calculates a defect score profile corresponding to a defect score calculation width parameter for the profile from which the low frequency component has been removed by the low frequency removal unit.

また、本願請求項15に係る発明は、対象物の撮像におけるプロファイルを得るプロファイル算出部と、前記プロファイル算出部で得た前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去部と、前記低周波除去部で低周波成分を除去したプロファイルについて欠陥スコア算出幅パラメータに応じた欠陥スコアプロファイルを算出する欠陥スコア算出部と、前記欠陥スコア算出部で算出した前記欠陥スコアプロファイルから欠陥位置を決定する欠陥位置検出部とを備えることを特徴とする画像処理装置である。   Further, the invention according to claim 15 of the present application is a profile calculation unit that obtains a profile in imaging of an object, and a low frequency removal unit that removes low frequency components from the profile obtained by the profile calculation unit according to a noise removal width parameter. A defect score calculation unit that calculates a defect score profile corresponding to a defect score calculation width parameter for a profile from which a low frequency component has been removed by the low frequency removal unit, and a defect from the defect score profile calculated by the defect score calculation unit An image processing apparatus comprising: a defect position detection unit that determines a position.

また、本願請求項16に係る発明は、対象物の撮像におけるプロファイルを得るプロファイル算出部と、前記プロファイル算出部で得た前記プロファイルからノイズ除去幅パラメータにしたがって低周波を除去する低周波除去部と、前記低周波除去部で低周波成分を除去したプロファイルについて欠陥スコア算出幅パラメータに応じた欠陥スコアプロファイルを算出する欠陥スコア算出部と、前記欠陥スコア算出部で算出した前記欠陥スコアから欠陥位置を決定する欠陥位置検出部と、前記欠陥位置検出部で検出した欠陥位置における欠陥の評価値を算出する評価値算出部とを備えることを特徴とする画像処理装置である。   Further, the invention according to claim 16 of the present application is a profile calculation unit that obtains a profile in imaging an object, and a low frequency removal unit that removes low frequencies from the profile obtained by the profile calculation unit according to a noise removal width parameter; A defect score calculation unit that calculates a defect score profile corresponding to a defect score calculation width parameter for a profile from which a low frequency component has been removed by the low frequency removal unit; and a defect position from the defect score calculated by the defect score calculation unit An image processing apparatus comprising: a defect position detection unit to be determined; and an evaluation value calculation unit that calculates an evaluation value of a defect at a defect position detected by the defect position detection unit.

本願請求項1に係る発明によれば、対象物を撮像してノイズを除去し筋状欠陥を強調することができ、欠陥の評価を行うにあたり、波形ノイズ中の筋状欠陥を、筋の太さによらず、高速かつ高精度に検出することが可能となる。   According to the first aspect of the present invention, the object can be imaged to remove noise and emphasize the streak defect. When evaluating the defect, the streak defect in the waveform noise is Regardless, it is possible to detect at high speed and with high accuracy.

本願請求項2に係る発明によれば、対象物を撮像してノイズを除去し、欠陥スコアプロファイルによって筋状欠陥を強調することができ、欠陥の評価を行うにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に検出することが可能となる。   According to the invention according to claim 2 of the present application, it is possible to remove noise by imaging an object, and to emphasize the streak defect by the defect score profile. When evaluating the defect, the streak defect in the noise is detected. It becomes possible to detect at high speed and with high accuracy regardless of the thickness of the streak.

本願請求項3に係る発明によれば、対象物を撮像してノイズを除去し、欠陥スコアプロファイルによって筋状欠陥を強調することができ、欠陥の位置を検出するにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に検出することが可能となる。   According to the invention according to claim 3 of the present application, it is possible to remove noise by imaging an object, and to emphasize the streak defect by the defect score profile. When detecting the position of the defect, the streak defect in the noise Can be detected at high speed and with high accuracy regardless of the thickness of the line.

本願請求項4に係る発明によれば、対象物を撮像してノイズを除去し、欠陥スコアプロファイルによって筋状欠陥を強調することができ、欠陥の評価値を算出するにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に算出することが可能となる。   According to the invention of claim 4 of the present application, noise can be removed by imaging an object, and the streak defect can be emphasized by the defect score profile. When calculating the evaluation value of the defect, the streak in the noise The defect can be calculated at high speed and with high accuracy regardless of the thickness of the line.

本願請求項5に係る発明によれば、対象物を撮像してプロファイルの信号値からノイズ除去幅パラメータにおける近傍平均を減算することによりノイズを除去し筋状欠陥を強調することができ、欠陥の評価を行うにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に検出することが可能となる。   According to the invention of claim 5 of the present application, it is possible to remove the noise and emphasize the streak defect by imaging the object and subtracting the neighborhood average in the noise removal width parameter from the signal value of the profile. In performing the evaluation, it becomes possible to detect a streak defect in noise at high speed and with high accuracy regardless of the thickness of the streak.

本願請求項6に係る発明によれば、対象物を撮像してプロファイルの低周波成分除去後のプロファイルの着目位置の信号値から、欠陥スコア算出幅パラメータにおける近傍平均を減算することによりノイズを除去し筋状欠陥を強調することができ、欠陥スコアを算出するにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に算出することが可能となる。   According to the invention of claim 6 of the present application, noise is removed by subtracting the neighborhood average in the defect score calculation width parameter from the signal value of the target position of the profile after imaging the object and removing the low frequency component of the profile. The streak defect can be emphasized, and when calculating the defect score, the streak defect in the noise can be calculated at high speed and with high accuracy regardless of the thickness of the streak.

本願請求項7に係る発明によれば、欠陥スコアプロファイルの閾値処理によって欠陥の位置を高速かつ高精度に検出することが可能となる。   According to the seventh aspect of the present invention, the defect position can be detected at high speed and with high accuracy by the threshold processing of the defect score profile.

本願請求項8に係る発明によれば、ノイズ除去幅パラメータに応じて欠陥スコア幅パラメータを決定することで、欠陥の位置を高速かつ高精度に検出することが可能となる。   According to the invention of claim 8 of the present application, the defect score width parameter is determined according to the noise removal width parameter, so that the position of the defect can be detected at high speed and with high accuracy.

本願請求項9に係る発明によれば、ノイズ除去幅パラメータとしてノイズ除去パラメータに所定の係数を掛けたものを用いることで、欠陥の位置を高速かつ高精度に検出することが可能となる。   According to the invention of claim 9 of the present application, it is possible to detect the position of the defect at high speed and with high accuracy by using the noise removal parameter obtained by multiplying the noise removal parameter by a predetermined coefficient.

本願請求項10に係る発明によれば、ノイズ除去幅パラメータとしてノイズ除去パラメータ以下の値を用いることで、欠陥の位置を高速かつ高精度に検出することが可能となる。   According to the invention of claim 10 of the present application, the position of the defect can be detected at high speed and with high accuracy by using a value equal to or smaller than the noise removal parameter as the noise removal width parameter.

本願請求項11に係る発明によれば、複数の前記ノイズ除去幅パラメータと前記欠陥スコア幅パラメータの組み合わせによる複数の欠陥スコアから、前記欠陥位置を検出することで、欠陥の位置を高速かつ高精度に検出することが可能となる。   According to the invention of claim 11 of the present application, the defect position is detected at high speed and with high accuracy by detecting the defect position from a plurality of defect scores based on a combination of the plurality of noise removal width parameters and the defect score width parameter. Can be detected.

本願請求項12に係る発明によれば、欠陥位置の欠陥スコアまたは低周波除去プロファイルから評価値を算出することで、欠陥の評価を高速かつ高精度に行うことが可能となる。   According to the invention of claim 12 of the present application, it is possible to evaluate the defect at high speed and with high accuracy by calculating the evaluation value from the defect score at the defect position or the low frequency removal profile.

本願請求項13に係る発明によれば、対象物を撮像してノイズを除去し筋状欠陥を強調することができ、欠陥の評価を行うにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に検出することが可能となる。   According to the invention of claim 13 of the present application, the object can be imaged to remove noise and emphasize the streak defect. When evaluating the defect, the streak defect in the noise is reduced to the thickness of the streak. Regardless of this, it becomes possible to detect at high speed and with high accuracy.

本願請求項14に係る発明によれば、対象物を撮像してノイズを除去し、欠陥スコアプロファイルによって筋状欠陥を強調することができ、欠陥の評価を行うにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に検出することが可能となる。   According to the invention of claim 14 of the present application, the object is imaged to remove noise, and the streak defect can be emphasized by the defect score profile. When the defect is evaluated, the streak defect in the noise is detected. It becomes possible to detect at high speed and with high accuracy regardless of the thickness of the streak.

本願請求項15に係る発明によれば、対象物を撮像してノイズを除去し、欠陥スコアプロファイルによって筋状欠陥を強調することができ、欠陥の位置を検出するにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に検出することが可能となる。   According to the invention of claim 15 of the present application, it is possible to remove noise by imaging an object, highlight a streak defect by a defect score profile, and detect a streak defect in noise when detecting the position of the defect. Can be detected at high speed and with high accuracy regardless of the thickness of the line.

本願請求項16に係る発明によれば、対象物を撮像してノイズを除去し、欠陥スコアプロファイルによって筋状欠陥を強調することができ、欠陥の評価値を算出するにあたり、雑音中の筋状欠陥を、筋の太さによらず、高速かつ高精度に算出することが可能となる。   According to the invention according to claim 16 of the present application, it is possible to remove noise by imaging an object, emphasize a streak defect by a defect score profile, and calculate a streak in noise when calculating an evaluation value of a defect. The defect can be calculated at high speed and with high accuracy regardless of the thickness of the line.

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

<本実施形態に係る画像処理プログラムの説明>
図1は、本実施形態に係る画像処理プログラムの流れを説明するフローチャートである。この画像処理プログラムは、コンピュータ(パーソナルコンピュータ、ワークステーション等)によって実行されたり、後述する本実施形態の画像処理装置で実行されるもので、所定の記録媒体に格納されたり、所定のネットワークを介して配信されるものである。また、画像処理プログラムの各ステップは、同一のコンピュータで実行されても、ネットワークを介して異なるコンピュータによって各々実行されてもよい。また、クライアント/サーバシステムによって、本実施形態の画像処理プログラムの情報入出力をクライアント側、演算処理をサーバ側で行うようにしてもよい。
<Description of Image Processing Program According to this Embodiment>
FIG. 1 is a flowchart for explaining the flow of an image processing program according to this embodiment. This image processing program is executed by a computer (personal computer, workstation, etc.), or executed by the image processing apparatus of this embodiment described later, and is stored in a predetermined recording medium or via a predetermined network. Delivered. In addition, each step of the image processing program may be executed by the same computer or by different computers via a network. Further, information input / output of the image processing program of the present embodiment may be performed on the client side, and arithmetic processing may be performed on the server side by a client / server system.

先ず、対象物の撮像における画像データを取得する。ここで、対象物は、用紙に印刷された中間調レベルの一様画像の印刷物である。例えばゼログラフィで形成した印刷物では、感光体ドラム等の画像形成部にゴミ等の欠陥が存在すると、用紙の送り方向に沿って筋状欠陥として現れることになる。この筋状欠陥の位置や大きさを検出することで、例えば画像形成部に何らかのトラブルがあるといった判定を行うための情報を得ることができる。   First, image data for capturing an object is acquired. Here, the object is a printed matter of a uniform image of a halftone level printed on a sheet. For example, in a printed matter formed by xerography, if a defect such as dust is present in an image forming unit such as a photosensitive drum, it will appear as a streak defect along the paper feeding direction. By detecting the position and size of the streak defect, it is possible to obtain information for determining that there is some trouble in the image forming unit, for example.

対象物の撮像における画像データを取得するには、対象物の画像をスキャナ等で取り込み、色変換処理を行う(ステップS1)。色変換は、例えばdRGB、L***である。 In order to acquire image data in imaging of an object, an image of the object is captured by a scanner or the like, and color conversion processing is performed (step S1). The color conversion is, for example, dRGB, L * a * b * .

次に、色変換処理後の画像情報から、例えば所定の信号のプロファイルを算出する(ステップS2)。本実施形態では、例えばL*のプロファイルを算出している。プロファイルは、用紙の送り方向と直交する方向に沿った画像データの信号値を用紙の送り方向に沿って加算し、平均したものである。対象物を印刷した画像形成装置(例えば、複写機)の感光体ドラムがCMYKの4色に対応したものである場合、各色それぞれの明度のプロファイルを求めてもよい。 Next, for example, a profile of a predetermined signal is calculated from the image information after the color conversion process (step S2). In this embodiment, for example, an L * profile is calculated. The profile is obtained by adding and averaging signal values of image data along a direction orthogonal to the paper feed direction along the paper feed direction. When the photosensitive drum of an image forming apparatus (for example, a copying machine) on which an object is printed corresponds to the four colors CMYK, a brightness profile for each color may be obtained.

次に、算出したプロファイルから低周波除去処理を行う(ステップS3)。低周波除去処理は、算出したプロファイルからそのプロファイルの移動平均を減算したものを用いる。移動平均は、予め設定された移動平均幅パラメータをノイズ除去幅パラメータとして求められる。   Next, low frequency removal processing is performed from the calculated profile (step S3). The low frequency removal process uses a value obtained by subtracting the moving average of the profile from the calculated profile. The moving average is obtained by using a preset moving average width parameter as a noise removal width parameter.

次いで、低周波除去処理を行ったプログラムについてZ値算出を行う(ステップS4)。本実施形態においてZ値は、(プロファイルの値−近傍の平均値)/標準偏差で求められ、本実施形態では欠陥スコアプロファイルとして用いられる。ここで、近傍の平均値としては、近傍となる幅のパラメータを欠陥スコア算出幅パラメータとして用いる。   Subsequently, Z value calculation is performed about the program which performed the low frequency removal process (step S4). In this embodiment, the Z value is obtained by (profile value−neighbor average value) / standard deviation, and is used as a defect score profile in this embodiment. Here, as a neighborhood average value, a neighborhood width parameter is used as a defect score calculation width parameter.

次に、求めたZ値について閾値処理を行い(ステップS5)、欠陥の位置の抽出および欠陥の評価を行う。   Next, threshold processing is performed on the obtained Z value (step S5), and defect position extraction and defect evaluation are performed.

<本実施形態に係る画像処理装置の構成>
図2は、本実施形態に係る画像処理装置の構成を説明するブロック図である。本実施形態に係る画像処理装置10は、CPU(Central Processing Unit)11、RAM(Random Access Memory)12、色変換部101、プロファイル算出部102、低周波除去部103、欠陥スコア算出部104、欠陥位置検出部105、評価値算出部106を備えている。
<Configuration of Image Processing Device According to this Embodiment>
FIG. 2 is a block diagram illustrating the configuration of the image processing apparatus according to the present embodiment. An image processing apparatus 10 according to the present embodiment includes a CPU (Central Processing Unit) 11, a RAM (Random Access Memory) 12, a color conversion unit 101, a profile calculation unit 102, a low frequency removal unit 103, a defect score calculation unit 104, a defect A position detection unit 105 and an evaluation value calculation unit 106 are provided.

本実施形態の画像処理装置10では、色変換部101、プロファイル算出部102、低周波除去部103、欠陥スコア算出部104、欠陥位置検出部105、評価値算出部106がプログラム処理によって構成されるコンピュータや専用装置によって実現される。   In the image processing apparatus 10 of the present embodiment, the color conversion unit 101, the profile calculation unit 102, the low frequency removal unit 103, the defect score calculation unit 104, the defect position detection unit 105, and the evaluation value calculation unit 106 are configured by program processing. It is realized by a computer or a dedicated device.

画像処理装置10は、画像入力部20より検査対象となる画像データを取得して、後述の処理によって欠陥検査を行う。   The image processing apparatus 10 acquires image data to be inspected from the image input unit 20 and performs defect inspection by a process described later.

画像入力部20は、例えばフラットベッドスキャナのようなラインセンサや、CCD(Charge Coupled Devices)カメラのようなエリアセンサなどの光学的画像入力装置、あるいは画像データを保存する記憶装置などからなる。   The image input unit 20 includes an optical image input device such as a line sensor such as a flatbed scanner, an area sensor such as a CCD (Charge Coupled Devices) camera, or a storage device that stores image data.

CPU11は、各部を制御する中央演算装置である。RAM12は、ハードディスクやフラッシュメモリなど不揮発性メモリで構成され、処理対象の画像データを保存するバッファや、データ処理中に必要となるワークエリアを有している。   The CPU 11 is a central processing unit that controls each unit. The RAM 12 is composed of a nonvolatile memory such as a hard disk or a flash memory, and has a buffer for storing image data to be processed and a work area required during data processing.

画像入力部20、RAM12は処理を制御するCPU11にネットワークやバスなどで接続されている。   The image input unit 20 and the RAM 12 are connected to a CPU 11 that controls processing via a network or a bus.

画像入力部20で入力された画像データは色変換部101で入力装置に依存しない色に変換される。入力がRGB信号であればLUT(ルックアップテーブル)によって視感明度に変換するのが一般的である。色変換後の画像データはプロファイル算出部102に送られる。本実施形態では、一例としてRGBをL***に変換するものとする。 The image data input by the image input unit 20 is converted into a color independent of the input device by the color conversion unit 101. If the input is an RGB signal, it is generally converted to a visual lightness by a LUT (Look Up Table). The image data after color conversion is sent to the profile calculation unit 102. In the present embodiment, as an example, RGB is converted to L * a * b * .

プロファイル算出部102は、筋状欠陥の長辺方向に画像データを平均、または積算することで筋状欠陥の短辺方向の平均明度変動を得る。すなわち、用紙の印刷を読み取った画像データでは、画像形成の際の走査方向(例えば、用紙の搬送方向)に沿った筋状欠陥が発生するが、この走査方向と直交する方向に沿った画像データの各位置(ポジション)での値を、走査方向に沿って各位置ごとに加算し、平均を取ってプロファイルとする演算を行う。   The profile calculation unit 102 obtains an average brightness variation in the short side direction of the streak defect by averaging or integrating the image data in the long side direction of the streak defect. That is, in the image data obtained by reading the print on the paper, streak defects are generated along the scanning direction (for example, the paper transport direction) during image formation, but the image data along the direction orthogonal to the scanning direction. A value at each position (position) is added for each position along the scanning direction, and an average is calculated to obtain a profile.

平均、または積算する方向については、事前に筋状欠陥の方向が分かっている場合は容易に決定できる。事前に分かっていない場合は、画像データの縦横2方向、あるいは±45度を含んだ4方向それぞれで処理を適用してもよい。   The average or direction of integration can be easily determined when the direction of the streak defect is known in advance. If it is not known in advance, the processing may be applied in two vertical and horizontal directions of image data, or in four directions including ± 45 degrees.

低周波除去部103は、プロファイル算出部102で算出したプロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する演算を行う。ノイズ除去幅パラメータは、主として移動平均幅パラメータである。つまり、プロファイルから各位置に対応した移動平均を求め、移動平均値をプロファイルの値から差し引くことで、低周波成分の除去を図る。ここで、低周波成分を除去した後のプロファイルを「ノイズ除去プロファイル」と言うこととする。   The low frequency removing unit 103 performs an operation for removing the low frequency component from the profile calculated by the profile calculating unit 102 according to the noise removal width parameter. The noise removal width parameter is mainly a moving average width parameter. That is, the moving average corresponding to each position is obtained from the profile, and the moving average value is subtracted from the profile value to remove the low frequency component. Here, the profile after removing the low frequency component is referred to as a “noise removal profile”.

欠陥スコア算出部104は、ノイズ除去プロファイルから欠陥スコア算出幅パラメータに応じて欠陥スコアプロファイルを算出する処理を行う。欠陥スコアプロファイルは、主としてプロファイルの各位置に対応したZ値である。Z値は、(ノイズ除去プロファイルの値−近傍の平均値)/標準偏差で求めることができる。この近傍の平均値を出すための近傍の幅の大きさが欠陥スコア算出幅パラメータとなる。欠陥スコア算出幅パラメータは、ノイズ除去幅パラメータに応じて決められる。   The defect score calculation unit 104 performs a process of calculating a defect score profile from the noise removal profile according to the defect score calculation width parameter. The defect score profile is mainly a Z value corresponding to each position of the profile. The Z value can be calculated by (noise removal profile value−neighbor average value) / standard deviation. The size of the neighborhood width for obtaining the average value of the neighborhood becomes the defect score calculation width parameter. The defect score calculation width parameter is determined according to the noise removal width parameter.

欠陥位置検出部105は、低周波除去部103によって低周波成分を除去したプロファイル(ノイズ除去プロファイル)から欠陥位置を検出する処理、または欠陥スコア算出部104によって算出した欠陥スコアプロファイルから欠陥位置を検出する処理、またはノイズ除去プロファイルおよび欠陥スコア算出部104によって算出した欠陥スコアプロファイルから欠陥位置を検出する処理を行う。いずれの処理によって検出するかは、例えばユーザによる設定に従う。   The defect position detection unit 105 detects a defect position from the defect score profile calculated by the defect score calculation unit 104 or the process of detecting the defect position from the profile (noise removal profile) from which the low frequency component is removed by the low frequency removal unit 103. Or a process of detecting a defect position from the defect score profile calculated by the noise removal profile and defect score calculation unit 104. Which process is detected depends on the setting by the user, for example.

評価値算出部106は、欠陥位置検出部105で検出した欠陥位置における欠陥の評価値を算出する。評価値は、検出された欠陥位置から最終的に欠陥を判定するための値であり、例えば近傍との明度差(ΔL*)が用いられる。この評価値によって、最終的な欠陥の決定が行われる。 The evaluation value calculation unit 106 calculates the evaluation value of the defect at the defect position detected by the defect position detection unit 105. The evaluation value is a value for finally determining a defect from the detected defect position. For example, a brightness difference (ΔL * ) from the vicinity is used. The final defect is determined based on this evaluation value.

<本実施形態を適用した欠陥検出方法>
本実施形態では、一例として、ゼログラフィから出力されたサンプルの長辺が紙送り方向となる場合の筋状欠陥検査について説明する。ゼログラフィで中間濃度を広範囲に印字すると、サンプルの紙送り方向またはその垂直方向に筋が発生する。特に、紙送り方向の筋はゴミや電気的トラブルで発生し、単独発生で周期性がない場合が多く、FFT(Fast Fourier Transform)などの周期性を前提とした処理は適していない。欠陥の発生個所や幅の予測はできないが、方向は決まっている。ただし、画像入力時に傾きが発生する場合があるため、前処理として傾きの検知・補正などを行うことが望ましい。紙送り方向の濃度外れ値(たとえば濃度分布の3σ)を除去する処理を行っても良い。
<Defect detection method to which this embodiment is applied>
In the present embodiment, as an example, a streak defect inspection in the case where the long side of a sample output from xerography is in the paper feed direction will be described. When intermediate density is printed over a wide range by xerography, streaks occur in the paper feed direction of the sample or in the vertical direction. In particular, streaks in the paper feed direction are caused by dust or electrical troubles, and often occur independently and have no periodicity, and processing based on periodicity such as FFT (Fast Fourier Transform) is not suitable. The location and width of defects cannot be predicted, but the direction is fixed. However, since tilt may occur during image input, it is desirable to perform tilt detection / correction as preprocessing. Processing for removing density outliers (for example, 3σ of the density distribution) in the paper feeding direction may be performed.

ゼログラフィの明度プロファイルの例を図3に示す。図3(a)のプロファイルを持つサンプルには140mm付近、図3(b)には260mm付近に白い(明度が上昇する)筋が目で確認できる。   An example of a xerographic brightness profile is shown in FIG. In the sample having the profile of FIG. 3A, white lines (in which the brightness increases) can be visually confirmed near 140 mm, and in FIG. 3B, near 260 mm.

また、図4のように画像端に向かう明度変化が起きると、画像端を筋として誤検知してしまう。これを防ぐために、画像の外側に画像端n点平均明度(例:n=3)が続いているものとして計算するなどの処理を行っても良い。   Further, when the brightness change toward the image edge occurs as shown in FIG. 4, the image edge is erroneously detected as a line. In order to prevent this, it is possible to perform processing such as calculation assuming that the image edge n-point average brightness (eg, n = 3) continues outside the image.

次に、低周波除去部103でプロファイルから低周波を除去する。すなわち、ノイズ除去幅パラメータでの移動平均を算出して、プロファイルから減算する。ノイズ除去幅はパラメータ筋状欠陥の幅に対応するために(後述の欠陥スコア算出幅パラメータとペアで)複数用意するのが良い。   Next, the low frequency removing unit 103 removes the low frequency from the profile. That is, a moving average with the noise removal width parameter is calculated and subtracted from the profile. It is preferable to prepare a plurality of noise removal widths (in pairs with a defect score calculation width parameter described later) in order to correspond to the width of the parameter streak defect.

例として、4mm、8mm、…、120mmといった30段階の移動平均幅のパラメータを用意して計算する。データを二次元の画像データから一次元のプロファイルへと変換しているため、パラメータごとに計算を行っても高速で処理できる。移動平均の計算は、近傍として着目点を含めても良いし、除いても良い。算出したノイズ除去プロファイルは欠陥スコア算出部104に送られる。   As an example, parameters with 30 stages of moving average width such as 4 mm, 8 mm,..., 120 mm are prepared and calculated. Since data is converted from two-dimensional image data to a one-dimensional profile, it can be processed at high speed even if calculation is performed for each parameter. In the calculation of the moving average, the point of interest may be included or excluded as a neighborhood. The calculated noise removal profile is sent to the defect score calculation unit 104.

欠陥スコア算出部104は欠陥スコア算出幅パラメータ近傍での着目点のZ値を求めて欠陥スコアプロファイルとする。Z値は着目点から近傍平均を差し引き、標準偏差で割った値である。   The defect score calculation unit 104 obtains the Z value of the point of interest in the vicinity of the defect score calculation width parameter and sets it as a defect score profile. The Z value is a value obtained by subtracting the neighborhood average from the point of interest and dividing by the standard deviation.

ここで、欠陥スコア算出幅パラメータを、ノイズ除去幅パラメータに応じて設定することで、ノイズ除去の強度に適した欠陥スコア算出を行う。例えば、欠陥スコア算出幅パラメータとして、ノイズ除去幅パラメータに所定の計数を掛けたものや、ノイズ除去幅パラメータ以下の値を用いる。   Here, the defect score calculation width parameter is set according to the noise removal width parameter, so that the defect score calculation suitable for the noise removal strength is performed. For example, as the defect score calculation width parameter, a value obtained by multiplying the noise removal width parameter by a predetermined number or a value equal to or smaller than the noise removal width parameter is used.

好適な例として、(欠陥スコア算出幅)=(3/5)×(ノイズ除去幅)とする。前述の通り、ノイズ除去幅を4mm、8mm、…、120mmの30段階設定した場合、欠陥スコア算出幅は2.4mm、4.8mm、…、72mmとなる。各パラメータ設定でゼログラフィに対して本実施形態を適用した場合、欠陥スコアが大きくなる(強調される)筋幅の目安を図5に示す。このように、検出する筋欠陥の幅の目安に応じてノイズ除去幅パラメータおよび欠陥スコア算出幅パラメータをテーブルデータとして用意しておき、検出したい筋欠陥の幅によってノイズ除去幅パラメータおよび欠陥スコア算出幅パラメータの組みを決定する。   As a preferred example, (defect score calculation width) = (3/5) × (noise removal width). As described above, when the noise removal width is set in 30 stages of 4 mm, 8 mm,..., 120 mm, the defect score calculation width is 2.4 mm, 4.8 mm,. When this embodiment is applied to xerography with each parameter setting, a guideline of the line width at which the defect score becomes large (emphasized) is shown in FIG. In this way, the noise removal width parameter and the defect score calculation width parameter are prepared as table data in accordance with the standard of the width of the line defect to be detected, and the noise removal width parameter and the defect score calculation width are determined depending on the width of the line defect to be detected. Determine a set of parameters.

Z値の計算も、平均および標準偏差を計算するときに着目点を含めても良いし、除いても良い。また、画像端の平均値を導出する際に、画像外に画像端n点平均明度(例:n=3)が続いているものとして計算するなどの処理を行っても良い。画像端の標準偏差は、欠陥スコア算出幅パラメータ上計算可能な点のうち、一番近い点のものを用いるか、画像全体の平均標準偏差を用いる。   The calculation of the Z value may include or exclude the point of interest when calculating the average and standard deviation. Further, when the average value of the image edge is derived, a process such as calculation that the image edge n-point average brightness (eg, n = 3) continues outside the image may be performed. As the standard deviation at the edge of the image, the closest point among points that can be calculated in the defect score calculation width parameter is used, or the average standard deviation of the entire image is used.

図6は実際のデータ処理例を説明する図である。図6(a)は複数の筋状欠陥を含む対象のプロファイル、図6(b−1)は低周波除去部103においてノイズ除去幅4mmで低周波成分を除去したプロファイル、図6(c−1)は低周波除去部103においてノイズ除去幅44mmで低周波成分を除去したプロファイルである。   FIG. 6 is a diagram for explaining an actual data processing example. 6A shows a profile of a target including a plurality of streak defects, FIG. 6B-1 shows a profile obtained by removing a low frequency component with a noise removal width of 4 mm in the low frequency removing unit 103, and FIG. ) Is a profile obtained by removing low frequency components with a noise removal width of 44 mm in the low frequency removing unit 103.

また、図6(b−2)は、図6(b−1)に示す低周波除去プロファイルから欠陥スコア算出部104において、欠陥スコア算出幅パラメータ2.4mmでZ値を算出した結果得られた欠陥スコアプロファイル、図6(c−2)は、図6(c−1)に示す低周波除去プロファイルから欠陥スコア算出部104において、欠陥スコア算出幅パラメータ26.4mmでZ値を算出した結果得られた欠陥スコアプロファイルである。   6B-2 is obtained as a result of calculating the Z value with the defect score calculation width parameter 2.4 mm in the defect score calculation unit 104 from the low frequency removal profile shown in FIG. 6B-1. The defect score profile, FIG. 6 (c-2), is obtained as a result of calculating the Z value with the defect score calculation width parameter 26.4 mm in the defect score calculation unit 104 from the low frequency removal profile shown in FIG. 6 (c-1). The defect score profile obtained.

各パラメータに応じて異なる幅の筋状欠陥が強調されている。すなわち、図6(b−1)、図6(b−2)に示すプロファイルでは、元のプロファイル(図6(a)参照)から低周波成分がより多く除去され、全体のうねりは少なくなっており、矢印A〜Dで示す突出した波形部分のうち、特に矢印Aの波形部分については強調されているものの、矢印Dの波形部分については圧縮されている。   The streak defects with different widths are emphasized according to each parameter. That is, in the profiles shown in FIGS. 6 (b-1) and 6 (b-2), more low frequency components are removed from the original profile (see FIG. 6 (a)), and the overall swell is reduced. Of the protruding waveform portions indicated by arrows A to D, the waveform portion indicated by arrow A is particularly emphasized, but the waveform portion indicated by arrow D is compressed.

一方、図6(c−1)、図6(c−2)に示すプロファイルでは、先の例に比べて元のプロファイル(図6(a)参照)から低周波成分の除去が多くないものの、矢印A〜Dで示す突出した波形部分のうち、特に矢印Dの波形部分については強調され、反対に、矢印Aの波形部分については圧縮されている。   On the other hand, in the profiles shown in FIGS. 6 (c-1) and 6 (c-2), although the removal of low frequency components is not much from the original profile (see FIG. 6 (a)) compared to the previous example, Of the protruding waveform portions indicated by arrows A to D, the waveform portion indicated by arrow D is particularly emphasized, while the waveform portion indicated by arrow A is compressed.

このように、各パラメータによって低周波成分の除去の強さや特定波形の強調の強さが変わることから、本実施形態では、例えば30段階のパラメータによって30個の欠陥スコアプロファイルを算出し、以下に示す欠陥位置検出部105での欠陥位置決定の材料としている。   As described above, the strength of removing low-frequency components and the strength of emphasizing a specific waveform vary depending on each parameter. Therefore, in the present embodiment, for example, 30 defect score profiles are calculated using 30 steps of parameters, and are described below. It is used as a material for determining the defect position in the defect position detection unit 105 shown.

欠陥位置検出部105は、欠陥スコアプロファイルを用い、欠陥可能性がある場所の位置情報を求め、これを評価値算出部106に送る。パラメータを例えば30段階設定した場合は欠陥スコアプロファイルが30得られることになる。まず、30個の欠陥スコアプロファイルの各々における各点(ポジション)でのZ値の絶対値が最大の値を保存するとともに、そのときの欠陥スコア算出幅パラメータを記録する。つまり、30個の欠陥スコアプロファイルをポジションを合わせて串刺しするようにして参照し、各ポジションにおけるZ値の絶対値が最大となるときのZ値(30個の欠陥スコアプロファイルのうち同じポジションとなる30個のZ値の絶対値が最大となるときのそのZ値)と、この最大のZ値となるときの欠陥スコア算出幅パラメータとを記録する。   The defect position detection unit 105 uses the defect score profile to obtain position information of a place where there is a possibility of defect, and sends this to the evaluation value calculation unit 106. For example, when 30 parameters are set, 30 defect score profiles are obtained. First, the value with the maximum absolute value of the Z value at each point (position) in each of the 30 defect score profiles is stored, and the defect score calculation width parameter at that time is recorded. In other words, 30 defect score profiles are referred to by staking the positions together, and the Z value when the absolute value of the Z value at each position is maximized (the same position among the 30 defect score profiles). The Z value when the absolute value of the 30 Z values is maximum) and the defect score calculation width parameter when the maximum Z value is reached are recorded.

これにより、30個の欠陥スコアプロファイルにおける各ポジションでの絶対値最大となるZ値の集まりが得られ、この絶対値最大のZ値の集まりから、各ポジションでのZ値が所定の正の閾値(例えば、3)を超える、または所定の負の閾値(例えば、−3)を下回る点の位置情報と、そのZ値での欠陥スコア算出幅パラメータとを評価値算出部106に送る。   As a result, a collection of Z values having the maximum absolute value at each position in the 30 defect score profiles is obtained, and the Z value at each position has a predetermined positive threshold value from the collection of Z values having the maximum absolute value. The position information of a point exceeding (for example, 3) or falling below a predetermined negative threshold (for example, −3) and the defect score calculation width parameter at the Z value are sent to the evaluation value calculating unit 106.

評価値算出部106は、欠陥位置検出部105から送られた位置情報付近のノイズ除去プロファイルから評価値を算出する。このとき、ノイズ除去プロファイルは欠陥位置検出部105から得られる欠陥スコア算出幅パラメータに対応したノイズ除去幅パラメータによるものを使用する。   The evaluation value calculation unit 106 calculates an evaluation value from the noise removal profile near the position information sent from the defect position detection unit 105. At this time, the noise removal profile is based on the noise removal width parameter corresponding to the defect score calculation width parameter obtained from the defect position detection unit 105.

例えば、あるポジションにおいて閾値判定されたZ値での欠陥スコア幅パラメータが2.4mmであったとすると、その欠陥スコア幅パラメータ(2.4mm)と対応するノイズ除去幅パラメータは4mmとなり、ノイズ除去幅パラメータが4mmとなるノイズ除去プロファイルの対応するポジションでのL*の値を評価値とする。 For example, if the defect score width parameter at the Z value determined as a threshold at a certain position is 2.4 mm, the noise removal width parameter corresponding to the defect score width parameter (2.4 mm) is 4 mm, and the noise removal width The value of L * at the corresponding position of the noise removal profile where the parameter is 4 mm is set as the evaluation value.

ノイズ除去プロファイルの値は、近傍との明度差(例えば、ΔL*)となっているため、これを評価値として使用できる。そして、この評価値(ノイズ除去プロファイルの値)が所定の正の閾値(例えば、1.2)を超えるか、または所定の負の閾値(例えば、−1.5)を下回る場合は、最終的に欠陥であると判断する。 Since the value of the noise removal profile is a brightness difference (for example, ΔL * ) from the vicinity, it can be used as an evaluation value. If the evaluation value (the value of the noise removal profile) exceeds a predetermined positive threshold (for example, 1.2) or falls below a predetermined negative threshold (for example, -1.5), the final value Judged to be defective.

なお、上記実施形態における欠陥検査方法において示した数値は一例であり、本発明はこれに限定されるものではない。また、本発明は、ゼログラフィの欠陥検査以外であっても各種材料、部材の表面の欠陥検査に適用することも可能である。   In addition, the numerical value shown in the defect inspection method in the said embodiment is an example, and this invention is not limited to this. Further, the present invention can be applied to defect inspections on the surfaces of various materials and members other than xerographic defect inspections.

本実施形態に係る画像処理プログラムの流れを説明するフローチャートである。It is a flowchart explaining the flow of the image processing program which concerns on this embodiment. 本実施形態に係る画像処理装置の構成を説明するブロック図である。It is a block diagram explaining the structure of the image processing apparatus which concerns on this embodiment. 評価対象の明度プロファイル例を示す図である。It is a figure which shows the brightness profile example of evaluation object. 画像端の誤検出が発生する明度プロファイル例を示す図である。It is a figure which shows the example of the brightness profile in which the false detection of an image edge generate | occur | produces. パラメータと検出欠陥の目安を示す図である。It is a figure which shows the standard of a parameter and a detection defect. 評価対象の明度プロファイルの欠陥検出例を示す図である。It is a figure which shows the example of a defect detection of the brightness profile of evaluation object.

符号の説明Explanation of symbols

10…画像処理装置、11…CPU、12…RAM、20…画像入力部、101…色変換部、102…プロファイル算出部、103…低周波除去部、104…欠陥スコア算出部、105…欠陥位置検出部、106…評価値算出部   DESCRIPTION OF SYMBOLS 10 ... Image processing apparatus, 11 ... CPU, 12 ... RAM, 20 ... Image input part, 101 ... Color conversion part, 102 ... Profile calculation part, 103 ... Low frequency removal part, 104 ... Defect score calculation part, 105 ... Defect position Detection unit, 106 ... evaluation value calculation unit

Claims (16)

対象物の撮像におけるプロファイルを得るプロファイル算出ステップと、
前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去ステップと
をコンピュータによって実行させることを特徴とする画像処理プログラム。
A profile calculation step for obtaining a profile in imaging of an object;
An image processing program that causes a computer to execute a low frequency removal step of removing low frequency components from the profile according to a noise removal width parameter.
対象物の撮像におけるプロファイルを得るプロファイル算出ステップと、
前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去ステップと、
欠陥スコア算出幅パラメータに応じて欠陥スコアプロファイルを算出する欠陥スコア算出ステップと
をコンピュータによって実行させることを特徴とする画像処理プログラム。
A profile calculation step for obtaining a profile in imaging of an object;
A low frequency removal step of removing low frequency components from the profile according to a noise removal width parameter;
An image processing program that causes a computer to execute a defect score calculation step of calculating a defect score profile according to a defect score calculation width parameter.
対象物の撮像におけるプロファイルを得るプロファイル算出ステップと、
前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去ステップと、
欠陥スコア算出幅パラメータに応じて欠陥スコアプロファイルを算出する欠陥スコア算出ステップと、
前記欠陥スコアプロファイルから欠陥位置を決定する欠陥位置検出ステップと
をコンピュータによって実行させることを特徴とする画像処理プログラム。
A profile calculation step for obtaining a profile in imaging of an object;
A low frequency removal step of removing low frequency components from the profile according to a noise removal width parameter;
A defect score calculating step of calculating a defect score profile according to the defect score calculation width parameter;
An image processing program that causes a computer to execute a defect position detection step of determining a defect position from the defect score profile.
対象物の撮像におけるプロファイルを得るプロファイル算出ステップと、
前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去ステップと、
欠陥スコア算出幅パラメータに応じて欠陥スコアプロファイルを算出する欠陥スコア算出ステップと、
前記欠陥スコアプロファイルから欠陥位置を決定する欠陥位置検出ステップと、
検出した欠陥位置における欠陥の評価値を算出する評価値算出ステップと
をコンピュータによって実行させることを特徴とする画像処理プログラム。
A profile calculation step for obtaining a profile in imaging of an object;
A low frequency removal step of removing low frequency components from the profile according to a noise removal width parameter;
A defect score calculating step of calculating a defect score profile according to the defect score calculation width parameter;
A defect position detecting step for determining a defect position from the defect score profile;
An image processing program that causes a computer to execute an evaluation value calculation step of calculating an evaluation value of a defect at a detected defect position.
前記低周波除去ステップでは、前記対象物の撮像におけるプロファイルの信号値からノイズ除去幅パラメータにおける近傍平均を減算することにより低周波成分を除去する
ことを特徴とする請求項1から4のうちいずれか1項に記載の画像処理プログラム。
5. The low frequency component is removed by subtracting a neighborhood average in a noise removal width parameter from a signal value of a profile in imaging of the object in the low frequency removal step. The image processing program according to item 1.
前記欠陥スコア算出ステップでは、低周波成分除去後のプロファイルの着目位置の信号値から、前記欠陥スコア算出幅パラメータにおける近傍の平均を減算し、標準偏差で除算することで欠陥スコアを算出する
ことを特徴とする請求項1から4のうちいずれか1項に記載の画像処理プログラム。
In the defect score calculation step, the defect score is calculated by subtracting the average of the neighborhood in the defect score calculation width parameter from the signal value of the target position of the profile after removing the low frequency component and dividing by the standard deviation. The image processing program according to claim 1, wherein the image processing program is one of claims 1 to 4.
前記欠陥位置検出ステップでは、前記欠陥スコアプロファイルの閾値処理によって欠陥位置を決定する
ことを特徴とする請求項3または4記載の画像処理プログラム。
5. The image processing program according to claim 3, wherein in the defect position detection step, a defect position is determined by threshold processing of the defect score profile.
前記欠陥スコア算出ステップでは、前記ノイズ除去幅パラメータに応じて前記欠陥スコア幅パラメータを決定する
ことを特徴とする請求項2から4のうちいずれか1項に記載の画像処理プログラム。
The image processing program according to any one of claims 2 to 4, wherein, in the defect score calculation step, the defect score width parameter is determined according to the noise removal width parameter.
前記欠陥スコア算出ステップでは、前記欠陥スコア幅パラメータとして前記ノイズ除去幅パラメータに所定の係数を掛けたものを用いる
ことを特徴とする請求項2から4のうちいずれか1項に記載の画像処理プログラム。
5. The image processing program according to claim 2, wherein the defect score calculation step uses a value obtained by multiplying the noise removal width parameter by a predetermined coefficient as the defect score width parameter. .
前記欠陥スコア算出ステップでは、前記欠陥スコア幅パラメータとして前記ノイズ除去幅パラメータ以下の値を用いる
ことを特徴とする請求項2から4のうちいずれか1項に記載の画像処理プログラム。
5. The image processing program according to claim 2, wherein the defect score calculation step uses a value equal to or smaller than the noise removal width parameter as the defect score width parameter.
前記欠陥位置検出ステップでは、複数の前記ノイズ除去幅パラメータと前記欠陥スコア幅パラメータの組み合わせによる複数の欠陥スコアから、前記欠陥位置を検出する
ことを特徴とする請求項3または4記載の画像処理プログラム。
5. The image processing program according to claim 3, wherein, in the defect position detection step, the defect position is detected from a plurality of defect scores based on a combination of the plurality of noise removal width parameters and the defect score width parameters. .
前記評価値算出ステップでは、前記欠陥位置の欠陥スコアまたは低周波除去プロファイルから評価値を算出する
ことを特徴とする請求項4記載の画像処理プログラム。
The image processing program according to claim 4, wherein, in the evaluation value calculating step, an evaluation value is calculated from a defect score or a low frequency removal profile at the defect position.
対象物の撮像におけるプロファイルを得るプロファイル算出部と、
前記プロファイル算出部で得た前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去部と
を備えることを特徴とする画像処理装置。
A profile calculation unit for obtaining a profile in imaging of an object;
An image processing apparatus comprising: a low-frequency removal unit that removes a low-frequency component from the profile obtained by the profile calculation unit according to a noise removal width parameter.
対象物の撮像におけるプロファイルを得るプロファイル算出部と、
前記プロファイル算出部で得た前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去部と、
前記低周波除去部で低周波成分を除去したプロファイルについて欠陥スコア算出幅パラメータに応じた欠陥スコアプロファイルを算出する欠陥スコア算出部と
を備えることを特徴とする画像処理装置。
A profile calculation unit for obtaining a profile in imaging of an object;
A low-frequency removal unit that removes a low-frequency component from the profile obtained by the profile calculation unit according to a noise removal width parameter;
An image processing apparatus comprising: a defect score calculation unit that calculates a defect score profile corresponding to a defect score calculation width parameter for a profile from which a low frequency component has been removed by the low frequency removal unit.
対象物の撮像におけるプロファイルを得るプロファイル算出部と、
前記プロファイル算出部で得た前記プロファイルからノイズ除去幅パラメータにしたがって低周波成分を除去する低周波除去部と、
前記低周波除去部で低周波成分を除去したプロファイルについて欠陥スコア算出幅パラメータに応じた欠陥スコアプロファイルを算出する欠陥スコア算出部と、
前記欠陥スコア算出部で算出した前記欠陥スコアプロファイルから欠陥位置を決定する欠陥位置検出部と
を備えることを特徴とする画像処理装置。
A profile calculation unit for obtaining a profile in imaging of an object;
A low-frequency removal unit that removes a low-frequency component from the profile obtained by the profile calculation unit according to a noise removal width parameter;
A defect score calculation unit that calculates a defect score profile according to a defect score calculation width parameter for a profile obtained by removing a low frequency component in the low frequency removal unit;
An image processing apparatus comprising: a defect position detection unit that determines a defect position from the defect score profile calculated by the defect score calculation unit.
対象物の撮像におけるプロファイルを得るプロファイル算出部と、
前記プロファイル算出部で得た前記プロファイルからノイズ除去幅パラメータにしたがって低周波を除去する低周波除去部と、
前記低周波除去部で低周波成分を除去したプロファイルについて欠陥スコア算出幅パラメータに応じた欠陥スコアプロファイルを算出する欠陥スコア算出部と、
前記欠陥スコア算出部で算出した前記欠陥スコアから欠陥位置を決定する欠陥位置検出部と、
前記欠陥位置検出部で検出した欠陥位置における欠陥の評価値を算出する評価値算出部と
を備えることを特徴とする画像処理装置。
A profile calculation unit for obtaining a profile in imaging of an object;
A low frequency removing unit that removes a low frequency according to a noise removal width parameter from the profile obtained by the profile calculating unit;
A defect score calculation unit that calculates a defect score profile according to a defect score calculation width parameter for a profile obtained by removing a low frequency component in the low frequency removal unit;
A defect position detector for determining a defect position from the defect score calculated by the defect score calculator;
An image processing apparatus comprising: an evaluation value calculation unit that calculates an evaluation value of a defect at a defect position detected by the defect position detection unit.
JP2007151558A 2007-06-07 2007-06-07 Image processing program and image processor Pending JP2008304312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007151558A JP2008304312A (en) 2007-06-07 2007-06-07 Image processing program and image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007151558A JP2008304312A (en) 2007-06-07 2007-06-07 Image processing program and image processor

Publications (1)

Publication Number Publication Date
JP2008304312A true JP2008304312A (en) 2008-12-18

Family

ID=40233169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007151558A Pending JP2008304312A (en) 2007-06-07 2007-06-07 Image processing program and image processor

Country Status (1)

Country Link
JP (1) JP2008304312A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103134809A (en) * 2013-03-14 2013-06-05 苏州华源包装股份有限公司 Welded line defect detection method
JP2015172506A (en) * 2014-03-11 2015-10-01 株式会社リコー Image inspection device, image inspection system, and image inspection method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103134809A (en) * 2013-03-14 2013-06-05 苏州华源包装股份有限公司 Welded line defect detection method
JP2015172506A (en) * 2014-03-11 2015-10-01 株式会社リコー Image inspection device, image inspection system, and image inspection method

Similar Documents

Publication Publication Date Title
CN107315011B (en) Image processing apparatus, image processing method, and storage medium
US10981376B2 (en) Inspection apparatus, image reading apparatus, image forming apparatus, inspection method, and recording medium
JP2007152700A5 (en)
JP7487568B2 (en) Image inspection device, display method and program
JP5440162B2 (en) White spot detection device, image forming apparatus, and white spot detection program
JP4622252B2 (en) Inspection device, inspection program, inspection method, control device, control program, and control method
JP2008304312A (en) Image processing program and image processor
JP2021158584A (en) Image processing apparatus, image processing method, and program
JP2010085096A (en) Surface inspecting device
JP5413283B2 (en) Focus shift detection device, focus shift detection method and program
JP2016114778A (en) Image forming apparatus
US11935226B2 (en) Image processing apparatus for image inspection, image processing method, and storage medium
JP2000036033A (en) Brightness/darkness inspecting device/method
JP5157575B2 (en) Defect detection method
JP5889426B1 (en) Web inspection device, web inspection method, web inspection program
JP7059857B2 (en) Inspection equipment, image readers, image forming equipment, inspection methods and programs
JP4285253B2 (en) Image inspection device with tilt detection function
JP6770691B2 (en) Quantification method and quantification device for accuracy of coating film edge
JP2005167767A (en) Image processor inspection system, method, and program
JP5540595B2 (en) Printed matter inspection apparatus, printed matter inspection system, printed matter inspection method, and printed matter inspection program
JP2019060836A (en) Float detector and float detection method of print, inspection device, and inspection method
US11985288B2 (en) Image processing apparatus, method, and program storage medium for correcting a difference image using enhancing filters
CN113256554B (en) Deterministic image inspection
JP4760258B2 (en) Print quality inspection apparatus and print quality inspection method
JP6690316B2 (en) Defect inspection apparatus, defect inspection method and defect inspection system for sheet-like inspected object

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091008