[go: up one dir, main page]

JPS6136882A - Pattern discrimination device - Google Patents

Pattern discrimination device

Info

Publication number
JPS6136882A
JPS6136882A JP15737684A JP15737684A JPS6136882A JP S6136882 A JPS6136882 A JP S6136882A JP 15737684 A JP15737684 A JP 15737684A JP 15737684 A JP15737684 A JP 15737684A JP S6136882 A JPS6136882 A JP S6136882A
Authority
JP
Japan
Prior art keywords
window
information
pattern
circuit
discrimination
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
JP15737684A
Other languages
Japanese (ja)
Inventor
Michiaki Miyagawa
宮川 道明
Tadayuki Yamada
忠幸 山田
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP15737684A priority Critical patent/JPS6136882A/en
Publication of JPS6136882A publication Critical patent/JPS6136882A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To integrate the result of discrimination of each screen and plural results of discrimination of each screen to obtain the final result of discrimination, by storing previously the information on the form of a window and its position within a screen viewfield and the deciding conditions to the picture feature quantity in response to the number (areas) of divided screens and then extracting selectively them to give the decision to each corresponding screen. CONSTITUTION:The image pickup signals sent from a TV camera 2 are stored to the screen dividing and memory circuits 30 set opposite to each channel. A memory control circuit MC sends the window information successively to a data latch circuit L3. Then the windows are produced from a window generating part G2 by the coordinate data of the circuit L3 and the data given from a coordinate data generating circuit G1 which is normalized by the position correcting signal PD. At the same time, the binary coded channel information is sent to a latch circuit L2. One of prescribed binary coded picture data is selected via a binary coded signal selecting circuit SE. Hereafter an AND of signals is secured via an AND gate 36. Thus the features are extracted for each window. Such operations are carried out with each subject pattern and can be applied even to plural subject patterns.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 この発明は、未知パターンの標準パターン(テングレー
ト)との整合の度合からパターン判別を行なうテンプレ
ートマツチング方式を拡張したマルチウィンドウ式パタ
ーン判別装置、特にその改良に関するものである。
[Detailed Description of the Invention] [Technical Field to Which the Invention Pertains] The present invention provides a multi-window pattern discrimination device that is an extension of the template matching method that discriminates patterns based on the degree of matching of an unknown pattern with a standard pattern (tengrate). , especially regarding its improvements.

〔従来技術とその問題点〕[Prior art and its problems]

マルチウィンドウ方式のパターン判別装置線種々の提案
がなされていて明らかなように、1つの画面視野内に対
象パターンの観測領域、すなわちウィンドウ(窓)領域
を設定し、このウィンドウ内で所定の画像特徴を計測し
てウィンドウ毎にその特徴量を所定のしきい値(判定基
準)と比較することによりパターンの良否を判定し、さ
らに1所定のウィンドウ間の組合せについては特徴量の
相関演算を行ない、相関演算値に対して別の所定しきい
筐(判定基準)と比較することによりパターンの良否を
決定するものである。このためには、対象パターンを撮
像する撮像装置(例えば、工業用テレビジョン(ITV
)カメラ)からの信号を2値化し、このzgi化情報か
ら画像の特徴量を抽出するとともに、画像視野内での対
象パターン像の位置を検出し、この位置情報にもとづい
てウィンドウをかける領域の補正(位置の正規化)を行
なった後、設定されたウィンドウ内で所定の画像特徴を
計測することが行なわれる。なお、マルチウィンドウ方
式のパターン判別装置について、必要ならば、特願昭5
7−71499 、71500号等を参照されたい。
As is clear from the various proposals that have been made for multi-window pattern discrimination devices, an observation area of a target pattern, that is, a window area, is set within one screen field of view, and predetermined image features are determined within this window. The quality of the pattern is determined by measuring the feature amount for each window and comparing it with a predetermined threshold (judgment standard), and further, for the combination between one predetermined window, correlation calculation of the feature amount is performed, The quality of the pattern is determined by comparing the correlation calculation value with another predetermined threshold (judgment standard). For this purpose, an imaging device (for example, an industrial television (ITV)) that images the target pattern is required.
) The signal from the camera) is binarized, the image features are extracted from this zgi information, the position of the target pattern image within the image field of view is detected, and the area to be windowed is determined based on this position information. After the correction (position normalization) is performed, predetermined image features are measured within the set window. Regarding the multi-window type pattern discrimination device, if necessary, please refer to the patent application filed in 1973.
Please refer to No. 7-71499, No. 71500, etc.

上記の如き装置において、対象物が複雑な形状のパター
ンをもつよ5なケースでは、対象物パターン全体をTV
カメラで撮像すると、現有のTVカメラでは分解能不足
が発生する。この分解能不足に対処するため、対象物の
一部分を拡大して撮像し、この部分的拡大による撮像を
対象物の領域を変えて複数回繰返すことにより、対象物
の全領域を撮像することが必要となる(分割撮像法と略
称)。ところで、この分割撮像法により複雑表パターン
を撮すと、撮像するタイミング(すなわち、対象物の領
域)によってTVカメラで撮した画像パターンが互いに
異なるのが一般的である。このように、同一対象物であ
っても全く異るパターンとしてTVカメラにとらえられ
るケースでは、対象とする画像パターンに応じて、良否
判別に伴う殆んど全ての判定条件も変化するのが普通で
ある。
In the above-mentioned apparatus, in cases where the object has a pattern with a complicated shape, the entire object pattern is displayed on the TV.
When capturing images with a camera, the resolution of existing TV cameras is insufficient. To deal with this lack of resolution, it is necessary to image the entire area of the object by enlarging and imaging a part of the object, and repeating this partial enlargement multiple times by changing the area of the object. (abbreviated as segmented imaging method). By the way, when complex table patterns are photographed using this divided imaging method, the image patterns taken with the TV camera generally differ depending on the timing of imaging (that is, the area of the object). In cases like this, where the same object is captured by a TV camera as completely different patterns, almost all the judgment conditions associated with pass/fail judgment usually change depending on the target image pattern. It is.

したがって、同一対象物がその位置(領域)Kよって全
く異なるパターンとなる場合には、従来の如く一画像パ
ターンを対象としているものでは全く対応することが出
来ガいのは明らかである。また、一般に検査装置では高
速処理(1〜10画面/秒)が要求されるが、これは以
上のよ5に同一対象物で異方る画像パターンとして撮像
される場合も例外ではなく、同様に処理の高速化が要求
される。
Therefore, when the same object has completely different patterns depending on its position (area) K, it is clear that the conventional method, which targets one image pattern, cannot cope with the situation. In addition, high-speed processing (1 to 10 screens/second) is generally required for inspection equipment, and this is not an exception when the same object is captured as an anisotropic image pattern as described in 5 above. Faster processing is required.

〔発明の目的〕[Purpose of the invention]

この発明は、以上のよ5な問題点を解決すべくなされた
もので、高分解能のパターン判別を安価かつ容易に行な
5ことができ、しかも多品種の対象物を高速でパターン
判別することが可能なパターン判別装置を提供すること
を目的とするものである。
This invention was made to solve the above-mentioned problems, and it is possible to perform high-resolution pattern discrimination at low cost and easily, and also to discriminate patterns of a wide variety of objects at high speed. The purpose of this invention is to provide a pattern discrimination device that is capable of

〔発明の要点〕[Key points of the invention]

この発明は、マルチウィンドウ式パターン判別装置にお
いて、TVカメラよりの撮像信号を2値化するしぎい値
情報にもとづいて2値化した画像パターンにより対象物
の位置を検出する手段と、この位置情報によってウィン
ドウの発生位置を正規化する手段とを設けるとともに、
ウィンドウの形状および画面視野内での位置の情報、な
らびにウィンドウ内での画像特徴量によって良否、仕分
けの判別基準となる判定しきい値情報からなる諸判定条
件を分割画面数(領域)に対応してメモリに予め記憶し
ておき、判定時には対応する画面の諸判定条件をメモリ
から選択的に取り出して対応する画面毎の判定を行ない
、各画面毎の判定結果また紘画面ごとの複数の判別結果
を総合して判定結果とするようにしたものである。
The present invention provides means for detecting the position of an object using a binarized image pattern based on threshold information for binarizing an imaging signal from a TV camera, and a means for detecting the position of an object in a multi-window pattern discrimination device. In addition to providing a means for normalizing the window occurrence position by
Various judgment conditions are set according to the number of divided screens (areas), including information on the shape of the window and its position within the screen's field of view, as well as judgment threshold information that serves as a criterion for determining pass/fail and sorting based on image features within the window. At the time of judgment, various judgment conditions for the corresponding screen are selectively retrieved from the memory and judged for each corresponding screen, and the judgment results for each screen and multiple judgment results for each Hiro screen are stored in advance. The judgment results are obtained by summing up the results.

〔発明の実施例〕[Embodiments of the invention]

第1図はこの発明の一実施例を示す構成図である。同図
において、1は判別対象物パターン、2は工業用テレビ
ジョン(ITV)カメラの如き撮像装置、3はパターン
判別回路、4はパネル設定部、5は情報選択制御回路、
61〜64は情報選択回路、71〜74はメモリである
。また、パターン判別回路3は2値化回路31、画面分
割回路32、画像メモリ33、画像位置検出・補正回路
34、ウィンドウ発生回路35、アンドゲート36、特
徴抽出面it!137、特徴データメモリ回路38およ
び判別回路39等から構成されている。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, 1 is a discrimination target object pattern, 2 is an imaging device such as an industrial television (ITV) camera, 3 is a pattern discrimination circuit, 4 is a panel setting section, 5 is an information selection control circuit,
61 to 64 are information selection circuits, and 71 to 74 are memories. The pattern discrimination circuit 3 includes a binarization circuit 31, a screen division circuit 32, an image memory 33, an image position detection/correction circuit 34, a window generation circuit 35, an AND gate 36, and a feature extraction surface IT! 137, a feature data memory circuit 38, a discrimination circuit 39, and the like.

対象パターン1杖、TV右カメラの視野内に図示してい
ない搬送装置によって搬送される。TV右カメラは、対
象パターンの光学的画像情報を逐次走査して電気信号に
変換する。この信号は2値化回路31により適当なレベ
ルに増幅された後、2値化される。さらに、この信号は
、画面分割回路32により所定数の画素に分割される。
The target pattern 1 cane is transported by a transport device (not shown) within the field of view of the TV right camera. The TV right camera sequentially scans the optical image information of the target pattern and converts it into an electrical signal. This signal is amplified to an appropriate level by a binarization circuit 31 and then binarized. Furthermore, this signal is divided into a predetermined number of pixels by the screen division circuit 32.

2直化された画像パターン信号は画像メモ1J33に記
憶されるとともに、画像位置検出・補正回路34にて、
カメラ視野内での画像パターンの相対的位置が2次元座
標で検出される。ここで得られた位置データはウィンド
ウ発生回路35に与えられ、これよりウィンドウ発生タ
イミングが補正される。
The binarized image pattern signal is stored in the image memo 1J33, and is also processed by the image position detection/correction circuit 34.
The relative position of the image pattern within the camera field of view is detected in two-dimensional coordinates. The position data obtained here is given to the window generation circuit 35, from which the window generation timing is corrected.

アンドゲート36でI/i2M化画像メ子画像メモリ3
3−タと、補正された位置および領域との論理積がとら
れる。特徴抽出回路37は、所定の図形特徴を抽出する
回路で、公知の如く二次元局部メモリと二次元局部論理
演算回路およびカウンタ等から構成されている。特徴抽
出回路37への入力は、ウィンドウ領域で制御されてい
るので、ウィンドウ領域内の図形製微量データが計数さ
れる。
I/i2M image memory 3 with AND gate 36
The 3-ta is ANDed with the corrected position and area. The feature extraction circuit 37 is a circuit for extracting predetermined graphical features, and is composed of a two-dimensional local memory, a two-dimensional local logic operation circuit, a counter, etc., as is well known. Since the input to the feature extraction circuit 37 is controlled by the window area, a small amount of graphic data within the window area is counted.

との部分データは、特徴データメモリ回路38に記憶さ
れる。判別回路39では、特徴データメモリ38のデー
タと情報選択回路61〜64より選択された判別しきい
値データ(Ih〜Dnのうちの一つ)とを比較2判別し
、判別結果を出力する。
The partial data of is stored in the feature data memory circuit 38. The discrimination circuit 39 compares and discriminates the data in the feature data memory 38 with the discrimination threshold data (one of Ih to Dn) selected from the information selection circuits 61 to 64, and outputs the discrimination result.

ことで、パネル設定部4により対象パターン1(Pa、
Pb・・・・・・Pn)ごとに2値化しきい値情報(A
l〜An)と、画像位置検出領域情報(B1〜Bn)と
、ウィンドウ情報(C1〜Cn)と、判別しきい値情報
(Ih〜Dn)とを、例えば次表のケース■の如く対応
させて予め情報メモリ71〜74へ記憶させておけば、
判別処理時には外部よりの対象パターン情報SKより、
情報選択制御回路5が動作して、対応する情報が情報選
択回路61〜64を通して1つだけ選択され、それぞれ
2値化回路312画像位置検出回路34.ウィンドウ発
生回路35゜判別回路39に与えられる。すなわち、対
象パターン1に対応する選択信号Sに対応して情報選択
制御回路5が情報選択回路61〜64を制御することに
より、各回路の制御データと動作回路とを結合させる。
As a result, the panel setting section 4 sets the target pattern 1 (Pa,
Binarization threshold information (A
l to An), image position detection area information (B1 to Bn), window information (C1 to Cn), and discrimination threshold information (Ih to Dn), for example, as in case ① in the following table. If the information is stored in the information memories 71 to 74 in advance,
During discrimination processing, from external target pattern information SK,
The information selection control circuit 5 operates, and only one piece of corresponding information is selected through the information selection circuits 61 to 64. The window generating circuit 35 is applied to the discriminating circuit 39. That is, the information selection control circuit 5 controls the information selection circuits 61 to 64 in response to the selection signal S corresponding to the target pattern 1, thereby combining the control data of each circuit and the operation circuit.

パターン判別回路3における処理は、情報選択回路61
〜64により指定されるデータ(A s B 、Cp 
D )を使用して対象パターンに対応したデータにより
、適宜に行なう事ができる。なお、選択情報Sとしては
、例えば搬送装置の近傍に設けられた位置センサからの
出力を利用することができる。
The processing in the pattern discrimination circuit 3 is carried out by the information selection circuit 61.
Data specified by ~64 (A s B , Cp
D) can be used as appropriate using data corresponding to the target pattern. Note that as the selection information S, for example, an output from a position sensor provided near the transport device can be used.

ここで、識別対象パターン1(Pa)の形状が例えば第
2図の如くであり、縦、横の破線で区分けされる個々の
領域P11.P12・四・pmn  毎に対象パターン
1を撮像するものとすると、TVカメラ2による視野は
各領域の大きさになるように1対象パターンとの相対的
位置が決定される。そして、たとえば、TVカメラ2に
よって画像パターン部分Filを撮像するとき、上記の
選択信号Sを用いて領域Filの画像パターンである事
を情報選択制御回路5へ知らせるようにすれば、情報選
択制御回路5は、情報メモリ71〜74内の多数個の情
報(A1〜An、B1〜Bn、cl−cn、D1〜Dn
)から対応する情報(例Al p B1 p C1p 
Di ) t”情報選択回路61〜64を介して1つだ
け選んでパターン判別回路3に与えることができ、これ
によりパターン判別回路3は、情報選択回路61〜64
により指定された情報データを使用してパターン判別処
理を行なうことができる。つづけて、対象物パターン1
f!、たaTVTVカメラ2かして、視野を領域P12
に移すとともに、領域P12に関する画像信号であるこ
とを、選択信号Sによって情報選択制御回路5に知らせ
る。情報選択制御回路5は、予じめ指定されている判定
領域順序にしたがって、情報メモリ71〜74内から対
応する情報(例A2 p B 2 p C2p D 2
 )を情報選択回路61〜64を介して1つだけ選び、
パターン判別回路3は、情報選択回路61〜64より指
定された情報データを使用して、パターン判別処理を行
なう。
Here, the shape of the identification target pattern 1 (Pa) is as shown in FIG. 2, for example, and each region P11. is divided by vertical and horizontal broken lines. Assuming that the target pattern 1 is imaged every P12·4·pmn, the relative position with respect to the 1 target pattern is determined so that the field of view of the TV camera 2 has the size of each area. For example, when the image pattern portion Fil is imaged by the TV camera 2, the information selection control circuit 5 can be notified that the image pattern is the area Fil using the selection signal S. 5 is a large number of pieces of information (A1-An, B1-Bn, cl-cn, D1-Dn) in the information memories 71-74.
) to the corresponding information (e.g. Al p B1 p C1p
Di) t'' information selection circuits 61 to 64 can select only one and provide it to the pattern discrimination circuit 3, whereby the pattern discrimination circuit 3 can select the information selection circuits 61 to 64.
Pattern discrimination processing can be performed using the information data specified by . Next, object pattern 1
f! , use aTVTV camera 2 to set the field of view to area P12.
At the same time, the selection signal S notifies the information selection control circuit 5 that the image signal is related to the area P12. The information selection control circuit 5 selects corresponding information from the information memories 71 to 74 (example A2 p B 2 p C2p D 2
) through the information selection circuits 61 to 64,
The pattern discrimination circuit 3 uses the information data specified by the information selection circuits 61 to 64 to perform pattern discrimination processing.

このようにTVカメラによる各部分P11yP12・・
・・°°馬止の撮像順序と、情報メモリ71〜74から
の情報データ(A1.BlpClyDxL(A4゜B2
.C27D2L =−・CkntBnp CnyDn)
の読出順序を予め組合せておく事により、1画面分につ
いての総合的なパターン判別処理が可能となる。
In this way, each part P11yP12...
・・°° Imaging order of horse rests and information data from information memories 71 to 74 (A1.BlpClyDxL(A4°B2
.. C27D2L =-・CkntBnp CnyDn)
By combining the reading orders in advance, comprehensive pattern discrimination processing for one screen becomes possible.

なお、以上の場合における対象パターンpH〜T’mn
と制御情報(A−D)との対応関係をまとめると表のケ
ース■の如くなる。
In addition, the target pattern pH ~ T'mn in the above case
The correspondence relationship between the information and the control information (A-D) can be summarized as shown in case (2) in the table.

このようにすることにより、従来の如く対象パターン1
をTVカメラの視野内に入れて全領域(全体)を一度に
パターン判別する場合と比較すると、この実施例の如く
対象物パターン1(Pa)を複数分割(P11〜Pmn
 ) して撮像することは各部分を解像度を上げて撮像
するということであり、したがって、パターン判別精度
を向上させることができる利点がもたらされるものであ
る。また、従来のシステムを単純Ki数台併設する場合
に比べて装置は小型化され、低価格化される利点を有す
ること釦なゐ。
By doing this, the target pattern 1 can be
In comparison with the case where the entire area (the entire area) is placed within the field of view of the TV camera and the pattern is discriminated at once, as in this example, the object pattern 1 (Pa) is divided into multiple parts (P11 to Pmn
) Imaging each part means increasing the resolution of each part, and therefore brings about the advantage that pattern discrimination accuracy can be improved. Furthermore, compared to the conventional system where several simple Ki units are installed together, the device has the advantage of being smaller and cheaper.

次K、第3図を参照してウィンドウの重畳方法について
説明する。
Next, a window superimposition method will be described with reference to FIG.

いま、対象パターンと判別情報(A−D)との組み合わ
せが、表のケース■の如くであるとすると、まず、一対
象パターンの画像Pxは2値化しきい値A7にて2値化
され、その21[!化像より位置補正B7の処理が行な
われる。なお、この時の画像パターンは第1図の画像メ
モリ33に記憶されている。次に、ウィンドウ形状C7
により特徴抽出を行ない、そのウィンドウごとの特徴抽
出データととに判別しきい値D7を用いてパターン判別
を行なう。この時は、例えば第3図(イ)のようなウィ
ンドウWl、W2.W3 のみに対してパターン判別処
理が行なわれる。ひきつづいて、画像メモリ33のデー
タを使用して、こんどは表のケース■の如き処理を、ウ
ィンドウ形状C8と判別しきい値D8とを用いて行なう
。この場合は、例えば第3図(ロ)のようなウィンドウ
W4 、 W5 、 W6のみに対してパターン判別処
理が行なわれる。これらの処理を外部からの1回の判別
開始信号(選択信号)により連続して行なうことにより
、第3図(ハ)に示す合成画面のように、互いに異なる
2つのウィンドウを重畳してパターン判別がなされたこ
とになる。なお、判別結果はC7とCBのウィンドウご
とのパターン判別を合わせたものとする。
Now, assuming that the combination of the target pattern and the discrimination information (A-D) is as shown in case ① in the table, first, the image Px of one target pattern is binarized using the binarization threshold A7, Part 21 [! A position correction process B7 is performed based on the image formation. Note that the image pattern at this time is stored in the image memory 33 in FIG. Next, window shape C7
The feature extraction data for each window and the discrimination threshold value D7 are used to perform pattern discrimination. At this time, windows Wl, W2. Pattern discrimination processing is performed only on W3. Continuing on, using the data in the image memory 33, the processing as in case (2) in the table is performed using the window shape C8 and the discrimination threshold D8. In this case, pattern discrimination processing is performed only on windows W4, W5, and W6 as shown in FIG. 3(b), for example. By performing these processes continuously using a single discrimination start signal (selection signal) from the outside, pattern discrimination can be performed by superimposing two different windows on each other, as shown in the composite screen shown in Figure 3 (C). has been done. Note that the determination result is a combination of pattern determination for each window of C7 and CB.

以上では、ウィンドウ情報を変えるようにしたが、表の
ケース■とVの場合のように、2呟化しきい値A8だけ
を変えても良いし、また、同表のケースVと■の場合の
ように、位置補正データB8だけを変えた組合せとする
ことも出来る。つまり、表のケース■〜■の如くするこ
とにより、1つの画像パターンPxに多数のパターン判
別情報が存在する事にかり、その結果、パターン判別処
理が多様化されてその精度が向上するだけでな(、信頼
性も向上する利点が得られるものである。なお、これら
各種の判別は、第1図の画像メモリ33の内容にもとづ
いて、時分割的に順次行なわれることは云う迄もない。
In the above, the window information was changed, but it is also possible to change only the 2-bit conversion threshold A8, as in cases ■ and V in the table, or, as in cases V and ■ in the table. It is also possible to create a combination in which only the position correction data B8 is changed. In other words, by doing cases like ■ to ■ in the table, a large amount of pattern discrimination information exists in one image pattern Px, and as a result, pattern discrimination processing is diversified and its accuracy is improved. (This has the advantage of improving reliability. It goes without saying that these various types of discrimination are performed sequentially in a time-sharing manner based on the contents of the image memory 33 in FIG. 1.) .

ところで、TV左カメラらの撮像信号は、対象物の表面
状態または照明条件等により部分毎にそのレベルが異な
るのが普通である。しかるに、従来は1つの2値化しき
い値により対象パターンを2値化するよプにしているた
め、画面視野内における撮像信号の部分的変化に対応で
きず、このため、その後段にて行ガわれる特徴抽出処理
に少なからず影響を及ぼしている。つまり、1つの対象
パターンについて、1つの2[化レベルを設定スるだけ
では必ずし7も安定した画像情報を得ることができない
、とい5問題がおる。
By the way, the level of the image pickup signal from the TV left camera usually differs from part to part depending on the surface condition of the object, lighting conditions, and the like. However, in the past, the target pattern was binarized using a single binarization threshold, which made it impossible to deal with partial changes in the imaging signal within the field of view of the screen. This has a considerable impact on the feature extraction process used in the process. In other words, there is a problem in that it is not always possible to obtain stable image information for one target pattern by simply setting one conversion level.

第4図はかかる観点にもとづいてなされた、この発明の
他の実施例を示す構成図である。同図において、301
は2値化回路31および2mレベルデータラッチ回路L
1からなる2G!化部、302は画像の分割および記憶
回路30,2値化信号選択回路SEおよび2値化チャネ
ルデータラッチ回路L2からなるチャネルデータ選択部
、303は座標データ発生回路Gl、ウィンドウ発生部
G2およびウィンドウデータラッチ回路L3からなるウ
ィンドウ形成部、304はウィンドウ領域メモリ回路M
3および2値化チャネルメモリ回路M2からなるメモリ
部、Mlは21化レベルメモリ回路、MCはメモリ制御
回路であり、2はテレビカメラ、36はアンドゲートで
ある。すなわち、この実施例は、端的には複数チャネル
の2値化回路を設け、これらのうちの所望のものを夕立
くともウィンドウ毎に選択することKより、安定した画
像情報を得ることができるようにしたものである。
FIG. 4 is a block diagram showing another embodiment of the present invention based on this viewpoint. In the same figure, 301
is the binarization circuit 31 and the 2m level data latch circuit L
2G consisting of 1! 302 is a channel data selection section consisting of an image division and storage circuit 30, a binarized signal selection circuit SE and a binarized channel data latch circuit L2; 303 is a coordinate data generation circuit Gl, a window generation section G2 and a window A window forming section consisting of a data latch circuit L3, 304 a window area memory circuit M
M1 is a 21 level memory circuit, MC is a memory control circuit, 2 is a television camera, and 36 is an AND gate. That is, in this embodiment, it is possible to obtain stable image information by simply providing a plurality of channel binarization circuits and selecting the desired one for each window. This is what I did.

以下、第4図の動作について第5図および第6図も参照
して説明する。ここに、第5図はウィンドウの発生態様
を説明するための説明図、第6図はウィンドウ情報を説
明するための説明図である。
The operation shown in FIG. 4 will be described below with reference also to FIGS. 5 and 6. Here, FIG. 5 is an explanatory diagram for explaining how a window is generated, and FIG. 6 is an explanatory diagram for explaining window information.

TV左カメラからの撮像信号は、2値化部301に与え
られる。2値化部301は複数の2値化回路31を有し
、各チャネル毎に2値化しきい値が2IIi化レヘルし
モリ回路M1および2値化レベルデータラッチ回路L1
を介して設定される。したがって、TV左カメラからの
撮像信号は各チャネル毎に2値化され、この2値化画像
情報が各チャネル対応に設けられた画面の分割および記
憶回路30にそれぞれ記憶される。
An image signal from the TV left camera is given to a binarization section 301. The binarization unit 301 has a plurality of binarization circuits 31, and the binarization threshold value is converted to 2IIi level for each channel, and includes a memory circuit M1 and a binarization level data latch circuit L1.
configured via. Therefore, the image signal from the TV left camera is binarized for each channel, and this binarized image information is stored in the screen division and storage circuit 30 provided for each channel.

ここで、例えば第5図の如き形状のウィンドウW7 、
 W8を形成するためには、ウィンドウ領域メモリM3
に対して第6図(ロ)、(ハ)の如く、画面上でウィン
ドウを開くべき水平方向の座標位置データXu】〜Xu
+と、同じ(閉じるべき座標位置データXdl〜Xdi
とをテレビ信号のラスタR1゜R2・・・・・・毎に格
納しておくことが必要である。なお、第5図のPMはモ
ニタ画面であり、画面PM内の「○」印はウィンドウを
開くべき点OPを、同じ<「×」印はウィンドウを閉じ
るべき点CLをそれぞれ示している。そして、これらの
ウィンドウ情報に対して、第6図(イ)の如(メモリ回
路M2の2値化チヤネル情報y1〜yjを与えることに
より、ウィンドウW7.W8毎またはラスタR1゜R2
毎に2値化しきい値レベルを指定することができる。な
お、第6図に示されるデータz1〜Zrは、垂直方向の
切り換えを行なうためのデータである、ウインドウ情報
はテレビスキャンの水平。
Here, for example, a window W7 having a shape as shown in FIG.
To form W8, window area memory M3
6 (b) and (c), the horizontal coordinate position data Xu ~ Xu at which the window should be opened on the screen
+, same (coordinate position data to be closed Xdl~Xdi
It is necessary to store the information for each raster R1, R2, . . . of the television signal. Note that PM in FIG. 5 is a monitor screen, and the "○" mark in the screen PM indicates the point OP at which the window should be opened, and the same <"x" mark indicates the point CL at which the window should be closed. Then, by giving the binary channel information y1 to yj of the memory circuit M2 to these window information as shown in FIG.
A binarization threshold level can be specified for each. Note that the data z1 to Zr shown in FIG. 6 are data for switching in the vertical direction, and the window information is horizontal in the television scan.

垂直信号と同期して発生されるが、このときメモリ制御
回路MCでは、ウィンドウ情報(ウィンドウ開座標デー
タXul〜Xui、ウィンドウ閉座標データXdl〜X
at )を順次ウィンドウデータラッチ回路L3に送り
、との座標データと、位置補正信号PDにより正規化さ
れた座標データ発生回路G1からのデータとにより、ウ
ィンドウ発生部G2を介してウィンドウの発生を行なう
。これと同時に、メモリ制御回路MCは2値化チャネル
情報y1〜y、もウィンドウ情報と同様にして2値化チ
ャネルデータラッチ回路L2に送り、2値化信号選択回
路SEを介して所定の2値化画像データの1つを選択す
る。以後は、アントゲ−)36にでこれらの信号の論理
積をとることにより、第1図と同様にウィンドウ毎の特
徴抽出が行なわれる。こうすることKより、対象物の表
面状態または照明条件の如何にかかわらず、安定した特
徴抽出を行なうことができる。
It is generated in synchronization with the vertical signal, but at this time, the memory control circuit MC generates window information (window open coordinate data Xul to Xui, window closed coordinate data Xdl to
at) is sequentially sent to the window data latch circuit L3, and a window is generated via the window generation section G2 using the coordinate data of and the data from the coordinate data generation circuit G1 normalized by the position correction signal PD. . At the same time, the memory control circuit MC also sends the binarized channel information y1 to y to the binarized channel data latch circuit L2 in the same manner as the window information, and sends the binarized channel information y1 to y to the binarized channel data latch circuit L2 via the binarized signal selection circuit SE. Select one of the converted image data. Thereafter, features are extracted for each window in the same manner as in FIG. 1 by performing a logical product of these signals in the computer game 36. By doing so, stable feature extraction can be performed regardless of the surface state of the object or the illumination conditions.

なお、上記では1つの対象パターンについて考えたが、
このような操作を各対象パターンについて行なうことに
より、複数の対象パターンに対しても適用することが可
能となる。
In addition, although we considered one target pattern above,
By performing such an operation for each target pattern, it becomes possible to apply it to a plurality of target patterns as well.

〔発明の効果〕〔Effect of the invention〕

この発明によれば、以下の如き効果を期待することがで
きる。
According to this invention, the following effects can be expected.

(1)1台のパターン判別装置に対して複数種類の制御
情報を記憶する判別情報メモリを設け、これt−論理回
路からなる情報切換回路により電気的に切換えて選択す
る方式としたことKより小型化、高速化が可能となる。
From K This allows for smaller size and higher speed.

(2)1台ツバターン判別装置に多数のパターン判別情
報(制御情報)を記憶しておく事により、外部から対象
パターンに対応する情報データを与えるのみで多品種、
多種パターンの判別処理が可能となり、品種の変更や多
品種混在ラインへの適応が容易に可能となる。
(2) By storing a large amount of pattern discrimination information (control information) in a single tube turn discriminator, it is possible to handle a wide variety of products by simply supplying information data corresponding to the target pattern from the outside.
It becomes possible to perform discrimination processing on a wide variety of patterns, making it easy to change product types and adapt to lines that mix a variety of products.

(3)i台のパターン判別装置に多数のパターン判別情
報を所定の順序で記憶しておく事により、外部から判別
開始信号を受けるのみで、順次対応するパターン判別を
行なう事が出来る。これは一つの対象パターンを細分化
したり、立体を多方向から捉えることを可能とし、その
結果、パターン判別精度を向上させることができる。
(3) By storing a large number of pattern discrimination information in a predetermined order in i pattern discrimination devices, it is possible to sequentially discriminate corresponding patterns simply by receiving a discrimination start signal from the outside. This makes it possible to subdivide one target pattern and capture a solid object from multiple directions, and as a result, pattern discrimination accuracy can be improved.

(4)1台のパターン判別装置に多数のパターン判別情
報を各処理情報(2値化レベル、位置補正。
(4) A single pattern discrimination device stores a large amount of pattern discrimination information, processing information (binarization level, position correction, etc.).

ウィンドウ形状9判定基準)ごとに記憶しておく事によ
り、1つの対象パターンに対して順次切換えてパターン
判別を行なうこと、およびウィンドウの重畳が可能とな
る。また、2値化レベルのみを複数変更したり、位置補
正については前回の補正データを使用する等、1回の各
処理情報ごとの組合せと、前後のパターン判別処理との
関係を組合せることにより、安定かつ精度の高いパター
ン判別処理が可能と々る。
By storing the information for each window shape (9), it becomes possible to perform pattern discrimination by sequentially switching over one target pattern, and to superimpose windows. In addition, by combining the combination of each processing information and the relationship between the previous and subsequent pattern discrimination processing, such as changing only the binarization level multiple times or using the previous correction data for position correction, , stable and highly accurate pattern discrimination processing is possible.

(5)複数チャネルの2値化回路を設けることにより、
一つの対象パターンについてウィンドウ毎に2値化画像
データのチャネルを選択することが出来るため、対象物
の形状や照明による、同一形状の対象物における撮像信
号レベルの変動を吸収する事が可能となり、その結果精
度が向上し、安定度が向上する利点がもたらされる。
(5) By providing a binarization circuit with multiple channels,
Because it is possible to select the channel of the binarized image data for each window for one target pattern, it is possible to absorb fluctuations in the imaging signal level for objects of the same shape due to the shape and illumination of the object. This results in the advantages of improved accuracy and improved stability.

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

第1図はこの発明の実施例を示す構成図、第2図は対象
パターンの分割態様を説明するための説明図、第3図は
ウィンドウの重畳方法を説明するための説明図、第4図
はこの発明の他の実施例を示す構成図、第5図はウィン
ドウの発生態様を説明する九めの説明図、第6図はウィ
ンドウ情報を説明するための説明図である。 符号説明 1・・・・・・対象バター/、2・・・・・・テレビカ
メラ、3・・・・・・パターン判別回路、4・・・・・
・パネル設定部、5・−・・・・情報選択制御回路、3
1・・・・・・2値化回路、32・・・・・・画面分割
回路、33・・曲面像メモリ、34・・・・・・画像位
置検出・補正回路、35・・・・・・ウィンドウ発生回
路、36・曲・アンドゲート、37・・甲・特徴抽出回
路、38・・・・・・特徴データメモリ回路、39・・
・・・・判別回路、3o・曲・画像の分割および記憶回
路、61〜64・・・・・・情報選択回路、71〜74
・・・・・・情報メモリ、301・・・・・・2値化部
、302・・・・・・チャネルデータ選択部、303・
・・・・・ウィンドウ形成部、304・・・・・・メモ
リ部、L1〜L3・・曲うッチ回LMI−M3・・曲メ
モリ回路、Mc・川・メモリ制御部、Gl・・・・・・
座標データ発生回路、G2・・・田ウィンドウ発生部。 代理人 弁理士 並 木 昭 夫 代理人 弁理士 松 崎    清 +                噴第2図 第3図 (′)ρN
FIG. 1 is a configuration diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining how a target pattern is divided, FIG. 3 is an explanatory diagram for explaining a window superimposition method, and FIG. 5 is a block diagram showing another embodiment of the present invention, FIG. 5 is a ninth explanatory diagram for explaining how a window is generated, and FIG. 6 is an explanatory diagram for explaining window information. Code explanation 1...Target butter/, 2...Television camera, 3...Pattern discrimination circuit, 4...
・Panel setting section, 5 --- Information selection control circuit, 3
1... Binarization circuit, 32... Screen division circuit, 33... Curved surface image memory, 34... Image position detection/correction circuit, 35...・Window generation circuit, 36・Song・AND gate, 37...A・Feature extraction circuit, 38...Feature data memory circuit, 39...
...Discrimination circuit, 3o.Song/image division and storage circuit, 61-64...Information selection circuit, 71-74
. . . Information memory, 301 . . . Binarization section, 302 . . . Channel data selection section, 303.
...Window forming section, 304...Memory section, L1-L3...Music switch LMI-M3...Song memory circuit, Mc/Memory control section, Gl... ...
Coordinate data generation circuit, G2... field window generation section. Agent Patent attorney Akio Namiki Agent Patent attorney Kiyoshi Matsuzaki + Figure 2 Figure 3 (') ρN

Claims (1)

【特許請求の範囲】 1)1つの対象パターンを複数の部分に分割して撮像す
る撮像手段と、該撮像信号を所定のしきい値レベルで2
値化する2値化手段と、撮像画面における対象パターン
部分の相対的位置を検出しこれの所定基準位置からの補
正量を求める位置補正手段と、該補正量にもとづいて所
定のウインドウ情報を修正して2値化画像の観測領域(
ウインドウ)を形成するウインドウ形成手段と、該ウイ
ンドウ内で対象パターン部分の画像特徴量を抽出しこれ
を所定の判定基準と比較してその判別を行なう判別手段
と、前記2値化しきい値、基準位置、ウインドウおよび
判定基準の各情報をそれぞれ複数種類ずつ記憶する記憶
手段と、該記憶された個々の情報を所定の指示にもとづ
いて読み出し対応する前記各手段に与える情報選択手段
と、該情報選択手段に対して所定の指示を与える指示手
段とを備え、前記各対象パターン部分毎に各種情報を対
応させて対象パターンの判別を行なうことを特徴とする
パターン判別装置。 2)前記指示手段を介して各対象パターン部分の撮像順
序を指示することにより、所定の順序で対象パターン部
分の判別を行なうことを特徴とする特許請求の範囲第1
項に記載のパターン判別装置。 3)前記ウインドウ情報を適宜に組み合わせることによ
り互いに重畳したウインドウ領域を形成することを特徴
とする特許請求の範囲第1項または第2項のいずれかに
記載のパターン判別装置。 4)前記2値化手段を複数チヤネル設けることにより、
1つの対象パターンについて少なくともウインドウ毎に
異なる2値化レベルを設定して2値化画像の抽出を可能
にすることを特徴とする特許請求の範囲第1ないし第3
項のいずれかに記載のパターン判別装置。
[Claims] 1) Imaging means for dividing one target pattern into a plurality of parts and imaging the image signal at a predetermined threshold level.
A binarization means for converting into values, a position correction means for detecting the relative position of the target pattern portion on the imaging screen and calculating the correction amount from a predetermined reference position, and correcting the predetermined window information based on the correction amount. and the observation area of the binarized image (
a window forming means for forming a window), a discriminating means for extracting an image feature amount of a target pattern portion within the window and comparing it with a predetermined criterion for discrimination, and the binarization threshold and the criterion. storage means for storing a plurality of types of each of position, window, and determination criteria information; information selection means for reading each piece of stored information based on a predetermined instruction and providing the corresponding means; and information selection means. 1. A pattern discriminating device, comprising: instruction means for giving a predetermined instruction to the means, and for discriminating a target pattern by associating various pieces of information with each of the target pattern portions. 2) The target pattern parts are determined in a predetermined order by instructing the imaging order of each target pattern part through the instruction means.
The pattern discrimination device described in Section. 3) The pattern discrimination device according to claim 1 or 2, wherein the window information is appropriately combined to form mutually overlapping window areas. 4) By providing a plurality of channels of the binarization means,
Claims 1 to 3 are characterized in that for one target pattern, different binarization levels are set for at least each window to enable extraction of a binarized image.
The pattern discrimination device according to any one of paragraphs.
JP15737684A 1984-07-30 1984-07-30 Pattern discrimination device Pending JPS6136882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15737684A JPS6136882A (en) 1984-07-30 1984-07-30 Pattern discrimination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15737684A JPS6136882A (en) 1984-07-30 1984-07-30 Pattern discrimination device

Publications (1)

Publication Number Publication Date
JPS6136882A true JPS6136882A (en) 1986-02-21

Family

ID=15648303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15737684A Pending JPS6136882A (en) 1984-07-30 1984-07-30 Pattern discrimination device

Country Status (1)

Country Link
JP (1) JPS6136882A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0199184A (en) * 1987-10-13 1989-04-18 Omron Tateisi Electron Co Image processor
US8145011B2 (en) 2005-12-12 2012-03-27 Qinetiq Limited Correlation apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5668880A (en) * 1979-11-10 1981-06-09 Fujitsu Ltd Character reader
JPS58189781A (en) * 1982-04-30 1983-11-05 Fuji Electric Co Ltd pattern recognition device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5668880A (en) * 1979-11-10 1981-06-09 Fujitsu Ltd Character reader
JPS58189781A (en) * 1982-04-30 1983-11-05 Fuji Electric Co Ltd pattern recognition device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0199184A (en) * 1987-10-13 1989-04-18 Omron Tateisi Electron Co Image processor
US8145011B2 (en) 2005-12-12 2012-03-27 Qinetiq Limited Correlation apparatus

Similar Documents

Publication Publication Date Title
US4736443A (en) Pattern discriminator
JPH08292014A (en) Measuring method of pattern position and device thereof
KR100293897B1 (en) A method for recognizing a face in a bank transaction system
JPS6136882A (en) Pattern discrimination device
JP4537645B2 (en) Object tracking device and object tracking device control method
JPH057363A (en) Picture monitoring device
KR100389004B1 (en) Apparatus for recognizing image by using neural network and method thereof
JP3421456B2 (en) Image processing device
KR102781552B1 (en) Object detection device that improves the accuracy and recall of object detection using image segmentation
JPS6250971A (en) Pattern discriminating device
JPS6250973A (en) Pattern discrimination device
JPS6136881A (en) Pattern discriminator
JPH0525353B2 (en)
JPS63282889A (en) Image processing method
JP4087946B2 (en) Image processing device
JPH09190534A (en) Image processing device
JP3024929B2 (en) Pixel feature extraction method for corresponding point search and corresponding point search method for stereo image
JPH0129643Y2 (en)
JPH0353390A (en) Outline discriminating device for moving body
JPS6211984A (en) Image binarization method
JPH06325156A (en) Method and device for character shape inspection
JPH0214387A (en) Plural peak points detecting system
JPS6145438B2 (en)
JPS6250972A (en) Pattern discrimination device
JPH04301990A (en) Visual sense recognizing device