JPH0318229B2 - - Google Patents
Info
- Publication number
- JPH0318229B2 JPH0318229B2 JP60062129A JP6212985A JPH0318229B2 JP H0318229 B2 JPH0318229 B2 JP H0318229B2 JP 60062129 A JP60062129 A JP 60062129A JP 6212985 A JP6212985 A JP 6212985A JP H0318229 B2 JPH0318229 B2 JP H0318229B2
- Authority
- JP
- Japan
- Prior art keywords
- label
- temporary
- labels
- unit
- region
- 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
Links
Landscapes
- Image Analysis (AREA)
Description
〔概要〕
本発明は領域のラベル付け方式に係り、直接接
続している暫定ラベルを検出後その追跡を行うこ
とにより高速で間接接続している暫定ラベルを検
出するようにして、暫定のラベルを更新し領域の
ラベル付け処理の高速化を図つたものである。
〔産業上の利用分野〕
本発明は領域のラベル付け方式に関する。
一般に、第7図Aに示すように、と〓で表わ
される2値画像において背景Hの部分が〓で、領
域I1,I2,I3の部分はで、それぞれ表現されて
いる。
しかし、単に領域部分がで表わされるだけで
はI1とI2とI3の区別がつかない。
そこで、第7図Bのように、同じで表現され
る3つの領域に、1、2、3のようにラベルを付
ければそれらの間に明確な区別ができる。
例えば、図示する領域がそれぞれ染色体であ
り、その面積を求める場合、第7図Bのように各
染色体に1、2、3のラベル付けを行つて予め区
別をしておいて構成画素のヒストグラムを算出
すれば、それぞれの面積は簡単に求まる。
本発明は、このように各領域が2値画像で表現
される領域のうちのどれかを明確に判明できるよ
うにしたラベル付け方式に関する。
〔従来の技術及び発明が解決しようとする問題
点〕
従来のラベル付け方式は、小領域ごとに暫定ラ
ベルを付加した後それらの接続関係を検出し、小
領域により形成された連続領域に通し番号から成
る暫定ラベルを変更付加する方式であつた。
しかし、上記通し番号に変換するに際しては暫
定ラベルのクラスタリングを行うが、従来のクラ
スタリング方式は多くの演算処理工程を必要とす
る。
このため、従来のラベル付け方式は高速実行が
困難であるという問題点があつた。
〔問題点を解決するための手段及び作用〕
本発明は暫定ラベルの接続関係が平面グラフを
構成するという性質を利用することにより上記問
題点を解消し高速ラベル付けを目的とするもので
あつて、その手段は暫定ラベル取付部とラベル整
理部と直接接続ラベル検出部とラベル追跡部とラ
ベル更新部より成り、この手段によつて暫定ラベ
ルのクラスタリング処理に要する演算量を削減す
ることができるので高速のラベル付け処理が可能
となる。
〔実施例〕
以下、本発明を実施例により添付図面を参照し
て説明する。
第1図は、本発明方式の構成図であり、暫定ラ
ベル取付部11、ラベル整理部21、直接接続ラベ
ル検出部31、ラベル追跡部41及び1ラベル更新
部51から構成されている。
上記暫定ラベル取付部11はウインドにより2
値画像を走査することにより初期値を1とするラ
ベルを暫定的に取付ける装置である。
ラベル整理部21は、上記暫定ラベルの接続関
係のうちで重複部分を整理する装置である。直接
ラベル検出部31は、上述した整理された接続関
係から各小領域が直接に接続しているすべての小
領域を検出し、後述する直接接続テーブルを作成
する装置である。
また、ラベル追跡部41は、上記直接接続テー
ブルの内容に基いてラベルの追跡を行つて、直接
又は間接に接続しているすべての暫定ラベルを検
出する装置である。
更に、ラベル更新部51は、上記ラベルの追跡
結果に基いて暫定ラベルを変更する装置である。
以下、上記構成を有する第1図の装置の動作を
第2図乃至第6図に基いて説明する。
暫定ラベル取付部11は、第2図に示すウイン
ドWによつて画像Gをα方向に向かつて走査し、
j、i方向にラベル付けを行う。
第2図のウインドWは、a、b、cで指称され
る3つの窓を有し、その論理演算は、第1表に示
すとおりである。
[Summary] The present invention relates to an area labeling method, in which provisional labels that are directly connected are detected and tracked, and provisional labels that are indirectly connected are detected at high speed. This update aims to speed up the area labeling process. [Industrial Field of Application] The present invention relates to a region labeling scheme. Generally, as shown in FIG. 7A, in a binary image represented by and, the background H portion is represented by , and the areas I 1 , I 2 , and I 3 are represented by . However, it is not possible to distinguish between I 1 , I 2 , and I 3 simply by expressing the area. Therefore, as shown in FIG. 7B, if the three areas that are expressed in the same way are labeled as 1, 2, and 3, a clear distinction can be made between them. For example, if each of the illustrated regions is a chromosome and its area is to be determined, each chromosome is labeled 1, 2, and 3 to distinguish them in advance, as shown in Figure 7B, and a histogram of the constituent pixels is created. If you do the calculations, you can easily find the area of each area. The present invention relates to a labeling method that makes it possible to clearly identify which of the regions each region is represented by a binary image. [Problems to be solved by the prior art and the invention] The conventional labeling method adds a temporary label to each small area, then detects the connection relationship between them, and assigns serial numbers to continuous areas formed by the small areas. The method was to change and add a temporary label consisting of: However, when converting into the serial number, clustering of provisional labels is performed, but the conventional clustering method requires many arithmetic processing steps. For this reason, conventional labeling methods have had the problem of being difficult to execute at high speed. [Means and effects for solving the problems] The present invention aims to solve the above problems and achieve high-speed labeling by utilizing the property that the connection relationships of temporary labels constitute a planar graph. , the means consists of a temporary label attaching section, a label organizing section, a directly connected label detecting section, a label tracking section, and a label updating section, and by this means, the amount of calculation required for clustering processing of temporary labels can be reduced. High-speed labeling processing becomes possible. [Example] Hereinafter, the present invention will be described by way of example with reference to the accompanying drawings. FIG. 1 is a block diagram of the system of the present invention, which is composed of a temporary label attaching section 1 1 , a label organizing section 2 1 , a directly connected label detecting section 3 1 , a label tracking section 4 1 and a label updating section 5 1 . ing. Temporary label attachment part 1 above 1 is installed by window 2
This is a device that temporarily attaches a label with an initial value of 1 by scanning a value image. The label organizing section 21 is a device that organizes overlapping parts among the connections of the temporary labels. The direct label detection unit 3 1 is a device that detects all small areas to which each small area is directly connected from the above-described organized connection relationships and creates a direct connection table to be described later. The label tracking unit 41 is a device that tracks labels based on the contents of the direct connection table and detects all temporary labels that are directly or indirectly connected. Furthermore, the label updating unit 5 1 is a device that changes the temporary label based on the label tracking result. Hereinafter, the operation of the apparatus shown in FIG. 1 having the above configuration will be explained based on FIGS. 2 to 6. The temporary label attaching unit 11 scans the image G in the α direction using the window W shown in FIG.
Labeling is performed in the j and i directions. The window W in FIG. 2 has three windows designated by a, b, and c, and the logical operations thereof are as shown in Table 1.
【表】
第1表において、「入力」の欄は窓a,b,c
から入力される信号を、「動作」の欄は窓cによ
つて領域の各部即ち小領域に付される暫定ラベル
を、それぞれ表わしている。
上記a,b,cの各入力のうち*は不定、NZ
は零以外を、それぞれ示している。
暫定ラベル取付部11は、上記第1表の論理演
算により小領域に暫定ラベルを付すが、a=*、
b=*、c=0(第3図Aの左図)の場合は、c
=0(第3図Aの右図)、即ちラベルは付されな
い。
a=0、b=0、c≠0の場合(第3図Bの左
側)は、暫定的にc=L、即ち初期値L=1のラ
ベルを取付ける(第3図Bの右側)。ここに初め
てラベルが発生する。
a=0、b≠0、c≠0の場合(第3図Cの左
側)、c=b=L、即ちcおよびbに対して前回
と同じラベルL=1を付ける。
これは、a≠0、b=0、c≠0の場合も同様
であり、c=a=L、即ちcおよびaに対して前
回と同じラベルL=1を付ける。
次に、a、b、cがすべて零でなく、窓Wが完
全に領域Iに入つた場合(第3図Dの左側)、取
付けられている暫定ラベルLとL′をa、bによつ
て比較し、c=Min(a、b)即ち小さい方、例
えば、Lを暫定ラベルとして取付ける(第3図D
の右側)。
次に、暫定ラベル取付部11は、各小領域に取
付けられた暫定ラベルの接続関係を検出する。こ
の場合の演算論理は第2表に示すとおりである。
この接続関係の検出は、例えば第3図Dのように
同じ領域内でありながら異なる暫定ラベルa=
L、b=L′が取付けられた場合の接続関係を検出
する。[Table] In Table 1, the "input" column is in windows a, b, and c.
The ``operation'' column represents the temporary label attached to each part of the area, that is, the small area, by the window c. Among the inputs a, b, and c above, * is undefined, NZ
indicates a value other than zero. The temporary label attaching unit 1 1 attaches a temporary label to the small area using the logical operations shown in Table 1 above.
If b = *, c = 0 (left diagram of Figure 3 A), c
=0 (right side of FIG. 3A), ie, no label is attached. If a=0, b=0, c≠0 (left side of FIG. 3B), a label of c=L, that is, initial value L=1 is provisionally attached (right side of FIG. 3B). This is where the label appears for the first time. If a=0, b≠0, c≠0 (left side of FIG. 3C), c=b=L, that is, the same label L=1 as before is given to c and b. This is the same in the case of a≠0, b=0, and c≠0, and c=a=L, that is, the same label L=1 as last time is attached to c and a. Next, if a, b, and c are all non-zero and the window W completely enters the area I (left side of Figure 3 D), change the attached temporary labels L and L' by a and b. c = Min (a, b), that is, the smaller one, for example, L, is attached as a temporary label (Fig. 3D
right side). Next, the temporary label attaching unit 1 1 detects the connection relationship of the temporary labels attached to each small area. The arithmetic logic in this case is as shown in Table 2.
Detection of this connection relationship is carried out by, for example, as shown in FIG.
Detect the connection relationship when L, b=L' is installed.
上記のとおり、本発明によれば、従来のように
暫定ラベルのクラスタリングを行うことなく、小
領域ごとに付加した暫定ラベルを検出後にその追
跡を行い、接続関係を検出し該接続関係ごとに上
記暫定ラベルを変更して同じ暫定ラベルを付加す
ることにより、暫定ラベル付け処理を高速に行う
ことが可能となつた。
As described above, according to the present invention, without performing clustering of provisional labels as in the past, provisional labels added to each small area are detected and tracked, connection relationships are detected, and the above-mentioned By changing the temporary label and adding the same temporary label, it has become possible to perform the temporary labeling process at high speed.
第1図は本発明方式の構成図、第2図は本発明
方式に使用されるウインドの構成図、第3図A〜
Dは暫定ラベル取付部の動作説明図、第4図A〜
Cはラベル整理部の動作説明図、第5図A,Bは
直接接続ラベル検出部の動作説明図、第6図A,
Bはラベル追跡部及び更新部の動作説明図、第7
図A,Bは産業上の利用分野の説明図である。
11……暫定ラベル取付部、21……ラベル整理
部、31……直接接続ラベル検出部、41……ラベ
ル追跡部、51……ラベル更新部。
Fig. 1 is a block diagram of the method of the present invention, Fig. 2 is a block diagram of a window used in the method of the present invention, and Figs.
D is an explanatory diagram of the operation of the temporary label attaching part, and Fig. 4 A~
C is an explanatory diagram of the operation of the label sorting section, FIGS. 5A and B are explanatory diagrams of the operation of the directly connected label detection section, and FIGS. 6A,
B is an explanatory diagram of the operation of the label tracking unit and update unit, 7th
Figures A and B are explanatory diagrams of industrial application fields. 1 1 ... Temporary label attaching section, 2 1 ... Label organizing section, 3 1 ... Direct connection label detection section, 4 1 ... Label tracking section, 5 1 ... Label updating section.
Claims (1)
域にラベルを付けるようにしたラベル付け方式に
おいて、上記画像を走査してビデオ信号を入力し
該入力信号に対応して小領域ごとに暫定ラベルを
取り付けると共に既設の近傍暫定ラベルとの接続
関係を検出する暫定ラベル取付部と、上記接続関
係のうち重複部分をまとめて整理した接続関係を
生成するラベル整理部と、上記整理された接続関
係に基いて直接接続テーブルを生成する直接接続
ラベル検出部と、列(行)方向に領域に付与され
た暫定ラベル、行(列)方向に該暫定ラベルと直
接に接続するすべての暫定ラベルをまとめた直接
接続テーブルと、上記直接接続テーブルを検索し
て相互に接続している暫定ラベルのグループを生
成するラベル追跡部と、上記各グループの暫定ラ
ベルを変更して各グループごとに同じラベルを付
加するラベル更新部から構成されていることを特
徴とする領域のラベル付け方式。1 In a labeling method in which a label is attached to the above region of an image in which the background and the region can be represented by binary values, the above image is scanned, a video signal is input, and a temporary image is created for each small region in response to the input signal. a temporary label attaching unit that attaches the label and detects connection relationships with existing nearby temporary labels; a label organizing unit that generates connection relationships that organize overlapping parts of the connection relationships; and the organized connection relationships. A direct connection label detection unit that generates a direct connection table based on , a provisional label given to an area in the column (row) direction, and a collection of all provisional labels that are directly connected to the provisional label in the row (column) direction. a direct connection table, a label tracking unit that searches the above direct connection table and generates a group of mutually connected temporary labels, and changes the temporary label of each group and adds the same label to each group. 1. A region labeling method comprising a label updating unit that updates a label.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6212985A JPS61221981A (en) | 1985-03-28 | 1985-03-28 | Label attachment system for area |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6212985A JPS61221981A (en) | 1985-03-28 | 1985-03-28 | Label attachment system for area |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61221981A JPS61221981A (en) | 1986-10-02 |
| JPH0318229B2 true JPH0318229B2 (en) | 1991-03-12 |
Family
ID=13191153
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6212985A Granted JPS61221981A (en) | 1985-03-28 | 1985-03-28 | Label attachment system for area |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61221981A (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59208667A (en) * | 1983-05-13 | 1984-11-27 | Matsushita Electric Ind Co Ltd | Labelling device |
| JPS6014376A (en) * | 1983-07-05 | 1985-01-24 | Fujitsu Ltd | Segmentation circuit |
-
1985
- 1985-03-28 JP JP6212985A patent/JPS61221981A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61221981A (en) | 1986-10-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Fukada | A primary algorithm for the understanding of logic circuit diagrams | |
| JPH0318229B2 (en) | ||
| JPH0344349B2 (en) | ||
| JPH0231428B2 (en) | RYOIKINORABERUTSUKEKAIRO | |
| Bailey | Raster based region growing | |
| Jain et al. | Analyzing a real world scene sequence using fuzziness | |
| Komeichi et al. | Video-rate labeling processor | |
| JPH03206574A (en) | Raster scan type labeling processing system | |
| JPH07229726A (en) | Object angle detection method | |
| JP2617135B2 (en) | Labeling device for connected areas | |
| JPS61221980A (en) | Label attachment system for area | |
| JPS62219177A (en) | Control and processing system for attaching label on area | |
| JP2697117B2 (en) | Labeling device for moving images | |
| JPH011076A (en) | Image processing device for real-time center of gravity position detection | |
| Venable et al. | A rule-based system for improving on image segmentation | |
| JPH03135680A (en) | Line end detecting method of linear graphic | |
| JP2739816B2 (en) | Overlap image judging device | |
| JP2522511B2 (en) | Image contour tracking unit | |
| JPH04169987A (en) | Method for detecting character string in image information | |
| JPS58142467A (en) | Picture data processor | |
| Haifeng et al. | A new edge extracting method for vehicle navigation | |
| JPS59188775A (en) | Picture processing device | |
| JPS6356763A (en) | Image data area division method | |
| JPH0644289B2 (en) | Connected area labeling circuit | |
| JPH07129779A (en) | Intruding object recognizing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |