Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3328395B2 - Pattern identification device - Google Patents
[go: Go Back, main page]

JP3328395B2 - Pattern identification device - Google Patents

Pattern identification device

Info

Publication number
JP3328395B2
JP3328395B2 JP28276393A JP28276393A JP3328395B2 JP 3328395 B2 JP3328395 B2 JP 3328395B2 JP 28276393 A JP28276393 A JP 28276393A JP 28276393 A JP28276393 A JP 28276393A JP 3328395 B2 JP3328395 B2 JP 3328395B2
Authority
JP
Japan
Prior art keywords
pattern
diagonal
polygon
figures
space
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 - Fee Related
Application number
JP28276393A
Other languages
Japanese (ja)
Other versions
JPH07134775A (en
Inventor
雅晴 瀧澤
Original Assignee
富士通オートメーション株式会社
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 富士通オートメーション株式会社 filed Critical 富士通オートメーション株式会社
Priority to JP28276393A priority Critical patent/JP3328395B2/en
Publication of JPH07134775A publication Critical patent/JPH07134775A/en
Application granted granted Critical
Publication of JP3328395B2 publication Critical patent/JP3328395B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えば、食堂精算シス
テムにおいて食器のパターン認識によって料金を精算す
るためのパターン識別装置に係り、特に、入力画像が複
数の図形の重畳するパターンとなっても、認識漏れを検
知し、誤認識が無く、且つ入力パターンに対してより柔
軟な認識処理を行うパターン識別装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern identification apparatus for adjusting a fee by recognizing tableware patterns in a cafeteria settlement system, and more particularly to a pattern identification apparatus in which an input image is a pattern in which a plurality of figures are superimposed. The present invention relates to a pattern identification device that detects omission of recognition, does not have erroneous recognition, and performs more flexible recognition processing on an input pattern.

【0002】ここで、食堂精算システムとは、食堂にお
いて多種類または単品の料理をお盆にのせ、重なりやは
みだし物を含んだ食器画像をカメラに入力して画像処理
をした後、計測により食器の大きさと予め認定してある
食器の値段とを照合して精算金額を算出するシステムで
ある。このような食堂精算システムにおいては、食器画
像を正確に、また迅速にパターン分離識別することが要
求される。
Here, a dining room settlement system is a system in which a variety of dishes or single dishes are placed on a tray in a dining room, a tableware image including overlaps and protrusions is input to a camera, and image processing is performed. This is a system that calculates the settlement amount by comparing the size with the price of tableware that has been certified in advance. In such a cafeteria settlement system, it is required that the tableware image be accurately and quickly separated and identified.

【0003】[0003]

【従来の技術】図形の認識方法には、入力画像全体を画
像処理して特徴を抽出し、その特徴データをパターンマ
ッチングにより識別する方法や、輪郭線を抽出してその
輪郭線の特徴から識別する方法等がある。輪郭線を使用
してパターンの分離識別を行う一つの方法として特開平
04−290174がある。
2. Description of the Related Art As a method of recognizing a figure, a method of performing image processing on an entire input image to extract features and identifying feature data by pattern matching, or extracting an outline and identifying it from the features of the outline There is a method to do. Japanese Patent Application Laid-Open No. H04-290174 discloses one method of performing pattern separation and identification using a contour line.

【0004】特開平04−290174では、図12
(a)のような2値の入力画像に対して、独立した画像
にそれぞれ番号付けを行うラベリング処理を施し(図1
2(b)参照)、各画像に対してその輪郭点の座標を抽
出し、その輪郭点を一定間隔でトレースすることによ
り、輪郭線の変化から円形または四角形等の基本図形の
輪郭線を分離する。分離された輪郭線の種類及び位置関
係から基本図形が接触しているパターンでも、円形、四
角形等の基本図形を識別計測を行うことができる。
Japanese Patent Application Laid-Open No. H04-290174 discloses FIG.
A binary input image as shown in FIG. 1A is subjected to a labeling process for numbering independent images (FIG. 1).
2 (b)), the coordinates of the contour points are extracted for each image, and the contour points are traced at regular intervals to separate the contour of a basic figure such as a circle or a rectangle from the change of the contour. I do. Even in a pattern in which the basic figures are in contact with each other based on the types and positional relationships of the separated contour lines, the basic figures such as circles and squares can be identified and measured.

【0005】基本図形が重なりあった複合パターンに於
いて、分離識別を行う様子を図13(a)を使用して説
明する。入力パターンの輪郭データに於ける任意の点P
0から予め定めた距離を隔てた輪郭線上の点にサンプリ
ングベクトルiを作成する。同様にベクトルjを求め、
2つのベクトルi及びjからなる回転方向(図13(b
−イ)参照)を伴った角度を監視しながら輪郭線のトレ
ースを行う。
The manner in which separation and identification are performed in a composite pattern in which basic figures overlap will be described with reference to FIG. Any point P in the contour data of the input pattern
A sampling vector i is created at a point on the contour line separated by a predetermined distance from 0. Similarly, a vector j is obtained,
A rotation direction composed of two vectors i and j (FIG. 13 (b
Trace the contour while monitoring the angle accompanied by-).

【0006】ここでベクトルkとlからなる角はその回
転方向が(+)となる(図13(b−ロ)参照)ため図
形の接触点であることを知り、点P1を境に輪郭線を分
離する。
Here, since the angle formed by the vectors k and 1 has a rotation direction of (+) (see FIG. 13B-B), it is known that the angle is a contact point of the figure, and the contour line is bordered by the point P1. Is separated.

【0007】また、ベクトルqとrでは、角の回転方向
は他の部分と同じ(−)である(図13(b−ハ)参
照)が、角度が極端に変化しているため、この角が多角
形の頂点であると判定し、点P5を境に輪郭線を分離す
る。
In the vectors q and r, the direction of rotation of the angle is the same as that of the other parts (-) (see FIG. 13 (b)), but since the angle is extremely changed, this angle is changed. Are determined to be the vertices of a polygon, and the outline is separated at the point P5.

【0008】ここで、輪郭線を分離する点を屈曲点、屈
曲点間の輪郭線を部分輪郭遷都名付ける。図(a)にお
いて、上記の方法により分離された部分輪郭線はL1,
L2.L3,L4,L5,L6,となる。
[0008] Here, a point separating the contour is referred to as a bending point, and a contour between the bending points is referred to as a partial contour transition. In FIG. 7A, the partial contours separated by the above method are L1,
L2. L3, L4, L5, L6.

【0009】次に、部分輪郭線が円弧であるかを、やは
り同一間隔にサンプリングした点によって作成したベク
トルのなす角によって判定すると、L1,L4は円弧、
L2,L3,L5,L6は直線と識別されるので、円弧
の輪郭線は輪郭点データから最小二乗法による円の近似
をし、直線の輪郭線は向かい合う直線との角度が90
[°]である等の調査を行った上で、四角形の識別を行
う。
Next, if it is determined whether or not the partial contour is an arc based on angles formed by vectors created by points sampled at the same interval, L1 and L4 are arcs,
Since L2, L3, L5, and L6 are identified as straight lines, the contour of the arc approximates a circle by the least squares method from the contour point data, and the angle of the straight contour is 90 degrees with the straight line facing it.
After conducting a survey such as [°], the quadrangle is identified.

【0010】以上により、複合パターンであっても円
形、矩形を迅速かつ正確に分離識別することができる。
As described above, even in the case of a composite pattern, a circle and a rectangle can be quickly and accurately separated and identified.

【0011】[0011]

【発明が解決しようとする課題】パターン識別装置の応
用例としている食堂精算システムでは、食器の置き方に
対する制約を極力緩和するため、食器が接触して入力画
像が複数の図形の重畳するパターンとなっても、輪郭線
の解析により個々の図形を分離識別する機能を必要とす
る。
In a dining room settlement system, which is an application example of the pattern identification device, in order to reduce restrictions on how to place the tableware as much as possible, the tableware comes into contact with the pattern in which the input image overlaps a plurality of figures. Even so, a function for separating and identifying individual figures by analyzing the contour lines is required.

【0012】しかしながら、従来のパターン識別装置で
は、図14のように周囲を囲まれた図形はその輪郭線情
報の不足から認識対象とならず周囲の図形のみが認識さ
れる結果となり、誤精算となるため食器の接触状況に対
して制約を設けなければならないという問題点があっ
た。
However, in the conventional pattern identification apparatus, a figure surrounded as shown in FIG. 14 is not recognized because of lack of outline information, and only the surrounding figure is recognized. Therefore, there has been a problem that it is necessary to set restrictions on the contact state of tableware.

【0013】本発明は、上記問題点を解決するもので、
入力画像が複数の図形の重畳するパターンとなっても、
輪郭線の解析により個々の図形を分離識別し、分離識別
された図形の相対位置関係から認識漏れを検知し、誤認
識が無く、且つ入力パターンに対してより柔軟な認識処
理を行うことのできるパターン識別装置を提供すること
を目的とする。
The present invention solves the above problems,
Even if the input image is a pattern in which multiple figures are superimposed,
By analyzing contours, individual figures are separated and identified, recognition omission is detected from the relative positional relationship of the separated and identified figures, and there is no erroneous recognition and more flexible recognition processing can be performed on the input pattern. It is an object to provide a pattern identification device.

【0014】[0014]

【課題を解決するための手段】図1は本発明の原理説明
図である。上記課題を解決するために、本発明の第1の
特徴のパターン識別装置は、図1に示す如く、複数の図
形が重畳する一つのパターンにおいて、前記パターンの
輪郭線の変化から、前記図形を分離し、識別する分離識
別手段(1)と、前記分離識別手段(1)により分離、
識別された前記図形の相対位置関係を把握する位置把握
手段(2)と、前記位置把握手段(2)で求められた
相対位置関係から前記一つのパターンの内部に前記分
離識別手段(1)で分離、識別できない他の図形が存在
する空間があるか否かを調べる空間識別手段(3)とを
有して構成する。
FIG. 1 is a diagram illustrating the principle of the present invention. In order to solve the above problem, a pattern identification apparatus of the first aspect of the present invention, as shown in FIG. 1, in one pattern in which a plurality of figures are overlapped, the pattern
Separation and identification means (1) for separating and identifying the figure from the change of the outline, and separation and identification by the separation and identification means (1).
A position monitor which monitors the relative positional relationship of the identified said figure (2), before the determined by the position detection means (2)
The fraction from the serial relative positional relation in the interior of the one pattern
There are other figures that cannot be separated and identified by the separation identification means (1)
Space constituting and a space identification means (3) determine whether there is to be.

【0015】また、本発明の第2の特徴のパターン識別
装置は、請求項1に記載のパターン識別装置において、
前記位置把握手段2は、分離、識別された図形の中心座
標を直線で結んだ時、該直線を辺とする多角形を形成す
るように各図形に対して隣合う図形を決定する。
According to a second aspect of the present invention, there is provided a pattern identifying apparatus according to the first aspect.
When the center coordinates of the separated and identified figures are connected by a straight line, the position grasping means 2 determines a figure adjacent to each figure so as to form a polygon having the straight line as a side.

【0016】また、本発明の第3の特徴のパターン識別
装置は、請求項1または2に記載のパターン識別装置に
おいて、前記空間識別手段3は、分離、識別された図形
の中心座標を頂点とする多角形に対して、該多角形の対
角線のうち前記一つのパターンの内部に前記分離識別手
段(1)で分離、識別できない他の図形が存在する空間
があるか否かを適切に調査するのに有効な対角線を選択
する対角線選択手段4と、該多角形が五角形以上である
場合、内部を調査するために該多角形から適当な四角形
を切り出す四角形切出手段5とを有して構成し、前記有
効な対角線の始点及び終点にある図形の距離から、重畳
するパターンの内部に識別されていない図形の画像デー
タが存在する空間が在ると推測する。
According to a third aspect of the present invention, there is provided a pattern identifying apparatus according to the first or second aspect, wherein the space identifying means 3 sets a center coordinate of the separated and identified figure as a vertex. Of the polygon to be separated, the separation identification hand is placed inside the one of the diagonal lines of the polygon.
Space where other figures that cannot be separated and identified in step (1) exist
A diagonal line selecting means 4 for selecting a diagonal line effective for appropriately examining whether or not there is a rectangle, and, if the polygon is a pentagon or more, a rectangle for cutting out an appropriate rectangle from the polygon to investigate the interior It is assumed that there is a space in which image data of an unidentified graphic exists inside the pattern to be superimposed from the distance between the graphic at the start point and the end point of the effective diagonal line. I do.

【0017】また、本発明の第4の特徴のパターン識別
装置は、請求項3に記載のパターン識別装置において、
前記対角線選択手段4は、分離、識別された図形の中心
座標を頂点とする多角形の対角線で、認識された図形と
交差するものは、無効とし、内部空間の中心付近を通る
もののみを有効として、選択を行う。
According to a fourth aspect of the present invention, there is provided a pattern identifying apparatus according to the third aspect of the present invention.
The diagonal line selecting means 4 invalidates a diagonal line of a polygon having the vertex of the center coordinate of the separated and identified graphic, which crosses the recognized graphic, and validates only a diagonal that passes near the center of the internal space. Make a selection.

【0018】また、本発明の第5の特徴のパターン識別
装置は、請求項3または4に記載のパターン識別装置に
おいて、前記四角形切出手段5は、重畳するパターンの
内部に前記分離識別手段(1)で分離、識別できない他
の図形が存在する空間の存在を調査する際、対角線が多
角形の中心を通る四角形を該多角形から切り出し、前記
対角線の始点及び終点をなす図形間の距離が所定の長さ
以上の時、そこに認識されていない図形の存在する空間
が在ると決定する。
According to a fifth aspect of the present invention, there is provided a pattern identifying apparatus according to the third or fourth aspect, wherein the rectangular cutout means 5 is adapted to detect an overlapping pattern.
Others that cannot be separated and identified internally by the separation and identification means (1)
When investigating the existence of the space where the figure exists , a diagonal line is cut out from the polygon to a rectangle passing through the center of the polygon, and when the distance between the figures forming the starting point and the end point of the diagonal line is equal to or more than a predetermined length, It is determined that there is a space where the unrecognized figure exists.

【0019】更に、本発明の第6の特徴のパターン識別
装置は、請求項3、4、または5に記載のパターン識別
装置において、前記空間識別手段3は、分離、識別され
た図形の中心座標を頂点とする多角形から切り出した四
角形の対角線の交点、或いは、該四角形の辺が有効な対
角線である場合の該辺上に於ける図形間の中心、を内部
空間の検査ポイントとし、内部空間の有無を識別する。
Further, a pattern identification apparatus according to a sixth aspect of the present invention is the pattern identification apparatus according to any one of claims 3, 4 and 5, wherein the space identification means 3 is provided with a center coordinate of the separated and identified figure. The intersection of the diagonal lines of the rectangle cut out from the polygon having the apex as the vertex, or the center between figures on the side when the side of the rectangle is a valid diagonal line, is defined as the inspection point of the internal space, Identify the presence or absence of

【0020】[0020]

【作用】本発明の第1の特徴のパターン識別装置では、
図1に示す如く、分離識別手段1により、複数の図形が
重畳する一つのパターンにおいて、前記パターンの輪郭
線の変化から、前記各図形を分離、識別し、分離、識別
された図形の相対位置関係を位置把握手段2によって把
握し、求められた前記相対位置関係から前記一つのパタ
ーンの内部に前記分離識別手段(1)で分離、識別でき
ない他の図形が存在する空間があるか否かを空間識別手
段3によって調べるようにしている。
According to a first aspect of the present invention, there is provided a pattern identifying apparatus comprising:
As shown in FIG. 1, in one pattern in which a plurality of figures are superimposed on each other,
From a change in the line, the respective graphic separation, identification, and isolation, grasped by the identified locating means 2 relative positional relationship of the figure, from the relative positional relationship obtained in said one pattern
Can be separated and identified by the separation and identification means (1).
The space identification means 3 checks whether or not there is a space in which there is no other figure .

【0021】また、本発明の第2の特徴のパターン識別
装置では、位置把握手段2は、分離、識別された図形の
中心座標を直線で結んだ時に、該直線を辺とする多角形
を形成するように各図形に対して隣合う図形を決定す
る。例えば、認識されたパターンが図2(a)の場合に
は、位置把握手段2により、各図形の中心点D1,D
2,D3,D4を頂点とする四角形が形成される。
Further, in the pattern identification device according to the second aspect of the present invention, when the center coordinates of the separated and identified figures are connected by a straight line, the position grasping means 2 forms a polygon having the straight line as a side. Next, a figure adjacent to each figure is determined. For example, in the case where the recognized pattern is as shown in FIG. 2A, the center points D1, D
A square having the vertices 2, 2, and D4 is formed.

【0022】また、本発明の第3の特徴のパターン識別
装置では、空間識別手段3において、分離、識別された
図形の中心座標を頂点とする多角形に対して、対角線選
択手段4により、該多角形の対角線のうち前記一つのパ
ターンの内部に前記分離識別手段(1)で分離、識別で
きない他の図形が存在する空間があるか否かを適切に調
査するのに有効な対角線を選択し、該多角形が五角形以
上である場合、四角形切出手段5によって、内部を調査
するために該多角形から適当な四角形を切り出すことと
し、前記有効な対角線の始点及び終点にある図形の距離
から、重畳するパターンの内部に識別されていない図形
の画像データが存在する空間が在ると推測するようにし
ている。
In the pattern identification apparatus according to the third aspect of the present invention, the diagonal line selection means 4 uses the diagonal line selection means 4 for the polygon having the vertex at the center coordinate of the figure separated and identified by the space identification means 3. One of the polygon diagonal lines
Separation and identification within the turn by the separation and identification means (1)
A diagonal line effective for appropriately examining whether or not there is a space in which another figure cannot exist is selected. If the polygon is a pentagon or more, a quadrangular cutout means 5 is used to examine the interior. It is assumed that an appropriate quadrangle is cut out from the polygon, and from the distance of the graphic at the start and end points of the effective diagonal, if there is a space where the image data of the unidentified graphic exists inside the pattern to be superimposed. I try to guess.

【0023】また、本発明の第4の特徴のパターン識別
装置では、対角線選択手段4は、分離、識別された図形
の中心座標を頂点とする多角形の対角線で、認識された
図形と交差するものは、無効とし、内部空間の中心付近
を通るもののみを有効として、選択を行う。例えば、図
3(a)の場合には、図形C1の中心D1から図形C3
の中心D3に対角線L13を引くと、対角線L13は図
形C2を通過しているため、これを無効とする。結果と
して、有効な対角線はL14,L24,L25が選択さ
れる。
In the pattern identification apparatus according to the fourth aspect of the present invention, the diagonal line selection means 4 intersects the recognized figure with a polygonal diagonal whose vertex is the center coordinate of the separated and identified figure. The object is selected as invalid and only those passing near the center of the internal space are valid. For example, in the case of FIG. 3A, the figure C3 is shifted from the center D1 of the figure C1.
When the diagonal line L13 is drawn at the center D3, the diagonal line L13 passes through the graphic C2, and is invalidated. As a result, valid diagonals L14, L24 and L25 are selected.

【0024】また、本発明の第5の特徴のパターン識別
装置では、四角形切出手段5は、重畳するパターンの
部に前記分離識別手段(1)で分離、識別できない他の
図形が存在する空間の存在を調査する際、対角線が多角
形の中心を通る四角形を該多角形から切り出し、前記対
角線の始点及び終点をなす図形間の距離が所定の長さ以
上の時、そこに認識されていない図形の存在する空間が
在ると決定する。
[0024] In the fifth pattern identification apparatus aspect of the present invention, a square cutting means 5, of the patterns to be superimposed
Other parts that cannot be separated and identified by the separation and identification means (1).
When investigating the existence of a space where a figure exists, a rectangle whose diagonal line passes through the center of the polygon is cut out from the polygon, and when the distance between the figures forming the starting point and the end point of the diagonal line is a predetermined length or more, It is determined that there is a space in which an unrecognized figure exists.

【0025】更に、本発明の第6の特徴のパターン識別
装置では、空間識別手段3は、分離、識別された図形の
中心座標を頂点とする多角形から切り出した四角形の対
角線の交点、或いは、該四角形の辺が有効な対角線であ
る場合の該辺上に於ける図形間の中心、を内部空間の検
査ポイントとし、内部空間の有無を識別する。例えば図
3(b)の場合には、四角形D1−D2−D4−D5を
切り出し、該四角形の対角線L14,L25の交点P1
を検査ポイントとして、該座標の画像データを検出する
ことにより認識された図形外の物体の存在を識別する。
また、四角形の辺が有効な対角線である場合の該辺上に
於ける図形間の中心P2も検査ポイントとして、効率的
に内部図形の存在有無の認識を行う。
Further, in the pattern identification device according to the sixth aspect of the present invention, the space identification means 3 includes an intersection of diagonal lines of a quadrangle cut out from a polygon having the center coordinates of the separated and identified figure as vertices, or When the side of the square is a valid diagonal, the center between the figures on the side is set as the inspection point of the internal space, and the presence or absence of the internal space is identified. For example, in the case of FIG. 3B, a square D1-D2-D4-D5 is cut out and an intersection P1 of diagonal lines L14 and L25 of the square is cut out.
Is used as an inspection point, the presence of an object outside the figure recognized by detecting image data of the coordinates is identified.
In addition, when the side of the quadrangle is a valid diagonal, the center P2 between the figures on the side is also used as an inspection point to efficiently recognize the presence or absence of the internal figure.

【0026】包囲されて認識されない図形の存在を調べ
るためには、先ず、認識された図形がどのような位置関
係で配置されているかを位置把握手段2によって調べる
必要がある。この様子を図4及び図5を使用して説明す
る。
In order to check the existence of a figure which is surrounded and not recognized, first, it is necessary to check by means of the position grasping means 2 what kind of positional relationship the recognized figures are arranged. This situation will be described with reference to FIGS.

【0027】図4(a)に示すような図形が認識された
時、まず図形C1の中心D1から他の図形C2,C3,
C4,C5の中心D2,D3,D4,D5に向かって線
(L12,L13,L14,L15)を引く。次に同様
にして、図4(b)に示すように、図形C2の中心D2
から他の図形の中心へ線を(L23,L24.L25)
を引く。ここで、図形C1から引いた線と交差するL2
4,L25は無効とし、L23は有効とする。
When a figure as shown in FIG. 4A is recognized, first, from the center D1 of the figure C1, the other figures C2, C3,
Lines (L12, L13, L14, L15) are drawn toward the centers D2, D3, D4, D5 of C4, C5. Next, similarly, as shown in FIG.
To the center of another figure from (L23, L24.L25)
pull. Here, L2 intersecting with the line drawn from the graphic C1
4, L25 is invalid and L23 is valid.

【0028】図形C3,C4,C5に対して同様の処理
を行い、図形C1からの線と交差するものは無効とす
る。また図形C1からの線で交差することがあったL1
3,L14も無効とする。以上により認識された図形同
志の位置関係を、距離に無関係で辺同志が交差すること
のない多角形として認識することができる(図5
(a))。図形C1〜C5で囲まれた内部に別の図形が
無い場合、各図形の中心D1〜D5から出る有効線の数
は2本となる。
The same processing is performed on the figures C3, C4, and C5, and those that intersect with the line from the figure C1 are invalidated. L1 which sometimes intersected by a line from figure C1
3, L14 is also invalidated. The positional relationship between the figures recognized as described above can be recognized as a polygon in which the sides do not intersect regardless of the distance (FIG. 5).
(A)). When there is no other figure inside the figure C1 to C5, the number of effective lines coming from the centers D1 to D5 of each figure is two.

【0029】図5(b)のように、図形C1〜C5で囲
まれた内部に図形C6がある場合には、図形C4,C5
の中心D4,D5から出る有効線はそれぞれ3本とな
り、この図形C6は多角形D1−D2−D3−D4−D
5の内側にあることが分かる。このように、内部空間の
存在の判定に際して、各図形の中心から出る有効線の数
を考慮することにより、適切な判定をすることができ
る。
As shown in FIG. 5B, when there is a figure C6 inside the figure C1 to C5, the figures C4 and C5
Are three effective lines from the centers D4 and D5, respectively, and the figure C6 is a polygon D1-D2-D3-D4-D
It can be seen that it is inside 5. In this way, when determining the existence of the internal space, an appropriate determination can be made by considering the number of effective lines coming out of the center of each figure.

【0030】次に、認識された図形の配置状況から内部
に認識されていない図形が入るような空間が存在するか
否かを空間識別手段3によって調べる様子を図6を使用
して説明する。
Next, a description will be given of how the space identifying means 3 checks whether or not there is a space in which a not-recognized figure can be entered, based on the arrangement state of the recognized figures, with reference to FIG.

【0031】認識された図形の位置関係が、図6(a)
に示すように、各図形C1,C2,C3,C4,C5の
中心座標(D1,D2,D3,D4,D5)を頂点とす
る五角形である場合に、図6(b)に示すような対角線
L13,L14,L24.L25.L35を引く。
FIG. 6A shows the positional relationship between the recognized figures.
As shown in FIG. 6, when the figure is a pentagon having the vertexes at the center coordinates (D1, D2, D3, D4, D5) of the figures C1, C2, C3, C4, C5, a diagonal line as shown in FIG. L13, L14, L24. L25. L35 is subtracted.

【0032】この時、他の図形を通過する対角線は、評
価しようとする内部空間の中心付近を通らないので無効
とする。例えば、図6(b)では頂点D1からD3に対
角線L13を引くと、対角線L13は図形C2を通過し
ているため、これを無効とする。同様にして、有効な対
角線を求めるとL14,L24,L25,L35が選択
される。
At this time, a diagonal passing through another figure is invalid because it does not pass near the center of the internal space to be evaluated. For example, in FIG. 6B, when a diagonal line L13 is drawn from the vertices D1 to D3, the diagonal line L13 passes through the graphic C2, and is invalidated. Similarly, when an effective diagonal line is obtained, L14, L24, L25, and L35 are selected.

【0033】ここで、認識漏れの検出には、有効な対角
線の交点を検査ポイントとする。しかし、五角形以上の
場合、対角線の交点が必ずしも中心付近を示さないため
(例えばL14とL35の交点)、四角形を切り出し、
その対角線の交点を調べる方が効率が良い。そこで、有
効な対角線の中から、図形外の長さが、最も短くなる対
角線を四角形の一辺とする(図6(b)ではL24が選
択される)。
Here, in order to detect recognition omission, an intersection of valid diagonal lines is set as a test point. However, in the case of a pentagon or more, since the intersection of the diagonal lines does not always indicate the vicinity of the center (for example, the intersection of L14 and L35), the rectangle is cut out,
It is more efficient to check the intersection of the diagonal lines. Therefore, among the effective diagonal lines, the diagonal line having the shortest length outside the figure is set as one side of the square (L24 is selected in FIG. 6B).

【0034】このようにして求めた四角形D1−D2−
D4−D5の対角線L14,L25の交点P1を検査ポ
イントとして、その座標に画像データを検出すれば、認
識された図形の他に物体の存在を知ることができ、認識
漏れを通知することができる。
The square D1-D2- obtained in this way
If the intersection point P1 of the diagonal lines L14 and L25 of D4 to D5 is used as an inspection point and image data is detected at the coordinates, it is possible to know the presence of an object in addition to the recognized figure, and to notify the omission of recognition. .

【0035】また、対角線を四角形の一辺とし、その対
角線の図形間の距離(図6(b)ではL24における
L)が予め定めた距離より長い場合、その図形間の中心
P2も検査ポイントとすることにより、効率的に内部の
図形の存在有無を認識できる。
When the diagonal line is one side of the rectangle and the distance between the diagonal figures (L in FIG. 6B at L24) is longer than a predetermined distance, the center P2 between the figures is also used as the inspection point. This makes it possible to efficiently recognize the presence or absence of an internal graphic.

【0036】本発明によれば、例えば、食器の形状によ
り選択した料理の精算を行う食堂精算システムにおい
て、従来は食器の置き方によって誤精算を起こす可能性
があるために接触に関して制約を設けていたが、本発明
では認識されていない図形の存在をチェックする機能を
追加することにより該制約を緩和し、より柔軟な認識及
び精算処理を実現することができる。
According to the present invention, for example, in a cafeteria payment system for performing payment of a dish selected according to the shape of the tableware, there is conventionally a possibility that mis-payment may occur depending on how the tableware is placed. However, in the present invention, by adding a function of checking the presence of a figure that has not been recognized, the restriction can be relaxed, and more flexible recognition and settlement processing can be realized.

【0037】[0037]

【実施例】次に、本発明に係る実施例を図面に基づいて
説明する。図7に本発明の一実施例に係るパターン識別
装置の構成図を示す。本実施例は、特開平04−291
74で開示されたパターン認識方法の機能改善を行った
ものである。
Next, an embodiment according to the present invention will be described with reference to the drawings. FIG. 7 shows a configuration diagram of a pattern identification device according to one embodiment of the present invention. This embodiment is described in
This is an improvement of the function of the pattern recognition method disclosed in No. 74.

【0038】本実施例のパターン識別装置は、被検査形
状パターン11が照明装置12によってコントラストを
つけられ、画像入力装置13にて撮像されビデオ信号と
する機構を有している。また、画像入力装置13の出力
を処理してディジタルの画像データを作成する画像処理
装置14と、処理画像データを格納する入力画像メモリ
15と、入力画像データの処理または認識処理を実行す
るCPU16と、入力画像データから図形の分離識別を
行い、各図形のサイズ及び中心座標の計測を行う認識処
理作業用メモリ17と、認識結果格納メモリ18と、認
識された図形の位置関係情報を格納する位置関係格納メ
モリ19と、位置関係からその内側を検査するために認
定する対角線の番号と座標を格納するための対角線情報
格納メモリ20と、認識漏れの図形の有無を検査するた
めの座標を格納する検査ポイント格納メモリ21と、認
識結果等を表示する表示装置22とを備えている。
The pattern identification apparatus of this embodiment has a mechanism in which the shape of the pattern 11 to be inspected is contrasted by the illumination device 12 and is picked up by the image input device 13 and converted into a video signal. An image processing device 14 for processing the output of the image input device 13 to create digital image data; an input image memory 15 for storing processed image data; and a CPU 16 for executing processing or recognition of the input image data. A recognition processing work memory 17 for separating and identifying a figure from input image data and measuring the size and center coordinates of each figure, a recognition result storage memory 18, and a position for storing positional relationship information of the recognized figure. A relation storage memory 19, a diagonal information storage memory 20 for storing diagonal numbers and coordinates recognized for inspecting the inside from the positional relationship, and coordinates for inspecting the presence or absence of a figure that has not been recognized. An inspection point storage memory 21 and a display device 22 for displaying a recognition result and the like are provided.

【0039】次に、本実施例のパターン識別装置の動作
を図8に示すフローチャートに参照しながら説明する。
図9に示すような入力パターンを画像処理すると、全て
の図形が接触しているため、1つの個体として登録され
る。これを輪郭線追跡方法により認識処理すると、図形
Fは周囲を他の図形によって包囲されているためその輪
郭線情報が微少となり、認識対象外となるため、結果と
して格納される図形はA,B,C,D,E,の4つとな
る(図8中、ステップS1)。
Next, the operation of the pattern identification apparatus of this embodiment will be described with reference to the flowchart shown in FIG.
When the input pattern as shown in FIG. 9 is image-processed, all the figures are in contact with each other, and are registered as one individual. When this is recognized by the contour tracing method, the figure F is surrounded by another figure, so that the outline information becomes very small, and the figure F is excluded from the recognition target. , C, D, and E (step S1 in FIG. 8).

【0040】ここで、同一個体から分離識別された図形
が3つ以下では、認識漏れの可能性は無いのでそのまま
正常終了し、4つ以上の場合は認識漏れの検査を行う
(図8中、ステップS2)。
Here, if there are three or less figures separated and identified from the same individual, there is no possibility of recognition omission, and the process ends normally. If there are four or more figures, the recognition omission inspection is performed (see FIG. 8). Step S2).

【0041】図10に示すように、認識されたパターン
に対して、図形の位置関係を求めるために基準となる図
形を選択し(図10中、図形A)、その中心座標から他
の図形の中心座標に線Lab,Lac,Lad,Lae
を引く。次に、図形Bから図形Aを除く他の図形に対し
て、同様に線Lbc,Lbd,Lbeを引く。この時、
線Lbdは図形Aからの線Lacと交差し、線Lbeは
線Lac,Ladと交差するため、多角形の一辺として
は不適当と判断されて無効となり、線Lbcのみを位置
関係格納メモリ19に格納する。
As shown in FIG. 10, with respect to the recognized pattern, a figure as a reference for obtaining the positional relationship of the figure is selected (FIG. 10, FIG. 10A). Lines Lab, Lac, Lad, Lae at center coordinates
pull. Next, lines Lbc, Lbd, and Lbe are drawn in a similar manner from the graphic B except the graphic A. At this time,
Since the line Lbd intersects with the line Lac from the figure A, and the line Lbe intersects with the lines Lac and Lad, it is determined to be inappropriate as one side of the polygon and becomes invalid, and only the line Lbc is stored in the positional relationship storage memory 19. Store.

【0042】また、交差することが分かった図形Aから
の線Lac,Ladには、その情報を付与して次の図形
からの線の評価のために残す。同様にして、図形C,
D,Eに対して評価すると、有効となる線はLcd,L
deとなり、最後に、図形Aからの線で交差することの
無かったLab,Laeを登録する。この方法によっ
て、認識された図形の中心座標を頂点とする、各辺同志
が交差することの無い多角形を作成することができる
(図8中、ステップS3)。
The lines Lac and Lad from the figure A which are found to intersect are given the information and are left for evaluation of the lines from the next figure. Similarly, figures C,
When evaluated for D and E, the effective line is Lcd, L
de, and finally, Lab and Lae that do not intersect with the line from the graphic A are registered. With this method, it is possible to create a polygon having the center coordinates of the recognized figure as vertices and without intersecting each other (step S3 in FIG. 8).

【0043】次に、図11の各図形A,B,C,D,E
の中心座標を頂点とする多角形oa−ob−oc−od
−oeの対角線を評価し、多角形の内側で、認識されな
い図形が入るような空間の中心付近を通過するような対
角線を選択する。対角線Tac,Tad,Tbd,Tb
e,Tceに於いて、認識された図形を通過するもの
は、内部空間の中心付近を通らないため無効とすると、
有効な対角線はTac,Tbd,Tbe,Tceとなり
これらを対角線情報格納メモリ20に格納する(図8
中、ステップS4)。
Next, each of the figures A, B, C, D, and E in FIG.
Polygon oa-ob-oc-od whose center is the vertex of
Evaluate the diagonal line of -oe and select a diagonal line that passes near the center of the space where the unrecognized figure enters inside the polygon. Diagonal lines Tac, Tad, Tbd, Tb
In e and Tce, those that pass the recognized figure are invalid because they do not pass near the center of the internal space.
Effective diagonal lines are Tac, Tbd, Tbe, and Tce, and these are stored in the diagonal line information storage memory 20 (FIG. 8).
Middle, step S4).

【0044】多角形の内部空間を検査するために対角線
の交点を使用するが、求めた多角形が五角形以上である
場合、有効な対角線であっても対角線の交点が必ずしも
内部空間の内部空間を示すわけではないため、その場合
には、対角線の交点が中心付近を示す四角形を切り出
す。そこで、有効な対角線の内、長さの最も短いものを
四角形の一辺とする。従って、図11においても五角形
であるため、有効な対角線の内、対角線Tceが最も短
いので、これを一辺とした四角形oa−ob−oc−o
eを決定する(図8中、ステップS6)。
In order to inspect the interior space of the polygon, the intersection of the diagonal lines is used. If the obtained polygon is a pentagon or more, even if it is a valid diagonal, the intersection of the diagonal lines does not necessarily define the interior space of the interior space. In this case, a quadrangle in which the intersection of the diagonal lines indicates the vicinity of the center is cut out. Therefore, the shortest length of the effective diagonal lines is defined as one side of the square. Therefore, in FIG. 11, since the pentagon is also a pentagon, the diagonal Tce is the shortest of the effective diagonals, and thus a quadrangle oa-ob-oc-o having this as one side is shown.
e is determined (step S6 in FIG. 8).

【0045】ここで、四角形の一辺として選択した対角
線は多角形の内部を通過するので、対角線の始点及び終
点のなす図形間の距離が予め定めた長さ以上である場
合、この直線上にも認識できない図形が存在している可
能性があるため、切り出した四角形に於ける対角線の交
点P1だけでなく、この辺(Tce)上で両端の図形間
の適切な座標(例えば中心)P2を検査ポイントとして
検査ポイント格納メモリ21に登録し、認識漏れの検出
率を向上させる(図8中、ステップS7)。
Here, since the diagonal selected as one side of the rectangle passes through the inside of the polygon, if the distance between the figures formed by the starting point and the ending point of the diagonal is longer than a predetermined length, it is also drawn on this straight line. Since there is a possibility that an unrecognizable figure may exist, not only the intersection P1 of the diagonal line in the cut-out rectangle but also the appropriate coordinates (for example, the center) P2 between the figures at both ends on this side (Tce) are inspected. Is registered in the test point storage memory 21 to improve the detection rate of recognition omission (step S7 in FIG. 8).

【0046】最後に、決定した四角形の対角線の交点P
1を検査ポイントとして検査ポイント格納メモリ21に
その座標を格納する(図8中、ステップS8)。このよ
うにして求めた検査ポイントP1,P2の示す画像デー
タの座標において、認識された図形と同一の識別番号の
付いた画像データの有無を調査する(図8中、ステップ
S9)。
Finally, the intersection P of the determined diagonal of the rectangle
The coordinates are stored in the inspection point storage memory 21 with 1 as an inspection point (step S8 in FIG. 8). At the coordinates of the image data indicated by the inspection points P1 and P2 obtained in this way, the presence or absence of image data with the same identification number as the recognized figure is checked (step S9 in FIG. 8).

【0047】検査ポイントP1,P2に画像データが存
在すれば、認識されていない個体があると判断されるた
め、認識漏れを表示装置22を介して通知する(図8
中、ステップS10)。また、画像データが無ければパ
ターン識別処理は正常終了する。
If image data exists at the test points P1 and P2, it is determined that there is an individual that has not been recognized, so that recognition omission is notified via the display device 22 (FIG. 8).
Middle, step S10). If there is no image data, the pattern identification processing ends normally.

【0048】以上のように本実施例のパターン識別装置
によれば、重畳するパターンから認識された図形の数が
4つ以上の場合には、それらが他の図形を囲む可能性が
あるため、認識された図形の位置関係を調べ、また、内
側に他の図形が入るような空間があると判断したら内部
空間の適切な部分の画像データを調査することにより認
識漏れを検知し、誤認識のまま認識処理を正常終了する
ことを防ぐこととしており、入力パターンに対してより
柔軟なパターン認識の可能なパターン識別装置を実現で
きる。
As described above, according to the pattern identification device of this embodiment, when the number of figures recognized from the superimposed pattern is four or more, they may surround other figures. Examine the positional relationship between the recognized figures, and if it is determined that there is a space inside which other figures can enter, check the image data of an appropriate part of the internal space to detect recognition omissions and detect false recognition. It is intended to prevent the recognition processing from being completed normally, and a pattern identification device capable of more flexible pattern recognition for an input pattern can be realized.

【0049】[0049]

【発明の効果】以上説明したように、本発明によれば、
分離識別手段により、複数の図形が重畳するパターンの
各図形を分離、識別し、分離、識別された図形の相対位
置関係を位置把握手段によって把握し、求められた相対
位置関係から重畳するパターンの内部に空間があるか否
かを空間識別手段によって調べることとしたので、認識
されていない図形の存在をチェックすることができ、物
体の接触に関する制約を緩和することができ、より柔軟
な認識処理を実現し得るパターン識別装置を提供するこ
とができる。
As described above, according to the present invention,
Separation / identification means separates and identifies each figure of the pattern in which a plurality of figures are superimposed, grasps the relative positional relationship of the separated and identified figures by position grasping means, and determines the pattern to be superimposed based on the obtained relative positional relationship. Since it is decided to check whether there is a space inside by the space identification means, it is possible to check the existence of unrecognized figures, relax restrictions on contact with objects, and more flexible recognition processing Can be provided.

【0050】また、空間識別手段において、分離、識別
された図形の中心座標を頂点とする多角形に対して、対
角線選択手段により、該多角形の対角線のうち重畳する
パターンの内部を適切に調査するのに有効な対角線を選
択し、該多角形が五角形以上である場合、四角形切出手
段によって、内部を調査するために該多角形から適当な
四角形を切り出すこととし、前記有効な対角線の始点及
び終点にある図形の距離から、重畳するパターンの内部
に識別されていない図形の画像データが存在する空間が
在ると推測することとしたので、より効率的に内部図形
の存在有無の認識を行ない得るパターン識別装置を提供
することができる。
In the space discriminating means, for the polygon having the vertex at the center coordinate of the separated and identified figure, the diagonal line selecting means appropriately examines the inside of the overlapping pattern among the diagonal lines of the polygon. Select a valid diagonal line, and if the polygon is a pentagon or more, cut out an appropriate quadrangle from the polygon to examine the interior by quadrangular cutting means, and start the valid diagonal line. From the distance of the figure at the end point, it is assumed that there is a space in which the image data of the figure that has not been identified exists inside the pattern to be superimposed. A possible pattern identification device can be provided.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の作用説明図であり、図2(a)は認識
されたパターン、図2(b)は図形の位置関係を示す図
である。
FIGS. 2A and 2B are explanatory diagrams of the operation of the present invention. FIG. 2A is a diagram showing a recognized pattern, and FIG. 2B is a diagram showing a positional relationship between figures.

【図3】本発明の作用説明図であり、図3(a)は有効
な対角線を選択する処理の説明図、図3(b)は認識漏
れの検査ポイントを決定する処理の説明図である。
3A and 3B are diagrams illustrating the operation of the present invention, in which FIG. 3A is a diagram illustrating a process of selecting a valid diagonal, and FIG. 3B is a diagram illustrating a process of determining a check point of recognition omission; .

【図4】本発明の位置把握手段の作用説明図であり、図
4(a)及び(b)は多角形の辺を決定する処理の説明
図である。
FIGS. 4A and 4B are explanatory diagrams of the operation of the position grasping means of the present invention, and FIGS. 4A and 4B are explanatory diagrams of a process for determining the sides of the polygon.

【図5】本発明の位置把握手段の作用説明図であり、図
5(a)は決定された多角形の説明図、図5(b)は内
部に図形を含む場合の多角形の説明図である。
5A and 5B are explanatory diagrams of the operation of the position grasping means of the present invention. FIG. 5A is an explanatory diagram of a determined polygon, and FIG. 5B is an explanatory diagram of a polygon when a figure is included therein. It is.

【図6】本発明の空間識別手段の作用説明図であり、図
6(a)は決定された多角形の説明図、図6(b)は切
り出された四角形、及び検査ポイントの説明図である。
6 (a) is an explanatory view of a determined polygon, and FIG. 6 (b) is an explanatory view of a cut-out square and an inspection point. is there.

【図7】本発明の一実施例に係るパターン識別装置の構
成図である。
FIG. 7 is a configuration diagram of a pattern identification device according to an embodiment of the present invention.

【図8】実施例のパターン識別装置のパターン識別処理
を説明するフローチャートである。
FIG. 8 is a flowchart illustrating a pattern identification process of the pattern identification device according to the embodiment.

【図9】実施例のパターン識別装置の動作説明図(入力
パターン)である。
FIG. 9 is an operation explanatory diagram (input pattern) of the pattern identification device of the embodiment.

【図10】実施例のパターン識別装置の動作説明図(位
置関係の決定)である。
FIG. 10 is an operation explanatory diagram (determination of a positional relationship) of the pattern identification device of the embodiment.

【図11】実施例のパターン識別装置の動作説明図(検
査ポイントの決定)である。
FIG. 11 is an explanatory diagram (determination of inspection points) of the operation of the pattern identification apparatus of the embodiment.

【図12】従来のパターン識別方法の説明図であり、図
12(a)は入力画像、図12(b)はラベリング処理
の説明図である。
12A and 12B are explanatory diagrams of a conventional pattern identification method. FIG. 12A is an explanatory diagram of an input image, and FIG. 12B is an explanatory diagram of a labeling process.

【図13】図13(a)は従来の分離識別処理の説明
図、図13(b)は回転方向の説明図である。
FIG. 13A is an explanatory diagram of a conventional separation and identification process, and FIG. 13B is an explanatory diagram of a rotation direction.

【図14】従来の問題点である認識漏れを起こすパター
ンを説明する図である。
FIG. 14 is a diagram illustrating a pattern that causes recognition omission, which is a conventional problem.

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

1…分離識別手段 2…位置把握手段 3…空間識別手段 4…対角線選択手段 5…四角形切出手段 11…入力パターン 12…照明 13…画像入力装置 14…画像処理装置 15…入力画像メモリ 16…CPU 17…認識処理用メモリ 18…認識結果格納メモリ 19…位置関係格納メモリ 20…対角線情報格納メモリ 21…検査ポイント格納メモリ 22…表示装置 A,B,C,D,E,F…認識パターンにおける図形 C1〜C6…認識パターンにおける図形 D1〜D6…図形の中心 L12〜L56…対角線 Lab〜Lbe…対角線 P1,P2…検査ポイント S1〜S11…処理ステップ Tac,Tbe,Tbd,Tce,Tad…対角線 oa〜oe…図形の中心 DESCRIPTION OF SYMBOLS 1 ... Separation identification means 2 ... Position grasping means 3 ... Space identification means 4 ... Diagonal line selection means 5 ... Square extraction means 11 ... Input pattern 12 ... Illumination 13 ... Image input device 14 ... Image processing device 15 ... Input image memory 16 ... CPU 17: Recognition processing memory 18: Recognition result storage memory 19: Positional relationship storage memory 20: Diagonal information storage memory 21: Inspection point storage memory 22: Display device A, B, C, D, E, F: In recognition pattern Figures C1 to C6 ... figures in recognition pattern D1 to D6 ... centers of figures L12 to L56 ... diagonal lines Lab to Lbe ... diagonal lines P1, P2 ... inspection points S1 to S11 ... processing steps Tac, Tbe, Tbd, Tce, Tad ... diagonal lines oa ~ Oe ... the center of the figure

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の図形が重畳する一つのパターンに
おいて、前記パターンの輪郭線の変化から、前記図形を
分離し、識別する分離識別手段(1)と、 前記分離識別手段(1)により分離、識別された前記
形の相対位置関係を把握する位置把握手段(2)と、 前記位置把握手段(2)で求められた前記相対位置関係
から前記一つのパターンの内部に前記分離識別手段
(1)で分離、識別できない他の図形が存在する空間
あるか否かを調べる空間識別手段(3)と、 を有し、複数の図形を分離、識別することを特徴とする
パターン識別装置。
1. A single pattern in which a plurality of figures are superimposed
Oite, from a change in the outline of the pattern, separating the figures, and identifies the separation identification means (1), by the separation identification means (1) was separated and identified in FIG <br/> shaped relative a position monitor which monitors the positional relationship (2), the separation identification means from the relative positional relationship obtained by said position detection means (2) within said one pattern
A space identification unit (3) for checking whether there is a space in which there is another figure that cannot be separated and identified in (1), and a pattern identification device characterized by separating and identifying a plurality of figures. .
【請求項2】 前記位置把握手段(2)は、分離、識別
された図形の中心座標を直線で結んだ時、該直線を辺と
する多角形を形成するように各図形に対して隣合う図形
を決定することを特徴とする請求項1に記載のパターン
識別装置。
2. When the center coordinates of the separated and identified figures are connected by a straight line, the position grasping means (2) is adjacent to each figure so as to form a polygon having the straight line as a side. The pattern identification apparatus according to claim 1, wherein the pattern is determined.
【請求項3】 前記空間識別手段(3)は、分離、識別
された図形の中心座標を頂点とする多角形に対して、該
多角形の対角線のうち、前記一つのパターンの内部に前
記分離識別手段(1)で分離、識別できない他の図形が
存在する空間があるか否かを適切に調査するのに有効な
対角線を選択する対角線選択手段(4)と、該多角形が
五角形以上である場合、前記内部を調査するために該多
角形から適当な四角形を切り出す四角形切出手段(5)
とを有し、前記有効な対角線の始点及び終点にある図形
の距離から、前記重畳するパターンの内部に識別されて
いない図形の画像データが存在する空間が在ると推測す
ることを特徴とする請求項1または2に記載のパターン
識別装置。
3. The space discriminating means (3) includes, for a polygon whose vertex is the center coordinate of the separated and identified figure , a front portion of the diagonal line of the polygon inside the one pattern.
Other figures that cannot be separated and identified by the separation and identification means (1)
A diagonal line selecting means (4) for selecting a diagonal line effective for appropriately examining whether or not there is an existing space; and, when the polygon is a pentagon or more, a diagonal line from the polygon to investigate the interior. Square cutting means (5) for cutting out an appropriate square
And estimating, from the distances of the figures at the start and end points of the effective diagonal line, that there is a space in which image data of an unidentified figure exists inside the pattern to be superimposed. The pattern identification device according to claim 1.
【請求項4】 前記対角線選択手段(4)は、分離、識
別された図形の中心座標を頂点とする多角形の対角線
で、認識された図形と交差するものは、無効とし、内部
空間の中心付近を通るもののみを有効として、選択を行
うことを特徴とする請求項3に記載のパターン識別装
置。
4. The diagonal line selection means (4) invalidates a diagonal of a polygon having a vertex at the center coordinates of the separated and identified graphic and intersecting with the recognized graphic, and invalidates the diagonal. 4. The pattern identification apparatus according to claim 3, wherein the selection is performed by validating only a nearby object.
【請求項5】 前記四角形切出手段(5)は、重畳する
パターンの内部に前記分離識別手段(1)で分離、識別
できない他の図形が存在する空間の存在を調査する際、
対角線が多角形の中心を通る四角形を該多角形から切り
出し、前記対角線の始点及び終点をなす図形間の距離が
所定の長さ以上の時、そこに認識されていない図形の存
在する空間が在ると決定することを特徴とする請求項3
または4に記載のパターン識別装置。
5. The rectangular cutout means (5) separates and identifies the inside of a pattern to be overlapped by the separation and identification means (1).
When investigating the existence of a space where there are other shapes that cannot be
A rectangle whose diagonal passes through the center of the polygon is cut out from the polygon, and when the distance between the starting and ending points of the diagonal is greater than or equal to a predetermined length, there is a space where an unrecognized figure exists. 4. The method according to claim 3, wherein
Or the pattern identification device according to 4.
【請求項6】 前記空間識別手段(3)は、分離、識別
された図形の中心座標を頂点とする多角形から切り出し
た四角形の対角線の交点、或いは、該四角形の辺が有効
な対角線である場合の該辺上に於ける図形間の中心、を
内部空間の検査ポイントとし、内部空間の有無を識別す
ることを特徴とする請求項3、4、または5に記載のパ
ターン識別装置。
6. The space discriminating means (3) is an intersection of a diagonal of a rectangle cut out from a polygon having a vertex at the center coordinate of the separated and identified figure, or a side of the rectangle is a valid diagonal. 6. The pattern identification apparatus according to claim 3, wherein a center between the figures on the side in the case is set as an inspection point of the internal space, and the presence or absence of the internal space is identified.
JP28276393A 1993-11-11 1993-11-11 Pattern identification device Expired - Fee Related JP3328395B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28276393A JP3328395B2 (en) 1993-11-11 1993-11-11 Pattern identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28276393A JP3328395B2 (en) 1993-11-11 1993-11-11 Pattern identification device

Publications (2)

Publication Number Publication Date
JPH07134775A JPH07134775A (en) 1995-05-23
JP3328395B2 true JP3328395B2 (en) 2002-09-24

Family

ID=17656759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28276393A Expired - Fee Related JP3328395B2 (en) 1993-11-11 1993-11-11 Pattern identification device

Country Status (1)

Country Link
JP (1) JP3328395B2 (en)

Also Published As

Publication number Publication date
JPH07134775A (en) 1995-05-23

Similar Documents

Publication Publication Date Title
JP3387499B2 (en) Orientation determination method in local region of contour line and determination method of line segment and angle
US7027651B2 (en) Geometric hashing method for model-based recognition of an object
JPH07234915A (en) Image recognition device
GB2389178A (en) Method for inspecting patterns
US7340089B2 (en) Geometric pattern matching using dynamic feature combinations
JP2020106966A (en) Object recognition device and object recognition method
US6987875B1 (en) Probe mark inspection method and apparatus
CN105745598B (en) Determine the shape of the expression of object
JP2004259114A (en) Object identification method, object identification device, and object identification program
JP6770811B2 (en) Bundling steel pipe inspection equipment and binding steel pipe inspection method
JPH09281055A (en) Inspection method for chip
JP3328395B2 (en) Pattern identification device
JP2004226197A (en) Object identification method, object identification device, and object identification program
US7916949B2 (en) Method of inspecting granular material and inspection device for conducting that method
JPH06307833A (en) Uneven shape recognition device
JPS6029878A (en) Detector for circular body
CN114898131B (en) Method and system for detecting forbidden articles based on natural guidance and data enhancement
JPH06309459A (en) Device and method for recognizing pattern
JPH06259530A (en) Circular hole recognition method
JP3867410B2 (en) Three-dimensional visual positioning method and apparatus
JPH0519958A (en) How to enter information
JP2551021B2 (en) How to determine the center position of the fingerprint image
JPH0334801B2 (en)
JPH10153407A (en) Measurement processing device
JP2897612B2 (en) Work detection method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees