JPH0327481A - Picture processing device - Google Patents

Picture processing device

Info

Publication number
JPH0327481A
JPH0327481A JP1160862A JP16086289A JPH0327481A JP H0327481 A JPH0327481 A JP H0327481A JP 1160862 A JP1160862 A JP 1160862A JP 16086289 A JP16086289 A JP 16086289A JP H0327481 A JPH0327481 A JP H0327481A
Authority
JP
Japan
Prior art keywords
data
image
picture
label number
circuit
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
JP1160862A
Other languages
Japanese (ja)
Inventor
Hiroshi Mizoguchi
溝口 博
Hiroaki Kubota
浩明 久保田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1160862A priority Critical patent/JPH0327481A/en
Publication of JPH0327481A publication Critical patent/JPH0327481A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To take in only a desired connected area component into a picture memory even in the case the circumscribed rectangles overlap each other by providing a specified data extracting means to give one label number to a connected picture element and extract only the data of the designated label number. CONSTITUTION:A data suppression circuit 7 is a gate circuit to connect a picture bus 4 and a picture memory 13, and a circuit to resist the data to be taken in the picture memory 13 in coformity to a decision signal 14. Namely, the label number is attached to the binary data on an original picture line by a labeling processing means 5, and only the picture data related to the designated label number is extracted by the specified data extracting means 7, and it is stored in the picture memory 13. Accordingly, it is unnecessary to execute segmenting work by the circumscribed rectangle, and in addition, it is unnecessary to remove an excess picture out of the segmented rectangle. Thus, picture extraction can be executed at high speed and in addition, surely.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、画像処理装置に関する。[Detailed description of the invention] [Purpose of the invention] (Industrial application field) The present invention relates to an image processing device.

(従来の技術) 従来、例えばバイオテクノロジーなどの研究においては
、赤血球、遺伝子、染色体などの画像から所定の範囲の
画像のみを抽出することが行われている。
(Prior Art) Conventionally, in research in biotechnology, for example, only images within a predetermined range have been extracted from images of red blood cells, genes, chromosomes, and the like.

このような画像処理の手法としては、例えば2値化画像
をラベリング処理することによってブロック化し、ブロ
ック化された画像の山から注目すべきラベル番号を持っ
た領域の画像を抽出するものの例がある。
An example of such an image processing method is to divide a binarized image into blocks through labeling processing, and extract images of regions with notable label numbers from a pile of blocked images. .

例えば、第7図に示すような複数の連結領域I,■、■
を有する画像を処理する場合、図中に12,3として示
すように、連結領域毎の外接長方形を求め、抽出すべき
画像を含む外接長方形を指定することにより、指定され
た外接長方形の中から所望の画像が抽出される。
For example, multiple connected areas I, ■, ■ as shown in FIG.
When processing an image with The desired image is extracted.

また、このような外接長方形を切出すことにより、所望
の連結領域Iまたは■または■を求めるという考え方に
基づいて、複数の切出し処理を複数のプロセッサに同時
に割当てることで、高速化を図るという装置も提案され
ている(特願昭63223016)。
Furthermore, based on the idea of finding a desired connected region I, ■, or ■ by cutting out such circumscribed rectangles, there is a device that aims to increase the speed by allocating multiple cutting processes to multiple processors at the same time. has also been proposed (Japanese Patent Application No. 63223016).

(発明が解決しようとする課題) しかしながら、このような従来法では、第7図に示すよ
うに外接長方形I,■または■,■どうしが重なり合う
ような場合、一つの外接長方形の中に他のラベル領域の
画像が入り込んでしまうことがあり、この場合、他のラ
ベル領域の画像を取り除く処理が必要となる。
(Problem to be Solved by the Invention) However, in such a conventional method, when the circumscribed rectangles I, ■ or ■, ■ overlap each other as shown in FIG. In some cases, images of label areas may be included, and in this case, it is necessary to remove images of other label areas.

例えば、第7図に示した画像の中から、外接長方形2内
の画像を抽出する場合、この外接長方形2内に他の画像
領域I,■が入り込んでいるため、一旦取込んだ外接長
方形2内の画像の中から不要な画像を除去しなければな
らない。そのため、画像メモリに一旦画像データを取込
んだ後、不要画像データを画像メモリから除去しなけれ
ばならず、画像抽出処理に多くの時間を要するという問
題があった。
For example, when extracting the image within the circumscribed rectangle 2 from among the images shown in FIG. Unnecessary images must be removed from the images within. Therefore, after image data is once loaded into the image memory, unnecessary image data must be removed from the image memory, which poses a problem in that image extraction processing takes a lot of time.

また、このように従来の画像処理装置は、特定画像の抽
出に多くの処理時間を要するため、画像メモリに取込む
画像データがラベル画像そのものではなく、テレビカメ
ラやビデオテープなどによる原画像であるような場合に
は、不必要なラベル領域に対応するデータの除去が困難
であるため、リアルタイムな画像抽出処理が困難である
という問題点があった。
Furthermore, since conventional image processing devices require a lot of processing time to extract a specific image, the image data imported into the image memory is not the label image itself, but the original image from a TV camera or videotape. In such a case, it is difficult to remove data corresponding to an unnecessary label area, so there is a problem in that real-time image extraction processing is difficult.

そこで、本発明は、画像特に原画像の中から特定領域の
画像のみを高速に抽出することができる画像処理装置を
提供することを目的とする。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an image processing device that can quickly extract only an image of a specific region from an image, particularly an original image.

[発明の構成] (課題を解決するための手段) 上記目的を達或するための発明の画像処理装置は、2値
化された原画像データを入力し連結された画素に対し一
つのラベル番号を与えて出力するラベリング処理手段と
、該ラベリング処理手段から出力されたラベル番号付き
の画像データを入力し指定されたラベル番号の画像デー
タであるか否かを判定し指定されたラベル番号のデータ
のみを抽出する特定データ抽出手段と、該手段で抽出さ
れた画像データを記憶する画像メモリとを備えたことを
特徴とする。
[Structure of the Invention] (Means for Solving the Problem) An image processing device of the invention for achieving the above object inputs binarized original image data and assigns one label number to each connected pixel. labeling processing means that outputs the image data with a label number outputted from the labeling processing means, and determining whether the image data with the label number output from the labeling processing means is the image data with the designated label number; The present invention is characterized by comprising a specific data extraction means for extracting only specific data, and an image memory for storing the image data extracted by the means.

(作用) 本発明では、ラベリング処理手段により原画線の2値化
データにラベル番号を付け、特定データ抽出手段で指定
のラベル番号に係る画像データのみを抽出し、これを画
像メモリに記憶する。
(Function) In the present invention, a labeling processing means attaches a label number to the binarized data of the original drawing line, and a specific data extraction means extracts only the image data related to the designated label number, and stores this in the image memory.

したがって、従来例のように外接長方形による切出し作
業を行なう必要がなく、かつ切出した長方形の中から余
計な画像を取り除く必要がなく、画像抽出を高速、かつ
確実に行える。
Therefore, there is no need to cut out a circumscribed rectangle as in the conventional example, and there is no need to remove unnecessary images from the cut out rectangle, so that image extraction can be performed quickly and reliably.

(実施例) 以下、本発明の実施例を詳細に説明する。(Example) Examples of the present invention will be described in detail below.

第1図はこの発明の一実施例に係る画像処理装置のブロ
ック図である。
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention.

第1図において、4は画像バスを示し、この画像バス4
にラベリング処理回路5と、特定データ抽出手段として
の特定連結領域判定回路6及びデータ抑止回路7が接続
されている。
In FIG. 1, 4 indicates an image bus, and this image bus 4
A labeling processing circuit 5, a specific connected region determining circuit 6 as specific data extraction means, and a data suppression circuit 7 are connected to.

前記ラベリング処理回路5は、2値化回路8と接続され
、この2値化回路8に、テレビ(T V)カメラ9が撮
像したアナログ信号をA/D変換器10を介しディジタ
ル信号として入力するか、またはビデオテープのような
原画像記憶部11から原画像のディジタル信号を直接入
力するようなっている。前記特定連速結領域判定回路6
はコントローラとしてのホスト計算機12に接続され、
前記データ抑止回路7には、画像メモリ13が接続され
ている。
The labeling processing circuit 5 is connected to a binarization circuit 8, and inputs an analog signal imaged by a television (TV) camera 9 to the binarization circuit 8 as a digital signal via an A/D converter 10. Alternatively, the digital signal of the original image is directly input from an original image storage unit 11 such as a video tape. The specific quick connection region determination circuit 6
is connected to the host computer 12 as a controller,
An image memory 13 is connected to the data suppression circuit 7.

上記構或において、前記ラベリング処理回路5は、2値
化回路8から第2図に示すような原画像データの2値化
信号を入力し、各連結領域1,  II,■に相当する
画像データに対しては各領域1,  II,■に対応す
るラベル番号を付け、これを画像バス4に出力する。し
たがって、画像バス4には、原画像の走査データが各画
素毎に前記領域1,  If,■に対応するラベル番号
を付けた態様で流されることになる。
In the above structure, the labeling processing circuit 5 inputs the binarized signal of the original image data as shown in FIG. A label number corresponding to each area 1, II, ■ is attached to the image bus 4, and this is output to the image bus 4. Therefore, the scan data of the original image is sent to the image bus 4 in such a manner that each pixel is given a label number corresponding to the area 1, If, ■.

画像バス4に接続された特定連結領域判定回路6は、画
像バス4を介して送信される画像データを監視する回路
である。即ち、特定連結領域判定回路6には、ホスト計
算機12から画像メモリ13に取込むべき連結領域のラ
ベル番号が与えられている。これにより、特定連結領域
判定回路6は、画像バス4を通って転送される画像デー
タを監視し、ホスト計算機12から指定されたラベル番
号のデータであるか否かを判定する。判定結果は判定信
号14としてデータ抑止回路7に出力される。
A specific connected area determination circuit 6 connected to the image bus 4 is a circuit that monitors image data transmitted via the image bus 4. That is, the specific connected area determination circuit 6 is given the label number of the connected area to be imported into the image memory 13 from the host computer 12. Thereby, the specific connected area determination circuit 6 monitors the image data transferred through the image bus 4 and determines whether the data has the label number specified by the host computer 12 or not. The determination result is output to the data suppression circuit 7 as a determination signal 14.

この判定信号14は1ビットの判定信号であり、指定さ
れたデータであれば1、そうでなければOが出力される
This judgment signal 14 is a 1-bit judgment signal, and if the specified data is specified, 1 is output, otherwise, O is output.

データ抑止回路7は、画像バス4と画像メモリ13を結
ぶゲート回路であって、判定信号14に従って画像メモ
リ13に取込むデータを制限する回路である。即ち、判
定信号が1であれば、画像バス4からのデータを画像メ
モリ13に取込み、0であれば定数Oを画像メモリ13
に取込むよう動作する。この結果、画像メモリ13には
、指定された連結領域のみの画像データが取込まれ、こ
の取込まれた画像データのみが例えば表示装置(図示せ
ず)で表示されるようになる。
The data suppression circuit 7 is a gate circuit that connects the image bus 4 and the image memory 13, and is a circuit that limits data taken into the image memory 13 according to the determination signal 14. That is, if the determination signal is 1, the data from the image bus 4 is taken into the image memory 13, and if it is 0, the constant O is taken into the image memory 13.
It operates to import into. As a result, image data of only the designated connected area is captured in the image memory 13, and only the captured image data is displayed on, for example, a display device (not shown).

第3図は前記特定連結領域判定回路6をレジスタ15と
コンパレータ16で構成した例である。
FIG. 3 shows an example in which the specific connected area determination circuit 6 is constructed of a register 15 and a comparator 16.

レジスタ15は、前記ホスト計算機12から与えられた
ラベル番号を保持する。コンパレータ16はこのラベル
番号と画像バス4から転送される画像データのラベル番
号とを比較し、両者が一致した場合はコンパレータ16
からデータ抑旧回路7へ一致を示す1の判定信号が出力
される。一致しなかった場合は不一致を示す0の判定信
号が出力される。これにより、前述のようにホスト計算
機5が指定したラベル番号のデータだけが画像メモリ1
3に取込まれる。
The register 15 holds the label number given from the host computer 12. The comparator 16 compares this label number with the label number of the image data transferred from the image bus 4, and if the two match, the comparator 16
A determination signal of 1 indicating a match is output from the data suppression circuit 7 to the data suppression circuit 7. If they do not match, a determination signal of 0 indicating mismatch is output. As a result, only the data of the label number specified by the host computer 5 is stored in the image memory 1 as described above.
3.

第4図は特定連結領域判定回路6の他の具体例を示した
もので、前述のレジスタ15、コンパレータ16に代え
て1ビットのRAM17で構戊した例である。この例で
は、RAM17に画像バス4のラベル番号のデータがア
ドレスとして供給され、指定のラベル番号についてのア
ドレス一致により、1ビットの判定信号14が出力され
る。
FIG. 4 shows another specific example of the specific connected area determination circuit 6, in which the register 15 and comparator 16 described above are replaced with a 1-bit RAM 17. In this example, the data of the label number of the image bus 4 is supplied to the RAM 17 as an address, and a 1-bit determination signal 14 is output when the address matches the designated label number.

第5図はデータ抑止回路7の具体例を示すブロック図で
ある。
FIG. 5 is a block diagram showing a specific example of the data suppression circuit 7. As shown in FIG.

図において、各ANDゲート18は、画像バス4から入
力される入力データ19を阻止または通過させるゲート
回路であり、このゲート回路は特定連結領域判定回路6
の判定信号14によって制御される。即ち、判定信号1
4がデータの通過を許可する値1であった場合、各AN
Dゲート18の一方の端子に1が与えられるため、各A
NDゲト18は開状態となり、入力データ19はAND
ゲート18を介して出力データ20として画像メモリ1
3に出力される。一方、判定信号がデータの通過を禁止
する値Oてあった場合は、各ANDゲート18の一方の
端子に0が与えられ、各ANDゲート18は閉状態とな
り、出力データ20は全て0となって入力データ1つの
通過が阻止される。
In the figure, each AND gate 18 is a gate circuit that blocks or passes input data 19 input from the image bus 4, and this gate circuit is a gate circuit that blocks or passes input data 19 input from the image bus 4.
It is controlled by the determination signal 14 of. That is, judgment signal 1
If 4 were the value 1 to allow data to pass, then each AN
Since 1 is given to one terminal of the D gate 18, each A
The ND gate 18 is in an open state, and the input data 19 is AND
Image memory 1 as output data 20 via gate 18
3 is output. On the other hand, if the judgment signal has a value O that prohibits the passage of data, 0 is given to one terminal of each AND gate 18, each AND gate 18 is closed, and the output data 20 is all 0. The passage of one piece of input data is blocked.

第6図は本発明の他の実施例を示すブロック図である。FIG. 6 is a block diagram showing another embodiment of the present invention.

この例では、二つの画像バス4A,4Bを備えており、
一方の画像バス4Bには原画像のデータが、他方の画像
バス4Aにはラベル番号のデータが流れるように構或さ
れている。データ抑毘回路7は画像バス4Bに接続され
ており、特定連結領域判定回路6の指定のラベル番号と
バス4A上のラベル番号の比較により、上記の実施例と
同様にホスト計算機5で指定されたラベル番号の連結領
域の原画像が切りとられて画像メモリ13に取込まれる
In this example, two image buses 4A and 4B are provided,
The configuration is such that original image data flows through one image bus 4B, and label number data flows through the other image bus 4A. The data suppression circuit 7 is connected to the image bus 4B, and compares the label number specified by the specific connected area determination circuit 6 with the label number on the bus 4A to determine whether the data is specified by the host computer 5 as in the above embodiment. The original image of the connected area of the label number is cut out and taken into the image memory 13.

原画像としては、濃淡画像と2値画像のいずれであって
も画像の抽出は可能である。
As the original image, it is possible to extract the image regardless of whether it is a grayscale image or a binary image.

本発明はこれら実施例に限定されるものではなく、その
要旨を逸脱しない範囲で適宜変形にして実施できるもの
である。
The present invention is not limited to these embodiments, but can be implemented with appropriate modifications without departing from the gist of the invention.

[発明の効果コ 以上説明したように、本発明によれば、連結領域の外接
長方形どうしが重なり合うような場合であっても、所望
の連結領域或分のみを画像メモリに取込むことができる
。従って、従来のように一旦データを取込んだ後、不要
なデータを除去するというような無駄がなくなり、高速
で、かつ確実に画像データの抽出を行うことができる。
[Effects of the Invention] As described above, according to the present invention, even if the circumscribed rectangles of connected regions overlap, only a certain portion of the desired connected region can be captured into the image memory. Therefore, there is no need to remove unnecessary data after data has been taken in as in the conventional method, and image data can be extracted at high speed and reliably.

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

第1図は本発明の画像処理装置の一実施例を示すブロッ
ク図、第2図はこの実施例で用いる原画像の説明図、第
3図は特定連結領域判定回路の具体例を示すブロック図
、第4図は特定連結領域判定回路の他の具体例を示すブ
ロック図、第5図はデータ抑止回路の具体例を示すブロ
ック図、第6図は本発明の他の実施例を示すブロック図
、第7図は画像の一例を示す説明図である。 4.4A,4B・・・画像バス 5・・・ラベリング処理回路 6・・・特定連結領域判定回路 7・・・データ抑止回路 13・・・画像メモリ
FIG. 1 is a block diagram showing an embodiment of the image processing device of the present invention, FIG. 2 is an explanatory diagram of an original image used in this embodiment, and FIG. 3 is a block diagram showing a specific example of a specific connected area determination circuit. , FIG. 4 is a block diagram showing another specific example of the specific connected area determination circuit, FIG. 5 is a block diagram showing a specific example of the data suppression circuit, and FIG. 6 is a block diagram showing another embodiment of the present invention. , FIG. 7 is an explanatory diagram showing an example of an image. 4.4A, 4B...Image bus 5...Labeling processing circuit 6...Specific connected area determination circuit 7...Data suppression circuit 13...Image memory

Claims (1)

【特許請求の範囲】[Claims] 2値化された原画像データを入力し連結された画素に対
し一つのラベル番号を与えて出力するラベリング処理手
段と、該ラベリング処理手段から出力されたラベル番号
付きの画像データを入力し指定されたラベル番号の画像
データであるか否かを判定し指定されたラベル番号のデ
ータのみを抽出する特定データ抽出手段と、該手段で抽
出された画像データを記憶する画像メモリとを備えたこ
とを特徴とする画像処理装置。
Labeling processing means inputs binarized original image data and outputs a single label number for each connected pixel; A specific data extraction means for determining whether the image data is the image data of the specified label number and extracting only the data of the designated label number, and an image memory for storing the image data extracted by the means. Characteristic image processing device.
JP1160862A 1989-06-26 1989-06-26 Picture processing device Pending JPH0327481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1160862A JPH0327481A (en) 1989-06-26 1989-06-26 Picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1160862A JPH0327481A (en) 1989-06-26 1989-06-26 Picture processing device

Publications (1)

Publication Number Publication Date
JPH0327481A true JPH0327481A (en) 1991-02-05

Family

ID=15723986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1160862A Pending JPH0327481A (en) 1989-06-26 1989-06-26 Picture processing device

Country Status (1)

Country Link
JP (1) JPH0327481A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085533A (en) * 2001-09-07 2003-03-20 Microbio Corp Method for counting number of pieces, program for the same, recording medium, and device for counting number of pieces

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003085533A (en) * 2001-09-07 2003-03-20 Microbio Corp Method for counting number of pieces, program for the same, recording medium, and device for counting number of pieces
JP4722343B2 (en) * 2001-09-07 2011-07-13 マイクロバイオ株式会社 Number counting method, program therefor, recording medium, and number counting device

Similar Documents

Publication Publication Date Title
US5121438A (en) Apparatus for inspecting articles
KR960002548B1 (en) The method and the system for specific image fetching
JPH0327481A (en) Picture processing device
CN112834518A (en) Particle defect detection method, system, device and medium
US4760607A (en) Apparatus and method for implementing transformations in grayscale image processing
KR20050006489A (en) Image processing method and apparatus in image forming system
US20040037475A1 (en) Method and apparatus for processing annotated screen capture images by automated selection of image regions
JP2653386B2 (en) Drawing processing equipment
JPH0269877A (en) Picture processing device
KR940003654B1 (en) Method of processing digital data
JPH05154109A (en) Image processor for ophthalmology
JPS6336383A (en) Picture processor
JP2000013780A (en) Object identifying device
Mcllroy et al. Edge detection in real-time
JPH11224327A (en) Digital image processor
JPS63280379A (en) Processor for pore like flaw picture
JPS6410872B2 (en)
JPH04116777A (en) Picture processor
Hesson et al. Systolic image processor for automatic detection and recognition of traffic violations
JPH05298470A (en) Method for inputting image of two-dimensional data code
JPS6346875B2 (en)
JPH04184576A (en) Picture processor
JPH06333046A (en) Image feature value extracting device
JPS62274373A (en) Line image processing circuit
JPS6365575A (en) Detecting method for singular point by image processing