JP2006194657A - Pseudo defective image creation method and device using it - Google Patents

Pseudo defective image creation method and device using it Download PDF

Info

Publication number
JP2006194657A
JP2006194657A JP2005004880A JP2005004880A JP2006194657A JP 2006194657 A JP2006194657 A JP 2006194657A JP 2005004880 A JP2005004880 A JP 2005004880A JP 2005004880 A JP2005004880 A JP 2005004880A JP 2006194657 A JP2006194657 A JP 2006194657A
Authority
JP
Japan
Prior art keywords
luminance
defect
pixel
image
brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005004880A
Other languages
Japanese (ja)
Other versions
JP4513962B2 (en
Inventor
Tetsuya Otani
哲也 大谷
Minoru Akutsu
実 阿久津
Ayako Endo
彩子 遠藤
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2005004880A priority Critical patent/JP4513962B2/en
Publication of JP2006194657A publication Critical patent/JP2006194657A/en
Application granted granted Critical
Publication of JP4513962B2 publication Critical patent/JP4513962B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Testing Of Optical Devices Or Fibers (AREA)
  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a pseudo defective image creation method capable of extracting easily a part having a brightness difference, and a device using it. <P>SOLUTION: This pseudo defective image creation method for creating simultatively a limit sample used for a defect inspection device for extracting a brightness irregular defect in an image device and determining its quality is described as follows; a brightness value of each pixel in a brightness irregular defect part is calculated and substituted by using a brightness value of a surrounding pixel not in the brightness irregular defect part, based on existing image data; a brightness value of one pixel in the brightness irregular defect part is calculated and substituted by using a brightness value of its peripheral pixel, to thereby determine a brightness irregularity removal image; a brightness irregularity removal part is subtracted from the existing image data to determine the brightness difference; a processing treatment is applied to the brightness difference; and the brightness difference subjected to the processing treatment is stuck successively onto an optional image, to thereby create the pseudo defective image. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成方法及びこれを用いた装置において、特に輝度差の部分を容易に抽出することが可能な擬似欠陥画像作成方法及びこれを用いた装置に関する。   The present invention relates to a pseudo defect image creation method for artificially creating a limit sample used in a defect inspection apparatus that extracts a nonuniformity defect of a brightness of an image device and judges pass / fail, and an apparatus using the pseudo defect image creation method. The present invention relates to a pseudo defect image generation method and an apparatus using the same.

画像デバイス、例えば、液晶表示器等の表示手段やCCD(Charge-Coupled Devices)イメージセンサやCMOS(Complementary Metal-Oxide Semiconductor)イメージセンサ等の撮像手段においては、その製造工程で生じる材料の不均一性、キズ、汚れ等に起因して局所的な輝度ムラ欠陥が発生し、当該輝度ムラ欠陥が或る限度以上の画像デバイスは不良品として排除される。   In imaging devices such as display devices such as liquid crystal displays, CCD (Charge-Coupled Devices) image sensors, and CMOS (Complementary Metal-Oxide Semiconductor) image sensors, material non-uniformity that occurs in the manufacturing process. Local brightness unevenness defects occur due to scratches, dirt, etc., and an image device having the brightness unevenness defect exceeding a certain limit is excluded as a defective product.

このため、画像デバイスの画像データを演算処理することにより、輝度ムラ欠陥を抽出して当該画像デバイスの要否を判定する検査装置が稼動している。そして、従来の画像デバイスの検査装置等に関連する先行技術文献としては次のようなものがある。   For this reason, an inspection apparatus is operating that extracts the luminance unevenness defect by calculating the image data of the image device and determines whether the image device is necessary. Prior art documents related to conventional image device inspection apparatuses and the like include the following.

特開平06−201516号公報Japanese Patent Laid-Open No. 06-201516 特開平07−098574号公報Japanese Unexamined Patent Publication No. 07-098574 特開平10−148619号公報JP-A-10-148619 特開平11−183321号公報Japanese Patent Laid-Open No. 11-183321 特開2000−215310号公報JP 2000-215310 A 特開2001−305075号公報JP 2001-305075 A

図11はこのような従来の画像デバイスの検査装置の一例を示す構成ブロック図である。図11において1はカメラ等の画像撮影手段、2は画像撮影手段1から画像データを取得して蓄積する画像取得手段、3はCPU(Central Processing Unit)等の演算制御手段、4はCRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等の表示手段、5は検査パターンを発生させるパターン発生手段、6は被検査対象である液晶表示器等の画像デバイスである。   FIG. 11 is a configuration block diagram showing an example of such a conventional image device inspection apparatus. In FIG. 11, 1 is an image capturing means such as a camera, 2 is an image acquiring means for acquiring and storing image data from the image capturing means 1, 3 is an arithmetic control means such as a CPU (Central Processing Unit), and 4 is a CRT (Cathode). Display means such as a ray tube (LCD) or LCD (Liquid Crystal Display), 5 is a pattern generating means for generating an inspection pattern, and 6 is an image device such as a liquid crystal display to be inspected.

画像撮影手段1の出力である画像データは画像取得手段2に接続され、画像取得手段2の出力は演算制御手段3に接続される。演算制御手段4からの表示信号及び制御信号は表示手段4及びパターン発生手段5にそれぞれ接続され、パターン発生手段5の出力は画像デバイス6に接続される。   The image data that is the output of the image capturing means 1 is connected to the image acquisition means 2, and the output of the image acquisition means 2 is connected to the calculation control means 3. A display signal and a control signal from the arithmetic control unit 4 are connected to the display unit 4 and the pattern generation unit 5, respectively, and an output of the pattern generation unit 5 is connected to the image device 6.

ここで、図11に示す従来例の動作を簡単に説明する。演算制御手段3はパターン発生手段5を制御して検査パターンを発生させると共に画像デバイス6に発生させた検査パターンを表示させる。   Here, the operation of the conventional example shown in FIG. 11 will be briefly described. The arithmetic control unit 3 controls the pattern generating unit 5 to generate an inspection pattern and display the generated inspection pattern on the image device 6.

一方、画像撮影手段1は画像デバイス6に表示された検査パターンを撮影し撮影した画像データを画像取得手段2に出力する。画像取得手段2は入力された画像データを蓄積すると共に演算制御手段3に出力する。   On the other hand, the image capturing unit 1 captures the inspection pattern displayed on the image device 6 and outputs the captured image data to the image acquisition unit 2. The image acquisition means 2 accumulates the input image data and outputs it to the arithmetic control means 3.

演算制御手段3は取得した画像データをフィルタリング処理やラベリング処理等の処理を行った後、輝度ムラ欠陥の限度サンプル(良品レベルか不良品レベルであるかの境界のもの)との間で対比して被検査対象である画像デバイス6の良否を判断する共に判定結果を表示手段4に適宜表示させる。   The arithmetic control means 3 performs processing such as filtering processing and labeling processing on the acquired image data, and then compares it with a limit sample of luminance unevenness defect (at the boundary between the non-defective product level and the defective product level). Then, the quality of the image device 6 to be inspected is judged and the judgment result is appropriately displayed on the display means 4.

但し、画像デバイス6で生じる輝度ムラ欠陥は、その大きさや形状、位置、背景等の諸条件が様々であり、このような多様な輝度ムラ欠陥を図11に示すような検査装置で的確に検出するためには、数多くの輝度ムラ欠陥の限度サンプルを収集して検査装置に設定する必要性があるものの、輝度ムラ欠陥の限度サンプルの収集は非常に煩雑であり、実際に発生した輝度ムラ欠陥の限度サンプルを収集するだけでは不十分である場合が多い。   However, the luminance unevenness defect generated in the image device 6 has various conditions such as the size, shape, position, and background, and such various luminance unevenness defects are accurately detected by an inspection apparatus as shown in FIG. In order to achieve this, it is necessary to collect a large number of brightness unevenness defect limit samples and set them in the inspection device. However, collecting the brightness unevenness defect limit samples is very complicated, and the actual brightness unevenness defect has occurred. Often, it is not sufficient to collect the limit sample.

このため、実際に収集した輝度ムラ欠陥の画像データに基づき、演算制御手段3等が大きさや形状、位置、背景等の諸条件を適宜変更した擬似欠陥画像を計算により求めて、当該擬似欠陥画像を輝度ムラ欠陥の限度サンプルとして用いることにより、輝度ムラ欠陥の限度サンプルの不足を補うことがある。   For this reason, based on the actually collected image data of the uneven brightness defect, the arithmetic control means 3 or the like calculates a pseudo defect image in which various conditions such as size, shape, position, and background are appropriately changed, and calculates the pseudo defect image. May be used as the limit sample of the brightness unevenness defect to compensate for the lack of the limit sample of the brightness unevenness defect.

図12はこのような擬似欠陥画像の生成方法を説明ずるフロー図である。図12中”S001”において演算制御手段3は、擬似欠陥画像を作成するか否かを判断し、もし、擬似欠陥画像を生成すると判断した場合には、図12中”S002”において演算制御手段3は,画像取得手段2等の蓄積されている既存の画像データ(必ずしも、限度サンプルに限るものではなく、良品サンプルであっても不良品サンプルであっても構わない)の輝度ムラ欠陥部分を指定する画面を表示手段4上に表示させる。   FIG. 12 is a flowchart for explaining a method for generating such a pseudo defect image. In “S001” in FIG. 12, the arithmetic control means 3 determines whether or not a pseudo defect image is to be created. If it is determined that a pseudo defect image is to be generated, the arithmetic control means in “S002” in FIG. 3 indicates a luminance unevenness defect portion of the existing image data stored in the image acquisition means 2 or the like (not necessarily limited samples, which may be non-defective samples or defective samples). A designated screen is displayed on the display means 4.

ユーザの操作によって輝度ムラ欠陥部分が指定されると、図12中”S003”において演算制御手段3は、輝度ムラ欠陥部分を切り取ると共に図12中”S004”において演算制御手段3は、切り取った輝度ムラ欠陥部分を任意の画像に貼り付けて擬似欠陥画像を生成する。   When the luminance unevenness defect portion is designated by the user's operation, the calculation control means 3 cuts out the luminance unevenness defect portion in “S003” in FIG. 12 and the calculation control means 3 cuts out the luminance in “S004” in FIG. A pseudo defect image is generated by pasting a nonuniformity defect portion on an arbitrary image.

しかし、図12に示すような従来の擬似欠陥画像の生成方法では既存の画像データから単純に輝度ムラ欠陥部分を切り取った場合には、輝度差ではなく輝度の絶対値となり、背景部分を含んだ値となってしまうため、このまま任意の画像に貼り付けると境界が不連続になってしまう言った問題点があった。   However, in the conventional method for generating a pseudo defect image as shown in FIG. 12, when a luminance unevenness defect portion is simply cut out from existing image data, it becomes an absolute value of luminance, not a luminance difference, and includes a background portion. Therefore, there is a problem that the boundary becomes discontinuous when pasted on an arbitrary image as it is.

例えば、図13はこのような不具合の状況を説明するための画像データと画素情報との関係を示す説明図であり、図13中”PD01”に示すような既存の画像データに基づき擬似欠陥画像を生成する場合、図13中”LN01”に示す線上の一列の画素情報をグラフにすると図13中”CH01”に示すような特性曲線になる。   For example, FIG. 13 is an explanatory view showing the relationship between image data and pixel information for explaining the situation of such a defect, and a pseudo defect image based on existing image data as shown by “PD01” in FIG. When the pixel information of one column on the line indicated by “LN01” in FIG. 13 is graphed, a characteristic curve as indicated by “CH01” in FIG. 13 is obtained.

そして、図13中”RG01”に示す領域を輝度ムラ欠陥部分として指定した場合には、図13中”CH02”に示すように切り取られ、言い換えれば、図13中”BG01”に示す背景部分も併せて切り取られてしまうので、図13中”CH02”に示す切り取られた輝度ムラ欠陥部分には図13中”BG02”に示すような背景部分が含まれてしまう。このため、輝度の絶対値をこのまま任意の画像に貼り付けると境界が不連続になってしまうことになる。   When the region indicated by “RG01” in FIG. 13 is designated as a luminance unevenness defect portion, it is cut out as indicated by “CH02” in FIG. 13, in other words, the background portion indicated by “BG01” in FIG. Since it is cut out at the same time, the cut-out luminance unevenness defective portion indicated by “CH02” in FIG. 13 includes a background portion indicated by “BG02” in FIG. For this reason, if the absolute value of the luminance is pasted on an arbitrary image as it is, the boundary becomes discontinuous.

一方、このように輝度の絶対値ではなく輝度差の部分のみを切り取る方法としては、平滑化フィルタ処理により輝度ムラ欠陥を消した画像を生成し、元の画像データから当該フィルタ処理をした画像を減算することが考えられるものの、一般的に輝度ムラ欠陥を消すような平滑化フィルタの設計は容易ではないと言った問題点があった。
従って本発明が解決しようとする課題は、輝度差の部分を容易に抽出することが可能な擬似欠陥画像作成方法及びこれを用いた装置を実現することにある。
On the other hand, as a method of cutting out only the luminance difference portion instead of the absolute value of the luminance in this way, an image in which the luminance unevenness defect is eliminated by the smoothing filter processing is generated, and the image subjected to the filtering processing from the original image data is generated. Although it is possible to subtract, there is a problem that it is generally not easy to design a smoothing filter that eliminates the uneven brightness defect.
Therefore, the problem to be solved by the present invention is to realize a pseudo defect image creation method and an apparatus using the same, which can easily extract a luminance difference portion.

このような課題を達成するために、本発明のうち請求項1記載の発明は、
画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成方法であって、
既存の画像データに基づき輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、輝度ムラ欠陥部分の一画素の輝度値をその周辺の画素の輝度値を用いて計算して置換して輝度ムラ除去画像を求め、前記既存の画像データから前記輝度ムラ除去部分を減算して輝度差を求め、前記輝度差に対して加工処理を行い、加工処理された前記輝度差を任意の画像に順次貼り付けての擬似欠陥画像を生成することにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。
In order to achieve such a problem, the invention according to claim 1 of the present invention is:
A pseudo-defect image creation method for pseudo-creating a limit sample used in a defect inspection apparatus that extracts a luminance unevenness defect of an image device and determines whether it is good or bad,
Based on the existing image data, the luminance value of each pixel of the luminance unevenness defect portion is calculated and replaced using the luminance value of the pixel that is not the surrounding luminance unevenness defect portion, and the luminance value of one pixel of the luminance unevenness defect portion is replaced. A luminance unevenness-removed image is obtained by calculating and replacing using the luminance values of surrounding pixels, and a luminance difference is obtained by subtracting the luminance unevenness-removed portion from the existing image data, and the luminance difference is processed. By performing the processing and generating the pseudo defect image by sequentially pasting the processed luminance difference to an arbitrary image, it is possible to compensate for the lack of the limit sample of the luminance unevenness defect.

請求項2記載の発明は、
画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成方法であって、
既存の画像データに基づき輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、輝度ムラ欠陥部分の一画素の輝度値をその周辺の画素の輝度値の平均値で置換して輝度ムラ除去画像を求め、前記既存の画像データから前記輝度ムラ除去部分を減算して輝度差を求め、前記輝度差に対して加工処理を行い、加工処理された前記輝度差を任意の画像に順次貼り付けての擬似欠陥画像を生成することにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。
The invention according to claim 2
A pseudo-defect image creation method for pseudo-creating a limit sample used in a defect inspection apparatus that extracts a luminance unevenness defect of an image device and determines whether it is good or bad,
Based on the existing image data, the luminance value of each pixel of the luminance unevenness defect portion is calculated and replaced using the luminance value of the pixel that is not the surrounding luminance unevenness defect portion, and the luminance value of one pixel of the luminance unevenness defect portion is replaced. A luminance unevenness-removed image is obtained by substituting with the average value of the luminance values of surrounding pixels, a luminance difference is obtained by subtracting the luminance unevenness-removed portion from the existing image data, and a processing process is performed on the luminance difference. By generating the pseudo defect image by sequentially pasting the processed and processed luminance difference to an arbitrary image, it is possible to compensate for the lack of the limit sample of the luminance unevenness defect.

請求項3記載の発明は、
請求項1若しくは請求項2記載の発明である擬似欠陥画像作成方法であって、
前記輝度ムラ欠陥部分の一画素の輝度値を、
((βZr+αZl)/(α+β)+(γZt+δZb)/(δ+γ))
右側の輝度ムラ欠陥部分でない画素までの距離:α
左側の輝度ムラ欠陥部分でない画素までの距離:β
下側の輝度ムラ欠陥部分でない画素までの距離:γ
上側の輝度ムラ欠陥部分でない画素までの距離:δ
右側の輝度ムラ欠陥部分でない画素の輝度値:Zr
左側の輝度ムラ欠陥部分でない画素の輝度値:Zl
下側の輝度ムラ欠陥部分でない画素の輝度値:Zt
上側の輝度ムラ欠陥部分でない画素の輝度値:Zb
で計算して置換することにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。
The invention described in claim 3
A pseudo defect image creating method according to claim 1 or claim 2,
The luminance value of one pixel of the luminance unevenness defect portion,
((βZr + αZl) / (α + β) + (γZt + δZb) / (δ + γ))
Distance to the pixel that is not the right luminance unevenness defect part: α
The distance to the pixel that is not the left luminance unevenness defect part: β
Distance to the pixel that is not the lower luminance unevenness defective part: γ
Distance to the pixel that is not the upper luminance unevenness defect portion: δ
Luminance value of a pixel not on the right side of the luminance unevenness defect portion: Zr
Luminance value of a pixel that is not a left luminance unevenness defect portion: Zl
Luminance value of a pixel that is not a lower luminance unevenness defect portion: Zt
Luminance value of a pixel that is not the upper luminance unevenness defect portion: Zb
By substituting and calculating in step (2), it is possible to compensate for the lack of the limit sample of the luminance unevenness defect.

請求項4記載の発明は、
画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成装置において、
既存の画像データが記憶される記憶手段と、輝度ムラ欠陥部分を指定するための入力手段と、前記既存の画像データに基づき指定された前記輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、輝度ムラ欠陥部分の一画素の輝度値をその周辺の画素の輝度値を用いて計算して置換して輝度ムラ除去画像を求め、前記既存の画像データから前記輝度ムラ除去部分を減算して輝度差を求め、前記輝度差に対して加工処理を行い、加工処理された前記輝度差を任意の画像に順次貼り付けての擬似欠陥画像を生成する演算制御手段と、前記演算制御手段の制御により前記輝度ムラ欠陥部分を指定するための画面を表示させる表示手段とを備えたことにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。
The invention according to claim 4
In a pseudo defect image creation device that artificially creates a limit sample used in a defect inspection device that extracts a luminance unevenness defect of an image device and determines whether it is good or bad,
The storage means for storing the existing image data, the input means for designating the luminance unevenness defect portion, the luminance value of each pixel of the luminance unevenness defect portion designated based on the existing image data, Calculates and replaces the brightness value of a pixel that is not a luminance unevenness defect portion, and calculates and replaces the brightness value of one pixel of the brightness unevenness defect portion using the brightness value of surrounding pixels. And subtracting the luminance unevenness removal portion from the existing image data to obtain a luminance difference, performing a processing process on the luminance difference, and sequentially pasting the processed luminance difference on an arbitrary image And a display means for displaying a screen for designating the luminance unevenness defect part under the control of the arithmetic control means. It is possible to compensate for.

請求項5記載の発明は、
画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成装置において、
既存の画像データが記憶される記憶手段と、輝度ムラ欠陥部分を指定するための入力手段と、前記既存の画像データに基づき指定された前記輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、輝度ムラ欠陥部分の一画素の輝度値をその周辺の画素の輝度値の平均値で置換して輝度ムラ除去画像を求め、前記既存の画像データから前記輝度ムラ除去部分を減算して輝度差を求め、前記輝度差に対して加工処理を行い、加工処理された前記輝度差を任意の画像に順次貼り付けての擬似欠陥画像を生成する演算制御手段と、前記演算制御手段の制御により前記輝度ムラ欠陥部分を指定するための画面を表示させる表示手段とを備えたことにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。
The invention according to claim 5
In a pseudo defect image creation device that artificially creates a limit sample used in a defect inspection device that extracts a luminance unevenness defect of an image device and determines whether it is good or bad,
The storage means for storing the existing image data, the input means for designating the luminance unevenness defect portion, the luminance value of each pixel of the luminance unevenness defect portion designated based on the existing image data, Calculate and replace using the brightness value of the pixel that is not the uneven brightness defect part, and replace the brightness value of one pixel of the uneven brightness defect part with the average value of the brightness values of the surrounding pixels to obtain the uneven brightness removal image. , Subtracting the luminance unevenness removal portion from the existing image data to obtain a luminance difference, performing processing on the luminance difference, and sequentially pasting the processed luminance difference to an arbitrary image Computation control means for generating a defect image, and display means for displaying a screen for designating the luminance unevenness defect portion under the control of the arithmetic control means are provided to compensate for the lack of the limit sample of the brightness unevenness defect. It is possible.

請求項6記載の発明は、
請求項4若しくは請求項5記載の発明である擬似欠陥画像作成方法であって、
前記演算制御手段が、
前記輝度ムラ欠陥部分の一画素の輝度値を、
((βZr+αZl)/(α+β)+(γZt+δZb)/(δ+γ))
右側の輝度ムラ欠陥部分でない画素までの距離:α
左側の輝度ムラ欠陥部分でない画素までの距離:β
下側の輝度ムラ欠陥部分でない画素までの距離:γ
上側の輝度ムラ欠陥部分でない画素までの距離:δ
右側の輝度ムラ欠陥部分でない画素の輝度値:Zr
左側の輝度ムラ欠陥部分でない画素の輝度値:Zl
下側の輝度ムラ欠陥部分でない画素の輝度値:Zt
上側の輝度ムラ欠陥部分でない画素の輝度値:Zb
で計算して置換することにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。
The invention described in claim 6
A pseudo defect image creating method according to claim 4 or claim 5,
The arithmetic control means is
The luminance value of one pixel of the luminance unevenness defect portion,
((βZr + αZl) / (α + β) + (γZt + δZb) / (δ + γ))
Distance to the pixel that is not the right luminance unevenness defect part: α
The distance to the pixel that is not the left luminance unevenness defect part: β
Distance to the pixel that is not the lower luminance unevenness defective part: γ
Distance to the pixel that is not the upper luminance unevenness defect portion: δ
Luminance value of a pixel not on the right side of the luminance unevenness defect portion: Zr
Luminance value of a pixel that is not a left luminance unevenness defect portion: Zl
Luminance value of a pixel that is not a lower luminance unevenness defect portion: Zt
Luminance value of a pixel that is not the upper luminance unevenness defect portion: Zb
By substituting and calculating in step (2), it is possible to compensate for the lack of the limit sample of the luminance unevenness defect.

請求項7記載の発明は、
請求項4若しくは請求項5記載の発明である擬似欠陥画像作成方法であって、
前記記憶手段が、
ハードディスク、RAM、若しくは、フラッシュメモリであることにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。
The invention described in claim 7
A pseudo defect image creating method according to claim 4 or claim 5,
The storage means
By using a hard disk, a RAM, or a flash memory, it is possible to make up for a shortage of limit samples of luminance unevenness defects.

請求項8記載の発明は、
請求項4若しくは請求項5記載の発明である擬似欠陥画像作成方法であって、
前記記憶手段が、
フレキシブルディスク、USBメモリ、若しくは、メモリカードであることにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。
The invention described in claim 8
A pseudo defect image creating method according to claim 4 or claim 5,
The storage means
By using a flexible disk, a USB memory, or a memory card, it is possible to make up for a lack of limit samples of luminance unevenness defects.

請求項9記載の発明は、
請求項4若しくは請求項5記載の発明である擬似欠陥画像作成方法であって、
画像デバイスの検査装置に適用したことにより、大きさ,形状、位置、背景、コントラスト等の異なる擬似欠陥画像が容易に生成できるので画像デバイスの検査もまた容易になる。
The invention according to claim 9
A pseudo defect image creating method according to claim 4 or claim 5,
By applying it to an image device inspection apparatus, it is possible to easily generate pseudo defect images having different sizes, shapes, positions, backgrounds, contrasts, and the like, so that the inspection of the image device is also facilitated.

本発明によれば次のような効果がある。
請求項1,2,3,4,5,6,7及び請求項8の発明によれば、既存の画像データに基づき輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、更に、輝度ムラ欠陥部分の一画素の輝度値をその周辺の8個の画素の輝度値の平均値で置換して輝度ムラ除去画像を求め、既存の画像データから減算して輝度差(背景部分を含まない輝度ムラ欠陥部分:以下、単に輝度ムラ欠陥部分(輝度差))を求めることにより、輝度差の部分を容易に抽出することが可能になる。
The present invention has the following effects.
According to the first, second, third, fourth, fifth, sixth and seventh and eighth aspects of the present invention, the luminance value of each pixel of the luminance unevenness defect portion is calculated based on the existing image data. A luminance unevenness-removed image is obtained by substituting the luminance value of one pixel with the average value of the luminance values of the eight neighboring pixels. The luminance difference portion can be easily extracted by subtracting from the existing image data to obtain the luminance difference (luminance unevenness defect portion not including the background portion: hereinafter, simply the luminance unevenness defect portion (luminance difference)). It becomes possible.

また、輝度ムラ欠陥部分(輝度差)に対して加工処理を適宜行い、大きさ,形状、位置、背景、コントラスト等を変えて輝度ムラ欠陥部分(輝度差)を生成し擬似欠陥画像を生成することにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。   Further, processing is appropriately performed on the luminance unevenness defect portion (luminance difference), and the size unevenness defect portion (luminance difference) is generated by changing the size, shape, position, background, contrast, etc., and the pseudo defect image is generated. Thus, the shortage of the limit sample of the luminance unevenness defect can be compensated.

また、請求項9の発明によれば、画像デバイスの検査装置に適用、具体的には、画像デバイスの検査装置を構成する演算制御手段に擬似欠陥画像作成装置の機能を持たせることにより、大きさ,形状、位置、背景、コントラスト等の異なる擬似欠陥画像が容易に生成できるので画像デバイスの検査もまた容易になる。   In addition, according to the invention of claim 9, it is applied to the inspection device for an image device, specifically, the operation control means constituting the inspection device for the image device is provided with the function of the pseudo defect image creation device. Since it is possible to easily generate pseudo-fault images having different sizes, shapes, positions, backgrounds, contrasts, and the like, it is also easy to inspect image devices.

以下本発明を図面を用いて詳細に説明する。図1は本発明に係る擬似欠陥画像作成装置の一実施例を示す構成ブロック図である。   Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of a pseudo defect image creating apparatus according to the present invention.

図1において7は既存の画像データが記憶されているハードディスク、RAM(Random Access Memory)やフラッシュメモリ等の記憶手段、8はCPU等の演算制御手段、9はCRTやLCD等の表示手段、10はキーボードやポインティングデバイス等の入力手段である。また、7,8,9及び10は擬似欠陥画像作成装置50を構成している。   In FIG. 1, reference numeral 7 denotes a hard disk in which existing image data is stored, storage means such as a RAM (Random Access Memory) or flash memory, 8 denotes arithmetic control means such as a CPU, 9 denotes display means such as a CRT or LCD, 10 Are input means such as a keyboard and a pointing device. Reference numerals 7, 8, 9 and 10 constitute a pseudo defect image creating apparatus 50.

記憶手段7の出力は演算制御手段8に接続され、演算制御手段8からの表示信号は表示手段9に接続される。また、入力手段10の出力が演算制御手段8に接続される。   The output of the storage means 7 is connected to the calculation control means 8, and the display signal from the calculation control means 8 is connected to the display means 9. The output of the input means 10 is connected to the calculation control means 8.

ここで、図1に示す実施例の動作を図2、図3、図4、図5、図6、図7、図8、図9及び図10を用いて説明する。図2は擬似欠陥画像作成装置50の動作を説明するフロー図、図3は輝度ムラ欠陥部分を指定するために表示手段9に表示される表示画面の一例を示す説明図、図4、図5、図6及び図7は画像処理の過程の画像データを示す説明図、図8及び図9は輝度ムラ除去画像の作成過程を示す説明図、図10は画像データと画素情報との関係を示す説明図である。   Here, the operation of the embodiment shown in FIG. 1 will be described with reference to FIGS. 2, 3, 4, 5, 6, 7, 8, 9 and 10. FIG. 2 is a flowchart for explaining the operation of the pseudo defect image creating apparatus 50, FIG. 3 is an explanatory view showing an example of a display screen displayed on the display means 9 for designating a luminance unevenness defect portion, and FIGS. 6 and 7 are explanatory diagrams showing image data in the process of image processing, FIGS. 8 and 9 are explanatory diagrams showing the process of creating a luminance unevenness-removed image, and FIG. 10 shows the relationship between image data and pixel information. It is explanatory drawing.

図2中”S101”において擬似欠陥画像作成装置50、具体的には演算制御手段8は、擬似欠陥画像を作成するか否かを判断し、もし、擬似欠陥画像を生成すると判断した場合には、図2中”S102”において演算制御手段8は,記憶手段7に記憶されている既存の画像データ(必ずしも、限度サンプルに限るものではなく、良品サンプルであっても不良品サンプルであっても構わない)を読み出して輝度ムラ欠陥部分を指定する画面を表示手段9上に表示させる。   In “S101” in FIG. 2, the pseudo defect image creating apparatus 50, specifically, the arithmetic control unit 8 determines whether or not to create a pseudo defect image, and if it is determined to generate a pseudo defect image. 2, the calculation control means 8 in the “S102” in FIG. 2, the existing image data stored in the storage means 7 (not necessarily limited to the limit sample, whether it is a good product sample or a defective product sample). The display unit 9 displays a screen for designating a luminance unevenness defect portion.

例えば、演算制御手段8は、図3中”DS11”に示すような輝度ムラ欠陥部分を指定する画面を表示手段9上に表示させる。   For example, the arithmetic control unit 8 displays on the display unit 9 a screen for designating a luminance unevenness defect portion as indicated by “DS11” in FIG.

より具体的には、第1に、演算制御手段8は、記憶手段9に記憶されている既存の画像データを読み込み、そのまま、或いは、画像データに輝度ムラ欠陥を強調する画像処理を施して、図4中”PD21”、或いは、図5中”PD31”に示すような画像データを生成して表示手段9上に表示させる。   More specifically, first, the arithmetic control unit 8 reads the existing image data stored in the storage unit 9 and performs image processing for enhancing the luminance unevenness defect as it is, Image data such as “PD21” in FIG. 4 or “PD31” in FIG. 5 is generated and displayed on the display means 9.

第2に、演算制御手段8は、図4中”PD21”、或いは、図5中”PD31”に示すような画像データに対して、2値化処理を行い図6中”PD41”に示すような画像データを生成して表示手段9上に表示させる。ここで、2値化処理とは、輝度値がある閾値以上である画素を”1”、閾値未満である画素を”0”とする処理である。   Secondly, the arithmetic control means 8 performs a binarization process on the image data as indicated by “PD21” in FIG. 4 or “PD31” in FIG. 5, and as indicated by “PD41” in FIG. Simple image data is generated and displayed on the display means 9. Here, the binarization process is a process in which a pixel whose luminance value is greater than or equal to a threshold value is “1” and a pixel whose luminance value is less than the threshold value is “0”.

第3に、演算制御手段8は、図6中PD41”に示すような画像データに対してノイズ除去処理を行い図7中”PD51”に示すような画像データを生成して表示手段9上に表示させる。   Third, the arithmetic control unit 8 performs noise removal processing on the image data as indicated by PD41 in FIG. 6 to generate image data as indicated by “PD51” in FIG. Display.

ここで、当該ノイズ除去処理とは、値が”1”の画素が多く存在する領域内に値が”0”の画素があった場合には当該画素の値を”1”とし、一方、値が”0”の画素が多く存在する領域内に値が”1”の画素があった場合には当該画素の値を”0”とする処理である。   Here, the noise removal processing means that if there is a pixel having a value of “0” in a region where there are many pixels having a value of “1”, the value of the pixel is set to “1”. When there is a pixel having a value of “1” in an area where there are many pixels having a “0”, the value of the pixel is set to “0”.

そして、図7中”DP51”に示す値が”1”である画素の領域が輝度ムラ欠陥部分に相当することになる。   Then, a pixel region having a value “1” shown in “DP51” in FIG. 7 corresponds to a luminance unevenness defect portion.

ちなみに、”画像処理”、”2値化処理”及び”ノイズ除去処理”の各種パラメータ等を変更された場合、演算制御手段8は、画像データに対して各種処理を再度行い図4〜図7に示すような画像データ(未処理、処理途中、或いは、最終処理結果の画像データ)の再表示を行う。   Incidentally, when various parameters such as “image processing”, “binarization processing”, and “noise removal processing” are changed, the arithmetic control means 8 performs various processing on the image data again, and FIGS. The image data (unprocessed, in the middle of processing, or image data of the final processing result) as shown in FIG.

このように、ユーザは、図3中”DS11”に示す表示画面を入力手段10を用いて操作して”画像処理”、”2値化処理”及び”ノイズ除去処理”の各種パラメータ等を変更調整しながら、図4〜図7に示すような画像データ(未処理、処理途中、或いは、最終処理結果の画像データ)の再表示を確認することにより、輝度ムラ欠陥部分がうまく指定されているかをインタラクティブに確認しながら領域指定を行うことが可能になる。   As described above, the user operates the display screen indicated by “DS11” in FIG. 3 using the input means 10 to change various parameters of “image processing”, “binarization processing”, and “noise removal processing”. Whether the luminance unevenness defective part is well designated by checking the re-display of the image data (unprocessed, in the middle of processing, or the image data of the final processing result) as shown in FIGS. It is possible to specify an area while interactively confirming.

図3中”DS11”に示すような画面において入力手段10を用いたユーザの操作によって輝度ムラ欠陥部分が指定されると、図2中”S103”において演算制御手段8は、輝度ムラ欠陥部分を切り取り、背景部分を除去した輝度差を求める。   When the luminance unevenness defect portion is designated by the user's operation using the input means 10 on the screen as shown in “DS11” in FIG. 3, the arithmetic control means 8 in FIG. The brightness difference is obtained by cutting and removing the background portion.

例えば、演算制御手段8は、切り取った輝度ムラ欠陥部分から以下に示す手順で輝度ムラ除去画像を作成し、切り取った輝度ムラ欠陥部分から輝度ムラ除去画像を減算することにより、輝度差を求める。   For example, the arithmetic control unit 8 creates a brightness unevenness-removed image from the cut-out brightness unevenness defect portion by the following procedure, and subtracts the brightness unevenness-removed image from the cut-out brightness unevenness defect portion to obtain the brightness difference.

先ず第1に、演算制御手段8は、輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算する。   First, the arithmetic control means 8 calculates the luminance value of each pixel of the luminance unevenness defect portion using the luminance value of the pixel that is not the surrounding luminance unevenness defect portion.

例えば、図8において図面右側の輝度ムラ欠陥部分でない画素までの距離を”α”、図面左側の輝度ムラ欠陥部分でない画素までの距離を”β”、図面下側の輝度ムラ欠陥部分でない画素までの距離を”γ”、図面上側の輝度ムラ欠陥部分でない画素までの距離を”δ”、図面右側の輝度ムラ欠陥部分でない画素の輝度値を”Zr”、図面左側の輝度ムラ欠陥部分でない画素の輝度値を”Zl”、図面下側の輝度ムラ欠陥部分でない画素の輝度値を”Zt”、図面上側の輝度ムラ欠陥部分でない画素の輝度値を”Zb”した場合、輝度ムラ欠陥部分の一画素の輝度値を”Z”は、
Z=((βZr+αZl)/(α+β)+(γZt+δZb)/(δ+γ)) (1)
となり、輝度ムラ欠陥部分の各画素の輝度値を式(1)を用いて順次置換して行く。
For example, in FIG. 8, the distance to the pixel that is not the luminance unevenness defect portion on the right side of the drawing is “α”, the distance to the pixel that is not the luminance unevenness defect portion on the left side of the drawing is “β”, Is “γ”, the distance to the pixel that is not the luminance unevenness defect portion on the upper side of the drawing is “δ”, the luminance value of the pixel that is not the luminance unevenness defect portion on the right side of the drawing is “Zr”, and the pixel that is not the luminance unevenness defect portion on the left side of the drawing When the luminance value of the pixel that is not the luminance unevenness defect portion on the lower side of the drawing is “Zt” and the luminance value of the pixel that is not the luminance unevenness defect portion on the upper side of the drawing is “Zb”, The luminance value of one pixel is “Z”
Z = ((βZr + αZl) / (α + β) + (γZt + δZb) / (δ + γ)) (1)
Thus, the luminance value of each pixel in the luminance unevenness defect portion is sequentially replaced using the equation (1).

第2に、演算制御手段8は、式(1)を用いて順次置換された輝度ムラ欠陥部分に対して、更に、各画素の輝度値を周辺の8個の画素の輝度値の平均値で置換してより滑らかにする。   Secondly, the arithmetic control means 8 further calculates the luminance value of each pixel as the average value of the luminance values of the surrounding eight pixels with respect to the luminance unevenness defect portion sequentially replaced using the equation (1). Replace to make it smoother.

例えば、図9中”Z”に示す輝度ムラ欠陥部分の一画素の輝度値を、図9中”1”、”2”、”3”、”4”、”5”、”6”、”7”及び”8”に示すようなその周辺の画素の輝度値の平均値で置き換える。   For example, the luminance value of one pixel of the uneven luminance defect portion indicated by “Z” in FIG. 9 is represented by “1”, “2”, “3”, “4”, “5”, “6”, “ The average value of the luminance values of the surrounding pixels as indicated by 7 "and" 8 "is replaced.

ちなみに、このような第2の処理は輝度ムラ欠陥部分の全ての画素に対して行われるので、周辺の8個の画素の輝度値も順次変化して行くことになるので、当該第2の処理を繰り返すことにより、より平衡に近い状態になる。   Incidentally, since such second processing is performed for all the pixels in the luminance unevenness defect portion, the luminance values of the eight neighboring pixels also change sequentially, so that the second processing is performed. By repeating the above, the state becomes closer to equilibrium.

最後に、演算制御手段8は、切り取った輝度ムラ欠陥部分から上述ように求められた輝度ムラ除去画像を減算することにより、輝度差(背景部分を含まない輝度ムラ欠陥部分:以下、単に輝度ムラ欠陥部分(輝度差)と表現する。)を求める。   Finally, the arithmetic control unit 8 subtracts the luminance unevenness-removed image obtained as described above from the cut-out luminance unevenness portion, thereby obtaining a luminance difference (brightness unevenness defect portion not including the background portion: hereinafter, simply luminance unevenness. It is expressed as a defective part (luminance difference).

例えば、図10中”PD61”に示すような既存の画像データに基づき擬似欠陥画像を生成する場合、図10中”LN61”に示す線上の一列の画素情報をグラフにすると図10中”CH61”に示すような特性曲線になる。   For example, when a pseudo defect image is generated based on the existing image data as indicated by “PD61” in FIG. 10, if the pixel information of one column on the line indicated by “LN61” in FIG. 10 is graphed, “CH61” in FIG. It becomes a characteristic curve as shown in.

そして、図10中”RG61”に示す領域を輝度ムラ欠陥部分として指定した場合には、図10中”CH62”に示すように切り取られ、図10中”RG62”及び”RG63”に示す領域から明らかなように、図10中”BG61”に示す背景部分は除去されるので、図10中”CH62”に示す切り取られた輝度ムラ欠陥部分(輝度差)には背景部分が含まれず、輝度ムラ欠陥部分(輝度差)をこのまま任意の画像に貼り付けても境界が不連続になることを防止できることになる。   When the region indicated by “RG61” in FIG. 10 is designated as a luminance unevenness defect portion, it is cut out as indicated by “CH62” in FIG. 10, and from the regions indicated by “RG62” and “RG63” in FIG. Obviously, since the background portion indicated by “BG61” in FIG. 10 is removed, the luminance unevenness defect portion (luminance difference) indicated by “CH62” in FIG. Even if the defective portion (luminance difference) is pasted on an arbitrary image as it is, it is possible to prevent the boundary from becoming discontinuous.

図2中”S104”において演算制御手段8は、輝度ムラ欠陥部分(輝度差)に対して、サイズ変換、コントラスト変換、色変換、ラジアン変換、位置変換、或いは、回転変換等の加工処理を適宜行い、大きさ,形状、位置、背景、コントラスト等を変えて複数の輝度ムラ欠陥部分(輝度差)を生成する。   In “S104” in FIG. 2, the arithmetic control unit 8 appropriately performs processing such as size conversion, contrast conversion, color conversion, radian conversion, position conversion, or rotation conversion on the luminance unevenness defect portion (luminance difference). And a plurality of luminance unevenness defect portions (luminance differences) are generated by changing the size, shape, position, background, contrast, and the like.

最後に、図2中”S105”において演算制御手段8は、生成された各種条件の異なる複数の輝度ムラ欠陥部分(輝度差)を任意の画像に順次貼り付けて複数の擬似欠陥画像を生成する。   Finally, in “S105” in FIG. 2, the arithmetic control unit 8 generates a plurality of pseudo defect images by sequentially pasting a plurality of generated luminance unevenness defect portions (luminance differences) having different various conditions to an arbitrary image. .

この結果、既存の画像データに基づき輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、更に、輝度ムラ欠陥部分の一画素の輝度値をその周辺の8個の画素の輝度値の平均値で置換して輝度ムラ除去画像を求め、既存の画像データから減算して輝度差(背景部分を含まない輝度ムラ欠陥部分:以下、単に輝度ムラ欠陥部分(輝度差))を求めることにより、輝度差の部分を容易に抽出することが可能になる。   As a result, based on the existing image data, the luminance value of each pixel of the luminance unevenness defect portion is calculated and replaced using the luminance value of the pixel that is not the surrounding luminance unevenness defect portion. A luminance unevenness-removed image is obtained by replacing the luminance value of the pixel with the average value of the luminance values of the surrounding eight pixels, and subtracted from the existing image data to obtain a luminance difference (luminance unevenness defect portion not including the background portion: Hereinafter, it is possible to easily extract the luminance difference portion by simply obtaining the luminance unevenness defect portion (luminance difference).

また、輝度ムラ欠陥部分(輝度差)に対して、サイズ変換、コントラスト変換、色変換、ラジアン変換、位置変換、或いは、回転変換等の加工処理を適宜行い、大きさ,形状、位置、背景、コントラスト等を変えて輝度ムラ欠陥部分(輝度差)を生成し擬似欠陥画像を生成することにより、輝度ムラ欠陥の限度サンプルの不足を補うことができる。   In addition, processing such as size conversion, contrast conversion, color conversion, radian conversion, position conversion, or rotation conversion is appropriately performed on the luminance unevenness defect portion (luminance difference), and the size, shape, position, background, By generating a brightness unevenness defect portion (brightness difference) by changing contrast or the like and generating a pseudo defect image, it is possible to compensate for a lack of limit samples of the brightness unevenness defect.

なお、図1に示す実施例においては記憶手段7としてハードディスク、RAMやフラッシュメモリ等を例示しているが、フレキシブルディスク、USB(Universal Serial Bus)メモリ、メモリカード等の脱着可能な外部の記憶手段であっても勿論構わない。   In the embodiment shown in FIG. 1, a hard disk, a RAM, a flash memory, etc. are illustrated as the storage means 7, but removable external storage means such as a flexible disk, a USB (Universal Serial Bus) memory, a memory card, etc. Of course, it doesn't matter.

また、図1に示す実施例では、輝度ムラ欠陥部分の一画素の輝度値をその周辺の8個の画素の輝度値の平均値で置換して輝度ムラ除去画像を求めているが、周辺の画素の個数については何ら”8個”に限定されるわけではなく、より平衡に近い状態になるように周辺の画素の個数を適宜選択すれば良い。   In the embodiment shown in FIG. 1, the luminance unevenness-removed image is obtained by replacing the luminance value of one pixel of the luminance unevenness defective portion with the average value of the luminance values of the eight neighboring pixels. The number of pixels is not limited to “8”, and the number of peripheral pixels may be appropriately selected so as to be closer to equilibrium.

また、図1に示す実施例では擬似欠陥画像作成装置50単体として動作しているが、画像デバイスの検査装置に適用、具体的には、画像デバイスの検査装置を構成する演算制御手段に擬似欠陥画像作成装置50の機能を持たせることにより、大きさ,形状、位置、背景、コントラスト等の異なる擬似欠陥画像が容易に生成できるので画像デバイスの検査もまた容易になる。   In the embodiment shown in FIG. 1, the pseudo defect image creating apparatus 50 operates as a single unit. However, the pseudo defect image creating apparatus 50 is applied to an image device inspection apparatus. By providing the function of the image creating apparatus 50, it is possible to easily generate pseudo-defect images having different sizes, shapes, positions, backgrounds, contrasts, and the like, so that the inspection of the image device is also facilitated.

また、擬似欠陥画像作成装置50によって作成して擬似欠陥画像をデータベース化して画像デバイスの検査装置に導入しても勿論構わない。   Of course, the pseudo defect image creation apparatus 50 may create the pseudo defect image in a database and introduce the database into the image device inspection apparatus.

本発明に係る擬似欠陥画像作成装置の一実施例を示す構成ブロック図である。1 is a block diagram illustrating a configuration of a pseudo defect image creating apparatus according to an embodiment of the present invention. 擬似欠陥画像作成装置の動作を説明するフロー図である。It is a flowchart explaining operation | movement of a pseudo defect image creation apparatus. 表示画面の一例を示す説明図である。It is explanatory drawing which shows an example of a display screen. 画像処理の過程の画像データを示す説明図である。It is explanatory drawing which shows the image data of the process of an image process. 画像処理の過程の画像データを示す説明図である。It is explanatory drawing which shows the image data of the process of an image process. 画像処理の過程の画像データを示す説明図である。It is explanatory drawing which shows the image data of the process of an image process. 画像処理の過程の画像データを示す説明図である。It is explanatory drawing which shows the image data of the process of an image process. 輝度ムラ除去画像の作成過程を示す説明図である。It is explanatory drawing which shows the creation process of a brightness nonuniformity removal image. 輝度ムラ除去画像の作成過程を示す説明図である。It is explanatory drawing which shows the creation process of a brightness nonuniformity removal image. 画像データと画素情報との関係を示す説明図である。It is explanatory drawing which shows the relationship between image data and pixel information. 従来の画像デバイスの検査装置の一例を示す構成ブロック図である。It is a configuration block diagram showing an example of a conventional image device inspection apparatus. 擬似欠陥画像の生成方法を説明ずるフロー図である。It is a flowchart explaining the production | generation method of a pseudo defect image. 画像データと画素情報との関係を示す説明図である。It is explanatory drawing which shows the relationship between image data and pixel information.

符号の説明Explanation of symbols

1 画像撮影手段
2 画像取得手段
3,8 演算制御手段
4,9 表示手段
5 パターン発生手段
6 画像デバイス
7 記憶手段
10 入力手段
50 擬似欠陥画像作成装置
DESCRIPTION OF SYMBOLS 1 Image photographing means 2 Image acquisition means 3, 8 Arithmetic control means 4, 9 Display means 5 Pattern generating means 6 Image device 7 Storage means 10 Input means 50 Pseudo defect image creation apparatus

Claims (9)

画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成方法であって、
既存の画像データに基づき輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、
輝度ムラ欠陥部分の一画素の輝度値をその周辺の画素の輝度値を用いて計算して置換して輝度ムラ除去画像を求め、
前記既存の画像データから前記輝度ムラ除去部分を減算して輝度差を求め、
前記輝度差に対して加工処理を行い、
加工処理された前記輝度差を任意の画像に順次貼り付けての擬似欠陥画像を生成することを特徴とする擬似欠陥画像作成方法。
A pseudo-defect image creation method for pseudo-creating a limit sample used in a defect inspection apparatus that extracts a luminance unevenness defect of an image device and determines whether it is good or bad,
Based on the existing image data, the luminance value of each pixel of the uneven luminance defect portion is calculated and replaced using the luminance value of the pixel that is not the surrounding uneven luminance defect portion,
Calculate the brightness value of one pixel of the uneven brightness defect part using the brightness value of the surrounding pixels to obtain a brightness unevenness-removed image,
Subtract the luminance unevenness removal portion from the existing image data to obtain a luminance difference,
Processing the brightness difference,
A pseudo defect image creating method, wherein a pseudo defect image is generated by sequentially pasting the processed luminance difference to an arbitrary image.
画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成方法であって、
既存の画像データに基づき輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、
輝度ムラ欠陥部分の一画素の輝度値をその周辺の画素の輝度値の平均値で置換して輝度ムラ除去画像を求め、
前記既存の画像データから前記輝度ムラ除去部分を減算して輝度差を求め、
前記輝度差に対して加工処理を行い、
加工処理された前記輝度差を任意の画像に順次貼り付けての擬似欠陥画像を生成することを特徴とする擬似欠陥画像作成方法。
A pseudo-defect image creation method for pseudo-creating a limit sample used in a defect inspection apparatus that extracts a luminance unevenness defect of an image device and determines whether it is good or bad,
Based on the existing image data, the luminance value of each pixel of the uneven luminance defect portion is calculated and replaced using the luminance value of the pixel that is not the surrounding uneven luminance defect portion,
Replace the luminance value of one pixel of the luminance unevenness defective part with the average value of the luminance values of the surrounding pixels to obtain a luminance unevenness removed image,
Subtract the luminance unevenness removal portion from the existing image data to obtain a luminance difference,
Processing the brightness difference,
A pseudo defect image creating method, wherein a pseudo defect image is generated by sequentially pasting the processed luminance difference to an arbitrary image.
前記輝度ムラ欠陥部分の一画素の輝度値を、
((βZr+αZl)/(α+β)+(γZt+δZb)/(δ+γ))
右側の輝度ムラ欠陥部分でない画素までの距離:α
左側の輝度ムラ欠陥部分でない画素までの距離:β
下側の輝度ムラ欠陥部分でない画素までの距離:γ
上側の輝度ムラ欠陥部分でない画素までの距離:δ
右側の輝度ムラ欠陥部分でない画素の輝度値:Zr
左側の輝度ムラ欠陥部分でない画素の輝度値:Zl
下側の輝度ムラ欠陥部分でない画素の輝度値:Zt
上側の輝度ムラ欠陥部分でない画素の輝度値:Zb
で計算して置換することを特徴とする
請求項1若しくは請求項2記載の擬似欠陥画像作成方法。
The luminance value of one pixel of the luminance unevenness defect portion,
((βZr + αZl) / (α + β) + (γZt + δZb) / (δ + γ))
Distance to the pixel that is not the right luminance unevenness defect part: α
The distance to the pixel that is not the left luminance unevenness defect part: β
Distance to the pixel that is not the lower luminance unevenness defective part: γ
Distance to the pixel that is not the upper luminance unevenness defect portion: δ
Luminance value of a pixel not on the right side of the luminance unevenness defect portion: Zr
Luminance value of a pixel that is not a left luminance unevenness defect portion: Zl
Luminance value of a pixel that is not a lower luminance unevenness defect portion: Zt
Luminance value of a pixel that is not the upper luminance unevenness defect portion: Zb
The pseudo defect image creating method according to claim 1, wherein the pseudo defect image creating method calculates and replaces the calculated value.
画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成装置において、
既存の画像データが記憶される記憶手段と、
輝度ムラ欠陥部分を指定するための入力手段と、
前記既存の画像データに基づき指定された前記輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、輝度ムラ欠陥部分の一画素の輝度値をその周辺の画素の輝度値を用いて計算して置換して輝度ムラ除去画像を求め、前記既存の画像データから前記輝度ムラ除去部分を減算して輝度差を求め、前記輝度差に対して加工処理を行い、加工処理された前記輝度差を任意の画像に順次貼り付けての擬似欠陥画像を生成する演算制御手段と、
前記演算制御手段の制御により前記輝度ムラ欠陥部分を指定するための画面を表示させる表示手段と
を備えたことを特徴とする擬似欠陥画像作成装置。
In a pseudo defect image creation device that artificially creates a limit sample used in a defect inspection device that extracts a luminance unevenness defect of an image device and determines whether it is good or bad,
Storage means for storing existing image data;
Input means for designating the uneven brightness defect portion;
The brightness value of each pixel of the brightness unevenness defect portion designated based on the existing image data is calculated and replaced using the brightness value of a pixel that is not the surrounding brightness unevenness defect portion, and The luminance value of the pixel is calculated using the luminance values of the surrounding pixels and replaced to obtain a luminance unevenness-removed image, the luminance unevenness-removed portion is subtracted from the existing image data to obtain a luminance difference, and the luminance An arithmetic control unit that performs processing on the difference and generates a pseudo defect image by sequentially pasting the processed luminance difference to an arbitrary image;
A pseudo defect image creating apparatus comprising: a display unit configured to display a screen for designating the luminance unevenness defect part under the control of the arithmetic control unit.
画像デバイスの輝度ムラ欠陥を抽出して良否を判断する欠陥検査装置で用いられる限度サンプルを擬似的に作成する擬似欠陥画像作成装置において、
既存の画像データが記憶される記憶手段と、
輝度ムラ欠陥部分を指定するための入力手段と、
前記既存の画像データに基づき指定された前記輝度ムラ欠陥部分の各画素の輝度値を、周囲の輝度ムラ欠陥部分ではない画素の輝度値を用いて計算して置換し、輝度ムラ欠陥部分の一画素の輝度値をその周辺の画素の輝度値の平均値で置換して輝度ムラ除去画像を求め、前記既存の画像データから前記輝度ムラ除去部分を減算して輝度差を求め、前記輝度差に対して加工処理を行い、加工処理された前記輝度差を任意の画像に順次貼り付けての擬似欠陥画像を生成する演算制御手段と、
前記演算制御手段の制御により前記輝度ムラ欠陥部分を指定するための画面を表示させる表示手段と
を備えたことを特徴とする擬似欠陥画像作成装置。
In a pseudo defect image creation device that artificially creates a limit sample used in a defect inspection device that extracts a luminance unevenness defect of an image device and determines whether it is good or bad,
Storage means for storing existing image data;
Input means for designating the uneven brightness defect portion;
The brightness value of each pixel of the brightness unevenness defect portion designated based on the existing image data is calculated and replaced using the brightness value of a pixel that is not the surrounding brightness unevenness defect portion, and The brightness unevenness-removed image is obtained by replacing the brightness value of the pixel with the average value of the brightness values of the surrounding pixels, the brightness unevenness-removed portion is subtracted from the existing image data, and the brightness difference is obtained. An arithmetic control unit that performs processing on the image and generates a pseudo defect image by sequentially pasting the processed luminance difference to an arbitrary image;
A pseudo defect image creating apparatus comprising: a display unit configured to display a screen for designating the luminance unevenness defect part under the control of the arithmetic control unit.
前記演算制御手段が、
前記輝度ムラ欠陥部分の一画素の輝度値を、
((βZr+αZl)/(α+β)+(γZt+δZb)/(δ+γ))
右側の輝度ムラ欠陥部分でない画素までの距離:α
左側の輝度ムラ欠陥部分でない画素までの距離:β
下側の輝度ムラ欠陥部分でない画素までの距離:γ
上側の輝度ムラ欠陥部分でない画素までの距離:δ
右側の輝度ムラ欠陥部分でない画素の輝度値:Zr
左側の輝度ムラ欠陥部分でない画素の輝度値:Zl
下側の輝度ムラ欠陥部分でない画素の輝度値:Zt
上側の輝度ムラ欠陥部分でない画素の輝度値:Zb
で計算して置換することを特徴とする
請求項4若しくは請求項5記載の擬似欠陥画像作成装置。
The arithmetic control means is
The luminance value of one pixel of the luminance unevenness defect portion,
((βZr + αZl) / (α + β) + (γZt + δZb) / (δ + γ))
Distance to the pixel that is not the right luminance unevenness defect part: α
The distance to the pixel that is not the left luminance unevenness defect part: β
Distance to the pixel that is not the lower luminance unevenness defective part: γ
Distance to the pixel that is not the upper luminance unevenness defect portion: δ
Luminance value of a pixel not on the right side of the luminance unevenness defect portion: Zr
Luminance value of a pixel that is not a left luminance unevenness defect portion: Zl
Luminance value of a pixel that is not a lower luminance unevenness defect portion: Zt
Luminance value of a pixel that is not the upper luminance unevenness defect portion: Zb
6. The pseudo defect image creating apparatus according to claim 4 or 5, wherein the pseudo defect image creating apparatus calculates and replaces the same.
前記記憶手段が、
ハードディスク、RAM、若しくは、フラッシュメモリであることを特徴とする
請求項4若しくは請求項5記載の擬似欠陥画像作成装置。
The storage means
6. The pseudo defect image creating apparatus according to claim 4, wherein the pseudo defect image creating apparatus is a hard disk, a RAM, or a flash memory.
前記記憶手段が、
フレキシブルディスク、USBメモリ、若しくは、メモリカードであることを特徴とする
請求項4若しくは請求項5記載の擬似欠陥画像作成装置。
The storage means
6. The pseudo defect image creating apparatus according to claim 4, wherein the pseudo defect image creating apparatus is a flexible disk, a USB memory, or a memory card.
画像デバイスの検査装置に適用したことを特徴とする
請求項4若しくは請求項5記載の擬似欠陥画像作成装置。
6. The pseudo defect image creating apparatus according to claim 4, wherein the pseudo defect image creating apparatus is applied to an image device inspection apparatus.
JP2005004880A 2005-01-12 2005-01-12 Pseudo defect image creation method and apparatus using the same Expired - Fee Related JP4513962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005004880A JP4513962B2 (en) 2005-01-12 2005-01-12 Pseudo defect image creation method and apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005004880A JP4513962B2 (en) 2005-01-12 2005-01-12 Pseudo defect image creation method and apparatus using the same

Publications (2)

Publication Number Publication Date
JP2006194657A true JP2006194657A (en) 2006-07-27
JP4513962B2 JP4513962B2 (en) 2010-07-28

Family

ID=36800865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005004880A Expired - Fee Related JP4513962B2 (en) 2005-01-12 2005-01-12 Pseudo defect image creation method and apparatus using the same

Country Status (1)

Country Link
JP (1) JP4513962B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010164506A (en) * 2009-01-19 2010-07-29 Panasonic Corp Inspection method
JP2010185988A (en) * 2009-02-11 2010-08-26 Nanao Corp Method for reproducing display irregularity, image display system, display, computer program and recording medium
JP6235684B1 (en) * 2016-11-29 2017-11-22 Ckd株式会社 Inspection device and PTP packaging machine
JP2020008488A (en) * 2018-07-11 2020-01-16 オムロン株式会社 Image processing apparatus, image processing method, and image processing program
JP2020106461A (en) * 2018-12-28 2020-07-09 Tdk株式会社 Image generation device and appearance inspection device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976664B (en) * 2016-05-06 2018-12-28 武汉华星光电技术有限公司 It is a kind of to show the method and system of liquid crystal module screen defect, liquid crystal display

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06201516A (en) * 1992-12-25 1994-07-19 Sony Corp Generating device of pseudodefect for liquid crystal panel
JPH0798574A (en) * 1993-09-29 1995-04-11 Ntn Corp Liquid crystal inspection instrument
JPH10148619A (en) * 1996-11-15 1998-06-02 Mitsubishi Chem Corp Method and device for inspecting face defect of substrate under inspection
JPH11183321A (en) * 1997-12-19 1999-07-09 Sony Corp Flaw detecting method of display and flaw detecting device of display
JPH11337492A (en) * 1998-05-27 1999-12-10 Sony Corp Lcd inspecting apparatus
JP2000215310A (en) * 1999-01-20 2000-08-04 Internatl Business Mach Corp <Ibm> Picture quality evaluating method and picture quality evaluating device utilizing the same
JP2001305015A (en) * 2000-04-24 2001-10-31 Fujitsu Ltd Animation display evaluation method for display, and animation pattern generating device
JP2001305075A (en) * 2000-04-21 2001-10-31 Sharp Corp Appearance inspecting device
JP2004239733A (en) * 2003-02-05 2004-08-26 Seiko Epson Corp Defect detection method and apparatus of screen

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06201516A (en) * 1992-12-25 1994-07-19 Sony Corp Generating device of pseudodefect for liquid crystal panel
JPH0798574A (en) * 1993-09-29 1995-04-11 Ntn Corp Liquid crystal inspection instrument
JPH10148619A (en) * 1996-11-15 1998-06-02 Mitsubishi Chem Corp Method and device for inspecting face defect of substrate under inspection
JPH11183321A (en) * 1997-12-19 1999-07-09 Sony Corp Flaw detecting method of display and flaw detecting device of display
JPH11337492A (en) * 1998-05-27 1999-12-10 Sony Corp Lcd inspecting apparatus
JP2000215310A (en) * 1999-01-20 2000-08-04 Internatl Business Mach Corp <Ibm> Picture quality evaluating method and picture quality evaluating device utilizing the same
JP2001305075A (en) * 2000-04-21 2001-10-31 Sharp Corp Appearance inspecting device
JP2001305015A (en) * 2000-04-24 2001-10-31 Fujitsu Ltd Animation display evaluation method for display, and animation pattern generating device
JP2004239733A (en) * 2003-02-05 2004-08-26 Seiko Epson Corp Defect detection method and apparatus of screen

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010164506A (en) * 2009-01-19 2010-07-29 Panasonic Corp Inspection method
JP2010185988A (en) * 2009-02-11 2010-08-26 Nanao Corp Method for reproducing display irregularity, image display system, display, computer program and recording medium
JP6235684B1 (en) * 2016-11-29 2017-11-22 Ckd株式会社 Inspection device and PTP packaging machine
JP2018087745A (en) * 2016-11-29 2018-06-07 Ckd株式会社 Inspection device and ptp packing machine
WO2018100768A1 (en) * 2016-11-29 2018-06-07 Ckd株式会社 Inspection device and ptp packaging machine
US11017523B2 (en) 2016-11-29 2021-05-25 Ckd Corporation Inspection device and PTP packaging machine
JP2020008488A (en) * 2018-07-11 2020-01-16 オムロン株式会社 Image processing apparatus, image processing method, and image processing program
JP7194348B2 (en) 2018-07-11 2022-12-22 オムロン株式会社 Image processing device, image processing method and image processing program
JP2020106461A (en) * 2018-12-28 2020-07-09 Tdk株式会社 Image generation device and appearance inspection device

Also Published As

Publication number Publication date
JP4513962B2 (en) 2010-07-28

Similar Documents

Publication Publication Date Title
JP4882529B2 (en) Defect detection method and defect detection apparatus
US7783103B2 (en) Defect detecting device, image sensor device, image sensor module, image processing device, digital image quality tester, and defect detecting method
JP4399494B2 (en) Defect detection apparatus, defect detection method, image sensor device, and image sensor module
JP4513962B2 (en) Pseudo defect image creation method and apparatus using the same
JP2007285754A (en) Flaw detection method and flaw detector
JP4872438B2 (en) Inspection device, inspection method, and inspection processing program
JP2005172559A (en) Method and device for detecting line defect on panel
JP2009229197A (en) Linear defect detecting method and device
JP2004239733A (en) Defect detection method and apparatus of screen
JP4244046B2 (en) Image processing method and image processing apparatus
JPH1166311A (en) Method and device for checking unevenness
JP2006170922A (en) Visual inspection method and its apparatus
JP2009036582A (en) Inspection method, inspection device and inspection program of plane display panel
JP2007155405A (en) Visual inspection method and visual inspection device
JP2005165387A (en) Method and device for detecting stripe defective of picture and display device
JP2009139133A (en) Flaw detection method and flaw detector
JP2008070242A (en) Noise-removing method and apparatus, unevenness defect inspecting method and apparatus
KR101993654B1 (en) Inspecting apparatus mura of display panel and method thereof
JP2005326323A (en) Image quality inspection device
US11080860B2 (en) Image inspection method
JP2005140655A (en) Method of detecting stain flaw, and stain flaw detector
JP2004219176A (en) Method and apparatus for detecting pixel irregulality failing
JP2007198850A (en) Irregularity inspection method and apparatus
JP2004226272A (en) Method and apparatus for detecting stain defect
JP2008244637A (en) Inspection device, solid-state imaging apparatus, and inspection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20070802

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Effective date: 20100310

Free format text: JAPANESE INTERMEDIATE CODE: A971007

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100421

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Effective date: 20100504

Free format text: JAPANESE INTERMEDIATE CODE: A61

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

Year of fee payment: 3

Free format text: PAYMENT UNTIL: 20130521

LAPS Cancellation because of no payment of annual fees