JPH05342350A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH05342350A
JPH05342350A JP14782692A JP14782692A JPH05342350A JP H05342350 A JPH05342350 A JP H05342350A JP 14782692 A JP14782692 A JP 14782692A JP 14782692 A JP14782692 A JP 14782692A JP H05342350 A JPH05342350 A JP H05342350A
Authority
JP
Japan
Prior art keywords
label
label number
provisional
processing
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14782692A
Other languages
Japanese (ja)
Inventor
Yuichi Fujino
雄一 藤野
Takeshi Ogura
武 小倉
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP14782692A priority Critical patent/JPH05342350A/en
Publication of JPH05342350A publication Critical patent/JPH05342350A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To perform the labeling processing which does not put restrictions on the number of temporary labels with a small amount of hardware by using a CAM as the temporary label picture memory. CONSTITUTION:The difference processing between an inputted picture signal and a picture signal stored in a frame memory part 21 is performed. The separated picture signal is binarized by a binarization processing part 23, and the background area and the object area are separated. A processing mask acts on the seapared binary pictures raster-like by a temporary labeling processing part 7 to determine a temporary label number of a picture element X. A temporary label rewrite instructing part 25 discriminates size relations of temporary label numbers stored in a connection relation storage part 24 and inputs the instruction, which rewrites larger label numbers with smaller label numbers, to a CAM part 26. The CAM part 26 rewrites all temporary label numbers stored on the CAM based on the rewrite instruction.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、テレビカメラ等により
撮像された画像を2値化し、背景領域と物体領域とを分
離し、分離された物体の閉領域にリアルタイムにラベル
番号を付与する処理(ラベリング処理)を行う画像処理
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a process for binarizing an image picked up by a television camera or the like, separating a background region and an object region, and giving a label number to the closed region of the separated object in real time. The present invention relates to an image processing apparatus that performs (labeling processing).

【0002】[0002]

【従来の技術】ラベリング処理を行う画像処理装置とし
ては、ラスタ走査型、ランコード型、境界追跡型の3種
類に分類できる。画像処理装置の実現にあたっては、当
該処理のリアルタイム処理の可能性、回路規模、実現の
容易性などからラスタ走査型が一般的に用いられてい
る。よって、ラスタ走査型ラベリング処理アルゴリズム
について説明した後、該アルゴリズムを用いたラスタ走
査型ラベリング処理用画像処理装置の従来技術について
説明する。
2. Description of the Related Art Image processing apparatuses that perform labeling processing can be classified into three types: raster scan type, run code type, and boundary tracking type. In realizing an image processing apparatus, a raster scanning type is generally used because of the possibility of real-time processing, the circuit scale, the ease of realization, and the like. Therefore, after the raster scanning type labeling processing algorithm is described, the conventional technique of the image processing apparatus for raster scanning type labeling processing using the algorithm will be described.

【0003】ます最初にラベリング処理により番号付け
される閉領域について説明する。まず、ラベリング処理
の前に、画像を2値化し、背景領域と物体領域に分離
し、背景領域を「0」、物体領域を「1」とする。閉領
域とは以下に述べる連結点で接続されているひとつの物
体領域のことである。図8は4近傍、4隣接点または8
近傍、8隣接点について説明する図である。ここで、あ
る画素x0 (i、j)を中心に3×3ブロックを考え
る。このとき、x0 を中心に画素の集合{x1 、x 3
5 、x7 }をx0 の4近傍または4隣接点といい、ま
た、画素の集合{x 1 、x2 、x3 、x4 、x5
6 、x7 、x8 }をx0 の8近傍または8隣接点とい
う。例えば2値化後の物体領域を「1」とすると、該
「1」の領域が上記4隣接点または8隣接点上にあれ
ば、画素xと8隣接点または4隣接点上の点とは連結し
ていることとし、連結された点の集合は閉領域となる。
Increasingly numbering by labeling process
The closed region to be described will be described. First, the labeling process
Before, the image is binarized and separated into background area and object area
Then, the background area is set to “0” and the object area is set to “1”. Closure
Area is one thing connected at the connection point described below.
The body area. Figure 8 shows 4 neighborhoods, 4 neighbors or 8
It is a figure explaining a neighborhood and 8 adjacent points. Where
Pixel x0Consider a 3 × 3 block centered on (i, j)
It At this time, x0A set of pixels {x1, X 3,
xFive, X7} X04 neighbors or 4 adjacent points of
A set of pixels {x 1, X2, X3, XFour, XFive,
x6, X7, X8} X08 neighbors or 8 adjacent points
U For example, if the object region after binarization is “1”,
There is a region of "1" on the 4 or 8 adjacent points.
For example, connect pixel x to a point on the 8th adjacent point or 4th adjacent point.
The set of connected points is a closed region.

【0004】次にラスタ走査型ラベリング処理のラベル
付けアルゴリズムについて説明する。一般的に、ラスタ
走査型ラベリング処理は画像の左上隅を開始点とし、ラ
スタ状に走査を行う。上記4隣接点または8隣接点を検
出するため、図8に示すような3×3のマスクが必要に
なるが、通常のラベリング処理では、ラベル付け処理済
みの点のみを探索すればよい。
Next, a labeling algorithm of the raster scanning type labeling process will be described. In general, the raster scanning type labeling process scans in a raster manner starting from the upper left corner of the image. A 3 × 3 mask as shown in FIG. 8 is required to detect the above-mentioned 4 adjacent points or 8 adjacent points, but in the ordinary labeling processing, it is only necessary to search for the points for which labeling processing has been completed.

【0005】図9は暫定ラベル付け処理に使用する処理
マスクを示す図である。ここで、Xは注目点、a、b、
c、dは8隣接点における探索点である。4隣接点の場
合にはこのうちa、cのみを探索すればよい。以下、8
隣接点の探索について説明する。
FIG. 9 is a view showing a processing mask used for the provisional labeling processing. Where X is the point of interest, a, b,
c and d are search points at 8 adjacent points. In the case of four adjacent points, only a and c need to be searched. Below, 8
The search for adjacent points will be described.

【0006】図10はラスタ走査型ラベリング処理アル
ゴリズムを説明する図であり、1は入力された2値画
像、2は暫定ラベル画像、3は連結関係テーブルTa、
4はルックアップテーブルLUT、5は最終ラベル画像
である。
FIG. 10 is a diagram for explaining a raster scanning type labeling processing algorithm. 1 is an input binary image, 2 is a temporary label image, 3 is a connection relation table Ta,
Reference numeral 4 is a lookup table LUT, and 5 is a final label image.

【0007】ラスタ状に走査を開始し、注目点画素が背
景領域か物体領域かを判定する。注目点が物体領域、す
なわち「1」の場合、図9における注目点前後の画素
a、b、c、d点を探索し、それらの中に「1」の画素
が検出されれば注目点と同一の領域にある画素と判断さ
れ、検出された画素が有するラベル番号と同じ番号が暫
定的に与えられる。「1」の画素が検出されなければ新
たな領域として従来のラベル番号をインクリメントした
新暫定ラベル番号が付与され、暫定ラベル画像に記録さ
れる。ここで、a、b、c、d点に異なるラベル番号が
付与されていた場合、これらのラベルは同じ閉領域に属
するものであるため、この関係を、例えば「2」は
「4」と連結し、「4」は「5」と連結し、「3」は
「2」と連結し・・・ているの如くラベル連結関係テー
ブルTa3に記録しておく。この処理を次々と実施し、
最終的にすべての画素に暫定ラベルが与えられた暫定ラ
ベル画像2が完成する。
Scanning is started in a raster form, and it is determined whether the pixel of interest is the background area or the object area. When the target point is the object region, that is, “1”, the pixels a, b, c, and d points before and after the target point in FIG. 9 are searched, and if the pixel of “1” is detected among them, the target point is determined. It is determined that the pixels are in the same region, and the same number as the label number of the detected pixel is provisionally given. If the pixel of "1" is not detected, a new provisional label number obtained by incrementing the conventional label number is given as a new area and recorded in the provisional label image. Here, when different label numbers are given to the points a, b, c, and d, these labels belong to the same closed region, and therefore this relationship is concatenated with, for example, “2” and “4”. However, "4" is connected to "5", "3" is connected to "2", and so on, and is recorded in the label connection relation table Ta3. Perform this process one after another,
Finally, the provisional label image 2 in which the provisional labels are given to all the pixels is completed.

【0008】次に、ラベル連結関係テーブルTa3を使
用して、同じ領域にあるラベル番号を、例えば「1」は
「1」と独立しており、「2」ないし「5」は「2」と
してまとまり、「6」は「3」として独立し・・・てい
るの如く、ラベルをまとめるクラスタリング処理を行
い、連結関係にある暫定ラベル同士をひとつのラベルに
まとめ、まとめられたラベル番号をルックアップテーブ
ルLUT4に記録する。最後に、ルックアップテーブル
LUT4を使用して、暫定ラベル番号を最終的なラベル
番号に更新する。このようにして、8隣接点の集合で形
成される同一ラベル番号を持った閉領域を有する最終ラ
ベル画像5が求められる。
Next, using the label concatenation relationship table Ta3, the label numbers in the same area are set as, for example, "1" is independent of "1" and "2" to "5" are "2". As a grouping, "6" is independent as "3" ... Clustering process for grouping labels is performed, provisional labels having a connection relationship are grouped into one label, and the grouped label number is looked up. Record in table LUT4. Finally, the look-up table LUT4 is used to update the provisional label number to the final label number. In this way, the final label image 5 having a closed region having the same label number formed by a set of 8 adjacent points is obtained.

【0009】通常、ラベル連結関係テーブルを使用した
クラスタリング処理にソフトウェア処理を必要とし、か
つその処理時間が暫定ラベル数L(*)の2乗に比例す
るために、リアルタイム処理を阻害する要因となってい
た。そこで、ラスタ走査型ラベリング処理を使用した従
来の画像処理装置は、暫定ラベル数L(*)を減らすこ
と、クラスタリング処理アルゴリズムを工夫すること、
の2点が行われている。以下に、この2点の処理を施し
た従来の画像処理装置について説明する。
Usually, the clustering process using the label connection relation table requires software processing, and its processing time is proportional to the square of the provisional label number L (*), which is a factor that hinders real-time processing. Was there. Therefore, the conventional image processing apparatus using the raster scanning type labeling processing reduces the provisional label number L (*), devises a clustering processing algorithm,
There are two points. A conventional image processing apparatus that has performed these two points will be described below.

【0010】ラスタ走査型にラベリング処理を行う従来
の画像処理装置としてはパイプライン型高速ラベル付け
アルゴリズムを用いた画像処理装置(“パイプライン型
高速ラベル付けアルゴリズム”、情報処理学会コンピュ
ータビジョン研究報告43−1、1986;“ビデオレ
ート・ラベリングプロセッサ”、情報処理学会コンピュ
ータビジョン研究報告54−1’98)がある。当該装
置はリアルタイム処理う行うために、ラベリングの前処
理として画像に膨張処理を施し暫定ラベル数を削減さ
せ、その後グラフ理論を用いてクラスタリング処理の演
算量を削減させている。
As a conventional image processing apparatus for performing raster scanning type labeling processing, an image processing apparatus using a pipeline type high speed labeling algorithm (“pipeline type high speed labeling algorithm”, Computer Processing Research Report of Information Processing Society of Japan 43). -1, 1986; "Video Rate Labeling Processor", Information Processing Society of Japan, Computer Vision Research Report 54-1'98). In order to perform real-time processing, the apparatus performs dilation processing on the image as pre-processing for labeling to reduce the number of provisional labels, and then uses graph theory to reduce the calculation amount of clustering processing.

【0011】以下に膨張処理、グラフ理論を用いたクラ
スタリング処理について説明する。図11は従来装置の
ラベリング処理部の構成を示す図であり、6は前処理
部、7は暫定ラベル付け処理部、8は画像復元部、9は
画像データ遅延部、10はラベル更新部、11は接続関
係整理部、12はクラスタリング処理部である。
The dilation processing and the clustering processing using graph theory will be described below. FIG. 11 is a diagram showing a configuration of a labeling processing unit of a conventional device, 6 is a preprocessing unit, 7 is a temporary labeling processing unit, 8 is an image restoration unit, 9 is an image data delay unit, 10 is a label updating unit, Reference numeral 11 is a connection relation organizing unit, and 12 is a clustering processing unit.

【0012】まず、2値化された画像データは前処理部
6に入力され、暫定ラベル数を減らすために入力画像の
凹部分を膨張させる。具体的には3×3のマスクを作用
させ、中心画素の値が「0」の場合、周辺画素の組み合
わせにより隣り合う領域が接続しない場合には中心画素
の値を「1」にする。図12に膨張処理の演算論理を示
す。ここで、x0 ・・・x8 は図8に示す3×3のマス
クの各画素に対応し、*は「0」または「1」の値を持
つ。入力が図示のいずれかのパターンの場合にx0 の出
力を「1」とし、それ以外の場合にx0 の出力を「0」
とするようにする。膨張された各領域は、暫定ラベル付
け処理部7により暫定ラベルを付与された後、画像復元
部8で膨張処理前の2値画像と論理積をとることにより
形状を復元する。
First, the binarized image data is input to the preprocessing unit 6, and the recessed portion of the input image is expanded in order to reduce the number of provisional labels. Specifically, a 3 × 3 mask is operated to set the value of the central pixel to “1” when the value of the central pixel is “0” and when adjacent regions are not connected due to the combination of peripheral pixels. FIG. 12 shows the arithmetic logic of the expansion process. Here, x 0 ... x 8 correspond to each pixel of the 3 × 3 mask shown in FIG. 8, and * has a value of “0” or “1”. If the input is one of the patterns shown in the figure, the output of x 0 is set to “1”, and the output of x 0 is set to “0” otherwise.
And so on. After the provisional label is given by the provisional labeling processing unit 7, the expanded regions are restored in shape by taking a logical product with the binary image before the expansion processing in the image restoration unit 8.

【0013】暫定ラベル付け処理部7では、上述した前
処理部6により膨張された2値画像が入力され、前述し
たラベリング処理により暫定ラベル付けを行う。ラベル
付けの際、各画素の連結関係が検出されラベル連結関係
テーブルTaに記録される。1画面すべての画素に対し
て暫定ラベル付け処理を行った後、ラベル連結関係テー
ブルは接続関係整理部11にてクラスタリング処理のた
めのポインタテーブルの作成などの処理が行われる。前
述したように、通常のクラスタリング処理では、暫定ラ
ベル数L(*)の2乗に比例して演算量が多くなるため
に、当該従来装置ではグラフ理論を用いてクラスタリン
グ処理の演算量を削減している。グラフ理論では、暫定
ラベルL(*)をノード、接続関係Cmをアークとみな
すと、以下に示す関係がある。
In the provisional labeling processing unit 7, the binary image expanded by the preprocessing unit 6 described above is input, and provisional labeling is performed by the labeling process described above. At the time of labeling, the connection relation of each pixel is detected and recorded in the label connection relation table Ta. After the provisional labeling process is performed on all the pixels on one screen, the label connection relation table is subjected to processes such as creation of a pointer table for clustering process in the connection relation organizing unit 11. As described above, in the normal clustering process, the calculation amount increases in proportion to the square of the provisional label number L (*). Therefore, the conventional device reduces the calculation amount of the clustering process by using the graph theory. ing. In the graph theory, when the provisional label L (*) is regarded as a node and the connection relation Cm is regarded as an arc, there are the following relations.

【0014】Cm≦3L(*)−6 上記関係から、アークの数はノード数、すなわち暫定ラ
ベル数L(*)に比例することになる。
Cm ≦ 3L (*)-6 From the above relationship, the number of arcs is proportional to the number of nodes, that is, the provisional label number L (*).

【0015】次に、作成されたポインタテーブル、ラベ
ル連結関係テーブルはクラスタリング処理部12に入力
され、暫定ラベル数L(*)に比例した演算量でクラス
タリング処理が行われ、更新用のルックアップテーブル
LUT4が作成される。最後にラベル更新部10にルッ
クアップテーブルLUT4が入力され、画像データ遅延
部9でクラスタリング処理の時間に応じて遅延させられ
た暫定ラベル画像の暫定ラベル番号が更新される。
Next, the created pointer table and label concatenation relationship table are input to the clustering processing unit 12, the clustering processing is performed with an amount of calculation proportional to the provisional label number L (*), and a lookup table for update is used. LUT4 is created. Finally, the look-up table LUT 4 is input to the label update unit 10, and the image data delay unit 9 updates the temporary label number of the temporary label image delayed according to the time of the clustering process.

【0016】[0016]

【発明が解決しようとする課題】以上説明した従来の画
像処理装置では、暫定ラベル数L(*)を削減するため
に、前処理部6にて膨張処理を行い、得られた膨張画像
に対して暫定ラベル付け処理を実施し、暫定ラベル画像
と膨張処理前の2値画像との論理積をとって暫定ラベル
画像を復元する処理を行っているため、前処理部6に多
くの処理量を必要とする。本処理は基本的にパイプライ
ンで処理しているために実時間処理は可能であるが、そ
のためのハード量が大きくなる欠点がある。また、グラ
フ理論を使用しても基本的に処理量は暫定ラベル数L
(*)に比例するためにL(*)を大きくすることがで
きない。そのために、前処理部でL(*)を削減させて
いるが、処理クロックの関係から、暫定ラベル数L
(*)が2000程度までしか処理できない欠点があ
る。当該従来法によれば、暫定ラベル数L(*)が20
00を越えた場合には、オーバーフローとしラベリング
処理を行わず入力画像をそのまま出力しているため、所
望のラベル画像を得ることができない。
In the conventional image processing apparatus described above, in order to reduce the provisional label number L (*), the preprocessing unit 6 performs expansion processing, and the expansion image obtained is subjected to expansion processing. Since the provisional labeling process is performed by performing the logical product of the provisional label image and the binary image before the expansion process to restore the provisional label image, a large amount of processing is applied to the preprocessing unit 6. I need. Since this processing is basically pipelined, real-time processing is possible, but there is a drawback in that the amount of hardware for that processing becomes large. Even if the graph theory is used, the amount of processing is basically the provisional label number L
Since it is proportional to (*), L (*) cannot be increased. For this reason, L (*) is reduced in the preprocessing unit, but the provisional label number L
(*) Has a drawback that it can only process up to about 2000. According to the conventional method, the provisional label number L (*) is 20
When the number exceeds 00, the input image is output as it is without performing the labeling process as an overflow, so that a desired label image cannot be obtained.

【0017】本発明は、従来のラベリング処理用画像処
理装置における、暫定ラベル数L(*)を削減するため
の前処理部のハード量が大きくなる欠点、クラスタリン
グ処理の際、グラフ理論を使用してもその処理量は暫定
ラベル数L(*)に比例し、該暫定ラベル数L*を20
00程度に制限しなければならない欠点を解決し、小型
のハードウェアで暫定ラベル数に制限を加えることのな
いラベリング処理を可能にすることを目的としている。
The present invention uses a graph theory in the clustering process, which is disadvantageous in that the hardware amount of the preprocessing unit for reducing the provisional label number L (*) in the conventional image processing apparatus for labeling process becomes large. However, the processing amount is proportional to the provisional label number L (*), and the provisional label number L * is 20
The purpose of the present invention is to solve the drawback of having to limit the number to around 00 and to enable labeling processing that does not limit the number of provisional labels with a small hardware.

【0018】[0018]

【課題を解決するための手段】図1は本発明の原理構成
図を示す。図中の符号7は暫定ラベル付け処理部、24
は連結関係記憶部、25は暫定ラベル書き換え指示部、
26はCAM部、27はラベル昇順再付与指示部を表し
ている。
FIG. 1 is a block diagram showing the principle of the present invention. Reference numeral 7 in the figure is a provisional labeling unit, 24
Is a connection storage unit, 25 is a temporary label rewriting instruction unit,
Reference numeral 26 denotes a CAM unit, and 27 denotes a label ascending order reassignment instruction unit.

【0019】本発明は、従来装置のハードウェア増大の
要因であった前処理部と、実時間処理のためにグラフ理
論を使用しても暫定ラベル数L(*)=2000程度の
処理しか行えないクラスタリング処理部を省略するた
め、暫定ラベル画像メモリにCAM(Content Addressab
le Memory)を使用したことを最も大きな特徴とする。
The present invention can perform only the provisional label number L (*) = 2000 or so even if the preprocessor which has been a factor of increasing the hardware of the conventional apparatus and the graph theory for the real time processing are used. Since the clustering processing unit that does not exist is omitted, the CAM (Content Addressab
Le Memory) is the biggest feature.

【0020】[0020]

【作用】本発明の場合にはCAMのもつ特徴を利用して
ラベルの書き換えを高速度で行うようにしている。従来
の技術とは、暫定ラベル数L(*)を削減させる前処理
部、連結関係を整理し暫定ラベルを接続させるクラスタ
リング部が存在しないこと、暫定ラベル画像メモリに通
常のRAMの替わりにCAMを使用すること、暫定ラベ
ルをすべて付与した後にクラスタリング処理部で実ラベ
ルに書き換える処理を行うのではなく、暫定ラベルを付
与しながら、連結関係が抽出された時点でCAM上の該
当する暫定ラベル番号をすべて同時に、連結関係にある
ラベル番号に書き換えること、の点が異なる。
In the case of the present invention, the rewriting of the label is performed at a high speed by utilizing the characteristic of the CAM. The conventional technique is that there is no pre-processing unit for reducing the number of provisional labels L (*), no clustering unit for organizing connection relations and connecting provisional labels, and using CAM instead of normal RAM for provisional label image memory. Use, instead of performing all the provisional labels after the provisional label is rewritten to the actual label in the clustering processing unit, while provisioning the provisional label, the provisional label number on the CAM at the time when the connection relation is extracted All are different at the same time, rewriting to a label number having a connection relationship.

【0021】[0021]

【実施例】図2は本発明のラベリング処理を行う画像処
理装置の構成を説明する図である。図中の符号7は暫定
ラベル付け処理部、20はA/D変換部、21はフレー
ムメモリ部、22は差分信号処理部、23は2値化処理
部、24は連結関係記憶部、25は暫定ラベル書き換え
指示部、26はCAM部、27はラベル昇順再付与指示
部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a diagram for explaining the structure of an image processing apparatus for carrying out the labeling processing of the present invention. In the figure, reference numeral 7 is a provisional labeling processing unit, 20 is an A / D conversion unit, 21 is a frame memory unit, 22 is a differential signal processing unit, 23 is a binarization processing unit, 24 is a connection relation storage unit, and 25 is A tentative label rewriting instruction unit, a CAM unit, and a label ascending order reassignment instruction unit 27 are provided.

【0022】まず最初に、CAMの特徴について説明す
る。CAMは通常のメモリ(RAM)機能のほかに、入
力した検索データに対して各ワードの記憶データの内容
を照合、検索し、該当する内容を持つワードへアクセス
することが可能なメモリであり、その特徴の一つに、選
択したワードへの並列書き込み機能がある。CAMをラ
ベリング処理のラベル画像メモリとして使用した場合、
連結関係が検出された時点で該機能を用いて連結するラ
ベルをすべて同時に更新することが可能となる。すなわ
ち、暫定ラベル番号を付与しながら、連結関係が判明し
たらCAM上にある連結していると判明した番号のうち
大きい暫定ラベル番号をすべて小さいラベル番号で置き
換えることにより更新処理を行うことができる。以下に
図2に沿ってCAMを用いたラベル付け処理を説明す
る。
First, the features of CAM will be described. In addition to the normal memory (RAM) function, the CAM is a memory capable of collating and searching the contents of the stored data of each word with respect to the input search data and accessing the word having the corresponding contents. One of its characteristics is the parallel writing function to the selected word. When CAM is used as a label image memory for labeling processing,
When the connection relation is detected, all the labels to be connected can be updated at the same time by using the function. That is, the update process can be performed by assigning the temporary label numbers and replacing all the large temporary label numbers among the numbers which are found to be linked on the CAM with the small label numbers when the connection relation is found. The labeling process using the CAM will be described below with reference to FIG.

【0023】まず、入力する画像を、例えば512×5
12画素の画像とし、8隣接点でのラベリング処理を考
える。この時、8隣接点で決定される暫定ラベル数L
(*)は最大512×512/4=66k個となる。C
AMをラベリング処理のラベル画像メモリとして使用し
た場合、その容量はワード数として512×512ワー
ド、ビット数として16ビット必要であるために、計
4.2Mビットとなる。画像信号は、A/D変換部20に
てA/D変換され、フレームメモリ部21にて1フレー
ム分記憶される。次に、入力された画像信号とフレーム
メモリ部21に記憶された画像信号と差分処理が行われ
る。分離された画像信号は2値化処理部で2値化され、
背景領域と物体領域が分離される。分離された2値画像
は暫定ラベル付け処理部7にて図9に示す処理マスクを
ラスタ状に作用され、画素Xの暫定ラベル番号が決定さ
れる。図3は請求項3に示す所の8隣接点における画素
Xに付与する暫定ラベルを求める論理テーブルであり、
A、B、C、Dはそれぞれ画素{a、b、c、d}に付
与されているCAM上の暫定ラベル番号である。
First, the input image is, for example, 512 × 5.
Consider a labeling process at 8 adjacent points with an image of 12 pixels. At this time, the provisional label number L determined by the 8 adjacent points
The maximum number of (*) is 512 × 512/4 = 66k. C
When AM is used as a label image memory for labeling processing, its capacity is 512 × 512 words and 16 bits are required.
It is 4.2 Mbits. The image signal is A / D converted by the A / D conversion unit 20, and stored in the frame memory unit 21 for one frame. Next, difference processing is performed between the input image signal and the image signal stored in the frame memory unit 21. The separated image signal is binarized by the binarization processing unit,
The background area and the object area are separated. The separated binary image is processed by the provisional labeling unit 7 in a raster manner using the processing mask shown in FIG. 9, and the provisional label number of the pixel X is determined. FIG. 3 is a logical table for obtaining a provisional label to be given to the pixel X at the eight adjacent points shown in claim 3,
A, B, C, and D are provisional label numbers on the CAM assigned to the pixels {a, b, c, d}, respectively.

【0024】本テーブルに従って画素Xの暫定ラベル番
号を求め、CAM部26に該暫定ラベル番号を代入す
る。図3の項目3、4の場合には、画素が連結し、ラベ
ル番号BとD、BとCが同じ閉領域に属していることを
示す。図4は図10における入力された2値画像「1」
に対してラベル付けされている途中の暫定ラベル画像
(CAMの内容)を示す図であり、Xの点で連結関係が
検出されている。図4では、BとC、すなわち図示のラ
ベル番目「2」と「4」とが連結関係にあり、同じ閉領
域に属していることを示し、この関係が連結関係記憶部
24に入力される。本実施例の場合にはBの値であるラ
ベル番号「2」が注目点Xに付与される。
The provisional label number of the pixel X is obtained according to this table, and the provisional label number is assigned to the CAM section 26. In the case of items 3 and 4 in FIG. 3, pixels are connected, and the label numbers B and D, and B and C belong to the same closed region. FIG. 4 shows the input binary image “1” in FIG.
It is a figure which shows the temporary label image (contents of CAM) in the middle of being labeled with respect to, and the connection relation is detected by the point of X. In FIG. 4, B and C, that is, the label numbers “2” and “4” shown in the figure show that they have a connection relationship and belong to the same closed region, and this relationship is input to the connection relationship storage unit 24. .. In the case of the present embodiment, the label number “2” which is the value of B is given to the attention point X.

【0025】次に、連結関係記憶部24に暫定ラベル番
号「2」と「4」とが連結関係にあることが記憶され、
同時に、暫定ラベル書き換え指示部25に、連結関係記
憶部24に記憶されている連結関係に基づいて、暫定ラ
ベルを書き換える指示を出す。具体的には、暫定ラベル
書き換え指示部25では、連結関係記憶部24に記憶さ
れている暫定ラベル番号の大小関係を判定し、大きい方
のラベル番号を小さいほうのラベル番号で置き換える指
示をCAM部26に入力する。すなわち、CAM上に蓄
積されているすべての暫定ラベル番号「4」を「2」に
置き換える指示を出す。CAM部26では書き換え指示
に基づき、CAM上に蓄積されているすべての暫定ラベ
ル番号「4」を「2」に書き換える処理を行う。
Next, the fact that the provisional label numbers "2" and "4" are in the connection relation is stored in the connection relation storage unit 24,
At the same time, the provisional label rewriting instruction unit 25 is instructed to rewrite the provisional label based on the connection relation stored in the connection relation storage unit 24. Specifically, the tentative label rewriting instruction unit 25 determines the size relation of the tentative label numbers stored in the connection relation storage unit 24, and issues an instruction to replace the larger label number with the smaller label number. 26. That is, an instruction to replace all the provisional label numbers “4” accumulated on the CAM with “2” is issued. Based on the rewriting instruction, the CAM unit 26 rewrites all the temporary label numbers “4” stored in the CAM to “2”.

【0026】具体的には、まずCAM上に記憶されてい
るデータからラベル番号「4」のアドレスを検出する。
次に、CAMに書き換え先のデータであるラベル番号
「2」をセットする。最後に、検出されたアドレス部の
データ(すなわちラベル番号「4」)をすべて「2」に
書き換える。以上で、暫定ラベル番号「4」はすべて
「2」に書き換えられたことになる。書き換えられたラ
ベル画像を図5に示す。これらの処理をすべての画素に
ついて実施すれば、最終的に得られたラベル画像がその
まま更新されたラベル画像となる。
Specifically, first, the address of label number "4" is detected from the data stored on the CAM.
Next, the label number "2" which is the rewriting destination data is set in the CAM. Finally, all the detected data of the address part (that is, the label number "4") is rewritten to "2". As described above, the provisional label number “4” is all rewritten to “2”. The rewritten label image is shown in FIG. If these processes are carried out for all the pixels, the finally obtained label image becomes the updated label image as it is.

【0027】図6は、請求項4に記載している所の注目
点Xを中心とした4隣接点でのラベリング処理の際の画
素Xに付与する暫定ラベルを求める論理テーブルであ
る。図3に示す論理テーブルと同様にして注目点Xに暫
定ラベルが付与される。また、連結関係が検出された場
合の処理も8隣接点におけるラベリング処理と同様であ
る。
FIG. 6 is a logical table for obtaining a provisional label to be given to the pixel X at the time of labeling processing at four adjacent points centering on the point of interest X described in claim 4. Similar to the logic table shown in FIG. 3, the provisional label is given to the attention point X. Further, the processing when the connection relation is detected is the same as the labeling processing at eight adjacent points.

【0028】なお、得られたラベル画像のラベル番号
は、各閉領域には一つのラベル番号が付与されている
が、その順番は連続していない。通常、ラベリング処理
は、各閉領域を区別できるユニークなラベル番号が付与
されればよく、その大小、連続性は問題とならない。し
かし、画像処理の目的によっては、その大小、連続性が
重要となる場合もありうる。請求項1の場合では実ラベ
ル番号として適当なラベル番号を代表値としている。こ
の場合には、各閉領域には不連続にユニークな実ラベル
番号が付与されることになる。また、請求項2の場合で
は、検出された連結関係にあるラベル番号のうち、最小
のラベル番号を代表値とするために、付与された実ラベ
ル番号は「1」から始まり、不連続に続くことになる。
実ラベル番号「1」の物体を追跡処理する場合など、ラ
ベル番号の「1」を特別に認識する必要がある場合には
効果がある。また、付与されたラベル番号に基づき各閉
領域を分類する場合などには、実ラベル番号が昇順、連
続的に並んでいるとラベリング処理後の認識処理などで
の処理が容易となる。以下に、付与したラベル番号を昇
順、連続的に再付与するようにした請求項5記載の実施
例について述べる。
As for the label number of the obtained label image, one label number is given to each closed area, but the order is not continuous. Usually, the labeling process only needs to be given a unique label number that can distinguish each closed region, and its size and continuity do not matter. However, depending on the purpose of the image processing, the size and continuity thereof may be important. In the case of claim 1, an appropriate label number as the actual label number is used as the representative value. In this case, unique real label numbers are provided discontinuously to each closed area. Further, in the case of claim 2, the assigned real label number starts from “1” and continues discontinuously in order to set the smallest label number among the detected label numbers having the connection relation as the representative value. It will be.
This is effective when it is necessary to specifically recognize the label number “1”, such as when tracking an object with the actual label number “1”. Further, in the case where each closed area is classified based on the assigned label number, if the actual label numbers are arranged in ascending order and continuously arranged, the processing such as the recognition processing after the labeling processing becomes easy. An embodiment of claim 5 in which the assigned label numbers are continuously re-assigned in ascending order will be described below.

【0029】上述した、ラベル書き換え指示部25にて
書き換えられる暫定ラベル番号をラベル昇順再付与指示
部27に入力し、書き換えられる暫定ラベル番号を基
に、書き換えラベル番号フラグテーブルFTaの該ラベ
ル番号上にフラグを立てる。すべてのラベル付け処理が
終了した時点では、書き換えラベル番号フラグテーブル
FTaでフラグの立っていないラベル番号がCAM上に
最終ラベル番号として記録されている。よって、書き換
えラベル番号フラグテーブルFTaに基づいてフラグの
立っていない番号を小さい順にCAMから呼び出し、C
AMのラベル番号を昇順の番号に書き換える処理を行
う。
The above-mentioned temporary label number rewritten by the label rewriting instruction unit 25 is inputted to the label ascending order reassignment instruction unit 27, and based on the temporary label number to be rewritten, the label number in the rewriting label number flag table FTa is increased. Flag. At the time when all the labeling processes are completed, the unlabeled label number in the rewriting label number flag table FTa is recorded as the final label number on the CAM. Therefore, based on the rewriting label number flag table FTa, the unflagged numbers are called from the CAM in ascending order, and C
A process of rewriting the label number of AM to an ascending number is performed.

【0030】図7はラベル番号を昇順に書き換える処理
のフローを示す図である。ここで、L(*)は暫定ラベ
ル数、FTa(i)は暫定ラベル1番目のフラグの内
容、mは昇順に並べられるラベル番号を示している。ま
ずm=1、i=1を初期値としてセットし(S1)、i
=1から開始して、FTa(i)のフラグの内容を検索
する(S2、S3)。フラグが「1」であれば暫定ラベ
ル番号が書き換えられているために、ラベル画像上には
該ラベル番号は存在しないから、iを1だけインクリメ
ントして同様の処理を行う(S4)。FTa(i)のフ
ラグが0であれば、該ラベル番号はラベル画像上に存在
するために、その番号を昇順に書き換える。まず、CA
M上から該ラベル番号をすべて検索し(S5)、該当す
るアドレスのラベル番号をすべてmに書き換える(S
6)。次にmとiを1だけインクリメントして、処理を
繰り返す(S7)。本処理をL(*)回繰り返すとCA
M上に記憶されているラベル番号は、すべて昇順に書き
換えられる。
FIG. 7 is a diagram showing a flow of processing for rewriting label numbers in ascending order. Here, L (*) is the number of provisional labels, FTa (i) is the content of the first flag of the provisional label, and m is the label number arranged in ascending order. First, m = 1 and i = 1 are set as initial values (S1), and i
Starting from = 1, the contents of the flag of FTa (i) are searched (S2, S3). If the flag is "1", the provisional label number has been rewritten, and since the label number does not exist on the label image, i is incremented by 1 and the same process is performed (S4). If the flag of FTa (i) is 0, the label number exists on the label image, so the number is rewritten in ascending order. First, CA
All the label numbers are searched from M (S5), and the label numbers of the corresponding addresses are all rewritten to m (S5).
6). Then, m and i are incremented by 1 and the process is repeated (S7). When this process is repeated L (*) times, CA
All label numbers stored on M are rewritten in ascending order.

【0031】このような構成になっているから、CAM
の検索機能、選択したワードへの並列書き込み機能を用
いて、暫定ラベル番号を付与しながら、連結関係が判明
した時点でCAM上の連結していると判明したラベル番
号を置き換えることによりラベル番号の更新処理を行う
ことができ、その結果、従来法のような、暫定ラベル番
号を削減するための前処理部、暫定ラベル番号を付与す
る際に検出された連結関係を整理し、クラスタリングす
るクラスタリング処理部を必要としないこと、暫定ラベ
ル数を制限することなくラベル付け処理が可能なこと、
の効果を生ずる。この結果からあきらかなように、従来
法の前処理部、クラスタリング処理部を必要としないた
めに、ハードウェアの小型化が可能となる。また、従来
法のように、リアルタイム処理のために暫定ラベル数を
制限することなく、理論上考えられる最大の暫定ラベル
数までラベリング処理を行うことが可能となる。
Since the configuration is as described above, the CAM
Using the search function of and the parallel writing function to the selected word, the temporary label number is given, and the label number which is found to be connected on the CAM when the connection relation is found is replaced by the label number Update processing can be performed, and as a result, a clustering process that sorts and concatenates the connection relations detected when assigning a provisional label number, a preprocessing unit for reducing provisional label numbers, as in the conventional method. No need for parts, labeling processing is possible without limiting the number of provisional labels,
Produces the effect of. As is clear from this result, since the preprocessing unit and the clustering processing unit of the conventional method are not required, the hardware can be downsized. Further, unlike the conventional method, it is possible to perform the labeling process up to the theoretically maximum number of provisional labels without limiting the number of provisional labels for real-time processing.

【0032】[0032]

【発明の効果】以上説明したように、本発明によれば、
ラベル画像メモリにCAMを使用し、CAMの検索機
能、選択したワードへの並列書き込み機能を用いて、暫
定ラベル番号を付与しながら、連結関係が判明した時点
でCAM上の連結関係にあるラベル番号を置き換えるこ
とによりラベル番号の更新処理を行うことができ、その
結果、従来法のような、暫定ラベル番号を削減するため
の前処理部、暫定ラベル番号を付与する際に検出された
連結関係を整理し、クラスタリングするクラスタリング
処理部を必要としないためにハードウェアの小型化が可
能となる利点がある。また、リアルタイム処理のために
暫定ラベル数を制限することなく、理論上考えられる最
大の暫定ラベル数までラベリング処理を行うことが可能
となる利点がある。
As described above, according to the present invention,
A label number that has a linking relationship on the CAM when the linking relationship is found while using the CAM as the label image memory and using the CAM search function and the parallel writing function to the selected word while assigning the temporary label number The label number update process can be performed by substituting for, and as a result, the preprocessing unit for reducing the provisional label number as in the conventional method, the connection relation detected when the provisional label number is assigned Since there is no need for a clustering processing unit for organizing and clustering, there is an advantage that the hardware can be downsized. Moreover, there is an advantage that the labeling process can be performed up to the theoretically maximum number of provisional labels without limiting the number of provisional labels for real-time processing.

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

【図1】本発明の原理構成図を示す。FIG. 1 shows a principle configuration diagram of the present invention.

【図2】本発明のラベリング処理を行う画像処理装置の
構成を説明する図である。
FIG. 2 is a diagram illustrating a configuration of an image processing apparatus that performs labeling processing according to the present invention.

【図3】8隣接点における画素Xに付与する暫定ラベル
を求める論理テーブルを示す。
FIG. 3 shows a logical table for obtaining a provisional label to be given to a pixel X at eight adjacent points.

【図4】入力された2値画像「1」に対してラベル付け
されている途中の暫定ラベル画像(CAMの内容)を示
す。
FIG. 4 shows a provisional label image (contents of CAM) in the process of being labeled with respect to the input binary image “1”.

【図5】書き換えられたラベル画像を示す。FIG. 5 shows a rewritten label image.

【図6】注目点Xを中心とした4隣接点でのラベリング
処理の際の画素Xに付与する暫定ラベルを求める論理テ
ーブルを示す。
FIG. 6 shows a logical table for obtaining a provisional label to be given to a pixel X at the time of labeling processing at four adjacent points around the point of interest X.

【図7】ラベル番号を昇順に書き換える処理のフローを
示す図である。
FIG. 7 is a diagram showing a flow of processing for rewriting label numbers in ascending order.

【図8】4近傍、4隣接点または8近傍、8隣接点につ
いて説明する図である。
FIG. 8 is a diagram illustrating 4 neighbors, 4 neighbors or 8 neighbors, 8 neighbors.

【図9】暫定ラベル付けに使用する処理マスクを示す。FIG. 9 shows a processing mask used for provisional labeling.

【図10】ラスタ走査型ラベリング処理アルゴリズムを
説明する図である。
FIG. 10 is a diagram illustrating a raster scanning type labeling processing algorithm.

【図11】従来装置のラベリング処理部の構成を示す図
である。
FIG. 11 is a diagram showing a configuration of a labeling processing unit of a conventional device.

【図12】膨張処理の演算論理を示す図である。FIG. 12 is a diagram showing the arithmetic logic of expansion processing.

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

1 入力された2値画像 2 暫定ラベル画像 3 連結関係テーブルTa 4 ルックアップテーブルLUT 5 最終ラベル画像 6 前処理部 7 暫定ラベル付け処理部 8 画像復元部 9 画像データ遅延部 10 ラベル更新部 11 接続関係整理部 12 クラスタリング処理部 20 A/D変換部 21 フレームメモリ部 22 差分信号処理部 23 2値化処理部 24 連結関係記憶部 25 暫定ラベル書き換え指示部 26 CAM部 27 ラベル昇順再付与指示部 1 Input Binary Image 2 Temporary Label Image 3 Concatenation Relation Table Ta 4 Lookup Table LUT 5 Final Label Image 6 Pre-Processing Section 7 Temporary Labeling Processing Section 8 Image Restoring Section 9 Image Data Delay Section 10 Label Updating Section 11 Connection Relationship organizing unit 12 Clustering processing unit 20 A / D conversion unit 21 Frame memory unit 22 Difference signal processing unit 23 Binarization processing unit 24 Concatenation relation storage unit 25 Temporary label rewriting instruction unit 26 CAM unit 27 Label ascending order reassignment instruction unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画像のラベリング処理を行う画像処理装
置において、 入力された画像に対し、注目点がラベル付けを実施しな
い画素であれば処理を行わず次の画素へ移動し、ラベル
付けを実施する画素であれば暫定的にラベル番号を付与
する手段と、 ラベル番号を暫定的に付与する際に、連結関係が検出さ
れた場合に、該ラベルの連結関係を記憶する手段と、 前記付与されたラベル番号をCAMに記憶する手段と、 前記暫定的に付与されたラベル番号をCAMに記憶する
際、連結関係が検出された場合には該記憶処理に引き続
き、前記記憶された連結関係に基づき、記憶された連結
関係にある暫定ラベル番号のうち、ひとつの暫定ラベル
番号を実ラベル番号として代表値とし、該代表ラベル番
号と連結している他の暫定ラベル番号をCAMから検索
し、該検索された暫定ラベル番号をすべて同時に該代表
ラベル番号で書き換える指示を行う処理手段を有するこ
とを特徴とする画像処理装置。
1. In an image processing apparatus for performing an image labeling process, if an input point is a pixel for which labeling is not to be performed on an input image, processing is not performed and the pixel is moved to the next pixel to perform labeling. If it is a pixel, a means for provisionally providing a label number, a means for storing a connection relation of the label when a connection relation is detected when the label number is provisionally provided, And a means for storing the label number in the CAM, and when storing the provisionally assigned label number in the CAM, if a connection relationship is detected, the storage processing is continued based on the stored connection relationship. , One of the stored temporary label numbers in the linked relation is used as a representative value as a real label number, and the other temporary label numbers linked to the representative label number are used as CAM. And et retrieval, the image processing apparatus characterized by having a processing means for performing an instruction to rewrite the tentative label number that is the search in all simultaneously surrogate table label number.
【請求項2】 前記暫定的に付与されたラベル番号をC
AMに記憶する際、連結関係が検出された場合には該記
憶処理に引き続き、前記記憶された連結関係に基づき、
記憶された連結関係にある暫定ラベル番号のうち、最小
の暫定ラベル番号を実ラベル番号として代表値とし、該
代表ラベル番号と連結している他のラベル番号をCAM
から検索し、該検索された暫定ラベル番号をすべて同時
に該最小の代表ラベル番号で書き換える指示を行う処理
手段を有することを特徴とする請求項1記載の画像処理
装置。
2. The provisional label number is C
When the connection relation is detected when storing in the AM, following the storage process, based on the stored connection relation,
Of the stored temporary label numbers in the linked relationship, the smallest temporary label number is used as a real label number as a representative value, and other label numbers linked to the representative label number are used as CAMs.
2. The image processing apparatus according to claim 1, further comprising processing means for instructing to rewrite all of the retrieved temporary label numbers with the minimum representative label number at the same time.
【請求項3】 前記注目点に暫定的にラベル番号を付与
し、連結関係が検出された場合にラベルの連結関係を記
憶する際に、該注目点を中心にした8隣接点のうち、該
注目点をX(i、j)、既に走査された4点をそれぞれ
a(i、j−1)、b(i+1、j−1)、c(i−
1、j)、d(i−1、j−1)とし、既に走査され、
ラベル付けされたラベル番号をそれぞれ、A、B、C、
Dとし、 既に走査された4点の値(a、b、c、d)が (1、*、*、*)(ただし、*は1または0を表す)
の場合には、該注目点Xの暫定ラベル番号としてAを付
与し、 (0、1、0、0)の場合には、該注目点Xの暫定ラベ
ル番号としてBを付与し、 (0、1、0、1)の場合には、該注目点Xの暫定ラベ
ル番号としてBを付与し、同時にBとDの連結関係を記
憶し、 (0、1、1、*)の場合には、該注目点Xの暫定ラベ
ル番号としてBを付与し、同時にBとCの連結関係を記
憶し、 (0、0、1、*)の場合には、該注目点Xの暫定ラベ
ル番号としてCを付与し、 (0、0、0、1)の場合には、該注目点Xの暫定ラベ
ル番号としてDを付与し、 (0、0、0、0)の場合には、該注目点Xの暫定ラベ
ル番号として、これまでに付与した暫定ラベル番号のう
ち最大の番号に1を付加した番号を付与する処理手段を
有することを特徴とする請求項1または2記載の画像処
理装置。
3. A label number is tentatively assigned to the attention point, and when the connection relation of the labels is stored when the connection relation is detected, among the eight adjacent points around the attention point, The point of interest is X (i, j), and the four points already scanned are a (i, j-1), b (i + 1, j-1), and c (i-, respectively.
1, j), d (i-1, j-1), already scanned,
Labeled label numbers are A, B, C,
D, and the values (a, b, c, d) of the four points already scanned are (1, *, *, *) (where * represents 1 or 0)
In the case of, the provisional label number of the attention point X is given A, and in the case of (0, 1, 0, 0), the provisional label number of the attention point X is given B, (0, In the case of (1, 0, 1), B is given as the provisional label number of the point of interest X, and at the same time, the connection relationship between B and D is stored, and in the case of (0, 1, 1, *), B is given as the provisional label number of the attention point X, and at the same time, the connection relationship between B and C is stored. In the case of (0, 0, 1, *), C is given as the provisional label number of the attention point X. In the case of (0, 0, 0, 1), D is given as the provisional label number of the attention point X, and in the case of (0, 0, 0, 0), the attention point X As a provisional label number, the provisional label number is provided with a processing means for assigning a number obtained by adding 1 to the maximum number of provisional label numbers. The image processing apparatus Motomeko 1 or 2 wherein.
【請求項4】 前記注目点に暫定的にラベル番号を付与
し、連結関係が検出された場合にラベルの連結関係を記
憶する際に、該注目点を中心にした4隣接点のうち、該
注目点をX(i、j)、既に走査された2点をそれぞれ
a(i、j−1)、c(i−1、j)とし、既に走査さ
れ、ラベル付けされたラベル番号をそれぞれ、A、Cと
し、 既に走査された4点の値(a、c)が (1、0)の場合には、該注目点Xの暫定ラベル番号と
してAを付与し、 (0、1)の場合には、該注目点Xの暫定ラベル番号と
してCを付与し、 (1、1)の場合には、該注目点Xの暫定ラベル番号と
してAを付与し、同時にAとCの連結関係を記憶し、 (0、0)の場合には、該注目点Xの暫定ラベル番号と
して、これまでに付与した暫定ラベル番号のうち最大の
番号に1を付加した番号を付与する処理手段を有するこ
とを特徴とする請求項1または2記載の画像処理装置。
4. When a label number is tentatively assigned to the point of interest and the linking relation of the labels is stored when the linking relation is detected, among the four adjacent points with the focus of the attention point, Let X (i, j) be the point of interest, and let a (i, j-1) and c (i-1, j) be the two points that have already been scanned, and label numbers that have already been scanned and labeled, respectively. A and C. If the values (a, c) of the four points already scanned are (1, 0), A is given as the provisional label number of the point of interest X, and (0, 1) Is assigned C as the provisional label number of the attention point X, and in the case of (1, 1), A is assigned as the provisional label number of the attention point X, and at the same time, the connection relationship between A and C is stored. However, in the case of (0, 0), the provisional label number of the attention point X is the highest among the provisional label numbers assigned so far. The image processing apparatus according to claim 1, wherein further comprising a processing means for applying the added number 1 to number.
【請求項5】 すべての画素の探索終了後、CAM上に
記憶されたラベル番号を昇順、連続的に再付与する手段
を有することを特徴とする請求項1、2、3または4記
載の画像処理装置。
5. The image according to claim 1, 2, 3 or 4, further comprising means for re-assigning the label numbers stored in the CAM in ascending order continuously after the search of all pixels is completed. Processing equipment.
JP14782692A 1992-06-09 1992-06-09 Picture processor Pending JPH05342350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14782692A JPH05342350A (en) 1992-06-09 1992-06-09 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14782692A JPH05342350A (en) 1992-06-09 1992-06-09 Picture processor

Publications (1)

Publication Number Publication Date
JPH05342350A true JPH05342350A (en) 1993-12-24

Family

ID=15439112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14782692A Pending JPH05342350A (en) 1992-06-09 1992-06-09 Picture processor

Country Status (1)

Country Link
JP (1) JPH05342350A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009070250A (en) * 2007-09-14 2009-04-02 Fuji Xerox Co Ltd Image processor and program
JP2011043879A (en) * 2009-08-19 2011-03-03 Kddi Corp Method and program for extracting mask image, and method and program for constructing voxel data
US10445854B2 (en) 2016-05-30 2019-10-15 Ricoh Company, Ltd. Image processing device, image processing method, and non-transitory recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009070250A (en) * 2007-09-14 2009-04-02 Fuji Xerox Co Ltd Image processor and program
JP2011043879A (en) * 2009-08-19 2011-03-03 Kddi Corp Method and program for extracting mask image, and method and program for constructing voxel data
US10445854B2 (en) 2016-05-30 2019-10-15 Ricoh Company, Ltd. Image processing device, image processing method, and non-transitory recording medium

Similar Documents

Publication Publication Date Title
US4541116A (en) Neighborhood image processing stage for implementing filtering operations
US4703513A (en) Neighborhood comparison operator
US5701369A (en) Fractal image compression device and method
JP2523222B2 (en) Image reduction / enlargement method and apparatus
Hsieh et al. An adaptive clustering algorithm for color quantization
WO1994016403A1 (en) Method of identifying and characterizing a valid object by color
JPH03256485A (en) Motion vector detecting circuit
JPH1166325A (en) Method and device for determining boundary of object and recording medium recording boundary determination program for object
US4791675A (en) VSP Connectivity pattern recognition system
JPH05342350A (en) Picture processor
US9818045B2 (en) Apparatus and method for detecting a feature in an image
CN116091297A (en) Image connected domain marking hardware implementation algorithm
US7940278B2 (en) Method and system for programming for image enhancement
JPH07160879A (en) Picture processing method
JP2628300B2 (en) How to use the conversion circuit
KR930012133B1 (en) Digital data processing method and circuit therefor
JP2617135B2 (en) Labeling device for connected areas
JPH0248778A (en) Labeling circuit for picture processing
JP2716894B2 (en) Labeling circuit for image processing
Olsson et al. Implementation of an efficient labeling algorithm on a pipelined architecture
Gennery Neighborhood comparison operator
JP2585872B2 (en) Image noise removal device
JPS62108381A (en) Density histogram detecting system
JPH05189563A (en) Image processor
JPH0773328A (en) Color image processor