JPH09259281A - Image information processor - Google Patents

Image information processor

Info

Publication number
JPH09259281A
JPH09259281A JP8093322A JP9332296A JPH09259281A JP H09259281 A JPH09259281 A JP H09259281A JP 8093322 A JP8093322 A JP 8093322A JP 9332296 A JP9332296 A JP 9332296A JP H09259281 A JPH09259281 A JP H09259281A
Authority
JP
Japan
Prior art keywords
data
component
unevenness
labeling
image information
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.)
Withdrawn
Application number
JP8093322A
Other languages
Japanese (ja)
Inventor
Hiroyuki Aoki
博幸 青木
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.)
Advantest Corp
Original Assignee
Advantest 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 Advantest Corp filed Critical Advantest Corp
Priority to JP8093322A priority Critical patent/JPH09259281A/en
Publication of JPH09259281A publication Critical patent/JPH09259281A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a processor for more accurately detecting and processing irregular components inside image information at a higher speed. SOLUTION: Inputted digital image information is stored in an input image memory 31 and the irregular component is separated in an irregular component calculation means 32 and stored in an irregular component image memory 33. Then, binarization is performed by an optional threshold value, a labeling processing is performed, a three-dimensional irregularity value for which a density value is considered is calculated in a three-dimensional irregularity value calculation means for the component of the same label and stored in a three-dimensional irregularity value memory and normal/defective conditions are judged and correction is performed by the three-dimensional irregularity value.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、画像を用いて対象物
を検査するCCDテスタやLCD(液晶)テスタ等の画
質検査装置や、画像で対象物を判断する画像認識装置等
に用いる画像処理装置であって、特に画像情報内のいわ
ゆる“むら成分”を検出し処理を行う画像情報処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus used for an image quality inspection apparatus such as a CCD tester or an LCD (liquid crystal) tester for inspecting an object using an image, or an image recognition apparatus for determining an object by an image. In particular, the present invention relates to an image information processing apparatus that detects and processes a so-called "unevenness component" in image information.

【0002】[0002]

【従来の技術】従来から画像を用いてCCDやLCDの
対象物を検査したり、物体の対象物を認識したり、判断
したり、診断したりする画像処理装置が多々存在する。
これらはコンピュータの普及により画像をデジタル的に
取り扱うデジタル画像が多い。デジタル画像は、例えば
CCDのような撮像カメラで撮像し、画素の濃度をA/
D変換(アナログ/デジタル変換)して、例えば濃度を
0〜100にデジタル化した濃淡画像にし、メモリに記
憶し、必要な処理を施し、記憶保存したり、良否の判定
をしたり、通信伝送したりして、最終的には表示装置に
表示する。画素数は任意に決めてもよいが、VGA規格
では縦横で640×480=307,200ポイント、
SGA規格で800×600ポイント、GA規格で10
24×768ポイントの画面である。カラー画像の場合
はR(赤)G(緑)B(青)の3色を扱うので取り扱う
データ数が3倍になる。
2. Description of the Related Art Conventionally, there are many image processing apparatuses that inspect an object on a CCD or LCD using an image, recognize, judge, and diagnose an object of an object.
Many of these digital images handle images digitally due to the spread of computers. A digital image is captured by an image capturing camera such as a CCD, and the pixel density is A /
D-conversion (analog / digital conversion), for example, creates a grayscale image in which the density is digitized from 0 to 100, stores it in a memory, performs necessary processing, stores it in memory, determines whether it is good or bad, and transmits by communication. Finally, it is displayed on the display device. The number of pixels may be arbitrarily determined, but in the VGA standard, the height and width are 640 × 480 = 307,200 points,
800 × 600 points for SGA standard, 10 for GA standard
This is a screen of 24 × 768 points. In the case of a color image, three colors R (red) G (green) B (blue) are handled, so the number of data handled is tripled.

【0003】ところで、デジタル画像の取扱いにおい
て、やっかいなものの1つにいわゆる“むら”の問題が
ある。“むら”とは、画面においてある面積を持った輝
度変化であり、その輝度変化の量が濃度値の数%である
部分のことをいい、これはノイズの一種でもある。むら
の発生にはCCD素子やLCD素子による固有の発生原
因によるものと、光源、増幅器などで発生したり、これ
らの回路に誘導されたりして伝送時に画像データに重畳
するものとがある。むらが生じると画像情報の質が低下
し、誤判定や誤診断したりする。この発明は、このむら
成分を速やかにより正確に検出し、良否判断等を行うも
のである。
By the way, one of the troublesome things in handling a digital image is so-called "unevenness". The "unevenness" is a luminance change having a certain area on the screen, and refers to a portion where the amount of the luminance change is several% of the density value, which is also a kind of noise. The unevenness may be caused by a specific cause of the CCD element or the LCD element, or may be generated by a light source, an amplifier or the like, or may be induced by these circuits and superposed on the image data at the time of transmission. If the unevenness occurs, the quality of image information is deteriorated, and erroneous determination or erroneous diagnosis may occur. The present invention promptly and accurately detects the nonuniformity component and makes a pass / fail judgment.

【0004】始めに一般的なテレビ(TV)画面やLC
D画面について良質な画像を図6を用いて説明する。図
6(B)は画面の水平方向の1ライン毎の輝度の濃度レ
ベルaを示す。これをシェーディング(輝度の均一性)
という。通常のシェーディングは、画面の中央部と周辺
部とで20%〜30%程度の濃度差があるが、徐々に変
化しているので肉眼には殆ど影響無く見える。画像情報
処理装置が実際に入力する画像データには、図6(A)
に示すように、これにノイズnが重畳しているので、こ
のノイズを2次元フィルタで除去する。
First, a general television (TV) screen or LC
A high-quality image on the D screen will be described with reference to FIG. FIG. 6B shows the luminance density level a for each line in the horizontal direction of the screen. Shading (uniformity of brightness)
That. In normal shading, there is a density difference of about 20% to 30% between the central part and the peripheral part of the screen, but since it gradually changes, it can be seen with almost no effect on the naked eye. The image data actually input by the image information processing apparatus includes the image data shown in FIG.
Since noise n is superposed on this, as shown in, the noise is removed by a two-dimensional filter.

【0005】図7に従来の画像情報処理装置の例とし
て、カラーブラウン管パネルの混色検査装置の一部を示
す。カメラ11は、R(赤)用カメラ111 とG(緑)
用カメラ112 とB(青)用カメラ113 を有し、それ
ぞれの色の濃度をデジタル画像入力装置12でデジタル
化する。デジタル画像入力装置12には、必要に応じて
増幅器やサンプルホールド回路やAD変換器等を有して
いる。
FIG. 7 shows a part of a color mixture inspection device for a color cathode ray tube panel as an example of a conventional image information processing device. The camera 11 is an R (red) camera 11 1 and a G (green) camera.
It has a camera for camera 11 2 and a camera for B (blue) 11 3 and digitizes the densities of the respective colors by the digital image input device 12. The digital image input device 12 has an amplifier, a sample hold circuit, an AD converter, etc., as required.

【0006】デジタル化されたデジタル画像データは画
像情報処理装置13に送られ、先ず入力画像メモリ16
にメモリされる。次に2次元フィルタ、例えば平均値算
出手段17でフィルタリングしてノイズを除去し、処理
したデジタル画像データを平均値メモり18にR、G、
B毎に記憶し、出力手段19を通して表示部14に表示
したり、あるいはプリンタ19でプリントする。また必
要に応じて出力端子を介して外部に出力する。
The digitized digital image data is sent to the image information processing device 13, and first, the input image memory 16 is inputted.
Is stored in the memory. Next, noise is removed by filtering with a two-dimensional filter, for example, the average value calculating means 17, and the processed digital image data is stored in the average value memory 18 as R, G,
It is stored for each B and displayed on the display unit 14 through the output means 19 or printed by the printer 19. Moreover, it outputs to the outside through an output terminal as needed.

【0007】図7での画像情報処理は平均値算出手段1
7による平均フィルタ手法で行っているが、メディアン
フィルタ手法で行ってもよい。つまりデジタル画像のノ
イズを低減する方法は、2次元フィルタを用い、注目画
素の濃度値を近傍画素の濃度値との演算結果で置き代え
るものであって、近傍処理の方法である。近傍処理での
ノイズ低減法には、算術平均による平均フィルタによる
方法とN個のデータ値を大きさの順に並び換えて中央値
を選ぶメディアンフィルタによる方法が代表的なもので
ある。
The image information processing in FIG. 7 is performed by the average value calculating means 1
Although the average filter method according to No. 7 is used, the median filter method may be used. That is, a method of reducing noise in a digital image is a method of neighborhood processing, which uses a two-dimensional filter and replaces the density value of the pixel of interest with the calculation result of the density values of neighboring pixels. As a noise reduction method in the neighborhood processing, a method using an average filter by arithmetic averaging and a method using a median filter that rearranges N data values in order of magnitude and selects a median value are representative.

【0008】また画素の濃度を2値化してメモりし表示
することも多い。つまり、画素の濃度を0〜100とす
ると、閾値(しきい値)を任意の値、例えば丁度半分の
50として、画素の濃度値が50と等しいかそれ以上の
画素は活性画像の1として黒で表示し、50以下の画素
は非活性の0として白で表示するものである。任意の閾
値を選んで画素の濃度値を0か1かに2値化するのであ
る。
Further, the density of a pixel is often binarized and displayed as a memo. That is, assuming that the density of the pixel is 0 to 100, the threshold value (threshold value) is set to an arbitrary value, for example, 50, which is exactly half, and the pixel whose density value is equal to or higher than 50 is 1 as the active image and is black. The pixels of 50 or less are displayed in white as inactive 0. The density value of the pixel is binarized to 0 or 1 by selecting an arbitrary threshold value.

【0009】この2値化された1の活性画像にラベリン
グ処理を行うこともある。ラベリング処理とは1の活性
画像にラベル付けするものであるが、隣接して活性画像
がある場合には同一ラベルを付すようにする。従って活
性画像は特定ラベル番号情報を持ち、ラベル付けされな
かった非活性画像はラベル番号情報を持たない。そして
特定ラベル番号を有する活性画像はそれぞれの同一ラベ
ルでの画素数、つまり同一ラベルの活性画像の面積を容
易に知ることができる。
Labeling processing may be performed on the one binarized active image. The labeling process is to label one active image, but if there are adjacent active images, the same label is attached. Therefore, the active image has the specific label number information, and the non-active image that is not labeled does not have the label number information. Then, in the active image having the specific label number, it is possible to easily know the number of pixels in each same label, that is, the area of the active image having the same label.

【0010】CCDテスタやLCDテスタでは、固有の
むら欠陥を発生するCCDやLCDの良否判別にこの同
一ラベルの面積の大きさで判定していた。例えば全面を
白色で受光し、画像情報処理装置13でフィルタリング
し、表示部14に表示させると、正常であると受光色と
同一の白色表示である。しかしながらCCDやLCDの
対象物が不良品であると画面に固有のむら欠陥を生じ
る。このむら欠陥の良否を面積の大きさで判定を行って
いた。
In the CCD tester and LCD tester, the size of the area of the same label is used to judge the quality of the CCD or LCD which causes a unique unevenness defect. For example, when the entire surface receives light in white, is filtered by the image information processing device 13, and is displayed on the display unit 14, it is displayed in white, which is the same as the light-receiving color when normal. However, if the object of the CCD or LCD is a defective product, uneven defects inherent in the screen occur. The quality of this uneven defect was determined by the size of the area.

【0011】[0011]

【発明が解決しようとする課題】この発明は全ての画像
情報処理装置に用いることができるので、伝送時に重畳
したむらを補正することもできるが、理解し易いよう
に、固有のむら欠陥を有するCCDやLCDを良否をテ
ストする画像情報処理装置で説明する。前述したよう
に、従来のCCDテスタやLCDテスタでの画像情報処
理装置での処理方法は、入力画像データを取り込み、平
均フィルタや2次元メディアンフィルタ等のフィルタで
むら成分を含むノイズを除去したノイズ除去画像データ
を得て、それと入力画像データの差を求めてむら成分を
分離し、そのむら成分の画素の濃度を任意の閾値でもっ
て2値化し、その2値化データをラベリング処理し、そ
の特定ラベリング面積の大小で固有むら欠陥の良否を判
定していた。
Since the present invention can be applied to all image information processing apparatuses, it is possible to correct unevenness superposed during transmission. However, for the sake of easy understanding, a CCD having a unique unevenness defect is provided. An image information processing apparatus that tests whether or not the LCD is good will be described. As described above, according to the processing method in the image information processing device in the conventional CCD tester or LCD tester, the input image data is taken in and noise including a nonuniformity component is removed by a filter such as an average filter or a two-dimensional median filter. After the removed image data is obtained, the difference between the removed image data and the input image data is obtained to separate the unevenness component, the density of the pixels of the unevenness component is binarized with an arbitrary threshold value, the binarized data is subjected to labeling processing, and The quality of the specific unevenness defect was judged by the size of the specific labeling area.

【0012】一応の効果は達成しているが、ノイズ除去
を完全にしようとすると演算に時間が掛かり過ぎるし、
処理を荒くして処理時間を短くすると不完全処理とな
り、要求性能を満たせなくなる。この発明は、ノイズ除
去の処理時間を比較的短くし、しかも固有のむら欠陥を
従来以上に正確に検出するものである。
Although a certain effect has been achieved, if it is attempted to completely remove noise, the calculation will take too much time,
If the processing is roughened and the processing time is shortened, the processing becomes incomplete and the required performance cannot be satisfied. According to the present invention, the processing time for noise removal is relatively short, and the inherent unevenness defect is detected more accurately than before.

【0013】[0013]

【課題を解決するための手段】第1の発明はむら成分を
検出するむら成分算出手段にあり、新規のメディアン算
出手段を用いるものである。メディアン算出は、注目画
素を中心とした2次元の複数の画素による観察窓のなか
の画素の濃度の中央値(median)で注目画素の濃
度値を置き換える操作である。この発明のメディアン算
出方法は、1次元のメディアンを水平方向と垂直方向と
で行い、高速に、しかも2次元メディアン算出と同程度
の精度で行うものである。
The first aspect of the present invention is a nonuniformity component calculating means for detecting a nonuniformity component, which uses a new median calculating means. The median calculation is an operation of replacing the density value of the pixel of interest with the median (median) of the density of pixels in the observation window formed by a plurality of two-dimensional pixels centering on the pixel of interest. According to the median calculation method of the present invention, the one-dimensional median is calculated in the horizontal direction and the vertical direction, and the median calculation is performed at high speed and with the same accuracy as the two-dimensional median calculation.

【0014】先ず画素の水平方向でメディアン算出して
(以後「Hメディアン」という)全ての画素のHメディ
アンを求め、続いて画素の垂直方向で算出して(以後
「Vメディアン」という)全ての画素のVメディアンを
求めるものである。逆にVメディアンから求めてHメデ
ィアンを求めてもよい。これを以後「H・Vメディア
ン」ということにし、この算出手段をH・Vメディアン
算出手段ということにする。
First, the median is calculated in the horizontal direction of the pixel (hereinafter referred to as "H median") to obtain the H median of all the pixels, and then the median is calculated in the vertical direction of the pixel (hereinafter referred to as "V median"). The V median of the pixel is obtained. Conversely, the H median may be obtained from the V median. Hereinafter, this will be referred to as "HV median", and this calculation means will be referred to as HV median calculation means.

【0015】入力画像データからH・Vメディアンを求
めると、その値のH・Vメディアンデータはむら成分を
含むノイズ成分が除かれたシェーディング波形のみとな
る。このH・Vメディアンデータと入力画像データとの
差を求めると、シェーディング波形が除かれてむら成分
が分離されて、むら成分のみの濃度値となる。これをむ
ら成分算出手段ということにする。このむら成分画像デ
ータの濃度値を任意の閾値でスライスして2値化し、必
要によっては単独の活性画像をノイズとみなして除去
し、ラベリング処理を行い、ラベリングメモリに記憶す
る。CCDやLCDの良否の判定は、この同一ラベルの
画素数の大きさ、つまり面積の広さで判定する。
When the H · V median is obtained from the input image data, the H · V median data of that value has only the shading waveform from which the noise component including the unevenness component is removed. When the difference between the H.V median data and the input image data is obtained, the shading waveform is removed and the nonuniformity component is separated to obtain the density value of only the nonuniformity component. This will be referred to as uneven component calculation means. The density value of the nonuniformity component image data is sliced with an arbitrary threshold value to be binarized, and if necessary, a single active image is regarded as noise and removed, and labeling processing is performed and stored in the labeling memory. The quality of the CCD or LCD is determined by the number of pixels of the same label, that is, the area.

【0016】第2の発明は対象物の良否判定を同一ラベ
ルの面積では無く、新規な手段として、同一ラベルでの
濃度値を加味して同一ラベルの体積、つまり3次元むら
値の大きさで行うものである。そこで新たに3次元むら
値算出手段を設ける。発明の構成は次の通りである。入
力画像データをむら成分算出手段でむら成分を含むノイ
ズ成分を分離する。むら成分算出手段は第1発明の構成
が望ましいがこれに限るものでなく、従来の構成を用い
てもよい。つまり平均値算出手段を用いる方法や2次元
の観察窓で行うメディアンフィルタ方法でもよい。シェ
ーディングを除去してむら成分を分離できるものであれ
ばよい。
A second aspect of the present invention is to judge the quality of an object not by the area of the same label, but by a new means, by considering the density value of the same label, by the volume of the same label, that is, the size of the three-dimensional unevenness value. It is something to do. Therefore, a new three-dimensional unevenness value calculating means is provided. The structure of the invention is as follows. The noise component including the unevenness component is separated from the input image data by the unevenness component calculation means. The unevenness component calculating means preferably has the configuration of the first invention, but is not limited to this, and a conventional configuration may be used. That is, a method using an average value calculating means or a median filter method using a two-dimensional observation window may be used. Any material that can remove the shading and separate the uneven components may be used.

【0017】むら成分を分離すると、閾値で2値化し、
単独の活性画素を除去し、ラベリング処理を行う。次に
同一ラベルの面積とそのラベルでの最高濃度値と平均濃
度値を加味して、3次元むら値を算出する。3次元むら
値とは、同一ラベルでの面積をA、その平均濃度値を
B、最高濃度値をCとし、k1、k2、k3 を演算係数と
すると、次式のような関数である。 3次元むら値=f(k1×A,k2×B,k3×C) ここで係数k1、k2、k3 は対象物によって目視結果と
の相関を取りながら求めることとする。
When the nonuniformity component is separated, it is binarized with a threshold value,
A single active pixel is removed and a labeling process is performed. Next, the three-dimensional unevenness value is calculated by considering the area of the same label, the maximum density value and the average density value of the label. 3D unevenness value A, the area of the same label A, B and the average density value, the maximum density value is C, the a k 1, k 2, k 3 and calculation coefficients, a function such as: is there. Three-dimensional unevenness value = f (k 1 × A, k 2 × B, k 3 × C) Here, the coefficients k 1 , k 2 and k 3 are to be obtained while correlating with the visual results depending on the object.

【0018】このようにして3次元むら値を求めると、
その値は同一ラベルの面積よりもそのむら成分のエネル
ギーに相当する値を示すので、むら成分の強度をより正
確に知ることができる。例えば、複数の同一ラベルの面
積を100とし、加味した濃度値のばらつきが1〜10
あるとすると、同一面積であってもその3次元むら値
は、100〜1,000の異なった値となり、より正確
なむら成分の強度を知ることができる。そこでこの3次
元むら値の大きさでもって良否を判定する。
When the three-dimensional unevenness value is obtained in this way,
Since the value indicates a value corresponding to the energy of the unevenness component rather than the area of the same label, the intensity of the unevenness component can be known more accurately. For example, assuming that the area of a plurality of identical labels is 100, the variation of the density value considering 1 to 10
If so, even if the area is the same, the three-dimensional unevenness values will be different values of 100 to 1,000, and more accurate intensity of the unevenness component can be known. Therefore, the quality is judged based on the magnitude of the three-dimensional unevenness value.

【0019】[0019]

【発明の実施の形態】以下に、この発明の実施の形態を
実施例と共に詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below in detail with reference to Examples.

【0020】[0020]

【実施例】図1に本発明の第1発明の実施例の構成図
を、図2に第2発明の実施例の構成図を、図3に処理の
流れ図を、図4にむら成分の説明図を、図5に処理過程
の説明図を示す。それぞれ図6、図7に相当する部分に
は同一符号を付す。先ず図5の処理過程について説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of an embodiment of the first invention of the present invention, FIG. 2 is a block diagram of an embodiment of the second invention, FIG. 3 is a processing flow chart, and FIG. A diagram and FIG. 5 are explanatory diagrams of the processing steps. Parts corresponding to those in FIGS. 6 and 7 are designated by the same reference numerals. First, the process of FIG. 5 will be described.

【0021】画像情報処理装置には水平方法の1ライン
に図5(A)のようなデジタル画像情報が入力される。
シェーディング波形a上にむら成分b、cやdが重畳し
ている。高周波ノイズ成分nは省略している。この入力
画像情報を2次元フィルタに通すとむら成分を含むノイ
ズ成分は除去されて、図5(B)のようにシェーディン
グ波形aのみの情報となる。そこで、図5(A)のデー
タと図5(B)のデータとの差分をとると、図5(C)
のようにむら成分が分離されてくる。
Digital image information as shown in FIG. 5A is input to the image information processing apparatus in one line of the horizontal method.
The unevenness components b, c and d are superimposed on the shading waveform a. The high frequency noise component n is omitted. When this input image information is passed through a two-dimensional filter, the noise component including the unevenness component is removed and only the shading waveform a is obtained as shown in FIG. 5B. Therefore, when the difference between the data in FIG. 5A and the data in FIG. 5B is calculated, FIG.
The uneven components are separated as shown in.

【0022】図5(C)のように分離されたむら成分を
任意の閾値でスライスし2値化し、閾値以上のむら成分
のみを活性画像とする。これをメモリに記憶させ、全画
面の処理を行い、ラベリング処理を行うと、メモリマッ
プは図5(D)に示すようにむら成分の部分のみb、
c、dと一定面積を有する活性画像となる。このラベリ
ングされた活性画像を用いて良否判定を行う。
As shown in FIG. 5C, the separated unevenness component is sliced at an arbitrary threshold value and binarized, and only the unevenness component above the threshold value is used as an active image. When this is stored in the memory, the entire screen is processed, and the labeling process is performed, the memory map shows only the uneven component part b, as shown in FIG.
The active image has a constant area of c and d. A pass / fail judgment is performed using this labeled active image.

【0023】図1の実施例を用いて第1の発明を説明す
る。画像情報処理装置30はデジタル画像入力装置12
からデジタル画像情報を入力し、入力画像メモリ31に
記憶する。入力画像情報がカラーの場合にはR、G、B
毎に記憶・算出等の処理を行うが、ここでは白黒の一系
統で説明する。また図1では、図7の従来例のようにカ
メラ11からのアナログ画像をデジタル画像入力装置で
A/D変換を行っているが、伝送されてきたデジタル画
像情報であれば、直接入力してもよい。
The first invention will be described with reference to the embodiment shown in FIG. The image information processing apparatus 30 is the digital image input apparatus 12
The digital image information is input from and is stored in the input image memory 31. R, G, B when the input image information is color
Processing such as storage / calculation is performed for each of them, but here, a monochrome system will be described. Further, in FIG. 1, the analog image from the camera 11 is A / D converted by the digital image input device as in the conventional example of FIG. 7, but if the transmitted digital image information is directly input. Good.

【0024】入力画像メモリ31に記憶された入力画像
データをむら成分算出手段32でもってむら成分を分離
する。むら成分算出手段32は、H・Vメディアン算出
手段26とメディアンデータメモリ27と差演算手段2
8でもって構成される。H・Vメディアン算出手段26
は、前述したように、注目画素について先ず水平方向の
Hメディアンを求め、全画素のHメディアンが求まると
次に全画素の垂直方向のVメディアンを求める。1次元
メディアン算出であるので高速に算出できる。メディア
ン算出の画素数は5〜9程度でよく、連続した画素ある
いは1画素置きに、あるいは2画素置き選出して周波数
帯域を選んでもよい。この手順は逆にVメディアンを先
に求め、次にHメディアンを求めてもよい。要は、全画
面の注目画素について水平方向のメディアンと垂直方向
のメディアンの双方のメディアンを求めるフィルタリン
グを行うことが肝要である。
The nonuniformity component is separated from the input image data stored in the input image memory 31 by the nonuniformity component calculating means 32. The unevenness component calculating means 32 includes an H · V median calculating means 26, a median data memory 27, and a difference calculating means 2.
It is composed of 8. H / V median calculation means 26
As described above, the H median in the horizontal direction is first obtained for the pixel of interest, and when the H medians of all the pixels are obtained, then the V median in the vertical direction of all the pixels is obtained. Since it is a one-dimensional median calculation, it can be calculated at high speed. The number of pixels for median calculation may be about 5 to 9, and the frequency band may be selected by selecting continuous pixels, every other pixel, or every two pixels. Conversely, this procedure may be performed by first obtaining the V median and then the H median. In short, it is important to perform filtering for obtaining both the median in the horizontal direction and the median in the vertical direction for the target pixel on the entire screen.

【0025】H・Vメディアン算出を行うと、そのH・
Vメディアンデータはむら成分が除かれたシェーディン
グのみのデータとなるので、一時メディアンメモリ27
に記憶し、H・Vメディアンデータと入力画像データと
の差分を差演算手段28で求めると、むら成分のみが分
離されて、むら成分画像データが得られる。むら成分画
像データが求まるとH・Vメディアンデータは不要とな
るので、専用のメディアンデータメモリ27は不要であ
る。
When the H · V median is calculated, the H · V
Since the V median data is data only for shading with the uneven component removed, the temporary median memory 27
When the difference between the H.V median data and the input image data is obtained by the difference calculating means 28, only the nonuniformity component is separated and the nonuniformity component image data is obtained. When the uneven component image data is obtained, the H / V median data becomes unnecessary, so that the dedicated median data memory 27 is unnecessary.

【0026】むら成分画像データを一時むら成分画像メ
モリ33に記憶し、そのデータを2値化算出手段34で
任意の閾値でスライスし、閾値以上の濃度値の画素を活
性画像とし、閾値以下の画素は非活性画像とする。この
2値化画像を2値画像メモリ35に記憶する。この2値
画像メモリマップにおいて、必要に応じて単独の活性画
像をノイズとみなして除去する。数個以下の連結した活
性画像をノイズとみてもよい。その後にラベリング手段
36で活性画像にラベリングする。連結した活性画像に
は同一ラベルを付す。ラベリングされた活性画素をラベ
ル順に座標情報や活性画像数等の情報を持たせてラベリ
ングメモリ37に記憶する。
The nonuniformity component image data is temporarily stored in the nonuniformity component image memory 33, the data is sliced by the binarization calculation means 34 at an arbitrary threshold value, and pixels having a density value equal to or higher than the threshold value are set as an active image. Pixels are inactive images. This binary image is stored in the binary image memory 35. In this binary image memory map, a single active image is regarded as noise and removed as necessary. You may consider several or less connected active images as noise. After that, the labeling means 36 labels the active image. The same label is attached to the connected active images. The labeled active pixels are stored in the labeling memory 37 with information such as coordinate information and the number of active images in the order of labels.

【0027】そのラベリングデータに基づいて判定手段
40を含む処理手段39で、対象物の良否を判定する。
その結果を判定表示部42に表示したり、また出力手段
38を通して表示部14にメモリマップを表示したり、
プリンタ15でプリントしたりする。これらの各種算出
手段と各種メモリとの間にはデータバスが接続されてお
り、情報のやりとりを行う。制御部42はシステム全体
を制御する。
Based on the labeling data, the processing means 39 including the judging means 40 judges the quality of the object.
The result is displayed on the determination display unit 42, the memory map is displayed on the display unit 14 through the output unit 38,
It is printed by the printer 15. A data bus is connected between these various calculation means and various memories to exchange information. The control unit 42 controls the entire system.

【0028】図2に第2の発明の実施例を示す。図1と
共通の部分は省略して、異なる部分のみを説明する。む
ら成分算出手段32は第1発明のH・Vメディアン算出
手段を用いてもよいし、従来の平均値算出手段や2次元
メディアン算出手段を用いても良い。新たに設けたもの
は3次元むら値算出手段51と3次元むら値メモリ52
であり、むら成分画像メモリ33は専用の物が必要にな
る。
FIG. 2 shows an embodiment of the second invention. The parts common to FIG. 1 are omitted, and only different parts will be described. The unevenness component calculating means 32 may use the H · V median calculating means of the first invention, or may use the conventional average value calculating means or two-dimensional median calculating means. The newly provided one is a three-dimensional unevenness value calculating means 51 and a three-dimensional unevenness value memory 52.
Therefore, the unevenness component image memory 33 requires a dedicated one.

【0029】3次元むら値算出手段51は同一のラベル
がされた活性画素の面積Aにその同一ラベルでの平均濃
度値Bと最高濃度値Cを加味した3次元むら値を算出す
る。その関数は前述したように次式である。 3次元むら値=f(k1×A,k2×B,k3×C) この関数は対象物によって異なるが、最も簡単な式の例
として次式のように1次関数の和でもよい。 3次元むら値=k1×A+k2×B+k3×C
The three-dimensional unevenness value calculating means 51 calculates a three-dimensional unevenness value in which the average density value B and the maximum density value C of the same label are added to the area A of the active pixels having the same label. The function is the following equation as described above. Three-dimensional unevenness value = f (k 1 × A, k 2 × B, k 3 × C) This function differs depending on the object, but as an example of the simplest expression, a sum of linear functions may be used as in the following expression. . Three-dimensional unevenness value = k 1 × A + k 2 × B + k 3 × C

【0030】これらの関係を図4で説明する。図4
(A)は1、2、3、4とラベリング処理をした2値画
像のメモリマップである。第1の発明ではこのラベリン
グしたむら成分の面積の大小で良否の判断を行ってい
る。第2の発明ではこのラベリングしたむら成分の面積
にむら成分画像メモリ33の濃度値を加味しているの
で、図4(B)のように3次元の体積となる。従って、
3次元むら値はむら成分がより正しいエネルギーの値と
なり、また各ラベルの差が大きくなるので、判定がやり
易くなり、しかも正確さが向上する。
These relationships will be described with reference to FIG. FIG.
(A) is a memory map of a binary image that has undergone labeling processing as 1, 2, 3, 4. In the first invention, the quality is judged by the size of the area of the labeled unevenness component. In the second invention, since the density value of the unevenness component image memory 33 is added to the area of the labeled unevenness component, the volume becomes three-dimensional as shown in FIG. 4B. Therefore,
In the three-dimensional unevenness value, the unevenness component has a more correct energy value and the difference between the labels becomes large, so that the determination is easy and the accuracy is improved.

【0031】図3はこの発明の画像情報処理装置の処理
過程の流れ図の一例である。画像情報を入力し61、各
画素毎に入力画像メモリに記憶し62、H・Vメディア
ン算出手段を用いてむら成分を分離し63、任意の閾値
で画素の濃度をスライドして2値化し64、必要に応じ
て単独活性画素をノイズとみなして除去し65、隣接し
た活性画像には同一ラベルを付すラベリング処理を行い
65、3次元むら算出を行うときには3次元むら算出を
行い68、行わない場合には同一ラベルの面積で67、
良否判定を行う69、という流れ図の例である。このフ
ローに限定する必要は無い。
FIG. 3 is an example of a flow chart of the processing steps of the image information processing apparatus of the present invention. Image information is input 61, stored in the input image memory for each pixel 62, the unevenness component is separated using the H · V median calculating means 63, and the density of the pixel is slid at an arbitrary threshold value to be binarized 64. If necessary, the single active pixel is regarded as noise and removed 65, and the adjacent active images are labeled with the same label 65. When performing three-dimensional unevenness calculation, three-dimensional unevenness calculation is performed 68, and not performed. In the case of 67 of the same label area,
It is an example of a flow chart of performing 69 pass / fail judgment. It is not necessary to limit to this flow.

【0032】[0032]

【発明の効果】以上詳細に説明したように、この発明は
画像情報処理装置においてH・Vメディアン算出手段2
6を用いるので、むら成分をより高速により正確に検出
でき、処理できる。更に3次元むら値算出手段51を用
いてむら成分のエネルギーをより的確に把握できるの
で、固有のむら欠陥を有するCCDやLCDの良否がよ
り精度良く判定できるようになった。
As described above in detail, according to the present invention, the H / V median calculating means 2 is used in the image information processing apparatus.
Since 6 is used, the nonuniformity component can be detected and processed faster and more accurately. Further, since the energy of the nonuniformity component can be more accurately grasped by using the three-dimensional nonuniformity value calculating means 51, it becomes possible to more accurately determine the quality of the CCD or LCD having the inherent nonuniformity defect.

【0033】このように、この発明は実用に供すること
により、画像の品質を向上させ、誤判定や誤診断を無く
すことができる画像情報処理装置であるので、実用に際
してその効果は大である。
As described above, the present invention is an image information processing apparatus capable of improving image quality and eliminating erroneous determination and erroneous diagnosis by being put to practical use.

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

【図1】第1発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of a first invention.

【図2】第2発明の一実施例の構成図である。FIG. 2 is a configuration diagram of an embodiment of a second invention.

【図3】この発明の処理過程の流れ図の一例である。FIG. 3 is an example of a flowchart of a processing process of the present invention.

【図4】むら成分の説明図である。FIG. 4 is an explanatory diagram of a nonuniformity component.

【図5】処理過程の説明図である。FIG. 5 is an explanatory diagram of a processing process.

【図6】良品対象物の画像データの説明図である。FIG. 6 is an explanatory diagram of image data of a non-defective object.

【図7】従来技術の一例の構成図である。FIG. 7 is a configuration diagram of an example of a conventional technique.

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

11 カメラ 12 デジタル画像入力装置 13、30、50 画像情報処理装置 14 表示部 15 プリンタ 16、31 入力画像メモリ 17 平均値算出手段 18 平均値メモリ 19、38 出力手段 20、42、53 制御部 26 H・Vメディアン算出手段 27 メディアンデータメモリ 28 差演算手段 32 むら成分算出手段 33 むら成分画像メモリ 34 2値化算出手段 35 2値画像メモリ 36 ラベリング手段 37 ラベリングメモリ 39 処理手段 40 判定手段 41 補正手段 43 判定表示部 51 3次元むら値算出手段 52 3次元むら値メモリ 11 Camera 12 Digital Image Input Device 13, 30, 50 Image Information Processing Device 14 Display Unit 15 Printer 16, 31 Input Image Memory 17 Average Value Calculation Means 18 Average Value Memory 19, 38 Output Means 20, 42, 53 Control Unit 26 H V median calculating means 27 median data memory 28 difference calculating means 32 uneven component calculating means 33 uneven component image memory 34 binarizing calculating means 35 binary image memory 36 labeling means 37 labeling memory 39 processing means 40 determining means 41 correcting means 43 Judgment display section 51 Three-dimensional unevenness value calculation means 52 Three-dimensional unevenness value memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 デジタル画像情報を入力し入力画像情報
のむら成分を検出し処理を行う画像情報処理装置(3
0)において、 入力したデジタル画像情報を記憶する入力画像メモリ
(31)と、 上記入力画像メモリ(31)の入力画像データを用いて
注目画素のHメディアン及びVメディアンを求めるH・
Vメディアン算出手段(26)と、上記H・Vメディア
ンデータと入力画像データとの差分を求める差演算手段
(28)とで、むら成分画像データを求めるむら成分算
出手段(32)と、 上記むら成分画像データを任意の閾値で2値化して2値
画像データを求める2値化算出手段(34)と、 上記2値画像データを記憶する2値画像メモリ(35)
と、 上記2値画像データを用いてラベリングを行うラベリン
グ手段(36)と、 上記ラベリング手段(36)で得られたラベリングデー
タを記憶するラベリングメモリ(37)と、 上記ラベリングデータを用いて判定もしくは補正を行う
処理手段(39)と、 を具備することを特徴とする画像情報処理装置。
1. An image information processing apparatus (3) for inputting digital image information, detecting a non-uniformity component of the input image information, and performing processing.
0), the input image memory (31) for storing the input digital image information, and H.sub.median and V.sub.median of the target pixel are calculated by using the input image data of the input image memory (31).
An unevenness component calculating means (32) for obtaining unevenness component image data by a V median calculating means (26) and a difference calculating means (28) for obtaining a difference between the H · V median data and the input image data, and the unevenness. Binary calculation means (34) for binarizing the component image data with an arbitrary threshold value to obtain binary image data, and a binary image memory (35) for storing the binary image data.
A labeling means (36) for performing labeling using the binary image data, a labeling memory (37) for storing the labeling data obtained by the labeling means (36), and a determination using the labeling data. An image information processing apparatus comprising: a processing unit (39) for performing correction.
【請求項2】 デジタル画像情報を入力し入力画像情報
のむら成分を検出し処理を行う画像情報処理装置(5
0)において、 入力したデジタル画像情報を記憶する入力画像メモリ
(31)と、 上記入力画像メモリ(31)の入力画像データを用いて
むら成分を分離したむら成分画像データを求めるむら成
分算出手段(32)と、 上記むら成分画像データを記憶するむら成分画像メモリ
(33)と、 上記むら成分画像データを任意の閾値で2値化して2値
画像データを求める2値化算出手段(34)と、 上記2値画像データを記憶する2値画像メモリ(35)
と、 上記2値画像データを用いてラベリングを行うラベリン
グ手段(36)と、 上記ラベリング手段(36)で得られたラベリングデー
タを記憶するラベリングメモリ(37)と、 上記ラベリングデータと上記むら成分画像データの濃度
値とから3次元むら値データを求める3次元むら値算出
手段(51)と、 上記3次元むら値データを記憶する3次元むら値メモリ
(52)と、 上記3次元むら値データで判定もしくは補正を行う処理
手段(39)と、 を具備することを特徴とする画像情報処理装置。
2. An image information processing apparatus (5) for inputting digital image information, detecting a non-uniformity component of the input image information, and processing it.
In (0), an input image memory (31) for storing the input digital image information, and a nonuniformity component calculating means for obtaining nonuniformity component image data by separating nonuniformity components using the input image data of the input image memory (31) ( 32), an unevenness component image memory (33) for storing the unevenness component image data, and a binarization calculation means (34) for binarizing the unevenness component image data with an arbitrary threshold value to obtain binary image data. A binary image memory (35) for storing the binary image data
A labeling means (36) for performing labeling using the binary image data, a labeling memory (37) for storing the labeling data obtained by the labeling means (36), the labeling data and the unevenness component image A three-dimensional unevenness value calculating means (51) for obtaining three-dimensional unevenness value data from the density value of the data, a three-dimensional unevenness value memory (52) for storing the three-dimensional unevenness value data, and the three-dimensional unevenness value data. An image information processing apparatus comprising: a processing unit (39) for making a determination or a correction.
【請求項3】 請求項1記載の画像情報処理装置(3
0)及び請求項2記載の画像情報処理装置(50)はコ
ンピュータで構成されていることを特徴とする画像情報
処理装置。
3. The image information processing apparatus according to claim 1,
0) and the image information processing device (50) according to claim 2, which is configured by a computer.
JP8093322A 1996-03-22 1996-03-22 Image information processor Withdrawn JPH09259281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8093322A JPH09259281A (en) 1996-03-22 1996-03-22 Image information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8093322A JPH09259281A (en) 1996-03-22 1996-03-22 Image information processor

Publications (1)

Publication Number Publication Date
JPH09259281A true JPH09259281A (en) 1997-10-03

Family

ID=14079059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8093322A Withdrawn JPH09259281A (en) 1996-03-22 1996-03-22 Image information processor

Country Status (1)

Country Link
JP (1) JPH09259281A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100353381C (en) * 2004-11-05 2007-12-05 夏普株式会社 Image inspecting apparatus, image inspecting method, control program and computer-readable storage medium
CN109727206A (en) * 2018-12-05 2019-05-07 安徽紫薇帝星数字科技有限公司 A kind of quick calculation method and its implementation of bianry image median filtering

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100353381C (en) * 2004-11-05 2007-12-05 夏普株式会社 Image inspecting apparatus, image inspecting method, control program and computer-readable storage medium
US7646892B2 (en) 2004-11-05 2010-01-12 Sharp Kabushiki Kaisha Image inspecting apparatus, image inspecting method, control program and computer-readable storage medium
CN109727206A (en) * 2018-12-05 2019-05-07 安徽紫薇帝星数字科技有限公司 A kind of quick calculation method and its implementation of bianry image median filtering

Similar Documents

Publication Publication Date Title
US8391585B2 (en) Defect detecting device, defect detecting method, image sensor device, image sensor module, defect detecting program, and computer-readable recording medium
JP4399494B2 (en) Defect detection apparatus, defect detection method, image sensor device, and image sensor module
JP3583684B2 (en) Image defect detection apparatus and image defect detection method
US5917957A (en) Method of and apparatus for processing an image
WO2015158024A1 (en) Image processing method and apparatus, and automatic optical detector
JP3907874B2 (en) Defect inspection method
CN113785181A (en) OLED screen point defect judgment method and device, storage medium and electronic equipment
US5881164A (en) Image data processing method and image data processing apparatus
JP4244046B2 (en) Image processing method and image processing apparatus
JPH09101236A (en) Method and apparatus for detecting defect of display
JP4520880B2 (en) Blot inspection method and blot inspection apparatus
KR20140082333A (en) Method and apparatus of inspecting mura of flat display
JP3695120B2 (en) Defect inspection method
JPH09259281A (en) Image information processor
JPH08145907A (en) Inspection equipment of defect
JPH08327497A (en) Method for inspecting color liquid crystal display panel
JP2004219176A (en) Method and apparatus for detecting pixel irregulality failing
KR100765294B1 (en) Method for detecting muras in lcd panel
JP2007198850A (en) Irregularity inspection method and apparatus
JP2728789B2 (en) Inspection system for color solid-state imaging device
JP3941403B2 (en) Image density unevenness detection method and inspection apparatus
JP4121628B2 (en) Screen inspection method and apparatus
JP2006322757A (en) Stain inspection method and stain inspection device
KR20140082334A (en) Method and apparatus of inspecting mura of flat display
JP2727998B2 (en) LCD screen unevenness inspection device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030603