JP2564736Y2 - Shading image processing device - Google Patents

Shading image processing device

Info

Publication number
JP2564736Y2
JP2564736Y2 JP3946791U JP3946791U JP2564736Y2 JP 2564736 Y2 JP2564736 Y2 JP 2564736Y2 JP 3946791 U JP3946791 U JP 3946791U JP 3946791 U JP3946791 U JP 3946791U JP 2564736 Y2 JP2564736 Y2 JP 2564736Y2
Authority
JP
Japan
Prior art keywords
circuit
image
pattern
area
edge
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.)
Expired - Lifetime
Application number
JP3946791U
Other languages
Japanese (ja)
Other versions
JPH04132563U (en
Inventor
俊雄 足立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP3946791U priority Critical patent/JP2564736Y2/en
Publication of JPH04132563U publication Critical patent/JPH04132563U/en
Application granted granted Critical
Publication of JP2564736Y2 publication Critical patent/JP2564736Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本考案は、濃淡画像のパタ−ンマ
ッチングを高速化できる装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus capable of speeding up pattern matching of a gray image.

【0002】[0002]

【従来の技術】一般に、パタ−ンマッチングとは、入力
画像中に基準となる検査パタ−ンと同じパタ−ンが存在
するかどうかを検索する機能である。従来は、このパタ
−ンマッチングを基準となる検査パタ−ンとその検査パ
タ−ンと同じパタ−ンを捜す画像との間で相関を取るこ
とにより実現していた。しかし、この方法では、計算量
が多く、高速化が不可能であった。そこで、粗い分解能
で大雑把にパタ−ンの位置を求め、その部分について詳
細にパタ−ンマッチングを行うという段階的にパタ−ン
マッチングを行う手法が考案され、高速化が計られた
が、まだ十分ではなかった。
2. Description of the Related Art In general, pattern matching is a function for searching whether or not the same pattern as a reference inspection pattern exists in an input image. Conventionally, this pattern matching has been realized by obtaining a correlation between an inspection pattern serving as a reference and an image searching for the same pattern as the inspection pattern. However, this method requires a large amount of calculation and cannot be speeded up. Therefore, a method of performing a stepwise pattern matching in which the position of a pattern is roughly obtained at a coarse resolution and the pattern matching is performed in detail for that part has been devised, and the speed has been increased. Was not enough.

【0003】[0003]

【考案が解決しようとする課題】本考案はこの点に着目
し、濃淡画像のパタ−ンマッチングの前処理として、入
力画像に微分処理を施すことにより、エッジを検出し、
対象パタ−ンがあると推定される領域を高速に正確に求
めることにより、パタ−ンマッチングをより高速に行う
ことができる濃淡画像処理装置を提供することを目的と
したものである。
The present invention pays attention to this point, and detects an edge by performing differential processing on an input image as preprocessing of pattern matching of a grayscale image.
It is an object of the present invention to provide a gray-scale image processing apparatus capable of performing pattern matching at a higher speed by accurately and quickly obtaining an area where a target pattern is presumed to be present.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
の本考案の構成は、濃淡画像のパタ−ンマッチングを行
う濃淡画像処理装置において、画像を取り込むカメラ
と、このカメラから取り入れた画像から雑音除去する平
滑化回路と、この平滑化回路で雑音除去された画像を記
憶しておく画像メモリと、前記平滑化回路で雑音除去さ
れた画像からエッジを検出するための微分回路と、 こ
の微分回路でエッジを抽出した画像から各エッジごとの
領域を求める領域分割回路と、この領域分割回路で領域
分割された各エッジ領域の外接長方形を求める外接長方
形抽出回路と、検査パタ−ンを記憶しておくパタ−ンメ
モリと、前記外接長方形抽出回路で求めた外接長方形の
面積と前記パタ−ンメモリに記憶されている検査パタ−
ンの面積を比較する面積比較回路と、前記画像メモリに
記憶されている入力画像の前記面積比較回路で求めた検
索領域に基づいて前記パタ−ンメモリに記憶されている
検査パタ−ンを探索するパタ−ンマッチング回路を備え
た構成としたことを特徴とするものである。
The configuration of the present invention for solving the above-mentioned problem is based on a camera for capturing an image and an image captured from the camera in a gray-scale image processing apparatus for performing pattern matching of a gray-scale image. A smoothing circuit for removing noise, an image memory for storing an image from which noise has been removed by the smoothing circuit, a differentiating circuit for detecting an edge from the image from which noise has been removed by the smoothing circuit; An area dividing circuit for obtaining an area for each edge from an image from which edges have been extracted by the circuit, a circumscribed rectangle extracting circuit for obtaining a circumscribed rectangle of each edge area divided by the area dividing circuit, and an inspection pattern are stored. Pattern memory to be stored, the area of the circumscribed rectangle obtained by the circumscribed rectangle extraction circuit, and the inspection pattern stored in the pattern memory.
And an inspection pattern stored in the pattern memory based on a search area of the input image stored in the image memory obtained by the area comparison circuit. It is characterized in that it has a configuration provided with a pattern matching circuit.

【0005】[0005]

【作用】本考案によると、パタ−ンマッチングの高速化
を前処理として微分処理を行うことにより実現してい
る。
According to the present invention, high speed pattern matching is realized by performing differentiation processing as preprocessing.

【0006】[0006]

【実施例】以下、本考案を図面に基づいて説明する。図
1は本考案の濃淡画像処理装置の一実施例を示す構成図
である。図1において、1はカメラ、2はカメラ1で取
り入れた画像から雑音を除去するための平滑化回路、3
は平滑化回路2で雑音除去された画像を記憶する画像メ
モリ、4は平滑化回路2で雑音除去された画像からエッ
ジを検出するための微分回路、5は微分回路4でエッジ
を抽出した画像から各エッジごとの領域を求める領域分
割回路、6は領域分割回路5で領域分割された各エッジ
領域の外接長方形を求める外接長方形抽出回路、7は検
出すべきパタ−ンを記憶しておくためのパタ−ンメモ
リ、8はパタ−ンメモリ7に記憶されている検出すべき
パタ−ンと外接長方形抽出回路6で求めた各エッジ領域
との大きさ(面積)を比較する面積比較回路であり、こ
の面積比較回路8によりパタ−ンマッチングの探索領域
が絞り込まれる。9は画像メモリ3に記憶されている雑
音を除去した入力画像の面積比較回路8で求めた領域に
対し、パタ−ンメモリ7に記憶されている検出すべきパ
タ−ンを探索するためのパタ−ンマッチング回路であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a grayscale image processing apparatus according to the present invention. In FIG. 1, reference numeral 1 denotes a camera; 2, a smoothing circuit for removing noise from an image taken by the camera 1;
Is an image memory for storing an image from which noise has been removed by the smoothing circuit 2, 4 is a differentiation circuit for detecting edges from the image from which noise has been removed by the smoothing circuit 2, and 5 is an image from which edges have been extracted by the differentiation circuit 4. , A circumscribed rectangle extracting circuit for obtaining a circumscribed rectangle of each edge region divided by the region dividing circuit 5, and 7 for storing a pattern to be detected. Reference numeral 8 denotes an area comparison circuit for comparing the size (area) of the pattern to be detected stored in the pattern memory 7 with each edge region obtained by the circumscribed rectangle extraction circuit 6. The area comparison circuit 8 narrows the search area for pattern matching. Reference numeral 9 denotes a pattern for searching a pattern to be detected stored in the pattern memory 7 for a region obtained by the area comparison circuit 8 of the input image from which the noise stored in the image memory 3 has been removed. A matching circuit.

【0007】このような構成において、図2は図1装置
の動作を示すフロ−チャ−トである。図2において、 (a)平滑化回路2でカメラ1から取り込んだ画像から
雑音を除去する平滑処理を行う。この平滑処理は、例え
ば、図中に示す平滑フィルタを入力画像に対して走査す
ることにより行われる。 (b)平滑化回路2で雑音除去された画像からエッジを
検出するために、微分回路4で微分処理を行う。この微
分処理は、例えば、図中に示す微分フィルタを平滑処理
された画像に対して走査することにより行われる。 (c)領域分割回路5で或る一定の値以上を持つエッジ
の連結を調べ、それぞれの連結されたエッジの領域を求
める。この領域分割は、一般的な画像処理における領域
分割の手法を用いることにより行われる。 (d)領域分割回路5で検出された一塊の各領域につい
て、x座標,y座標の最大値,最小値を求めることによ
り、外接長方形抽出回路6でそれぞれの領域の外接長方
形を求める。 (e)面積比較回路8において、領域分割回路5で求め
た各エッジ領域の外接長方形とパタ−ンメモリ7に記憶
されている検査パタ−ンの大きさを比較し、その面積差
が一定値以下のエッジ領域を求める。 (f)パタ−ンマッチング回路9において、面積比較回
路8で求めた各領域について、パタ−ンマッチング処理
を行う。
FIG. 2 is a flowchart showing the operation of the apparatus shown in FIG. In FIG. 2, (a) a smoothing circuit 2 performs a smoothing process for removing noise from an image captured from the camera 1. This smoothing process is performed, for example, by scanning the input image with a smoothing filter shown in the figure. (B) Differentiating processing is performed by the differentiating circuit 4 in order to detect an edge from the image from which noise has been removed by the smoothing circuit 2. This differentiation process is performed, for example, by scanning a smoothed image with a differentiation filter shown in the figure. (C) The region dividing circuit 5 checks the connection of edges having a certain value or more, and obtains the region of each connected edge. This region division is performed by using a region division method in general image processing. (D) For each region of the block detected by the region dividing circuit 5, the circumscribed rectangle of each region is obtained by the circumscribed rectangle extracting circuit 6 by obtaining the maximum value and the minimum value of the x coordinate and the y coordinate. (E) The area comparison circuit 8 compares the circumscribed rectangle of each edge area obtained by the area division circuit 5 with the size of the inspection pattern stored in the pattern memory 7, and the area difference is equal to or smaller than a certain value. Is found. (F) The pattern matching circuit 9 performs a pattern matching process for each area obtained by the area comparison circuit 8.

【0008】このように、濃淡画像のパタ−ンマッチン
グの前処理として、入力画像に微分処理を行うことによ
り、エッジを検出し、対象パタ−ンがあると推定される
領域を高速に正確に求めている。したがって、濃淡画像
のパタ−ンマッチングを高速に実現できる。
As described above, as a pre-process for pattern matching of a gray image, differential processing is performed on an input image to detect edges, and to quickly and accurately detect an area where a target pattern is estimated to be present. I'm asking. Therefore, pattern matching of a grayscale image can be realized at high speed.

【0009】[0009]

【考案の効果】以上、実施例と共に具体的に説明したよ
うに、本考案によれば、パタ−ンマッチングの前処理と
して、入力画像に微分処理を行うことにより、エッジを
検出し、対象パタ−ンがあると推定される領域を高速に
正確に求めているので、パタ−ンマッチングを高速に行
える濃淡画像処理装置を実現できる。
As described above in detail with the embodiment, according to the present invention, as a pre-process of pattern matching, an edge is detected by performing a differentiation process on an input image to detect a target pattern. Since a region estimated to have a pattern is accurately obtained at high speed, it is possible to realize a grayscale image processing device capable of performing pattern matching at high speed.

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

【図1】本考案の濃淡画像処理装置の一実施例を示す構
成図である。
FIG. 1 is a configuration diagram showing an embodiment of a grayscale image processing device of the present invention.

【図2】図1装置の動作を説明するためのフロ−チャ−
トである。
FIG. 2 is a flowchart for explaining the operation of the apparatus in FIG. 1;
It is.

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

1 カメラ 2 平滑化回路 3 画像メモリ 4 微分回路 5 領域分割回路 6 外接長方形抽出回路 7 パタ−ンメモリ 8 面積比較回路 9 パタ−ンマッチング回路 REFERENCE SIGNS LIST 1 camera 2 smoothing circuit 3 image memory 4 differentiating circuit 5 region dividing circuit 6 circumscribed rectangle extracting circuit 7 pattern memory 8 area comparing circuit 9 pattern matching circuit

Claims (1)

(57)【実用新案登録請求の範囲】(57) [Scope of request for utility model registration] 【請求項1】 濃淡画像のパタ−ンマッチングを行う濃
淡画像処理装置において、画像を取り込むカメラと、こ
のカメラから取り入れた画像から雑音除去する平滑化回
路と、この平滑化回路で雑音除去された画像を記憶して
おく画像メモリと、前記平滑化回路で雑音除去された画
像からエッジを検出するための微分回路と、 この微分
回路でエッジを抽出した画像から各エッジごとの領域を
求める領域分割回路と、この領域分割回路で領域分割さ
れた各エッジ領域の外接長方形を求める外接長方形抽出
回路と、検査パタ−ンを記憶しておくパタ−ンメモリ
と、前記外接長方形抽出回路で求めた外接長方形の面積
と前記パタ−ンメモリに記憶されている検査パタ−ンの
面積を比較する面積比較回路と、前記画像メモリに記憶
されている入力画像の前記面積比較回路で求めた検索領
域に基づいて前記パタ−ンメモリに記憶されている検査
パタ−ンを検索するパタ−ンマッチング回路を備えた構
成としたことを特徴とする濃淡画像処理装置。
An image processing apparatus for performing pattern matching of a grayscale image, a camera for capturing an image, a smoothing circuit for removing noise from an image captured from the camera, and a noise removed by the smoothing circuit. An image memory for storing an image, a differentiating circuit for detecting an edge from the image from which noise has been removed by the smoothing circuit, and a region division for obtaining a region for each edge from the image from which the edge has been extracted by the differentiating circuit Circuit, a circumscribed rectangle extracting circuit for obtaining a circumscribed rectangle of each edge area divided by the area dividing circuit, a pattern memory for storing an inspection pattern, and a circumscribed rectangle obtained by the circumscribed rectangle extracting circuit. And an area comparison circuit for comparing the area of the inspection pattern stored in the pattern memory with the area of the input image stored in the image memory. On the basis of the search area determined by the serial area comparator circuit pattern - Nmemori to the stored test pattern - Search down pattern - gray-scale image processing apparatus being characterized in that a structure having a down matching circuit.
JP3946791U 1991-05-29 1991-05-29 Shading image processing device Expired - Lifetime JP2564736Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3946791U JP2564736Y2 (en) 1991-05-29 1991-05-29 Shading image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3946791U JP2564736Y2 (en) 1991-05-29 1991-05-29 Shading image processing device

Publications (2)

Publication Number Publication Date
JPH04132563U JPH04132563U (en) 1992-12-08
JP2564736Y2 true JP2564736Y2 (en) 1998-03-09

Family

ID=31920742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3946791U Expired - Lifetime JP2564736Y2 (en) 1991-05-29 1991-05-29 Shading image processing device

Country Status (1)

Country Link
JP (1) JP2564736Y2 (en)

Also Published As

Publication number Publication date
JPH04132563U (en) 1992-12-08

Similar Documents

Publication Publication Date Title
CN106934803B (en) method and device for detecting surface defects of electronic device
KR101403876B1 (en) Method and Apparatus for Vehicle License Plate Recognition
JP2888735B2 (en) Travel lane detection device
JP2002228423A (en) Tire detecting method and device
JPH052635A (en) Individual identification device
JPH10162118A (en) Device and method for image processing
JP3635795B2 (en) Method and apparatus for detecting fine line defects
Pan et al. An efficient method for skew correction of license plate
JP2564736Y2 (en) Shading image processing device
JP2002063581A (en) Method for detecting rotation angle of image and method for correcting rotation angle
JP2010091525A (en) Pattern matching method of electronic component
JP4849262B2 (en) License plate extraction system, license plate extraction device, license plate extraction method and program
JP3679958B2 (en) License plate recognition device
JPH09237343A (en) Object recognizing system
JPH0953915A (en) Method for recognizing overlapping state
JP2004145592A (en) Motion vector extraction device, method and program, and its recording medium
JPH11219435A (en) White line detector for automobile
JP2005078445A (en) Image processing system
JP3710704B2 (en) Image pattern rotation angle detection error reduction method and recording medium recording execution program of the method
JP3358997B2 (en) Engraved mark identification device
JP2000082146A (en) Moving image processor
JP2002175528A (en) Method and device for extracting image information
Cung et al. Multiscale edge detection and classification in range images
JP2004151815A (en) Method, device and program for extracting specific area, and recording medium recording this program
JP3146882B2 (en) Picture inspection method