JPH0326876B2 - - Google Patents
Info
- Publication number
- JPH0326876B2 JPH0326876B2 JP59174695A JP17469584A JPH0326876B2 JP H0326876 B2 JPH0326876 B2 JP H0326876B2 JP 59174695 A JP59174695 A JP 59174695A JP 17469584 A JP17469584 A JP 17469584A JP H0326876 B2 JPH0326876 B2 JP H0326876B2
- Authority
- JP
- Japan
- Prior art keywords
- point
- contour
- radius
- value
- shortest
- 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
Links
- 239000013598 vector Substances 0.000 claims description 41
- 230000005484 gravity Effects 0.000 claims description 7
- 238000003672 processing method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 238000000605 extraction Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 6
- 238000007796 conventional method Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 1
Landscapes
- Image Analysis (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、読取部によつて読取られた画像デー
タの動径などの特徴を利用して、対象物を識別す
る画像データ処理方式の改良に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention is an improvement of an image data processing method for identifying an object by using characteristics such as the radius of the image data read by a reading section. Regarding.
画像データ処理システム、すなわち、読取部に
よつて、読み取られた画像データ中の対象物を識
別する処理システムにおいて、対象物の形状の特
徴を抽出し、これにより識別を行うが、この特徴
を抽出する際の処理効率の向上が求められてい
る。 In an image data processing system, that is, a processing system that identifies an object in image data read by a reading unit, the feature of the shape of the object is extracted and identification is performed based on this. There is a need to improve processing efficiency when doing so.
画像データ中の対象物の識別をする処理システ
ムの従来例を図によつて説明する。第5図は従来
例を説明するブロツク図である。
A conventional example of a processing system for identifying an object in image data will be explained with reference to the drawings. FIG. 5 is a block diagram illustrating a conventional example.
第5図において、読取部1によつて、2で示さ
れる画像の画像データIが読み取られる。読み取
られた画像データIは、2値化部3で背景と対象
物Hにわけられた後、輪郭抽出部4へ送られる。
この輪郭抽出部4によつて対象物Hの輪郭点デー
タa,b,c,d,e,……,zが、図示の如く
記憶部5に格納される。特徴抽出部6は、記憶部
5内の輪郭点データから、重心、面積、動径のピ
ーク距離即ち最長値や最短値などの特徴を抽出
し、これをメモリ7に格納する。識別部8は、こ
れらの特徴パラメタを用いて、読取られた対象物
を識別する。 In FIG. 5, image data I of an image indicated by 2 is read by the reading section 1. The read image data I is divided into a background and an object H by a binarization section 3, and then sent to a contour extraction section 4.
The contour extraction section 4 stores contour point data a, b, c, d, e, . . . , z of the object H in the storage section 5 as shown. The feature extractor 6 extracts features such as the center of gravity, area, and peak distance of the vector radius, that is, the longest value and the shortest value, from the contour point data in the storage part 5, and stores them in the memory 7. The identification unit 8 uses these characteristic parameters to identify the read object.
第6図に第5図の記憶部5内から取り出された
輪郭点データを示す。つまり、第5図の対象物H
は第6図の輪郭点a〜zによつて表現されてい
る。 FIG. 6 shows contour point data extracted from the storage unit 5 of FIG. In other words, the object H in Figure 5
is represented by contour points a to z in FIG.
従来は、動径の最長値及び最短値を求める際、
第6図における輪郭点a〜zのすべてについて、
動径A〜Zを求め、その中から最長値及び最短値
を決定する方法が採られていた。 Conventionally, when finding the longest and shortest values of the vector radius,
For all contour points a to z in FIG. 6,
A method has been adopted in which the radius vectors A to Z are determined and the longest and shortest values are determined from them.
〔発明が解決しようとする問題点〕
上記の如く、動径の最長値及び最短値を求める
際、従来方法では、輪郭点a〜zのすべてについ
て、その動径A〜Zを求めるため、処理時間が大
となる問題点があつた。[Problems to be Solved by the Invention] As mentioned above, when calculating the longest and shortest values of the vector radius, in the conventional method, the vector radius A to Z is calculated for all contour points a to z, so the processing is necessary. There was a time-consuming problem.
上記の問題点は、読取部と処理部とを有し、読
取部によつて読取られた画像の複数の輪郭点と重
心との間の動径長の内最長距離又は最短距離の少
くとも一方のピーク距離を算定する画像処理シス
テムにおいて、動径長を算定すべき輪郭点を選択
する選択手段と、重心と選択された輪郭点とを結
ぶ動径長を算出する手段と、算出された複数の動
径長からピーク距離を判別する手段とを備え、複
数点毎の輪郭点について動径長を算出し、第1の
動径長群を得、該算出された第1の動径長群の中
から仮のピーク距離を判定し、該仮のピーク距離
を示す輪郭点の周辺の輪郭点について動径長を算
出して第2の動径長を得、然る後、第2の動径長
群の中からピーク距離を判定して画像の動径長の
ピーク距離を得る本発明の画像データ処理方式に
よつて解決される。
The above problem is that the device has a reading section and a processing section, and at least one of the longest distance or the shortest distance among the radial lengths between the plurality of outline points of the image read by the reading section and the center of gravity. In an image processing system that calculates a peak distance of a vector, a selection means for selecting a contour point whose radius vector length is to be calculated, a means for calculating a radius vector length connecting a center of gravity and the selected contour point, and a plurality of calculated peak distances. means for determining the peak distance from the radial length of the contour point, and calculating the radial length for each of the plurality of contour points to obtain a first radial length group; Determine a temporary peak distance from among them, calculate the radius vector length for contour points around the contour point indicating the temporary peak distance to obtain a second radius vector length, and then calculate the second vector radius. This problem is solved by the image data processing method of the present invention, which determines the peak distance from among the radial length group to obtain the peak distance of the vector radius of the image.
上記のように本発明は、輪郭点データ数が所定
値を越えるときは、該輪部点データのうち、半数
程度の輪郭点について、その動径を求める演算を
行つて、動径の最長値及び最短値を決定する。従
つて、動径を求める演算が従来の方法に比べて少
なくて済むので処理効率が向上する。
As described above, when the number of contour point data exceeds a predetermined value, the present invention calculates the radius of about half of the contour points of the limbal point data, and calculates the longest radius of the radius. and determine the shortest value. Therefore, fewer calculations are required to determine the vector radius than in the conventional method, improving processing efficiency.
以下、本発明を図面によつて説明する。第1図
は本発明の一実施例を説明するブロツク図、第2
図は本発明の一実施例を説明するデータ図、第3
図及び第4図はフローチヤートである。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a block diagram explaining one embodiment of the present invention, and FIG.
Figure 3 is a data diagram explaining one embodiment of the present invention.
4 and 4 are flowcharts.
第1図において、読取部1によつて2で示され
る画像の画像データIが読み取られ2値化部3で
背景と対象物Hとにわけられた後、輪郭抽出部4
に送られる。この輪郭抽出部4において対象物H
の輪郭点データa〜zが抽出されて、記憶部5内
に格納される。 In FIG. 1, image data I of an image indicated by 2 is read by a reading unit 1 and separated into a background and an object H by a binarization unit 3, and then a contour extraction unit 4
sent to. In this contour extraction unit 4, the object H
The contour point data a to z are extracted and stored in the storage unit 5.
この輪郭点データa〜zから動径の最長値及び
最短値を求める本発明の概要は、次の通りであ
る。第2図は、画像データIから抽出された輪郭
点を示すデータ図であり、第3図のフローチヤー
トに従つて、第1図における処理部9の処理概要
を説明する。 The outline of the present invention for determining the longest and shortest values of the vector radius from the contour point data a to z is as follows. FIG. 2 is a data diagram showing contour points extracted from the image data I, and an outline of the processing of the processing unit 9 in FIG. 1 will be explained in accordance with the flowchart in FIG. 3.
処理部9は、 輪郭点(a〜z)の数を判定する。 The processing unit 9 is Determine the number of contour points (a-z).
その数が17個以下のときは、従来通り輪郭点
全部について動径の計算を行う(本発明の方法
では最小17個の動径を求める計算を必要とする
ため)。 If the number is 17 or less, the vector radius is calculated for all the contour points as usual (because the method of the present invention requires calculation to obtain a minimum of 17 vector radius).
これに対し輪郭点数が17個を越えるときは、
第2図aに示す輪郭点a〜zのうち、例えば同
図bに示すように、奇数番目の輪郭点、即ち
a,c,e……yについてのみ、その動径A,
C,E……Yを計算する。得られた動径の中か
ら最長値と、該最長値及び次長値を有する輪郭
点(最長点及び次長点)が求められる。同様
に、得られた動径の中から最短値と、該最短値
及び次短値を有する輪郭点(最短点及び次短
点)を知る。 On the other hand, when the number of contour points exceeds 17,
Among the contour points a to z shown in FIG. 2a, for example, as shown in FIG. 2b, only the odd-numbered contour points, that is, a, c, e...
C, E...Calculate Y. The longest value and the contour points (longest point and second length point) having the longest value and second length value are determined from among the obtained radius vectors. Similarly, the shortest value and the contour points (the shortest point and the next shortest point) having the shortest value and the next shortest value are determined from among the obtained radius vectors.
上記項で得られた最長点及び次長点の両隣
の輪郭点の動径を計算する。 Calculate the vector radius of the contour points on both sides of the longest point and second longest point obtained in the above section.
上記項で得られた動径(計算値)と、項
で得られた動径の最長値との比較を行う。 Compare the radius vector (calculated value) obtained in the above section with the longest value of the radius vector obtained in the section above.
前記項で得られた最短点及び次短点の両隣
りの輪郭点の動径を計算する。 Calculate the vector radius of the contour points on both sides of the shortest point and the next shortest point obtained in the above section.
上記項で得られた動径(計算値)と、項
で得られた動径の最短値との比較を行う。 The radius vector (calculated value) obtained in the above section is compared with the shortest value of the vector radius obtained in the section above.
以上の処理により、動径の最長値及び最短値が
決定される。 Through the above processing, the longest value and the shortest value of the radius vector are determined.
第4図は上記〜項の処理を更に詳細に示す
フローチヤートである。第4図において、
輪郭点数を判定する。 FIG. 4 is a flowchart showing the processing in the above sections 1 to 3 in more detail. In Figure 4, the number of contour points is determined.
輪郭点数が17以下のときは、従来方式の(全
部の輪郭点の動径を求める)計算を行う。 When the number of contour points is 17 or less, calculation using the conventional method (calculating the vector radius of all contour points) is performed.
輪郭点数が17を越えるときは、
第2図bにおける輪郭点aの動径Aを計算
し、仮りの最長値、最短値として初期設定し、
最長点、次長点、最短点、次短点として、輪郭
点aを設定する。 When the number of contour points exceeds 17, calculate the radius vector A of contour point a in Figure 2 b, and initialize it as the temporary longest value and shortest value.
Contour point a is set as the longest point, second longest point, shortest point, and second shortest point.
カウンタi(図示してない)に1をセツトす
る。 Set a counter i (not shown) to 1.
カウンタの値iに2を加算する。 Add 2 to the counter value i.
上記のカウンタ値iによつて指示されるi番
目の輪郭点(iが増える毎にc,e,g,……
と変化する)の動径を計算する。 The i-th contour point indicated by the above counter value i (c, e, g, . . . each time i increases)
) is calculated.
上記項での〔計算値〕と、今までに計算し
た動径中の〔最長値〕を比較して、〔最長値〕
が〔計算値〕より大きなとき、の処理へ移
る。 Compare the [calculated value] in the above section with the [longest value] in the radius vector calculated so far, and find the [longest value].
When is larger than [calculated value], move on to processing.
〔最長値〕が〔計算値〕より小さなとき、今
までの最長点を次長点とし、改めて、最長点に
はi番目の輪郭点を、〔最長値〕には、〔計算
値〕を設定し、の処理へ移る。 When [Longest value] is smaller than [Calculated value], set the longest point so far as the next length point, set the i-th contour point as the longest point, and set [Calculated value] as [Longest value]. , move on to processing.
〔最長値〕と〔計算値〕が等しいとき、改め
て、次長点にi番目の輪郭点を設定し、の処
理へ移る。 When [longest value] and [calculated value] are equal, the i-th contour point is set as the second long point again, and the process moves to step .
前記項での〔計算値〕と、今までに計算し
た動径中の〔最短値〕を比較して、〔最短値〕
が〔計算値〕より小さなとき、の処理へ移
る。 Compare the [calculated value] in the previous section with the [shortest value] in the radius vector calculated so far, and find the [shortest value].
When is smaller than [calculated value], move on to processing.
〔最短値〕が〔計算値〕より大きなとき、今
までの最短点を次短点とし、改めて、最短点に
は、i番目の輪郭点を、〔最短値〕には、〔計算
値〕を設定し、の処理へ移る。 When the [shortest value] is larger than the [calculated value], the previous shortest point is set as the next shortest point, and the i-th contour point is set as the shortest point, and the [calculated value] is set as the [shortest value]. Set and move on to processing.
〔最短値〕と〔計算値〕が等しいとき、改め
て、次短点i番目の輪郭点を設定し、の処理
へ移る。 When [shortest value] and [calculated value] are equal, the next short point i-th contour point is set again, and the process moves to step .
カウンタiの値が全輪郭点数以下のとき、
〜の処理を繰返す。 When the value of counter i is less than or equal to the total number of contour points,
Repeat the process.
上記の処理により例えば、第2図bに示すよう
に動径Aが最長値、Vが最短値、最長点がa、次
長点がk、最短点がv、次短点がqとして求めら
れる。 Through the above processing, for example, as shown in FIG. 2b, the radius vector A is determined as the longest value, V as the shortest value, the longest point as a, the second longest point as k, the shortest point as v, and the second shortest point as q.
第2図bにおける、最長点aの両隣りの輪郭点
b及びz、次長点kの両隣りの輪郭点j及びl、
最短点vの両隣りの輪郭点u及びw、次短点qの
両隣りの輪郭点p及びrについて、それぞれ動径
B,Z,J,L,U,W,P及びRを求める。そ
して動径A,B,Z,J,Lを比較することによ
つて最長値を、V,U,W,P,Rを比較するこ
とによつて、最短値を最終決定する。 In Fig. 2 b, contour points b and z on both sides of the longest point a, contour points j and l on both sides of the sub-length point k,
The radius vectors B, Z, J, L, U, W, P, and R are determined for the contour points u and w on both sides of the shortest point v, and the contour points p and r on both sides of the next short point q. The longest value is finally determined by comparing the radius vectors A, B, Z, J, and L, and the shortest value is finally determined by comparing the radius vectors V, U, W, P, and R.
再び第1図において、処理部9は、上記処理に
よつて得られた動径の最大値及び最小値をメモリ
7に格納する。 Referring again to FIG. 1, the processing unit 9 stores in the memory 7 the maximum and minimum values of the vector radius obtained by the above processing.
識別部8は、メモリ7内の面積や重心、上記の
方法で求められた動径の最長値や最短値などの特
徴パラメタを用いて、読取られた対象物Hの識別
を行う。 The identification unit 8 identifies the read object H using characteristic parameters such as the area and center of gravity in the memory 7, and the longest and shortest values of the vector radius determined by the above method.
本発明は、図形データからの特徴パラメータの
抽出において、図形を構成するすべての輪郭点に
ついての動径の計算を不要とするので、図形処理
の際の処理効率を向上せしめる効果をもたらす。
The present invention eliminates the need to calculate radius vectors for all contour points constituting a figure when extracting feature parameters from figure data, thereby improving processing efficiency during figure processing.
第1図は本発明の一実施例を説明するブロツク
図、第2図は本発明の一実施例を説明するデータ
図、第3図及び第4図は本発明の一実施例を説明
するフローチヤート、第5図は従来例を説明する
ブロツク図、第6図は従来例を説明するデータ
図、
図において、1は読取部、2は画像、3は2値
化部、4は輪郭抽出部、5は記憶部、6は特徴抽
出部、7はメモリ、8は識別部、9は処理部、1
0は主記憶部、A,B,B,E,J,K,L,
P,Q,R,U,V,W,Y,Zは動径、Gは重
心、Sは面積、a,b,c,d,e,f,p,
q,r,u,v,w,y,zは輪郭点を示す。
FIG. 1 is a block diagram explaining one embodiment of the present invention, FIG. 2 is a data diagram explaining one embodiment of the present invention, and FIGS. 3 and 4 are flow diagrams explaining one embodiment of the present invention. Chart, Figure 5 is a block diagram explaining the conventional example, and Figure 6 is a data diagram explaining the conventional example. In the figure, 1 is the reading section, 2 is the image, 3 is the binarization section, and 4 is the contour extraction section. , 5 is a storage unit, 6 is a feature extraction unit, 7 is a memory, 8 is an identification unit, 9 is a processing unit, 1
0 is the main memory, A, B, B, E, J, K, L,
P, Q, R, U, V, W, Y, Z are radius vectors, G is center of gravity, S is area, a, b, c, d, e, f, p,
q, r, u, v, w, y, z indicate contour points.
Claims (1)
取られた画像の複数の輪郭点と重心との間の動径
長の内最長距離又は最短距離の少くとも一方のピ
ーク距離を算定する画像処理システムにおいて、
動径長を算定すべき輪郭点を選択する選択手段
と、重心と選択された輪郭点とを結ぶ動径長を算
出する手段と、算出された複数の動径長からピー
ク距離を判別する手段とを備え、複数点毎の輪郭
点について動径長を算出し、第1の動径長群を
得、該算出された第1の動径長群の中から仮のピ
ーク距離を判定し、該仮のピーク距離を示す輪郭
点の周辺の輪郭点について動径長を算出して第2
の動径長を得、然る後、第2の動径長群の中から
ピーク距離を判定して画像の動径長のピーク距離
を得ることを特徴とする画像データ処理方式。1 It has a reading section and a processing section, and calculates the peak distance of at least one of the longest distance or the shortest distance among the radial lengths between multiple contour points of the image read by the reading section and the center of gravity. In an image processing system that
A selection means for selecting a contour point whose radius vector length is to be calculated, a means for calculating a radius vector length connecting the center of gravity and the selected contour point, and a means for determining a peak distance from the plurality of calculated radius vector lengths. Calculating the radial length for each contour point to obtain a first radial length group, determining a temporary peak distance from the calculated first radial length group, Calculate the radial length of the contour points around the contour point indicating the tentative peak distance and calculate the second
1. An image data processing method characterized in that the peak distance of the radial length of the image is obtained by determining the peak distance from a second group of radial vector lengths.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59174695A JPS6152780A (en) | 1984-08-22 | 1984-08-22 | Image data processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59174695A JPS6152780A (en) | 1984-08-22 | 1984-08-22 | Image data processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6152780A JPS6152780A (en) | 1986-03-15 |
| JPH0326876B2 true JPH0326876B2 (en) | 1991-04-12 |
Family
ID=15983055
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59174695A Granted JPS6152780A (en) | 1984-08-22 | 1984-08-22 | Image data processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6152780A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6324472A (en) * | 1986-07-17 | 1988-02-01 | Yokogawa Electric Corp | Picture processor |
| JPH06293049A (en) * | 1993-04-08 | 1994-10-21 | Japan Steel Works Ltd:The | Injection compression molding method and apparatus |
-
1984
- 1984-08-22 JP JP59174695A patent/JPS6152780A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6152780A (en) | 1986-03-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6128410A (en) | Pattern matching apparatus and method that considers distance and direction | |
| JP3065104B2 (en) | Fingerprint matching device | |
| EP3438883B1 (en) | Method and apparatus for detecting a common section in moving pictures | |
| KR19990041374A (en) | Surface search method in terrain tracking device | |
| JPS6313226B2 (en) | ||
| CN105654187A (en) | Grid binary tree method of control system midpoint locating method | |
| US20210241021A1 (en) | Information processing method and information processing system | |
| CN113961657B (en) | A fleet identification method, device, computer equipment and storage medium | |
| JPH0326876B2 (en) | ||
| JP2000010989A (en) | Similar object search method and apparatus, and recording medium storing similar object search program | |
| WO2025044944A1 (en) | Lane matching apparatus and method, and intelligent vehicle | |
| CN118965081A (en) | A method for identifying multiple accounts for one person based on online local sensitive hashing algorithm | |
| JP2000132692A (en) | Curve feature point extraction method and recording medium recording this method | |
| US20030109940A1 (en) | Device, storage medium and a method for detecting objects strongly resembling a given object | |
| JP2605961B2 (en) | Bending point detection method and device | |
| JP2000155841A (en) | Graphic recognition method, device therefor and recording medium recorded with graphic recognition program | |
| KR102864468B1 (en) | Accelerator for processing point cloud deep neural network and its operation method | |
| US5950204A (en) | Determining apparatus and determining method for inclusion relation between sets of parallel multiple ladder-structured data | |
| CN115049994B (en) | Lane line detection method and system and computer readable storage medium | |
| JPS61148497A (en) | Standard pattern generator | |
| KR100485819B1 (en) | High speed searching devece for digital data and method thereof | |
| JP3754118B2 (en) | Pattern recognition apparatus and pattern recognition method | |
| CN110704550A (en) | Method for efficiently extracting large-data-volume topological-free vector polygon common edges | |
| CN119180965A (en) | Multi-scale point cloud feature extraction method and device based on feature point division neighborhood | |
| JPH0381889A (en) | Character recognition system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |