JPH03229374A - Image processor - Google Patents

Image processor

Info

Publication number
JPH03229374A
JPH03229374A JP2025720A JP2572090A JPH03229374A JP H03229374 A JPH03229374 A JP H03229374A JP 2025720 A JP2025720 A JP 2025720A JP 2572090 A JP2572090 A JP 2572090A JP H03229374 A JPH03229374 A JP H03229374A
Authority
JP
Japan
Prior art keywords
inspected
areas
area
fuzzy
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2025720A
Other languages
Japanese (ja)
Inventor
Hiroshi Teramoto
寺本 浩志
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2025720A priority Critical patent/JPH03229374A/en
Publication of JPH03229374A publication Critical patent/JPH03229374A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To accurately separate an object to be checked from other objects and to process the images at the low cost by changing the increase/decrease value of the illumination light corresponding to each segment via a fuzzy inference and based on each image pickup result of plural segments forming a check surface. CONSTITUTION:A check surface 5 which is photographed by a TV camera 1 is divided into the areas (segments) S1 - S16. The light sources LED1 - LED16 forming an illumination device 2 are set opposite to the areas S1 - S16 respectively. The quantity of illumination light of each light source is decided via the fuzzy inferences which are carried out based on the image pickup results of the areas S1 - S16 respectively. Then the fuzzy rule of the fuzzy inference is properly set based on the experiment rule obtained through an experiment so as to decide whether an object to be checked is included or not in each of areas S1 - S16. Thus only the quantity of light corresponding to a relevant check subject is increased. Thus it is possible to accurately separate the check subject from other object and to reduce the cost of an image processing system.

Description

【発明の詳細な説明】 (a)産業上の利用分野 この発明は、工場内の生産ラインなどにおいて検査面を
通過する被検査物を光源からの光によって照明して被検
査物を憑像するとともに、この撮像結果を用いて被検査
物の判別処理などを行う画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial Application Field This invention illuminates an object to be inspected passing through an inspection surface on a production line in a factory with light from a light source to make an image of the object to be inspected. The present invention also relates to an image processing device that performs processing for determining an object to be inspected using the imaging results.

(b)従来の技術 画像処理装置が用いられる検査ラインでは、画像処理装
置が有する撮像手段が撮像した検査面中に被検査物とそ
れ以外のものが同時に含まれる場合がある。例えば、穀
粒の等級判断などにおいては、被検査物である穀粒とと
もに、藁や籾殻などが同時に撮像される。このような場
合に被検査物のみを正確に検査するためには、画像処理
の対象として被検査物のみに限定する必要がある。そこ
で、検査面に対する被検査物の相対位置を検出する検出
手段を設け、この検出手段の検出結果に基づいて検査面
を撮像する撮像手段の動作を被検査物の通過に同期させ
る方法や、またはXY子テーブルどの機構を用いて撮像
手段と被検査物との相対位置を一定にすることによって
撮像画面の特定の位置に被検査物を位置させるようにす
る方法などが用いられている。ところが、撮像画面中に
おける被検査物の位置を特定しよ・)とすると、複雑な
機構や検出手段が必要になり、装置の煩雑化によるコス
トの上昇を招く。
(b) Conventional Technology In an inspection line in which an image processing device is used, an object to be inspected and other objects may be simultaneously included in the inspection surface imaged by an imaging means included in the image processing device. For example, in determining the grade of grain, straw, rice husk, etc. are imaged at the same time as the grain, which is the object to be inspected. In order to accurately inspect only the object to be inspected in such a case, it is necessary to limit the image processing to only the object to be inspected. Therefore, there is a method of providing a detection means for detecting the relative position of the object to be inspected with respect to the inspection surface, and synchronizing the operation of the imaging means for taking an image of the inspection surface based on the detection result of the detection means with the passage of the object to be inspected, or A method is used in which the object to be inspected is positioned at a specific position on the imaging screen by using a mechanism such as an XY child table to keep the relative position of the imaging means and the object to be constant. However, in order to specify the position of the object to be inspected in the imaged screen, a complicated mechanism and detection means are required, which increases the cost due to the complexity of the apparatus.

このため、撮像した画像を2値化および、ラベリング処
理し、得られた各ラベル画像毎に被検査物らしさを特f
tHiを用いて判定し、これによって選択した被検査物
を含むラベリング画像を用いて画像処理を行うようにし
ていた。上記被検査物らしさを判定するための特徴間と
しては、多くの場合その面積値が用いられる。
For this reason, the captured images are binarized and labeled, and each label image obtained is characterized as being like an object to be inspected.
The determination was made using tHi, and image processing was performed using a labeled image containing the inspection object selected based on this. In many cases, the area value is used as the feature for determining the resemblance to the object to be inspected.

(C1発明が解決しようとする課題 しかしながら、上記従来の技術では、画像処理において
面積測定処理に比較してラベリング処理に長時間を必要
とし、高速処理が必要とされる検査システムに対応でき
ない問題があった。また、このラベリング処理を高速に
行うためには専用のLSIを必要とし、コストの上昇を
招く問題があった。さらに、被検査物がそれ以外のもの
と接触している場合には、これらを分離することができ
ず、正確な検査を行うことができない問題があった。
(C1 Problem to be Solved by the Invention) However, with the above-mentioned conventional technology, there is a problem that labeling processing in image processing requires a longer time than area measurement processing, and cannot be applied to inspection systems that require high-speed processing. In addition, in order to perform this labeling process at high speed, a dedicated LSI was required, leading to an increase in cost.Furthermore, if the object to be inspected is in contact with other objects, However, there was a problem in that these could not be separated and accurate inspection could not be performed.

この発明は、検査面を構成する複数のセグメントのそれ
ぞれの撮像結果に基づいてファジィ推論により各セグメ
ントに対応する照明光の増Klを変えることにより、被
検査物をそれ以外のものと正確に分離できるようにし、
画像処理による被検査物の検査を比較的簡単な構成で安
価に実現することができる画像処理装置を提供すること
にあるfd)課題を解決するための手段 この発明の画像処理装置は、検査面における被検査物を
撮像手段により撮像する画像処理装置において、 検査面を構成する複数のセグメントのそれぞれに対応す
る複数の光源と、■像手段による各セグメントの撮像結
果に基づいて予め定められたファジィルールに従って各
セグメントに対する照明光の増減量を決定するファジィ
推論手段と、ファジィ推論手段の推論結果に基づいて各
光源を駆動する光rA駆動手段と、を設けたことを特徴
とする。
This invention accurately separates the object to be inspected from other objects by changing the increase Kl of the illumination light corresponding to each segment using fuzzy inference based on the imaging results of each of the plurality of segments constituting the inspection surface. make it possible,
An object of the present invention is to provide an image processing device that can inspect an object to be inspected using image processing with a relatively simple configuration and at low cost. An image processing device that images an object to be inspected using an imaging means, which includes: a plurality of light sources corresponding to each of a plurality of segments constituting an inspection surface; The present invention is characterized in that it includes fuzzy inference means that determines the increase or decrease of illumination light for each segment according to a rule, and light rA drive means that drives each light source based on the inference result of the fuzzy inference means.

(e)作用 この発明においては、被検査物が位置する検査面は複数
のセグメントに分割され、各セグメントはそれぞれに対
応する光源から光の照射を受ける。この複数の光源のそ
れぞれの照明光量は、撮像手段による各セグメントの撮
像結果に基づいて実行されるファジィ推論によって決定
される。したがって、ファジィ推論におけるファジィル
ールを実験により得られた経験則に従って適当に設定す
ることにより各セグメントに被検査物が位置するか否か
を判断し、被検査物が位置するセグメントに対応する光
源の光量のみを増加して被検査物とそれ以外のものとを
正確に分2することができる(f)実施例 以下゛に、この発明の実施例を穀粒の等級検査に適用さ
れる場合を例に挙げて説明する。
(e) Effect In this invention, the inspection surface on which the object to be inspected is placed is divided into a plurality of segments, and each segment is irradiated with light from its corresponding light source. The amount of illumination light of each of the plurality of light sources is determined by fuzzy inference performed based on the imaging results of each segment by the imaging means. Therefore, by appropriately setting fuzzy rules in fuzzy inference according to empirical rules obtained through experiments, it is possible to determine whether or not an object to be inspected is located in each segment, and to determine whether or not the object to be inspected is located in each segment. By increasing only the amount of light, it is possible to accurately divide the object to be inspected into two parts. Let me explain using an example.

第1図は、この発明の実施例である画像処理装置が適用
される等級検査装置の構成を示す外観図である。外部形
状の大小に応じて等級が決定される被検査物である穀粒
は、コンベア3上を搬送される。このコンヘア3上にお
いて所定の検査面5が撮像手段であるテレビカメラ1に
よって撮像される。また、検査面5の上方には照明装置
2が備えられている。この照明装置2は第2図に示すよ
うに、16個の光源LED1〜LED16によって構成
されている。
FIG. 1 is an external view showing the configuration of a grade inspection device to which an image processing device according to an embodiment of the present invention is applied. Grain, which is an object to be inspected and whose grade is determined according to the size of its external shape, is conveyed on a conveyor 3. A predetermined inspection surface 5 is imaged on this conhair 3 by a television camera 1 serving as an imaging means. Further, an illumination device 2 is provided above the inspection surface 5. As shown in FIG. 2, this lighting device 2 is composed of 16 light sources LED1 to LED16.

テレビカメラ1は照明装置2によって照明された検査面
5を第3図に示すように撮像し、これを画像処理装置4
に転送する。ベルトコンベア3上を搬送される穀粒は一
般に、藁や籾殻を含み、テレビカメラ1が撮像した画像
にも第3図に示すように穀粒1)と藁や籾殻12とが含
まれる。ここにおいて穀粒1)のみが検査装置における
被検査物であり、藁や籾殻12は検査対象外のものであ
る。
The television camera 1 images the inspection surface 5 illuminated by the illumination device 2 as shown in FIG.
Transfer to. The grains conveyed on the belt conveyor 3 generally include straw and rice husks, and the image taken by the television camera 1 also includes the grains 1), straw and rice husks 12, as shown in FIG. Here, only the grains 1) are the objects to be inspected by the inspection device, and the straw and rice husk 12 are not the objects to be inspected.

テレビカメラ1が撮像する検査面5は第4図に示すよう
にに領域(セグメント)31〜S16のそれぞれに分割
されている。第2図に示す照明装置2を構成する光#L
ED1〜LED l 6はこの領域31〜316のそれ
ぞれに対向しており、光源LEDI〜LED 16を均
一に駆動すると、検査面5の全面について均一な照度が
得られる。なお、テレビカメラ1が撮像する画面におい
て背景となるベルトコンベア3の上面は、穀粒1)に比
較して十分な暗色にされている。画像処理装置4は検査
面5内に位置する穀粒1)のみの面積を測定し、その大
小に応じて穀粒の等級を判定する。
The inspection surface 5 photographed by the television camera 1 is divided into regions (segments) 31 to S16, as shown in FIG. Light #L constituting the lighting device 2 shown in FIG.
ED1 to LED 16 face each of the regions 31 to 316, and when the light sources LEDI to LED 16 are uniformly driven, uniform illuminance can be obtained over the entire surface of the inspection surface 5. Note that the upper surface of the belt conveyor 3, which is the background in the screen imaged by the television camera 1, is sufficiently dark compared to the grains 1). The image processing device 4 measures the area of only the grain 1) located within the inspection surface 5, and determines the grade of the grain according to its size.

また、テレビカメラlは検査面5を10数ms秒程度の
時間間隔で撮像し、この程度の撮像間隔では撮像画面が
ほとんど停止している状態になるようにベルトコンベア
3の移動速度が決定されている。
In addition, the television camera 1 images the inspection surface 5 at time intervals of about 10-odd milliseconds, and the moving speed of the belt conveyor 3 is determined so that the imaged screen is almost stopped at this imaging interval. ing.

第5図は、上記画像処理装置の制御部のブロック図であ
る。
FIG. 5 is a block diagram of a control section of the image processing apparatus.

CPIJ’21には内部バスを介してlマ0M22、R
AM23、G・RAM24およびインクフエ・イス25
.26が接続されている。CPl、321にはインクフ
ェイス25を介してカメラjの撮像画像が入力される。
CPIJ'21 is connected to lma0M22 and R via the internal bus.
AM23, G RAM 24 and Ink Hue IS 25
.. 26 are connected. An image captured by camera j is input to CP1, 321 via ink face 25.

カメラ1が撮像した画像は2値化回路27により1画素
づつ2値化され、この2値化された画面がG −RAM
24に格納される。また、CPU21にはインタフェイ
ス26を介してLEDドライバ29が接続されている。
The image captured by the camera 1 is binarized pixel by pixel by the binarization circuit 27, and this binarized screen is stored in the G-RAM.
24. Further, an LED driver 29 is connected to the CPU 21 via an interface 26.

このLEDドライバ29は照明装置2を構成する光源L
ED1〜LED16のそれぞれにCPU21から出力さ
れた制御データに応じた電圧を印加する。CPtJ21
はROM22に予め書き込まれているプログラムに従っ
て処理動作を実行する。また、ROM22には後述する
ファジィ推論に係るファジィルールおよびメンバーシッ
プ関数が記憶されている。さらに、RAM23には、後
述するCPU21の処理動作において入出力されるデー
タが各メモリエリアに一時配憶される。例えば、第6図
に示すようにRAM23のメモリエリアMAIは後述す
るカウンタiに割り当てられており、メモリエリアM 
A 2〜M A 17には検査面5を構成する各領域の
検出面積A1〜A16が格納され、メモリエリアM A
 18〜MA33には後述するファジィ推論の推論結果
であるファジィ出力Y1〜Y16のそれぞれが格納され
る。
This LED driver 29 is a light source L that constitutes the lighting device 2.
A voltage according to control data output from the CPU 21 is applied to each of ED1 to LED16. CPtJ21
executes processing operations according to a program written in advance in the ROM 22. Further, the ROM 22 stores fuzzy rules and membership functions related to fuzzy inference, which will be described later. Further, in the RAM 23, data input and output during processing operations of the CPU 21, which will be described later, is temporarily stored in each memory area. For example, as shown in FIG. 6, memory area MAI of the RAM 23 is assigned to counter i, which will be described later, and memory area
The detection areas A1 to A16 of each region constituting the inspection surface 5 are stored in the memory areas M A 2 to M A 17.
18 to MA33 respectively store fuzzy outputs Y1 to Y16 which are inference results of fuzzy inference described later.

第7図は上記画像処理装置の制御部の処理手順を示すフ
ローチャートである。
FIG. 7 is a flowchart showing the processing procedure of the control section of the image processing apparatus.

所定の検査タイミングにおいてCPU21は光源LED
I〜LED16を均一駆動しく口I)、テレビカメラ1
が撮像した検査面の画像を2値化データとしてG−RA
M24に取り込む(n2)。この後、RAM23のメモ
リエリアMALに割り当てられているカウンタiの内容
を1にしくn3)、カンウタiの内容によって特定され
る検査面5の領域Siの面積Aiを測定する(n4)。
At a predetermined inspection timing, the CPU 21 turns on the light source LED.
I~ Drive the LED 16 uniformly (I), TV camera 1
The image of the inspection surface taken by G-RA is converted into binary data.
Import into M24 (n2). Thereafter, the contents of the counter i assigned to the memory area MAL of the RAM 23 are set to 1 (n3), and the area Ai of the region Si on the inspection surface 5 specified by the contents of the counter i is measured (n4).

ここにおいて、RAM23のメモリエリアMAIに割り
当てられているカウンタiは検査面5における領域を特
定する。
Here, the counter i assigned to the memory area MAI of the RAM 23 specifies the area on the inspection surface 5.

n4における領域Siに相当する部分の面積Aiの測定
はG−RAM24に格納されている2値化画像において
領域Siに相当する範囲における白色の画素数を81数
することにより行われる。この面積A iの測定結果は
RAM23のメモリエリアM A 2〜MA17に格納
される。面積Aiの測定結果は基準値αと比較される(
n5)。面積AiO値が基準値αを下回る場合には、領
域Stの4近傍領域の面積を測定する。この4近傍領域
とは第8図に示すように、領域Siに対して上下左右に
位置する領域である。CPU21はこの領域Siの面積
Aiと、領域Siの4近傍領域の面積とを入力変数とし
て、第9図に示すファジィルールおよび第1θ図と第1
)図とに示すメンパージ・ノブ関数に従ってファジィ推
論を行う。
The area Ai of the portion corresponding to the area Si in n4 is measured by counting 81 the number of white pixels in the range corresponding to the area Si in the binarized image stored in the G-RAM 24. The measurement result of this area A i is stored in memory areas MA 2 to MA 17 of the RAM 23 . The measurement result of the area Ai is compared with the reference value α (
n5). When the area AiO value is less than the reference value α, the areas of four neighboring areas of the area St are measured. As shown in FIG. 8, these four neighboring areas are areas located on the upper, lower, left and right sides of the area Si. The CPU 21 uses the area Ai of this region Si and the areas of the four neighboring regions of the region Si as input variables, and uses the fuzzy rule shown in FIG.
) Fuzzy inference is performed according to the Mempage-Knob function shown in Figures.

n7のファジィ推論において例えば、 Xi =S  xz =S  then  y=NLの
ファジィルールが実行される。上記式において、X、は
領域Siの面積Aiであり、Xzは、領域Siの4近傍
の領域S (i  4)、 S (i −1)、S、 
 (f+1)、S (i+4)のそれぞれの面積値が代
入される。したがって、1つの領域Siのファジィ推論
についてそれぞれx2が異なる4種類の式が得られる。
In the fuzzy inference of n7, for example, the fuzzy rule Xi = S xz = S then y = NL is executed. In the above formula, X is the area Ai of the region Si, and Xz is the four neighboring regions S (i 4), S (i −1), S,
The area values of (f+1) and S (i+4) are substituted. Therefore, four types of equations with different x2 are obtained for the fuzzy inference of one region Si.

なお、各式においてXおよびXzのラベルすなわち、各
領域面積のうベルは、第10図に示すメンバーシップ関
数から求められる。上記各ルールによって得られた推論
結果を第1)図に示すメンバーシップ関数において重心
法により論理和し、光源LEDiの増減量Yiを得る。
In each equation, the labels of X and Xz, that is, the area of each region, are obtained from the membership function shown in FIG. The inference results obtained by each of the above rules are logically summed using the centroid method in the membership function shown in FIG. 1) to obtain the increase/decrease Yi of the light source LEDi.

上記ファジィ推論によって得られた光源LEDiの照明
光量の増減MYiはRAM23のメモリエリアMA 1
8〜MA 33に格納される(n8)。ての後カウンタ
iの内容をインクリメントしくn9)、04〜n9の処
理を全ての領域について〜行う(、n、l ’ O)。
The increase/decrease MYi in the amount of illumination light of the light source LEDi obtained by the above fuzzy inference is stored in the memory area MA 1 of the RAM 23.
8 to MA 33 (n8). After that, the contents of the counter i are incremented (n9), and the processes 04 to n9 are performed for all areas (, n, l' O).

なお、n5において領域内の白色面積Aiが基準値α以
上である場合には直接n9に進む。また、例えば第4図
に示す領域S1においては4近傍領域のうち領域S (
i−4)、  5(i−1)に対応する領域が存在しな
い。この場合には上記ルールにおいてYiの出力を無い
ものとする。以上のようにして全領域について照明光量
の増減量が得られると、RAM23のメモリエリアMA
18〜MA33のそれぞれに格納されているファジィ出
力Y1〜Y16を読み出し、L’EDドライバ29に出
力する。LEDドライバ29はこの増減量に応じて光源
LED 1〜LEDの光量を増減する。この状態でテレ
ビカメラ1による判定画像の撮像を行い(n13)、得
られた画像において白色画素数を計数して穀粒1)の面
積を測定し、等級を判定する(n 14) 。
Note that if the white area Ai within the region is equal to or greater than the reference value α at n5, the process directly proceeds to n9. Furthermore, for example, in the region S1 shown in FIG. 4, among the four neighboring regions, the region S (
i-4), there is no area corresponding to 5(i-1). In this case, it is assumed that there is no output of Yi in the above rule. When the increase/decrease in the amount of illumination light is obtained for the entire area as described above, the memory area MA of the RAM 23 is
The fuzzy outputs Y1 to Y16 stored in each of MA18 to MA33 are read out and output to the L'ED driver 29. The LED driver 29 increases or decreases the light amount of the light sources LED 1 to LED according to this increase or decrease. In this state, a determination image is captured by the television camera 1 (n13), the number of white pixels is counted in the obtained image, the area of the grain 1) is measured, and the grade is determined (n14).

以上の処理によりこの発明によれば、検査面5を構成す
る各領域81〜S16において白色の部分の面積が十分
でない場合、その領域の4近傍領域における白色部分の
面積からその領域に表れている画像が被検出物である穀
粒1)のものであるか、または検査対象外のものである
かを判断し、この判断に応じて被検査物である場合には
その領域に対応する光源光量を増加し、検査対象外のも
のであればその領域に対応する光源光量を減少させる。
With the above processing, according to the present invention, if the area of the white part in each of the regions 81 to S16 constituting the inspection surface 5 is not sufficient, the area is determined based on the area of the white part in the four neighboring regions of that region. It is determined whether the image is of the grain 1) which is the object to be inspected or it is not the object to be inspected, and based on this judgment, if the image is the object to be inspected, the amount of light from the light source corresponding to that area is determined. If the area is not to be inspected, the amount of light from the light source corresponding to that area is decreased.

このように光源の光量を調整した後再度検査面5を撮像
し、得られた画像における白色部分の面積を計測するこ
とによって正確に穀粒1)のみが占める面積を1測する
ことができる。
After adjusting the light intensity of the light source in this way, the inspection surface 5 is imaged again and the area of the white part in the obtained image is measured, thereby making it possible to accurately measure the area occupied only by the grains 1).

なお、本実施例ではROM22内にファジィ推論に係る
プログラムを記憶し、CPU21においてこの処理を実
行するよ・)にしたが、CPU21において計測した領
域面積および4近傍領域の面積を入力変数として汎用の
アナログファジィプロセソ゛す゛に入力するようにして
も良い。また、ファジィ推論の処理手順に係るプログラ
ムが書き込まれた汎用のROMを用いることもできる。
In this embodiment, a program related to fuzzy inference is stored in the ROM 22, and the CPU 21 executes this process. It may also be input to an analog fuzzy processor. Furthermore, a general-purpose ROM in which a program related to the processing procedure of fuzzy inference is written can also be used.

(g)発明の効果 この発明によれば、検査面を構成する複数の領域の何れ
かにおいて微小面積の白色部分が現れた場合、それが被
検査物の一部であるかまたは検査対象外のものであるか
をファジィ推論により判別し、その推論結果に応じてそ
の領域に対応する光源の光量を増減することにより検査
面の撮像画像において被検査物のみを残し、検査対象外
のものが現れないようにすることができる。これによっ
て、被検査物に検査対象外のものが接触している場合に
も正確に被検査物のみの検索を行うことができ、常に正
確な画像処理を実行できる。しかも、被検査物の一部で
あるか、または検査対象外のものであるかの判別をファ
ジィ推論により行うため、その処理時間が従来のラベリ
ング処理に比べて極めて早く、高速の検査ラインにも十
分対応できる利点がある。さらに、ファジィ推論の処理
に際しては、汎用性のあるファジィプロセッサまたは汎
用ROMを用いることができ、高速かつ正確な画像処理
システムを安価に構成できる利点がある。
(g) Effects of the Invention According to this invention, if a white part with a minute area appears in any of the plurality of areas constituting the inspection surface, it is possible to determine whether it is part of the object to be inspected or not to be inspected. By using fuzzy inference to determine whether the object is an object, and increasing or decreasing the light intensity of the light source corresponding to that area according to the inference result, only the object to be inspected remains in the captured image of the inspection surface, and objects other than the object to be inspected appear. You can avoid it. As a result, even when an object other than the object to be inspected is in contact with the object to be inspected, only the object to be inspected can be accurately searched, and accurate image processing can be performed at all times. Moreover, since fuzzy inference is used to determine whether the object is part of the object to be inspected or not, the processing time is extremely faster than conventional labeling processing, making it suitable for high-speed inspection lines. It has the advantage of being fully compatible. Furthermore, when processing fuzzy inference, a general-purpose fuzzy processor or general-purpose ROM can be used, which has the advantage that a high-speed and accurate image processing system can be constructed at low cost.

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

第1図はこの発明の実施例である画像処理装置が適用さ
れる検査装置の外観図・、第2図は同画像処理装置に備
えられる照明装置における光源の取付状態を示す図、第
3図は同画像処理装置における撮像画像を示す図、第4
図は同画像処理装置における検査面の分割状態を示す図
、第5図は同画像処理装置の制御部のブロック図、第6
図は同制御部の一部を構成するRAMの要部のメモリマ
ツプ、第7図は同制御部の処理手順を示すフローチャー
ト、第8図は同制御部の処理動作中における1つの領域
に対する4近傍領域を示す図、第9図は同制御部の処理
動作中に実行されるファジィ推論に係るファジィルール
を示す図、第10図および第1)図は同制御部の処理動
作中に実行されるファジィ推論に係るメンバーシップ関
数を示す図である。 1−テレビカメラ(撮像手段)、 2−照明装置、 4−画像処理装置、 5−検査面、 1)−被検査物、 81〜516−領域(セグメント)、 LEDI〜LED16−光源。
FIG. 1 is an external view of an inspection device to which an image processing device according to an embodiment of the present invention is applied, FIG. 2 is a diagram showing how a light source is installed in a lighting device provided in the image processing device, and FIG. 3 is a diagram showing an image captured by the same image processing device;
5 is a block diagram of the control unit of the image processing device, and FIG.
The figure is a memory map of the main part of the RAM that constitutes a part of the control unit, Figure 7 is a flowchart showing the processing procedure of the control unit, and Figure 8 is the four neighboring areas for one area during the processing operation of the control unit. FIG. 9 is a diagram showing the fuzzy rules related to fuzzy inference executed during the processing operation of the control section, FIG. 10 and FIG. 1) are executed during the processing operation of the control section. FIG. 3 is a diagram showing membership functions related to fuzzy inference. 1-television camera (imaging means), 2-illumination device, 4-image processing device, 5-inspection surface, 1)-inspection object, 81-516-area (segment), LEDI-LED16-light source.

Claims (1)

【特許請求の範囲】[Claims] (1)検査面における被検査物を撮像手段により撮像す
る画像処理装置において、 検査面を構成する複数のセグメントのそれぞれに対応す
る複数の光源と、撮像手段による各セグメントの撮像結
果に基づいて予め定められたファジィルールに従って各
セグメントに対する照明光の増減量を決定するファジィ
推論手段と、ファジィ推論手段の推論結果に基づいて各
光源を駆動する光源駆動手段と、を設けたことを特徴と
する画像処理装置。
(1) In an image processing device that images an object to be inspected on an inspection surface using an imaging means, a plurality of light sources corresponding to each of a plurality of segments constituting the inspection surface and a An image characterized by being provided with fuzzy inference means that determines the increase or decrease of illumination light for each segment according to predetermined fuzzy rules, and light source drive means that drives each light source based on the inference result of the fuzzy inference means. Processing equipment.
JP2025720A 1990-02-05 1990-02-05 Image processor Pending JPH03229374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2025720A JPH03229374A (en) 1990-02-05 1990-02-05 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2025720A JPH03229374A (en) 1990-02-05 1990-02-05 Image processor

Publications (1)

Publication Number Publication Date
JPH03229374A true JPH03229374A (en) 1991-10-11

Family

ID=12173635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2025720A Pending JPH03229374A (en) 1990-02-05 1990-02-05 Image processor

Country Status (1)

Country Link
JP (1) JPH03229374A (en)

Similar Documents

Publication Publication Date Title
US20240118218A1 (en) Stroboscopic stepped illumination defect detection system
JP2002513463A (en) System and method for detecting stress in a molded container
JPH0411073B2 (en)
JPH04166751A (en) Method and apparatus for inspecting defect in bottle and the like
JPH01199139A (en) Circuit used for method of inspecting object by contrast of transparency of object
JPH07159337A (en) Fault inspection method for semiconductor element
US6909798B1 (en) Method of erasing repeated patterns and pattern defect inspection device
EP0870274A1 (en) Inspection system for exterior article surfaces
CN211741094U (en) Surface defect detection device for transparent mirror printing and gold stamping process
JPH03229374A (en) Image processor
JP2530532B2 (en) Tablet sheet inspection device
KR960706633A (en) How to measure autohandlers and devices using them
JP3052493B2 (en) Visual recognition system
JPH05188006A (en) Surface flaw detecting device
JPH0522176B2 (en)
KR102428871B1 (en) Vision test device using sequential light technic
JPH0616855U (en) Multi CPU line sensor controller
JP2906454B2 (en) Object position detection method
JP3043144B2 (en) Method for determining the number of uniform particulate matter
JPS63106509A (en) Apparatus for inspecting mounted substrate
JP3130548B2 (en) Image processing device
JPH06242023A (en) Fish eye inspection system
KR0119723B1 (en) Lead test method and its apparatus of integrated circuit
JPH05232010A (en) Method and device for evaluating dispersion state of functional particulate in toner
Barth et al. Attentive sensing strategy for a multiwindow vision architecture