JPH04254746A - Inspecting device of brightness - Google Patents

Inspecting device of brightness

Info

Publication number
JPH04254746A
JPH04254746A JP3036762A JP3676291A JPH04254746A JP H04254746 A JPH04254746 A JP H04254746A JP 3036762 A JP3036762 A JP 3036762A JP 3676291 A JP3676291 A JP 3676291A JP H04254746 A JPH04254746 A JP H04254746A
Authority
JP
Japan
Prior art keywords
pixel
data
brightness
image
memory
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
JP3036762A
Other languages
Japanese (ja)
Other versions
JP2663730B2 (en
Inventor
Yoshio Yokoyama
良雄 横山
Taku Hieda
稗田 卓
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.)
Denso Corp
Original Assignee
NipponDenso Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP3036762A priority Critical patent/JP2663730B2/en
Priority to US07/817,805 priority patent/US5296942A/en
Publication of JPH04254746A publication Critical patent/JPH04254746A/en
Application granted granted Critical
Publication of JP2663730B2 publication Critical patent/JP2663730B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To increase a processing speed of inspection of the brightness of the surface of a body to be inspected without causing an increase in the capacity of a memory and complexity of a circuit construction, by utilizing the averaging of the lightness of each pixel in place of the brightness of each pixel of a reference image of the body to be inspected. CONSTITUTION:A defect emphasizing circuit 80 stores, as an image to be inspected, an image of the surface of a body to be inspected having two different brightness surface parts, which is picked up by a TV camera Tc, accumulates and counts the lightness and the number of pixels of the picked-up image for each pixel belonging to each pixel region corresponding to each different brightness surface part, in response to specification of an address by each pixel of a reference image stored in one of frame memories Mf1 to Mfn, and makes them be two brightness cumulative data and two-pixel count data. The circuit conducts divisions of each of the two-lightness cumulative data by each of the two-pixel count data, so as to make them be division data respectively, computes a lightness difference between the lightness of each pixel of the image to be inspected and each division data for each pixel region, and makes a defect part of the image to be inspected be lightness defect data on the basis of each lightness difference.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、計器の文字盤の表面、
LSIウェーハの表面等の各種被検査体の表面の明度を
画像処理の利用により検査するに適した明度検査装置に
関する。
[Industrial Application Field] The present invention relates to the surface of the dial of a meter,
The present invention relates to a brightness inspection device suitable for inspecting the brightness of the surface of various objects to be inspected, such as the surface of an LSI wafer, by using image processing.

【0002】0002

【従来技術】従来、この種の明度検査装置においては、
適宜な照明を受けた状態にある被検査体の表面をテレビ
カメラにより撮影画像として撮影し、この撮影画像の明
度を、被検査体の表面の基準画像の明度と、画素毎に比
較して、その各明度差に基づいて被検査体の表面の適否
を検査するようにしたものがある。
[Prior Art] Conventionally, in this type of brightness testing device,
The surface of the object to be inspected under appropriate illumination is photographed as a photographed image by a television camera, and the brightness of this photographed image is compared for each pixel with the brightness of a reference image of the surface of the object to be examined, There is a method in which the suitability of the surface of the object to be inspected is inspected based on the respective brightness differences.

【0003】0003

【発明が解決しようとする課題】しかし、このような構
成においては、撮影画像と基準画像との間には、一般的
に照明の輝度変動や被検査体の表面自体のバラツキによ
り相対的に明度が変化することが多いため、全く同じと
判断したい被検査体の表面でも明度差が生じてしまい、
その結果、この明度差を解消するように補正する必要が
生じる。かかる場合、単一の撮影画像中において補正し
たい画像部分が複数存在すると、各画像部分について順
番に補正量を計算し、これら各補正量に応じ単一の撮影
画像から複数の補正撮影画像を形成し、かつ、これら各
補正撮影画像をそれぞれ基準画像と比較して明度の適否
の判断を行うこととなる。このことは、被検査体の表面
の明度の適否の判断にあたり、複雑な画像処理過程を必
要とすることを意味する。その結果、被検査体の表面の
明度検査のための処理速度が低下するのは勿論のこと、
メモリーの容量が大きくなるとともに回路構成が複雑と
なってコスト高を招くという不具合が生じる。これに対
し、本発明者等は、以下のようなことを確認した。例え
ば、撮影画像及び基準画像の互いに対応する画素領域の
各画素の明度をそれぞれTsi及びMsiとし、撮影画
像の各画素の明度Tsiの補正明度をTsaiとし、 
前記対応画素領域に属する撮影画像の画素数をNとし、
撮影画像の欠陥画素部とこれに対応する基準画像の画素
部との各対応画素同士間の明度差をFi とすれば、次
の数1及び数2が成立する。但し、i=1、2、…、N
とする。
[Problem to be Solved by the Invention] However, in such a configuration, there is generally a relative brightness difference between the photographed image and the reference image due to variations in the brightness of the illumination and variations in the surface of the object to be inspected. Because the values often change, differences in brightness may occur even on the surfaces of objects to be inspected that you would like to judge to be exactly the same.
As a result, it becomes necessary to perform correction to eliminate this brightness difference. In such a case, if there are multiple image parts to be corrected in a single captured image, the amount of correction is calculated for each image part in turn, and multiple corrected captured images are created from the single captured image according to each of these correction amounts. In addition, each of these corrected photographed images is compared with a reference image to determine whether the brightness is appropriate. This means that a complicated image processing process is required to determine whether the brightness of the surface of the object to be inspected is appropriate. As a result, not only the processing speed for inspecting the brightness of the surface of the object to be inspected decreases, but also
As the capacity of the memory increases, the circuit configuration becomes more complicated, leading to higher costs. In contrast, the present inventors confirmed the following. For example, the brightness of each pixel in the corresponding pixel area of the photographed image and the reference image is respectively Tsi and Msi, the corrected brightness of the brightness Tsi of each pixel of the photographed image is Tsai,
The number of pixels of the captured image belonging to the corresponding pixel area is N,
If Fi is the difference in brightness between each corresponding pixel between the defective pixel portion of the photographed image and the corresponding pixel portion of the reference image, the following Equations 1 and 2 hold true. However, i=1, 2,...,N
shall be.

【数1】         Tsai=Tsi−(1/N)・{(
Ts1−Ms1)+(Ts2−Ms2)+…     
             +(TsN−MsN)}
[Math. 1] Tsai=Tsi-(1/N)・{(
Ts1-Ms1)+(Ts2-Ms2)+...
+(TsN-MsN)}


数2】Fi=Tsai−Msi ここで、上述の対応画素領域における基準画像の各画素
の明度のー定値をMfix とすると、次の数3及び数
4が成立する。
[
Equation 2: Fi=Tsai-Msi Here, if Mfix is the fixed value of the brightness of each pixel of the reference image in the above-mentioned corresponding pixel area, the following Equations 3 and 4 hold true.

【数3】           Tsai=Tsi−(1/N)・
(Ts1+Ts2+…+TsN)+Mfix
[Math. 3] Tsai=Tsi-(1/N)・
(Ts1+Ts2+…+TsN)+Mfix

【数4】F
i=Tsai−Msi =Tsi−(1/N)・(Ts1+Ts2+…+TsN
)しかして、この数4によれば、Tsiと(1/N)・
(Ts1+Ts2+…+TsN)との差、即ち、Tsi
と前記対応画素領域の各Tsiの平均値との間の明度差
でもって、Fi が決まることが分かる。かかる場合、
数4の第2式には、基準画像の画素の明度Msiが関与
していないので、 明度差Fiの決定にあたり、基準画
像の画素の明度Msiのバラツキを考慮する必要もない
ことが分かる。以上のようなことは、撮影画像及び基準
画像の各全対応画素について成立する。そこで、本発明
は、上述のような認識のもとに、明度検査装置において
、基準画像の各画素の明度に代えて、撮影画像の各画素
の明度の平均化を有効に活用して、そのメモリーの容量
の増大や回路構成の複雑化を招くことなく、被検査体の
表面の明度の検査処理速度を高めようとするものである
[Math 4] F
i=Tsai-Msi =Tsi-(1/N)・(Ts1+Ts2+...+TsN
) According to this number 4, Tsi and (1/N)・
(Ts1+Ts2+...+TsN), that is, Tsi
It can be seen that Fi is determined by the brightness difference between Tsi and the average value of each Tsi of the corresponding pixel area. In such case,
Since the second equation of Equation 4 does not involve the brightness Msi of the pixels of the reference image, it is understood that there is no need to take into account the variation in the brightness Msi of the pixels of the reference image when determining the brightness difference Fi. The above holds true for all corresponding pixels in the photographed image and the reference image. Based on the above-mentioned recognition, the present invention effectively utilizes the average brightness of each pixel of a photographed image in place of the brightness of each pixel of a reference image in a brightness inspection device. The purpose is to increase the processing speed for inspecting the brightness of the surface of an object to be inspected without increasing the memory capacity or complicating the circuit configuration.

【0004】0004

【課題を解決するための手段】上記課題の解決にあたり
、本発明の構成は、被検査体の互いに異なる明度の少な
くとも第1及び第2の表面部を有する表面を適宜な照明
のもとに画像として撮影する撮影手段と、前記撮影画像
を被検画像として記憶する撮影画像記憶手段と、前記表
面の正常な画像を基準画像として記憶する基準画像記憶
手段と、前記第1表面部に対応する第1画素領域及び前
記第2表面部に対応する第2画素領域にそれぞれ属する
画素毎に前記基準画像の各画素によるアドレス指定に応
じ前記撮影画像の各画素の明度を累積し第1及び第2の
明度累積データとする明度累積手段と、前記第1及び第
2の画素領域にそれぞれ属する画素毎に前記基準画像の
各画素によるアドレス指定に応じ前記撮影画像の各画素
の数を計数し第1及び第2の画素計数データとする画素
計数手段と、前記第1明度累積データに対する前記第1
画素計数データによる除算及び前記第2明度累積データ
に対する前記第2画素計数データによる除算を行いそれ
ぞれ第1及び第2の除算データとする除算手段と、前記
第1画素領域に属する前記被検画像の各画素の明度と前
記第1除算データとの間の明度差及び前記第2画素領域
に属する前記被検画像の各画素の明度と前記第2除算デ
ータとの間の明度差を演算しこれら各明度差に基づき前
記被検画像の欠陥部を明度欠陥データとする明度差演算
手段とを備えるようにしたことにある。
[Means for Solving the Problems] In order to solve the above problems, the configuration of the present invention is to image a surface of an object to be inspected having at least first and second surface portions having different brightnesses under appropriate illumination. a photographic image storage means for storing the photographed image as a test image; a reference image storage means for storing a normal image of the surface as a reference image; For each pixel belonging to one pixel area and a second pixel area corresponding to the second surface portion, the brightness of each pixel of the photographed image is accumulated according to the address designation by each pixel of the reference image, and the brightness of each pixel of the photographed image is accumulated and a brightness accumulating means for generating brightness cumulative data, and counting the number of each pixel of the photographed image according to address designation by each pixel of the reference image for each pixel belonging to the first and second pixel areas, respectively; pixel counting means for obtaining second pixel counting data; and pixel counting means for obtaining second pixel counting data;
division means for dividing by the pixel count data and dividing the second lightness cumulative data by the second pixel count data to obtain first and second divided data, respectively; The brightness difference between the brightness of each pixel and the first division data and the brightness difference between the brightness of each pixel of the test image belonging to the second pixel area and the second division data are calculated, and each of these and brightness difference calculation means for calculating the defective portion of the image to be inspected as brightness defect data based on the brightness difference.

【0005】[0005]

【作用】このように本発明を構成したことにより、前記
被検査体の表面を適宜な照明のもとに画像として前記撮
影手段により撮影すれば、前記撮影画像記憶手段が、前
記撮影画像を被検画像として記憶し、前記明度累積手段
が、前記第1及び第2の画素領域にそれぞれ属する画素
毎に、前記基準画像記憶手段の記憶基準画像の各画素に
よるアドレス指定に応じ、前記撮影画像の各画素の明度
を累積し第1及び第2の明度累積データとし、前記画素
計数手段が、前記第1及び第2の画素領域にそれぞれ属
する画素毎に前記記憶基準画像の各画素によるアドレス
指定に応じ前記撮影画像の各画素の数を計数し第1及び
第2の画素計数データとし、前記除算手段が、前記第1
明度累積データに対する前記第1画素計数データによる
除算及び前記第2明度累積データに対する前記第2画素
計数データによる除算を行いそれぞれ第1及び第2の除
算データとし、かつ、前記明度差演算手段が、前記第1
画素領域に属する前記被検画像の各画素の明度と前記第
1除算データとの間の明度差及び前記第2画素領域に属
する前記被検画像の各画素の明度と前記第2除算データ
との間の明度差を演算しこれら各明度差に基づき前記被
検画像の欠陥部を明度欠陥データとする。
[Operation] By configuring the present invention as described above, when the surface of the object to be inspected is photographed as an image under appropriate illumination by the photographing means, the photographed image storage means stores the photographed image as an image. The brightness accumulating means stores the photographed image as a test image, and the brightness accumulating means stores the brightness of the photographed image for each pixel belonging to the first and second pixel areas, in accordance with the address designation by each pixel of the storage reference image of the reference image storage means. The brightness of each pixel is accumulated as first and second brightness cumulative data, and the pixel counting means performs addressing by each pixel of the storage reference image for each pixel belonging to the first and second pixel areas, respectively. Accordingly, the number of each pixel of the photographed image is counted as first and second pixel count data, and the dividing means
dividing the brightness cumulative data by the first pixel count data and dividing the second brightness cumulative data by the second pixel count data to obtain first and second divided data, respectively, and the brightness difference calculation means, Said first
A brightness difference between the brightness of each pixel of the test image belonging to the pixel region and the first division data, and a difference between the brightness of each pixel of the test image belonging to the second pixel region and the second division data. The brightness difference between them is calculated, and the defective portion of the image to be inspected is determined as brightness defect data based on these brightness differences.

【0006】[0006]

【発明の効果】このように、上述のような各明度累積デ
ータ及び各画素計数データに基づく各除算データの演算
のもとに、前記明度差演算手段が、その明度差の演算に
あたり、前記被検画像の各画素の明度とこれに対応する
前記基準画像の各画素の明度とに代えて、前記被検画像
の各画素の明度とこれに対応する前記各除算データのい
ずれか(即ち、前記被検画像の各画素の明度の前記各画
素領域のいずれかにおける平均値)とにより行うので、
前記撮影画像や基準画像の各画素の明度に前記第1或い
は第2の画素領域内毎にバラツキがあっても、上述の従
来技術の解決課題で述べたような複数の補正基準画像の
形成を不必要とし、その結果、被検査体の明度の検査が
、不必要な記憶容量の増大を招くことなく、かつ画像処
理回路構成を複雑にすることなく、迅速に行える。また
、前記基準画像は、上述したように、アドレス指定のた
めに使用するのみなので、従来のように、被検画像の各
画素の明度との比較のために、基準画像の各画素の明度
のバラツキを管理する必要もない。
Effects of the Invention As described above, based on the calculation of each division data based on each brightness cumulative data and each pixel count data as described above, the brightness difference calculation means calculates the brightness difference. Instead of the brightness of each pixel of the test image and the corresponding brightness of each pixel of the reference image, either the brightness of each pixel of the test image and the corresponding division data (i.e., the The average value of the brightness of each pixel of the test image in any of the above pixel regions) is used.
Even if the brightness of each pixel of the photographed image or the reference image varies within the first or second pixel region, it is possible to form a plurality of corrected reference images as described in the above-mentioned problem to be solved by the prior art. As a result, the brightness of the object to be inspected can be quickly inspected without unnecessary increase in storage capacity and without complicating the image processing circuit configuration. In addition, as mentioned above, the reference image is only used for addressing, so as in the past, the brightness of each pixel of the reference image is compared with the brightness of each pixel of the test image. There is no need to manage variations.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面により説明す
ると、図1は、本発明に係る明度検査装置の全体構成を
示している。この明度検査装置は、テレビカメラTcを
有しており、このテレビカメラTcは、スピードメータ
10(図4参照)の文字盤11の互いに異なる複数個の
被検査部12(図4にて四角13で囲われた部分により
そのー例を示す)の各々を、その明度分布のもとに撮影
し、後述する画面同期信号発生回路40からの各画面同
期信号の立ち下がりに順次応答して、これら各撮影画像
を、その各撮影画像毎に、シリアルデータ(以下、撮影
画像データという)として出力する。但し、文字盤11
の背景部11a、目盛部11b及び文字部11cは、互
いに異なる色彩で印刷されている。このことは、背景部
11a、目盛部11b及び文字部11cが、互いに異な
る明度を有することを意味する。従って、前記各撮影画
像データは、背景部11a、目盛部11b及び文字部1
1cの明度のいずれかにより特定される。リセットスイ
ッチSWは、そのリセット操作により、リセット信号を
発生する。A−D変換器20は、テレビカメラTcから
の各撮影画像データを、これら各撮影画像データ毎に、
画素同期クロック回路30からの各画素同期クロック信
号に順次応答してディジタルデータ(以下、被検画像デ
ータT(x,y)という)に変換する。但し、T(x,
y)において、(x,y)は、前記各撮影画像の各画素
の位置座標を表す。従って、T(x,y)は、座標(x
,y)における画素の明度をも表す。画素同期クロック
回路30は、所定発振周波数にて画素同期クロック信号
を繰り返し発生する。画面同期信号発生回路40は、明
度検査装置の作動開始と同時に作動状態におかれて、画
素同期クロック回路30からの各画素同期クロック信号
を計数しその所定数(所定周期(例えば、33(mse
c)に対応する)の計数毎に繰り返し画面同期信号を発
生する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the overall configuration of a brightness testing device according to the present invention. This brightness inspection device has a television camera Tc, and this television camera Tc detects a plurality of different parts 12 (squares 13 and 13 in FIG. 4) of a dial 11 of a speedometer 10 (see FIG. 4). (Examples are shown in the enclosed area) are photographed based on their brightness distribution, and in response to the fall of each screen synchronization signal from the screen synchronization signal generation circuit 40, which will be described later, each of these images is photographed. The photographed images are output as serial data (hereinafter referred to as photographed image data) for each photographed image. However, dial 11
The background portion 11a, scale portion 11b, and character portion 11c are printed in different colors. This means that the background portion 11a, the scale portion 11b, and the character portion 11c have different brightness from each other. Therefore, each photographed image data includes the background part 11a, the scale part 11b, and the character part 1.
It is specified by one of the brightness values of 1c. The reset switch SW generates a reset signal by its reset operation. The A-D converter 20 converts each photographed image data from the television camera Tc into
Each pixel synchronization clock signal from the pixel synchronization clock circuit 30 is sequentially responded to and converted into digital data (hereinafter referred to as image data T(x,y)). However, T(x,
y), (x, y) represents the position coordinates of each pixel of each of the captured images. Therefore, T(x,y) is the coordinate (x
, y). The pixel synchronization clock circuit 30 repeatedly generates a pixel synchronization clock signal at a predetermined oscillation frequency. The screen synchronization signal generation circuit 40 is put into operation at the same time as the brightness inspection device starts operating, and counts each pixel synchronization clock signal from the pixel synchronization clock circuit 30, and counts each pixel synchronization clock signal by a predetermined period (for example, 33 (ms)).
A screen synchronization signal is repeatedly generated for each count corresponding to c).

【0008】画面カウンタ50は、リセットスイッチS
Wからのリセット信号に応答してリセットされて、画面
同期信号発生回路40から順次生ずる各画面同期信号を
計数する。画素カウンタ60は、画面同期信号発生回路
40からの各画面同期信号の立ち下がりに応答して繰り
返しリセットされて、画素同期クロック回路30からの
各画素同期クロック信号を計数し、各計数結果を、各フ
レームメモリMf1〜Mfnのいずれかを指定するに必
要な第1〜第nのアドレス信号のいずれかを発生する。 デコーダ70は、画面カウンタ50の計数値を解読し、
この解読結果に応じ、各フレームメモリMf1〜Mfn
のいずれかを表すデコード信号を発生し各フレームメモ
リMf1〜Mfnのイネーブル端子のいずれかに付与す
る。各フレームメモリMf1〜Mfnは、文字盤11の
各被検査部12の正常な基準画像をそれぞれ予め記憶し
ている。しかして、各フレームメモリMf1〜Mfnの
いずれかが、デコーダ70からのデコード信号により選
択されてその基準画像をシリアルデータ(以下、基準画
像データM(x,y)という)として欠陥強調回路80
(図1〜図3参照)に出力する。但し、M(x,y)に
おいて、(x,y)は、上述のT(x,y)における場
合と同様であり、M(x,y)は、T(x,y)に対応
する。従って、M(x,y)は、基準画像上の座標(x
,y)における画素の明度をも表す。
[0008] The screen counter 50 has a reset switch S.
It is reset in response to a reset signal from W and counts each screen synchronization signal sequentially generated from the screen synchronization signal generation circuit 40. The pixel counter 60 is repeatedly reset in response to the fall of each screen synchronization signal from the screen synchronization signal generation circuit 40, counts each pixel synchronization clock signal from the pixel synchronization clock circuit 30, and calculates each count result as follows. It generates any one of the first to nth address signals necessary to designate any one of the frame memories Mf1 to Mfn. The decoder 70 decodes the count value of the screen counter 50,
According to this decoding result, each frame memory Mf1 to Mfn
A decode signal representing one of these is generated and applied to one of the enable terminals of each frame memory Mf1 to Mfn. Each of the frame memories Mf1 to Mfn stores in advance a normal reference image of each portion to be inspected 12 of the dial 11. Therefore, one of the frame memories Mf1 to Mfn is selected by the decode signal from the decoder 70, and the defect highlighting circuit 80 uses the reference image as serial data (hereinafter referred to as reference image data M(x, y)).
(See Figures 1 to 3). However, in M(x,y), (x,y) is the same as in the case of T(x,y) described above, and M(x,y) corresponds to T(x,y). Therefore, M(x, y) is the coordinate (x
, y).

【0009】欠陥強調回路80は、図2に示すごとく、
クロック回路81aを有しており、このクロック回路8
1aは、所定発信周波数にてクロック信号を繰り返し発
生する。nビットのカウンタ81bは、画面同期信号発
生回路40からの各画面同期信号に応答し繰り返しリセ
ットされて、クロック回路81aから順次生ずるクロッ
ク信号を計数し、これら各計数結果に応じ、最上位の桁
に相当する出力端子QMSB から2進信号を繰り返し
発生する。論理回路82は、ORゲート82aを有して
おり、このORゲート82aは、画面同期信号発生回路
40からの各画面同期信号又は画素同期クロック回路3
0からの各画素クロック信号の反転信号をゲート信号G
aとして発生する。ANDゲート82bは、カウンタ8
1bからの2進信号の反転信号のハイレベル下及び画面
同期信号発生回路40からの各画面同期信号のハイレベ
ル下にて、クロック回路81aからの各クロック信号を
順次ORゲート82dに出力する。ANDゲート82c
は、画面同期信号発生回路40からの各画面同期信号の
ハイレベル下にて、画素同期クロック回路30からの各
画素同期クロック信号の反転信号を順次ORゲート82
dに出力する。ORゲート82dは、両ANDゲート8
2b、82cからの各出力信号のいずれかをゲート信号
Gbとして発生する。ANDゲート82eは、画面同期
信号発生回路40からの各画面同期信号のハイレベル下
にて、カウンタ81bからの各2進信号を順次ORゲー
ト82gに出力する。ANDゲート82fは、画面同期
信号発生回路40からの各画面同期信号のローレベル下
にて、画素同期クロック回路30からの各画素同期クロ
ック信号の反転信号を順次ORゲート82gに出力する
。ORゲート82gは、両ANDゲート82e、82f
からの各出力信号のいずれかをゲート信号Gcとして発
生する。D型フリップフロップ82kは、画面同期信号
発生回路40からの各画面同期信号のローレベルに応答
してリセットされて、カウンタ81bからの各2進信号
に応答して直流電源(図示しない)からの直流電圧(+
Vd)をその反転レベルにて反転出力端子Qneg か
ら出力信号Gdとして発生する。ANDゲート82hは
、カウンタ81bからの各2進信号のハイレベル下及び
画面同期信号発生回路40からの各画面同期信号のハイ
レベル下にて、クロック回路81bからの各クロック信
号を順次ORゲート82iに出力する。ORゲート82
iは、画面同期信号発生回路40からの各画面同期信号
の反転信号又はANDゲート82hからの各出力クロッ
ク信号をゲート信号Geとして発生する。ORゲート8
2jは、画面同期信号発生回路40からの各画面同期信
号又は画素同期クロック回路30からの各画素クロック
信号をゲート信号Gfとして発生する。
The defect highlighting circuit 80, as shown in FIG.
It has a clock circuit 81a, and this clock circuit 8
1a repeatedly generates a clock signal at a predetermined oscillation frequency. The n-bit counter 81b is repeatedly reset in response to each screen synchronization signal from the screen synchronization signal generation circuit 40, and counts the clock signals sequentially generated from the clock circuit 81a. A binary signal is repeatedly generated from the output terminal QMSB corresponding to . The logic circuit 82 has an OR gate 82a, and this OR gate 82a receives each screen synchronization signal from the screen synchronization signal generation circuit 40 or the pixel synchronization clock circuit 3.
The inverted signal of each pixel clock signal from 0 is the gate signal G.
Occurs as a. The AND gate 82b is the counter 8
Each clock signal from the clock circuit 81a is sequentially outputted to the OR gate 82d under the high level of the inverted binary signal from 1b and the high level of each screen synchronization signal from the screen synchronization signal generation circuit 40. AND gate 82c
Under the high level of each screen synchronization signal from the screen synchronization signal generation circuit 40, the inverted signals of each pixel synchronization clock signal from the pixel synchronization clock circuit 30 are sequentially applied to the OR gate 82.
Output to d. The OR gate 82d has both AND gates 8
Either of the output signals from 2b and 82c is generated as the gate signal Gb. The AND gate 82e sequentially outputs each binary signal from the counter 81b to the OR gate 82g under the high level of each screen synchronization signal from the screen synchronization signal generation circuit 40. The AND gate 82f sequentially outputs an inverted signal of each pixel synchronization clock signal from the pixel synchronization clock circuit 30 to the OR gate 82g under the low level of each screen synchronization signal from the screen synchronization signal generation circuit 40. The OR gate 82g is connected to both AND gates 82e and 82f.
generates one of the output signals from the gate signal Gc as the gate signal Gc. The D-type flip-flop 82k is reset in response to the low level of each screen synchronization signal from the screen synchronization signal generation circuit 40, and is reset in response to each binary signal from the counter 81b. DC voltage (+
Vd) is generated at its inverted level from the inverted output terminal Qneg as an output signal Gd. The AND gate 82h sequentially ORs each clock signal from the clock circuit 81b under the high level of each binary signal from the counter 81b and the high level of each screen synchronization signal from the screen synchronization signal generation circuit 40. Output to. OR gate 82
i generates an inverted signal of each screen synchronization signal from the screen synchronization signal generation circuit 40 or each output clock signal from the AND gate 82h as a gate signal Ge. OR gate 8
2j generates each screen synchronization signal from the screen synchronization signal generation circuit 40 or each pixel clock signal from the pixel synchronization clock circuit 30 as a gate signal Gf.

【0010】3ステートバッフア 83は、論理回路8
2のフリップフロップ82kからの出力信号Gdのロー
レベルに応答して、フリップフロップ(図示しない)か
らのローレベルの出力を、両メモリ83e、83fに付
与してこれら両メモリ83e、83fの記憶内容をクリ
アする。但し、前記フリップフロップは、画面同期信号
発生回路40からの画面同期信号のハイレベル時におけ
る反転出力をローレベル出力として3ステートバッフア
 83に出力し、また、画面同期信号発生回路40から
画面同期信号のローレベル時における反転出力をハイレ
ベル出力として後述する加算器83bに出力する。加算
器83aは、ORゲート82jからのゲート信号Gf、
即ち画面同期信号発生回路40からの画面同期信号のロ
ーレベル下にて画素同期クロック回路30から順次生ず
る各画素クロック信号に応答し、A−D変換器20から
順次生じる各被検画像データT(x,y)、即ち各座標
(x,y)における画素の明度をラッチ83cの現段階
におけるラッチデータに順次加算する。ラッチ83cは
、ORゲート82aからのゲート信号Ga、即ち画面同
期信号発生回路40からの画面同期信号のローレベル下
にて画素同期クロック回路30から順次生ずる各画素ク
ロック信号の反転信号に応答し、メモリ83eからの出
力記憶明度累積データを繰り返しラッチする。メモリ8
3eは、そのクリア後、ORゲート82dからのゲート
信号Gbのローレベル下にて、 デイジタルスイッチ8
5aを介し、各フレームメモリMf1〜Mfnのいずれ
かから順次出力される各基準画像データM(x,y)を
アドレス信号として受けて、これら各アドレス信号によ
り指定される加算器83aからの各加算データを、文字
盤11の背景部11a、目盛部11b及び文字部11c
にそれぞれ対応する各画素領域(以下、各画素領域R1
、R2、R3という)毎に 累積し第1、第2及び第3
の明度累積データとして記憶する。一方、メモリ83e
は、ORゲート82gからのゲート信号Gcのローレベ
ル下にて、デイジタルスイッチ85aを介し、 各フレ
ームメモリMf1〜Mfnのいずれかから順次出力され
る各基準画像データM(x,y)をアドレス信号として
受けて、これら各アドレス信号により指定される画素の
属する明度累積データ(即ち、第1、第2或いは第3の
明度累積データ)を読み出してラッチ83c及び除算器
84に出力する。
The 3-state buffer 83 is the logic circuit 8
In response to the low level of the output signal Gd from the second flip-flop 82k, a low level output from the flip-flop (not shown) is given to both memories 83e and 83f, and the stored contents of these memories 83e and 83f are changed. Clear. However, the flip-flop outputs the inverted output when the screen synchronization signal from the screen synchronization signal generation circuit 40 is at high level to the three-state buffer 83 as a low level output, and also outputs the inverted output from the screen synchronization signal generation circuit 40 to the three-state buffer 83. An inverted output when the signal is at a low level is output as a high level output to an adder 83b, which will be described later. The adder 83a receives the gate signal Gf from the OR gate 82j,
That is, in response to each pixel clock signal sequentially generated from the pixel synchronization clock circuit 30 under the low level of the screen synchronization signal from the screen synchronization signal generation circuit 40, each test image data T( x, y), that is, the brightness of the pixel at each coordinate (x, y) is sequentially added to the latch data at the current stage of the latch 83c. The latch 83c responds to an inverted signal of each pixel clock signal sequentially generated from the pixel synchronization clock circuit 30 under the low level of the gate signal Ga from the OR gate 82a, that is, the screen synchronization signal from the screen synchronization signal generation circuit 40, The output stored brightness cumulative data from the memory 83e is latched repeatedly. memory 8
After clearing, the digital switch 8 is turned on under the low level of the gate signal Gb from the OR gate 82d.
5a, each reference image data M(x, y) sequentially output from one of the frame memories Mf1 to Mfn is received as an address signal, and each addition from the adder 83a specified by each of these address signals is performed. The data is transferred to the background part 11a, scale part 11b and character part 11c of the dial 11.
Each pixel region (hereinafter, each pixel region R1
, R2, R3) and accumulate the first, second and third
is stored as cumulative brightness data. On the other hand, the memory 83e
Under the low level of the gate signal Gc from the OR gate 82g, each reference image data M(x, y) sequentially output from any of the frame memories Mf1 to Mfn is sent to an address signal via the digital switch 85a. Then, the brightness cumulative data (that is, the first, second, or third brightness cumulative data) to which the pixel specified by each address signal belongs is read out and output to the latch 83c and the divider 84.

【0011】加算器83bは、ORゲート82jからの
ゲート信号Gf、即ち画面同期信号発生回路40からの
画面同期信号のローレベル下にて画素同期クロック回路
30から順次生ずる各画素クロック信号に応答し、前記
フリップフロップからのハイレベルの出力、即ちデイジ
タル値 「1」を、ラッチ83dの現段階におけるラッ
チデータに繰り返し加算する。ラッチ83dは、ORゲ
ート82aからのゲート信号Ga、即ち画面同期信号発
生回路40からの画面同期信号のローレベル下にて画素
同期クロック回路30から順次生ずる各画素クロック信
号の反転信号に応答し、メモリ83fの出力記憶計数デ
ータを繰り返しラッチする。メモリ83fは、そのクリ
ア後、ORゲート82dからのゲート信号Gbのローレ
ベル下にて、デイジタルスイッチ85aを介し、各フレ
ームメモリMf1〜Mfn のいずれかから順次出力さ
れる各基準画像データM(x,y)をアドレス信号とし
て受けて、これら各アドレス信号により指定される画素
の属する加算器83bからの各加算データを、 各画素
領域R1、R2、R3毎に計数し第1、第2及び第3の
画素計数データとして記憶する。一方、メモリ83fは
、ORゲート82gからのゲート信号Gcのローレベル
下にて、デイジタルスイッチ85a を介し、各フレー
ムメモリMf1〜Mfnのいずれかから順次出力される
各基準画像データM(x,y)をアドレス信号として受
けて、これら各アドレス信号により指定される画素の属
する画素計数データ(即ち、第1、第2或いは第3の画
素計数データ)を読み出してラッチ83d及び除算器8
4に出力する。
The adder 83b responds to each pixel clock signal sequentially generated from the pixel synchronization clock circuit 30 under the low level of the gate signal Gf from the OR gate 82j, that is, the screen synchronization signal from the screen synchronization signal generation circuit 40. , the high-level output from the flip-flop, that is, the digital value "1", is repeatedly added to the latch data at the current stage of the latch 83d. The latch 83d responds to an inverted signal of each pixel clock signal sequentially generated from the pixel synchronization clock circuit 30 under the low level of the gate signal Ga from the OR gate 82a, that is, the screen synchronization signal from the screen synchronization signal generation circuit 40, The output storage count data of the memory 83f is repeatedly latched. After the memory 83f is cleared, each reference image data M(x . It is stored as pixel count data of 3. On the other hand, the memory 83f receives each reference image data M (x, y ) as an address signal, the pixel count data (i.e., the first, second, or third pixel count data) to which the pixel specified by each address signal belongs is read out, and the latch 83d and the divider 8
Output to 4.

【0012】除算器84は、メモリ83eからの第1明
度累積データをメモリ83fからの第1画素計数データ
で除して第1除算データとし、メモリ83eからの第2
明度累積データをメモリ83fからの第2画素計数デー
タで除して第2除算データとし、かつメモリ83eから
の第3明度累積データをメモリ83fからの第3画素計
数データで除して第3除算データとして順次メモリ86
に出力する。 デイジタルスイッチ85aは、画面同期
信号発生回路40からの画面同期信号に応答してローレ
ベル状態L又はハイレベル状態Hに交互に切り替えられ
て、ハイレベル状態Hにてカウンタ81bからのアドレ
ス信号を各メモリ83e、83fに付与し、また、ロー
レベル状態Lにて、各フレームメモリMf1〜Mfnの
いずれかから順次出力される各基準画像データM(x,
y)をアドレス信号として各メモリ83e、83fに付
与する。分周器85bは、画面同期信号発生回路40か
らの各画面同期信号に順次応答して、これら各画面同期
信号の周波数を1/2に分周し分周信号として順次発生
する。カウンタ81bは、クロック回路81aから順次
生じるクロック信号を計数しこれら各計数結果をアドレ
ス信号として 両デイジタルスイッチ 85a、86a
に付与する。デイジタルスイッチ 86aは、画面同期
信号発生回路40からの各画面同期信号に応答してロー
レベル状態L(又はハイレベル状態H)に切り替えられ
る。しかして、このデイジタルスイッチ86aは、その
ハイレベル状態Hにて、カウン タ81bからの各アド
レス信号を順次メモリ86に付与し、一方、そのローレ
ベル状態Lにて、 デイジタルスイッチ88cを介し両
フレームメモリMd1、Md2のいずれかから出力され
る記憶データをアドレス信号としてメモリ86に付与す
る。メモリ86は、画面同期信号発生回路40からの各
画面同期信号のハイレベル下におけるORゲート82i
からの各ゲート信号Geの発生のもとに、 デイジタル
スイッチ86aを介するカウンタ81bからの各アドレ
ス信号による指定により除算器84からの第1、第2或
いは第3の除算データを順次記憶する。また、このメモ
リ86は、画面同期信号発生回路40からの各画面同期
信号のローレベル下にて、デイジタルスイッチ 88c
を介する両フレームメモリMd1、Md2のいずれかか
らの各出力データによる指定により、この指定に係る第
1、第2或いは第3の記憶除算データをメモリ89に順
次出力する。
The divider 84 divides the first accumulated brightness data from the memory 83e by the first pixel count data from the memory 83f to obtain first division data, and divides the first accumulated brightness data from the memory 83e by the first pixel count data from the memory 83f.
The brightness cumulative data is divided by the second pixel count data from the memory 83f to obtain second division data, and the third brightness cumulative data from the memory 83e is divided by the third pixel count data from the memory 83f to obtain third division data. Sequential memory 86 as data
Output to. The digital switch 85a is alternately switched to a low level state L or a high level state H in response to a screen synchronization signal from the screen synchronization signal generation circuit 40. Each reference image data M(x,
y) is given to each memory 83e, 83f as an address signal. The frequency divider 85b sequentially responds to each screen synchronization signal from the screen synchronization signal generation circuit 40, divides the frequency of each of these screen synchronization signals by 1/2, and sequentially generates a divided signal. The counter 81b counts the clock signals sequentially generated from the clock circuit 81a, and uses these counting results as address signals for both digital switches 85a and 86a.
granted to. The digital switch 86a is switched to a low level state L (or a high level state H) in response to each screen synchronization signal from the screen synchronization signal generation circuit 40. Thus, this digital switch 86a, in its high level state H, sequentially applies each address signal from the counter 81b to the memory 86, while, in its low level state L, sends the address signals from both frames via the digital switch 88c. Storage data output from either memory Md1 or Md2 is applied to memory 86 as an address signal. The memory 86 stores an OR gate 82i under the high level of each screen synchronization signal from the screen synchronization signal generation circuit 40.
Under the generation of each gate signal Ge from , the first, second, or third divided data from the divider 84 is sequentially stored according to the designation by each address signal from the counter 81b via the digital switch 86a. Further, this memory 86 is connected to a digital switch 88c under the low level of each screen synchronization signal from the screen synchronization signal generation circuit 40.
According to the designation by each output data from either of the frame memories Md1 and Md2 via the frame memories Md1 and Md2, the first, second, or third stored division data related to this designation is sequentially output to the memory 89.

【0013】デイジタルスイッチ88aは、 分周器8
5bから順次生ずる各分周信号に応答してローレベル状
態L(又は、ハイレベル状態H)に交互に切り替えられ
て、各フレームメモリMf1〜Mf2からのいずれかの
基準画像データM(x,y)を、順次交互に、ローレベ
ル状態L又はハイレベル状態HにてフレームメモリMd
1又はフレームメモリMd2に出力する。 デイジタル
スイッチ88bは、分周器85bから順次生ずる各分周
信号に応答してローレベル状態L(又は、ハイレベル状
態H)に交互に切り替えられて、A−D変換器20から
の被検画像データT(x,y)を、順次交互に、ローレ
ベル状態L又はハイレベル状態HにてフレームメモリM
d3又はフレームメモリMd4に出力する。 両フレー
ムメモリMd1、Md2は、デイジタルスイッチ88a
からの各出力データを順次交互に記憶する。両フレーム
メモリMd3、Md4は、デイジタルスイッチ 88b
からの各出力データを順次交互に記憶する。デイジタル
スイッチ88cは、 分周器85bから順次生ずる各分
周信号に応答してローレベル状態L(又は、ハイレベル
状態H)に交互に切り替えられて、フレームメモリMd
1の記憶データ又はフレームメモリMd2の記憶データ
を、ローレベル状態L又はハイレベル状態Hにてデイジ
タルスイッチ86aに出力する。デイジタルスイッチ8
8dは、分周器85bから順次生ずる各分周信号に応答
してローレベル状態L(又は、ハイレベル状態H)に交
互に切り替えられて、フレームメモリMd3の記憶デー
タ又はフレームメモリMd4の記憶データを、ローレベ
ル状態L又はハイレベル状態Hにてメモリ89に出力す
る。 但し、両デイジタルスイッチ88c、88dが共
にハイレベル状態H(又は、ローレベル状態L)にある
とき、 上述の両デイジタルスイッチ88a、88bが
共にローレベル状態L(又は、ハイレベル状態H)にあ
る。メモリ89は、減算機能を有するもので、このメモ
リ89は、 デイジタルスイッチ88dからの出力デー
タとメモリ86からの出力データとの減算差を演算して
記憶する。D−A変換器90は、欠陥強調回路80を介
する画面同期信号発生回路40からの画面同期信号のロ
ーレベル中に、画素同期クロック回路30からの各画素
クロック信号に応答して、メモリ89からの減算差記憶
データを順次アナログ変換し、アナログデータとして 
デイスプレイ100に出力する。このデイスプレイ 1
00は、テレビジョンにより構成されて、D−A変換器
90からのアナログデータを表示する。
Digital switch 88a is frequency divider 8
5b, the reference image data M (x, y ) in the low level state L or high level state H, sequentially and alternately, the frame memory Md
1 or output to frame memory Md2. The digital switch 88b is alternately switched to a low level state L (or a high level state H) in response to each frequency division signal sequentially generated from the frequency divider 85b, and the test image from the A-D converter 20 is switched to a low level state L (or a high level state H). Data T(x, y) is sequentially and alternately stored in the frame memory M in a low level state L or a high level state H.
d3 or frame memory Md4. Both frame memories Md1 and Md2 are connected to a digital switch 88a.
The respective output data from are sequentially and alternately stored. Both frame memories Md3 and Md4 are digital switches 88b
The respective output data from are sequentially and alternately stored. The digital switch 88c is alternately switched to a low level state L (or a high level state H) in response to each frequency division signal sequentially generated from the frequency divider 85b, and the frame memory Md
1 or the data stored in the frame memory Md2 is output to the digital switch 86a in a low level state L or a high level state H. Digital switch 8
8d is alternately switched to a low level state L (or a high level state H) in response to each frequency division signal sequentially generated from the frequency divider 85b, and the data stored in the frame memory Md3 or the data stored in the frame memory Md4 is is output to the memory 89 in a low level state L or a high level state H. However, when both digital switches 88c and 88d are both in the high level state H (or low level state L), both the above-mentioned digital switches 88a and 88b are both in the low level state L (or high level state H). . The memory 89 has a subtraction function, and the memory 89 calculates and stores the subtraction difference between the output data from the digital switch 88d and the output data from the memory 86. The D-A converter 90 receives data from the memory 89 in response to each pixel clock signal from the pixel synchronization clock circuit 30 while the screen synchronization signal from the screen synchronization signal generation circuit 40 via the defect highlighting circuit 80 is at a low level. The subtraction difference stored data is sequentially converted into analog data and converted into analog data.
Output to display 100. This display 1
00 is constituted by a television and displays analog data from the DA converter 90.

【0014】以上のように構成した本実施例において、
本発明装置を作動状態におけば、画面同期信号発生回路
40が画素同期クロック回路30から順次生ずる画素ク
ロック信号に応じて画面同期信号を繰り返し発生する。 また、リセットスイッチSWからリセット信号を発生さ
せれば、画面カウンタ50がリセットされて画面同期信
号発生回路40からの各画面同期信号を順次計数する。 また、論理回路82のフリップフロップ82kが、カウ
ンタ81bのリセットに伴うクロック回路81aからの
クロック信号に対する計数作動に応じ、ゲート信号Gd
を生ずる。しかして、このゲート信号Gdが立ち下がる
と、3ステートバッフア83が、 そのローレベル出力
を、両メモリ83e、83fにその各記憶内容をクリア
すべく付与する。このとき、デイジタルスイッチ 85
aが、画面同期信号発生回路40からの画面同期信号に
応答してハイレベル状態Hにある。従って、両メモリ8
3e、83fが、その各記憶内容を、カウンタ81bか
らクロック回路81aとの協働によりデイジタルスイッ
チ 85aを介し順次生ずる各アドレス信号による指定
のもとに、3ステートバッフア83からのローレベル出
力に応じクリアする。
[0014] In this embodiment configured as above,
When the device of the present invention is in operation, the screen synchronization signal generation circuit 40 repeatedly generates a screen synchronization signal in response to pixel clock signals sequentially generated from the pixel synchronization clock circuit 30. Further, when a reset signal is generated from the reset switch SW, the screen counter 50 is reset and sequentially counts each screen synchronization signal from the screen synchronization signal generation circuit 40. Further, the flip-flop 82k of the logic circuit 82 responds to the counting operation in response to the clock signal from the clock circuit 81a accompanying the reset of the counter 81b, and the gate signal Gd
will occur. When this gate signal Gd falls, the three-state buffer 83 applies its low level output to both memories 83e and 83f in order to clear their respective stored contents. At this time, digital switch 85
a is in the high level state H in response to the screen synchronization signal from the screen synchronization signal generation circuit 40. Therefore, both memories 8
3e and 83f output the respective stored contents from the counter 81b to the low level output from the 3-state buffer 83 based on the designation by each address signal sequentially generated via the digital switch 85a in cooperation with the clock circuit 81a. Clear accordingly.

【0015】また、適宜な照明のもとにテレビカメラT
cによりスピードメータ10の文字盤11の一被検査部
12(図4及び図5(A)参照)を撮影するとともに画
面同期信号発生回路40から現段階で生じている画面同
期信号が立ち下がると、被検査部12の撮影画像が撮影
画像データとしてテレビカメラTcからA−D変換器2
0に出力されてこのA−D変換器20により被検画像デ
ータT(x,y)にディジタル変換されて欠陥画像強調
回路80に出力される。このとき、上述のような画面同
期信号の立ち下がりに伴う分周器85bからの分周信号
の発生に応答して、両デイジタルスイッチ88a、88
bが共にローレベル状態Lになり、一方、両デイジタル
スイッチ 88c、88dが共にハイレベル状態Hにな
る。また、デコーダ70が、画面カウンタ50の計数値
に応じ、フレームメモリMf1を指定するものとする。 但し、このフレームメモリMf1には、図4及び図5(
A)に示したー被検査部12の正常画像(図5(B)参
照)が基準画像データM(x,y)として予め記憶され
ているものとする。しかして、フレームメモリMf1が
、デコーダ70による指定のもとに、その記憶基準画像
データM(x,y)を欠陥画像強調回路80に出力する
。図5(A)にて示す被検査部12において、符号11
dは、同被検査部12の背景部11aにおける欠陥部を
示す。
[0015] Also, under appropriate lighting, a television camera T
When the screen synchronization signal currently being generated from the screen synchronization signal generation circuit 40 falls while photographing one part to be inspected 12 (see FIGS. 4 and 5(A)) of the dial 11 of the speedometer 10 using c. , the photographed image of the inspected part 12 is transferred from the television camera Tc to the A-D converter 2 as photographed image data.
0, which is digitally converted into test image data T(x,y) by this A/D converter 20 and output to the defect image enhancement circuit 80. At this time, in response to the generation of the frequency division signal from the frequency divider 85b accompanying the fall of the screen synchronization signal as described above, both digital switches 88a and 88
Both digital switches 88c and 88d become high level H. Further, it is assumed that the decoder 70 specifies the frame memory Mf1 according to the count value of the screen counter 50. However, this frame memory Mf1 has data in FIGS. 4 and 5 (
It is assumed that the normal image of the inspected portion 12 shown in A) (see FIG. 5(B)) is stored in advance as reference image data M(x, y). Accordingly, the frame memory Mf1 outputs the storage reference image data M(x,y) to the defective image enhancement circuit 80 based on the designation by the decoder 70. In the inspected part 12 shown in FIG. 5(A), the reference numeral 11
d indicates a defective portion in the background portion 11a of the inspected portion 12.

【0016】上述のように被検画像データT(x,y)
及び基準画像データM(x,y)が欠陥画像強調回路8
0に出力されると、加算器83aが、論理回路82から
のゲート信号Gfの立ち上がりにて、A−D変換器20
からの被検画像データT(x,y)をラッチ83cのラ
ッチ明度累積データ(現段階では、上述のようにクリア
されている)と加算し、メモリ83eが、同加算データ
を、論理回路82から生ずるゲート信号Gbの立ち上が
りに応答し、 デイジタルスイッチ85aを介するフレ
ームメモリMf1からの基準画像データM(x,y)に
よるアドレス指定のもとに明度累積データ(例えば、第
1明度累積データ)として記憶する。すると、ラッチ8
3cが、論理回路82からのゲート信号Gaの立ち上が
りにて、上述のメモリ83eの記憶明度累積データをラ
ッチする。以下、論理回路82から順次それぞれ生じる
各ゲート信号Gfの立ち上がり、各ゲート信号Gbの立
ち上がり及び各ゲート信号Gaの立ち上がりにて、加算
器83aによる加算作用、メモリ83eによる第1、第
2或いは第3の明度累積データの記憶作用及びラッチ8
3cによる同記憶明度累積データラッチ作用が、その後
のA−D変換器20からの各被検画像データT(x,y
)及びデイジタルスイッチ 85aを介するフレームメ
モリMf1からの各基準画像データM(x,y)による
アドレス指定に応じて、順次繰り返し行われる。
As described above, the test image data T(x,y)
and reference image data M (x, y) are sent to the defect image enhancement circuit 8.
0, the adder 83a controls the A-D converter 20 at the rising edge of the gate signal Gf from the logic circuit 82.
The memory 83e adds the test image data T(x,y) from the latch 83c to the latch brightness cumulative data (currently cleared as described above), and the memory 83e adds the added data to the logic circuit 82. In response to the rising edge of the gate signal Gb generated from Remember. Then, latch 8
3c latches the accumulated lightness data stored in the memory 83e at the rise of the gate signal Ga from the logic circuit 82. Hereinafter, at the rising edge of each gate signal Gf, the rising edge of each gate signal Gb, and the rising edge of each gate signal Ga sequentially generated from the logic circuit 82, the adder 83a performs an addition operation, and the memory 83e performs the first, second, or third Memory function and latch 8 for brightness cumulative data
The storage brightness cumulative data latching action by 3c causes each test image data T(x, y
) and the digital switch 85a in response to address designation by each reference image data M(x,y) from the frame memory Mf1.

【0017】一方、加算器83bが、論理回路82から
のゲート信号Gfの立ち上がりにて、前記フリップフロ
ップからのハイレベル出力、即ちデイジタル値 「1」
にラッチ83dのラッチ計数データ(現段階では、上述
のようにクリアされている)を加算し、メモリ83fが
、同加算データを、論理回路82から生ずるゲート信号
Gbの立ち上がりに応答し、デイジタルスイッチ 85
aを介するフレームメモリMf1からの基準画像データ
M(x,y)によるアドレス指定のもとに画素累積デー
タ(例えば、第1画素累積データ)として記憶する。す
ると、ラッチ83dが、論理回路82からのゲート信号
Gaの立ち上がりにて、上述のメモリ83fの記憶画素
累積データをラッチする。以下、論理回路82から順次
それぞれ生じる各ゲート信号Gfの立ち上がり、各ゲー
ト信号Gbの立ち上がり及び各ゲート信号Gaの立ち上
がりにて、加算器83bによる加算作用、メモリ83f
による第1、第2或いは第3の画素累積データの記憶作
用及びラッチ83dによる同画素累積データラッチ作用
が、その後のデイジタルスイッチ 85aを介するフレ
ームメモリMf1からの各基準画像データM(x,y)
によるアドレス指定に応じて、順次繰り返し行われる。 また、上述のようなデイジタルスイッチ 88aのロー
レベル状態Lへの切り替えのもとに、フレームメモリM
d1が、フレームメモリMf1からの基準画像データM
(x,y)を記憶し、一方、 上述のようなデイジタル
スイッチ88bのハイレベル状態Hへの切り替えのもと
に、フレームメモリMd3が、A−D変換器20からの
被検画像データT(x,y)を記憶する。
On the other hand, at the rising edge of the gate signal Gf from the logic circuit 82, the adder 83b outputs a high level output from the flip-flop, that is, the digital value "1".
The latch count data of the latch 83d (currently cleared as described above) is added to the memory 83f, and the memory 83f adds the added data to the digital switch in response to the rise of the gate signal Gb generated from the logic circuit 82. 85
The data is stored as pixel cumulative data (for example, first pixel cumulative data) under addressing by reference image data M(x,y) from frame memory Mf1 via a. Then, the latch 83d latches the accumulated pixel data stored in the memory 83f at the rise of the gate signal Ga from the logic circuit 82. Hereinafter, at the rising edge of each gate signal Gf, the rising edge of each gate signal Gb, and the rising edge of each gate signal Ga sequentially generated from the logic circuit 82, the addition action by the adder 83b and the memory 83f are performed.
The storage function of the first, second, or third pixel cumulative data by the latch 83d and the latching function of the same pixel cumulative data by the latch 83d are used to store each reference image data M(x, y) from the frame memory Mf1 via the digital switch 85a.
The process is repeated in sequence according to the address specification by . Furthermore, when the digital switch 88a is switched to the low level state L as described above, the frame memory M
d1 is reference image data M from frame memory Mf1
(x, y), and on the other hand, when the digital switch 88b is switched to the high level state H as described above, the frame memory Md3 stores the image data T( x, y).

【0018】このようにして、ー被検査部12に対する
撮影画像(図5(A)参照)及び正常画像(図5(B)
参照)にそれぞれ対応する被検画像データT(x,y)
及び基準画像データM(x,y)の第1〜第3の明度累
積データ及び第1〜第3の画素累積データの記憶並びに
当該被検画像データT(x,y)及び基準画像データM
(x,y)の記憶が終了した後、画面同期信号発生回路
40からの画面同期信号が立ち上がると、デイジタルス
イッチ85aがハイレベル状態になると同時に、デイジ
タルスイッチ86aがハイレベル状態Hになる。すると
、メモリ83eが、論理回路82からのゲート信号Gc
の立ち下がりのもとに、デイジタルスイッチ 85aを
介するカウンタ81bからの各アドレス信号による指定
に応じ、第1、第2及び第3の記憶明度累積データを順
次除算器84に順次出力し、一方、メモリ83fが、論
理回路82からのゲート信号Gcの立ち下がりのもとに
、デイジタルスイッチ 85a を介するカウンタ81
bからの各アドレス信号による指定に応じ、第1、第2
及び第3の記憶画素累積データを順次除算器84に順次
出力する。すると、除算器84が、第1記憶明度累積デ
ータを第1記憶画素計数データで除し、第2記憶明度累
積データを第2記憶画素計数データで除し、かつ第3記
憶明度累積データを第3記憶画素計数データで除して、
第1、第2及び第3の除算データとして順次メモリ86
に出力する。しかして、メモリ86が、論理回路82か
らの各ゲート信号Geの立ち上がりにて、デイジタルス
イッチ 86aを介するカウンタ81bからの各アドレ
ス信号による指定に応じ、上述の第1、第2及び第3の
除算データを記憶する。然る後、カウンタ81bの出力
 QMSBが立ち上がると、各メモリ83e、83fの
記憶内容が、上述したと同様に、クリアされる。
In this way, a photographed image (see FIG. 5(A)) and a normal image (see FIG. 5(B)) of the inspected part 12 are obtained.
Test image data T(x, y) corresponding to
and storage of the first to third brightness cumulative data and the first to third pixel cumulative data of the reference image data M (x, y), and the test image data T (x, y) and the reference image data M
After the storage of (x, y) is completed, when the screen synchronization signal from the screen synchronization signal generation circuit 40 rises, the digital switch 85a goes to the high level state, and at the same time, the digital switch 86a goes to the high level state H. Then, the memory 83e receives the gate signal Gc from the logic circuit 82.
At the falling edge of , the first, second and third stored brightness cumulative data are sequentially outputted to the divider 84 in accordance with the designation by each address signal from the counter 81b via the digital switch 85a; When the gate signal Gc from the logic circuit 82 falls, the memory 83f operates the counter 81 via the digital switch 85a.
According to the designation by each address signal from b.
and the third stored pixel accumulated data are sequentially output to the divider 84. Then, the divider 84 divides the first stored brightness cumulative data by the first stored pixel count data, divides the second stored brightness cumulative data by the second stored pixel count data, and divides the third stored brightness cumulative data by the first stored pixel count data. 3 divided by the memory pixel count data,
The memory 86 sequentially stores the first, second and third division data.
Output to. Thus, the memory 86 performs the first, second, and third division operations described above at the rising edge of each gate signal Ge from the logic circuit 82, in accordance with the designation by each address signal from the counter 81b via the digital switch 86a. Store data. Thereafter, when the output QMSB of the counter 81b rises, the contents of the memories 83e and 83f are cleared in the same manner as described above.

【0019】また、上述と同様にしてテレビカメラTc
によりスピードメータ10の文字盤11の他の被検査部
12(例えば、図4及び図5(A)にて図示被検査部1
2の隣接被検査部)を撮影するとともに、画面同期信号
発生回路40からの画面同期信号が立ち下がると、他の
被検査部12の撮影画像が他の撮影画像データとしてテ
レビカメラTcからA−D変換器20に出力されてこの
A−D変換器20により他の被検画像データT(x,y
)にディジタル変換されて欠陥画像強調回路80に出力
される。このとき、上述のような画面同期信号の立ち下
がりに伴う分周器85bからの分周信号の発生に応答し
て、各デイジタルスイッチ 88a、88bが共にハイ
レベル状態Hになり、一方、各デイジタルスイッチ 8
8c、88dが共にローレベル状態Lになる。また、デ
コーダ70が、画面カウンタ50の計数値に応じ、フレ
ームメモリMf2を指定するものとする。但し、このフ
レームメモリMf2には、上述の他の被検査部12の正
常画像が他の基準画像データM(x,y)として予め記
憶されているものとする。しかして、フレームメモリM
f2が、デコーダ70による指定のもとに、その記憶基
準画像データM(x,y)を欠陥強調回路80に出力す
る。
Furthermore, in the same manner as described above, the television camera Tc
Accordingly, other parts to be inspected 12 of the dial 11 of the speedometer 10 (for example, parts to be inspected 1 shown in FIGS. 4 and 5(A))
When the screen synchronization signal from the screen synchronization signal generation circuit 40 falls, the captured image of the other inspected section 12 is taken as other captured image data from the television camera Tc. It is output to the D converter 20 and converted into other test image data T (x, y
) and output to the defect image enhancement circuit 80. At this time, in response to the generation of the frequency division signal from the frequency divider 85b accompanying the fall of the screen synchronization signal as described above, each digital switch 88a, 88b both becomes a high level state H, while each digital switch 8
8c and 88d both become low level state L. Further, it is assumed that the decoder 70 specifies the frame memory Mf2 according to the count value of the screen counter 50. However, it is assumed that the above-mentioned normal image of the other inspected portion 12 is stored in advance in this frame memory Mf2 as other reference image data M(x, y). However, frame memory M
f2 outputs the storage reference image data M(x, y) to the defect highlighting circuit 80 based on the designation by the decoder 70.

【0020】上述のように他の被検画像データT(x,
y)及び他の基準画像データM(x,y)が欠陥強調回
路80に出力されると、加算器83aが、論理回路82
からのゲート信号Gfの立ち上がりにて、A−D変換器
20からの他の被検画像データT(x,y)をラッチ8
3cのラッチ明度累積データ(現段階では、上述のよう
にクリアされている)と加算し、メモリ83eが、同加
算データを、論理回路82から生ずるゲート信号Gbの
立ち上がりに応答し、 デイジタルスイッチ85aを介
するフレームメモリMf2からの他の基準画像データM
(x,y)によるアドレス指定のもとに他の明度累積デ
ータ(例えば、他の第1明度累積データ)として記憶す
る。すると、ラッチ83cが、論理回路82からのゲー
ト信号Gaの立ち上がりにて、上述のメモリ83eの他
の記憶明度累積データをラッチする。以下、論理回路8
2から順次それぞれ生じる各ゲート信号Gfの立ち上が
り、各ゲート信号Gbの立ち上がり及び各ゲート信号G
aの立ち上がりにて、加算器83aによる加算作用、メ
モリ83eによる各他の第1、第2或いは第3の明度累
積データの記憶作用及びラッチ83cによる同記憶明度
累積データラッチ作用が、その後のA−D変換器20か
らの各他の被検画像データT(x,y)及び デイジタ
ルスイッチ85aを介するフレームメモリMf2からの
各他の基準画像データM(x,y)によるアドレス指定
に応じて、順次繰り返し行われる。
As mentioned above, other test image data T(x,
y) and other reference image data M(x, y) are output to the defect highlighting circuit 80, the adder 83a
At the rise of the gate signal Gf from
The memory 83e adds the latch brightness cumulative data of 3c (currently cleared as described above), and the memory 83e sends the added data to the digital switch 85a in response to the rise of the gate signal Gb generated from the logic circuit 82. Other reference image data M from frame memory Mf2 via
It is stored as other cumulative brightness data (for example, another first cumulative brightness data) under addressing by (x, y). Then, at the rise of the gate signal Ga from the logic circuit 82, the latch 83c latches the other accumulated lightness data stored in the memory 83e. Below, logic circuit 8
The rising edge of each gate signal Gf, the rising edge of each gate signal Gb, and the rising edge of each gate signal G, which occur sequentially from 2.
At the rising edge of A, the addition action by the adder 83a, the storage action of each other first, second, or third brightness cumulative data by the memory 83e, and the latching action of the stored brightness cumulative data by the latch 83c are performed on the subsequent A. - In response to addressing by each other test image data T (x, y) from the D converter 20 and each other reference image data M (x, y) from the frame memory Mf2 via the digital switch 85a, It is repeated in sequence.

【0021】一方、加算器83bが、論理回路82から
のゲート信号Gfの立ち上がりにて、前記フリップフロ
ップからのハイレベル出力、即ちデイジタル値 「1」
にラッチ83dのラッチ計数データ(現段階では、上述
のようにクリアされている)を加算し、メモリ83fが
、同加算データを、論理回路82から生ずるゲート信号
Gbの立ち上がりに応答し、デイジタルスイッチ 85
aを介するフレームメモリMf2からの他の基準画像デ
ータM(x,y)によるアドレス指定のもとに他の画素
計数データ(例えば、他の第1画素計数データ)として
記憶する。すると、ラッチ83dが、論理回路82から
のゲート信号Gaの立ち上がりにて、上述のメモリ83
fの他の記憶画素計数データをラッチする。以下、論理
回路82から順次それぞれ生じる各ゲート信号Gfの立
ち上がり、各ゲート信号Gbの立ち上がり及び各ゲート
信号Gaの立ち上がりにて、加算器83bによる加算作
用、メモリ83fによる各他の第1、第2或いは第3の
画素計数データの記憶作用及びラッチ83dによる同画
素計数データラッチ作用が、 その後のデイジタルスイ
ッチ85aを介するフレームメモリMf2からの各他の
基準画像データM(x,y)によるアドレス指定に応じ
て、順次繰り返し行われる。また、上述のような デイ
ジタルスイッチ88aのハイレベル状態Hへの切り替え
のもとに、フレームメモリMd2が、フレームメモリM
f2からの他の基準画像データM(x,y)を記憶し、
一方、上述のようなデイジタルスイッチ 88bのハイ
レベル状態Hへの切り替えのもとに、フレームメモリM
d4が、A−D変換器20からの他の被検画像データT
(x,y)を記憶する。
On the other hand, at the rising edge of the gate signal Gf from the logic circuit 82, the adder 83b outputs a high level output from the flip-flop, that is, the digital value "1".
The latch count data of the latch 83d (currently cleared as described above) is added to the memory 83f, and the memory 83f adds the added data to the digital switch in response to the rise of the gate signal Gb generated from the logic circuit 82. 85
It is stored as other pixel count data (for example, another first pixel count data) under addressing by other reference image data M(x,y) from frame memory Mf2 via a. Then, the latch 83d activates the memory 83 at the rise of the gate signal Ga from the logic circuit 82.
Latch other stored pixel count data of f. Hereinafter, at the rising edge of each gate signal Gf, the rising edge of each gate signal Gb, and the rising edge of each gate signal Ga sequentially generated from the logic circuit 82, the adder 83b performs an addition operation, and the memory 83f performs an addition operation on each of the other first and second gate signals. Alternatively, the storage action of the third pixel count data and the latching action of the same pixel count data by the latch 83d are used for subsequent addressing by each other reference image data M(x, y) from the frame memory Mf2 via the digital switch 85a. Depending on the situation, the process is repeated in sequence. Furthermore, when the digital switch 88a is switched to the high level state H as described above, the frame memory Md2 is switched to the frame memory Md2.
Store other reference image data M(x,y) from f2;
On the other hand, when the digital switch 88b is switched to the high level state H as described above, the frame memory M
d4 is other test image data T from the A-D converter 20
Store (x, y).

【0022】また、上述のようにデイジタルスイッチ 
86aがローレベル状態Lになるとともに、デイジタル
スイッチ 88cがハイレベル状態Hになっているため
、メモリ86が、画面同期信号発生回路40からの画面
同期信号の上述のような立ち下がりのもとにフレームメ
モリMd1 の記憶基準画像データM(x,y)を各デ
イジタルスイッチ88c、86aを介しアドレス信号と
して受けて、その第1〜第3の除算データを順次メモリ
89に出力しアドレスとして供与する。また、上述のよ
うにデイジタルスイッチ 88dがハイレベル状態Hに
なっているため、メモリ89が、同デイジタルスイッチ
 88dを介しフレームメモリMd3から記憶被検画像
データタT(x,y)を順次出力されメモリ89のアド
レスとして供与されて、これら各被検画像データT(x
,y)と上述の第1、第2或いは第3の除算データとの
間の記憶減算を行いその結果を出力する。かかる場合、
当該減算は、画素領域R1 に属する被検画像データT
(x,y)と第1除算データとの間、画素領域R2 に
属する被検画像データT(x,y)と第2除算データと
の間及び画素領域R3 に属する被検画像データT(x
,y)と第3除算データとの間において、それぞれ行わ
れる。しかして、メモリ89は、同各減算データを欠陥
強調画像を表すデータ(以下、欠陥強調画像データとい
う)としてD−A変換器90に出力する。かかる場合、
すると、このD−A変換器90が、メモリ89からの欠
陥強調画像データをアナログ変換しアナログデータとし
てデイスプレイ 100に出力する。このため、このデ
イスプレイ100 が、D−A変換器90からのアナロ
グデータに基づき被検査部12の背景部11aにおける
欠陥部11dを図5(C)に示すごとく表示する。
[0022] Furthermore, as mentioned above, a digital switch
Since the digital switch 86a is in the low level state L and the digital switch 88c is in the high level state H, the memory 86 is The memory reference image data M(x,y) of the frame memory Md1 is received as an address signal via each digital switch 88c, 86a, and the first to third divided data are sequentially outputted to the memory 89 and provided as an address. Further, as described above, since the digital switch 88d is in the high level state H, the memory 89 sequentially outputs the stored test image data T(x, y) from the frame memory Md3 via the digital switch 88d. 89 addresses, and each of these test image data T(x
, y) and the above-mentioned first, second, or third division data, and outputs the result. In such case,
The subtraction is performed on the test image data T belonging to the pixel region R1.
(x,y) and the first division data, between the test image data T(x,y) belonging to the pixel region R2 and the second division data, and between the test image data T(x, y) belonging to the pixel region R3.
, y) and the third division data. The memory 89 outputs each subtraction data to the DA converter 90 as data representing a defect emphasized image (hereinafter referred to as defect emphasized image data). In such case,
Then, this DA converter 90 converts the defect emphasis image data from the memory 89 into analog data and outputs it to the display 100 as analog data. Therefore, the display 100 displays the defective portion 11d in the background portion 11a of the portion to be inspected 12 as shown in FIG. 5(C) based on the analog data from the DA converter 90.

【0023】以上説明したように、文字盤11のー被検
査部12(図5(A)参照)の欠陥検査にあたり、同被
検査部12のテレビカメラTcによる撮影画像を表すー
連の被検画像データT(x,y)を、フレームメモリM
f1のー連の記憶基準画像データM(x,y)によるア
ドレス指定のもとに各画素領域R1、R2及びR3 毎
に第1、第2及び第3の明度累積データとしてメモリ8
3eによりそれぞれ累積記憶し、同ー連の被検画像デー
タT(x,y)の数を、フレームメモリMf1のー連の
記憶基準画像データM(x,y)によるアドレス指定の
もとに各画素領域 R1、R2及びR3毎に第1、第2
及び第3の画素計数データとしてメモリ83fによりそ
れぞれ計数記憶し、同ー連の被検画像データT(x,y
)をフレームメモリMd3により記憶し、フレームメモ
リMf1のー連の記憶基準画像データM(x,y)をフ
レームメモリMd1により記憶する。ついで、メモリ8
3eの第1、第2及び第3の記憶明度累積データをメモ
リ83fの第1、第2及び第3の記憶画素計数データに
より第1、第2及び第3の除算データとしてそれぞれ除
算器84によって除算し、これら第1、第2及び第3の
除算データをメモリ86により記憶し、このメモリ86
の第1、第2及び第3の記憶除算データをフレームメモ
リMd1のー連の記憶基準画像データM(x,y)によ
るアドレス指定のもとに読みだしてメモリ89に記憶し
、フレームメモリMd3の各記憶被検画像データT(x
,y)と第1、第2或いは第3の記憶除算データとの間
の減算を、画素領域R1、R2或いはR3に対応する両
データ同士毎に、 メモリ89により行なって減算結果
を欠陥強調画像データとしてD−A変換器90を介しデ
イスプレイ 100により表示する。かかる場合、メモ
リ89においては、フレームメモリMd3の各記憶被検
画像データT(x,y)との減算対象が、第1、第2或
いは第3の記憶除算データ、即ち各被検画像データT(
x,y)の画素領域R1、R2或いはR3 毎の平均化
明度となっているため、各基準画像データM(x,y)
の明度のバラツキとはかかわりなく、安定した欠陥強調
画像を精度よく表示し得るとともに、各画素領域R1、
R2及びR3毎の基準画像データをその明度のバラツキ
に応じて補正して各補正基準画像を複数準備するという
ような不具合を伴うことなく、かつ、メモリーの容量の
増大や回路構成の複雑化を招くことなく、被検査部12
の表面の明度の検査処理速度を高め得る。また、基準画
像データは、上述のように、アドレス指定のためにのみ
使用するので、基準画像データや被検画像データの各画
素の明度にバラツキがあっても、これに影響されること
がなく、その結果、メモリ89における被検画像データ
との比較にあたり、従来のように基準画像の各画素の明
度を適正に管理するという煩わしさもない。
As explained above, when inspecting the part 12 to be inspected (see FIG. 5(A)) of the dial 11 for defects, a series of images representing the part 12 to be inspected taken by the television camera Tc are used. Image data T (x, y) is stored in frame memory M
The memory 8 stores the first, second, and third brightness cumulative data for each pixel region R1, R2, and R3 under the address designation using the series of storage reference image data M(x, y) of f1.
3e, and the number of test image data T(x, y) of the same series is stored in each frame memory Mf1 under the address specification by the memory reference image data M(x, y) of the series. Pixel area: 1st, 2nd for each R1, R2, and R3
and the third pixel count data are counted and stored in the memory 83f, and the test image data T(x, y
) is stored in the frame memory Md3, and a series of storage reference image data M(x,y) of the frame memory Mf1 is stored in the frame memory Md1. Next, memory 8
The first, second, and third stored brightness cumulative data of 3e are divided by the first, second, and third stored pixel count data of the memory 83f as first, second, and third divided data by the divider 84, respectively. The first, second, and third division data are stored in the memory 86.
The first, second, and third stored division data of frame memory Md1 are read out and stored in memory 89 under addressing by a series of stored reference image data M(x, y), and are stored in frame memory Md3. Each stored test image data T(x
. The data is displayed on a display 100 via a DA converter 90. In such a case, in the memory 89, the object to be subtracted from each stored test image data T(x,y) of the frame memory Md3 is the first, second, or third stored division data, that is, each test image data T. (
Since the brightness is averaged for each pixel region R1, R2 or R3 of pixel area M(x, y),
It is possible to display a stable defect-enhanced image with high accuracy regardless of the brightness variations in each pixel region R1,
This method eliminates the problem of preparing multiple corrected reference images by correcting the reference image data for each R2 and R3 according to their brightness variations, and also avoids increasing memory capacity and complicating the circuit configuration. The inspected part 12 without inviting
The processing speed for inspecting the brightness of the surface can be increased. Furthermore, as mentioned above, the reference image data is used only for address specification, so even if there is variation in the brightness of each pixel in the reference image data or test image data, it will not be affected by this. As a result, when comparing with the test image data in the memory 89, there is no need to appropriately manage the brightness of each pixel of the reference image, unlike in the conventional case.

【0024】なお、本発明の実施にあたっては、スピー
ドメータ10の文字盤に限ることなく、各種計器の文字
盤の表面、LSIウェハーの異明度表面部を有する表面
等の良否の検査に本発明を適用し得る。
In carrying out the present invention, the present invention is not limited to the dial of the speedometer 10, but can be applied to inspecting the quality of the dial surfaces of various instruments, surfaces of LSI wafers having abnormally bright surface parts, etc. applicable.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例を示す全体構成図である。FIG. 1 is an overall configuration diagram showing an embodiment of the present invention.

【図2】図1の欠陥強調回路における論理回路の回路構
成図である。
FIG. 2 is a circuit configuration diagram of a logic circuit in the defect highlighting circuit of FIG. 1;

【図3】同欠陥強調回路の残余の回路構成図である。FIG. 3 is a diagram showing the remaining circuit configuration of the defect highlighting circuit.

【図4】スピードメータの文字盤の破断正面図である。FIG. 4 is a cutaway front view of the dial of the speedometer.

【図5】同文字盤における部分拡大画像、部分拡大基準
画像及び欠陥強調部をそれぞれ表す図である。
FIG. 5 is a diagram illustrating a partially enlarged image, a partially enlarged reference image, and a defect highlighting section on the same dial.

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

Mf1〜Mfn、Md1〜Md4…フレームメモリ、T
c…テレビカメラ、10…スピードメータ、11…文字
盤、11a…背景部、11b…目盛部、11c…文字部
、30…画素同期クロック回路、40…画素同期信号発
生回路、50…画面カウンタ、60…画素カウンタ、7
0…デコーダ、80…欠陥強調回路、81a…クロック
回路、81b…カウンタ、82…論理回路,83a、8
3b…加算器、83c、83d…ラッチ、83e、83
f、86、89…メモリ、84…除算器、85a、86
a、88a〜88d…デイジタルスイッチ、85b…分
周器。
Mf1 to Mfn, Md1 to Md4...Frame memory, T
c...TV camera, 10...Speedometer, 11...Dial, 11a...Background section, 11b...Scale section, 11c...Character section, 30...Pixel synchronization clock circuit, 40...Pixel synchronization signal generation circuit, 50...Screen counter, 60...pixel counter, 7
0... Decoder, 80... Defect highlighting circuit, 81a... Clock circuit, 81b... Counter, 82... Logic circuit, 83a, 8
3b...Adder, 83c, 83d...Latch, 83e, 83
f, 86, 89...memory, 84...divider, 85a, 86
a, 88a to 88d...digital switch, 85b...frequency divider.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  被検査体の互いに異なる明度の少なく
とも第1及び第2の表面部を有する表面を適宜な照明の
もとに画像として撮影する撮影手段と、前記撮影画像を
被検画像として記憶する撮影画像記憶手段と、前記表面
の正常な画像を基準画像として記憶する基準画像記憶手
段と、前記第1表面部に対応する第1画素領域及び前記
第2表面部に対応する第2画素領域にそれぞれ属する画
素毎に前記基準画像の各画素によるアドレス指定に応じ
前記撮影画像の各画素の明度を累積し第1及び第2の明
度累積データとする明度累積手段と、前記第1及び第2
の画素領域にそれぞれ属する画素毎に前記基準画像の各
画素によるアドレス指定に応じ前記撮影画像の各画素の
数を計数し第1及び第2の画素計数データとする画素計
数手段と、前記第1明度累積データに対する前記第1画
素計数データによる除算及び前記第2明度累積データに
対する前記第2画素計数データによる除算を行いそれぞ
れ第1及び第2の除算データとする除算手段と、前記第
1画素領域に属する前記被検画像の各画素の明度と前記
第1除算データとの間の明度差及び前記第2画素領域に
属する前記被検画像の各画素の明度と前記第2除算デー
タとの間の明度差を演算しこれら各明度差に基づき前記
被検画像の欠陥部を明度欠陥データとする明度差演算手
段とを備えてなる明度検査装置。
1. Photographing means for photographing a surface of an object to be inspected having at least first and second surface portions having different brightnesses as an image under appropriate illumination, and storing the photographed image as a test image. a photographed image storage means for storing a normal image of the surface as a reference image; a first pixel region corresponding to the first surface portion and a second pixel region corresponding to the second surface portion. a brightness accumulating means for accumulating the brightness of each pixel of the photographed image according to the address designation by each pixel of the reference image for each pixel belonging to each pixel to obtain first and second brightness cumulative data;
pixel counting means for counting the number of each pixel of the photographed image according to the address designation by each pixel of the reference image for each pixel belonging to the pixel area of the pixel area, and calculating the number of each pixel of the photographed image as first and second pixel count data; a division means that divides the brightness cumulative data by the first pixel count data and divides the second brightness cumulative data by the second pixel count data to obtain first and second divided data, respectively; and the first pixel area. The brightness difference between the brightness of each pixel of the test image belonging to the test image and the first division data, and the brightness difference between the brightness of each pixel of the test image belonging to the second pixel area and the second division data. Brightness difference calculation means for calculating brightness differences and using these brightness differences as brightness defect data for the defective portion of the image to be inspected.
JP3036762A 1991-01-09 1991-02-05 Lightness inspection device Expired - Lifetime JP2663730B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3036762A JP2663730B2 (en) 1991-02-05 1991-02-05 Lightness inspection device
US07/817,805 US5296942A (en) 1991-01-09 1992-01-09 Method and apparatus for inspecting lightness on the surface of an object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3036762A JP2663730B2 (en) 1991-02-05 1991-02-05 Lightness inspection device

Publications (2)

Publication Number Publication Date
JPH04254746A true JPH04254746A (en) 1992-09-10
JP2663730B2 JP2663730B2 (en) 1997-10-15

Family

ID=12478765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3036762A Expired - Lifetime JP2663730B2 (en) 1991-01-09 1991-02-05 Lightness inspection device

Country Status (1)

Country Link
JP (1) JP2663730B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5872871A (en) * 1995-04-25 1999-02-16 Nippondenso Co., Ltd. Method and device for measuring the position of a pattern
WO2016051841A1 (en) * 2014-09-29 2016-04-07 株式会社Screenホールディングス Inspection device and inspection method
CN112348761A (en) * 2020-11-30 2021-02-09 广州绿怡信息科技有限公司 Equipment appearance image brightness adjusting method and device
WO2022033313A1 (en) * 2020-08-11 2022-02-17 北京芯海视界三维科技有限公司 Image processing apparatus, and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5872871A (en) * 1995-04-25 1999-02-16 Nippondenso Co., Ltd. Method and device for measuring the position of a pattern
WO2016051841A1 (en) * 2014-09-29 2016-04-07 株式会社Screenホールディングス Inspection device and inspection method
JP2016070732A (en) * 2014-09-29 2016-05-09 株式会社Screenホールディングス Inspection device and inspection method
US10613037B2 (en) 2014-09-29 2020-04-07 SCREEN Holdings Co., Ltd. Inspection apparatus and inspection method
WO2022033313A1 (en) * 2020-08-11 2022-02-17 北京芯海视界三维科技有限公司 Image processing apparatus, and terminal
CN112348761A (en) * 2020-11-30 2021-02-09 广州绿怡信息科技有限公司 Equipment appearance image brightness adjusting method and device
CN112348761B (en) * 2020-11-30 2024-04-26 广州绿怡信息科技有限公司 Equipment appearance image brightness adjusting method and device

Also Published As

Publication number Publication date
JP2663730B2 (en) 1997-10-15

Similar Documents

Publication Publication Date Title
JP3773773B2 (en) Image signal processing apparatus and pixel defect detection method
CN100574377C (en) Image processing apparatus, image processing method
KR0142263B1 (en) Digital gamma correction method and apparatus thereof
EP0249281B1 (en) Television picture display device
US7277131B2 (en) Electronic camera including a display for displaying number of frames
JPH1032810A (en) Image-processing inspecting device
JPH04254746A (en) Inspecting device of brightness
JP2013162173A (en) Imaging apparatus and program
JP2002016842A (en) Defect-pixel sensing device and recording medium with recorded defect-pixel sensing program
JP2002016805A (en) Gamma correction device
JPH0771939A (en) Visual inspection device
JPH07264400A (en) Shading correction circuit
JP3178665B2 (en) Image size conversion method and device therefor
JP4390940B2 (en) Defective pixel detection device
KR100589572B1 (en) Digital clamp circuit
JPH0575913A (en) Motion vector detecting circuit and jiggling correcting circuit
JPH07105916B2 (en) Imaging device
JP4166246B2 (en) Image signal processing apparatus and pixel defect detection method
JP2008011567A (en) Image signal processing device
KR930006183B1 (en) Motion convert system for digital video processing
JP2003157787A (en) Surface analysis device
JPH02245981A (en) Color picture processor
JPS61230570A (en) Image reader
JPH09261463A (en) Image data corrector
JPH06205416A (en) Picture sensor and multi-division screen adaptor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090620

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100620

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100620

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 14