JPS5953968A - Picture processing device - Google Patents

Picture processing device

Info

Publication number
JPS5953968A
JPS5953968A JP57163684A JP16368482A JPS5953968A JP S5953968 A JPS5953968 A JP S5953968A JP 57163684 A JP57163684 A JP 57163684A JP 16368482 A JP16368482 A JP 16368482A JP S5953968 A JPS5953968 A JP S5953968A
Authority
JP
Japan
Prior art keywords
tag
image
area
signal
type
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.)
Granted
Application number
JP57163684A
Other languages
Japanese (ja)
Other versions
JPH024027B2 (en
Inventor
Norihisa Miki
徳久 三木
Makoto Imamura
誠 今村
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric 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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP57163684A priority Critical patent/JPS5953968A/en
Publication of JPS5953968A publication Critical patent/JPS5953968A/en
Publication of JPH024027B2 publication Critical patent/JPH024027B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Abstract

PURPOSE:To measure and recognize the pattern of a blood corposcle image and an industrial product, etc. at a high speed, by switching alternately two tag memories at each area conversion, and executing an area compensation by a feature quantity. CONSTITUTION:The tag memory 61 stores a type number and a tag number to which each picture element of a picture belongs. Also, contents are written from a CPU8, and in accordance with the type number signal of each picture element outputted from the memory 61, a tag number signal and a bit pattern output from an operating part 4, an area converting table 51 outputs a new type number signal and a bit pattern signal. In accordance with the output of this table 51, the tag output of a numbering circuit 52 for giving a number, and a type number output from the corresponding table 51 are stored in the tag memory 62. Subsequently, the memories 61, 62 are switched alternately at every area conversion, and the area compensation by a feature quantity is executed.

Description

【発明の詳細な説明】 本発明は、対象物をTVカメラでとらえ、その画像より
対象物の画像計測を行なう画像処理装置の改良に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an improvement in an image processing device that captures an object with a TV camera and performs image measurement of the object from the image.

対象物をカラーTVカメラでとらえ、その画像より対象
物の画像計測を行う場合、画像(例:血液像)の中から
計測しようとする対象物(例:赤血球、白血球、核、細
胞質等)を正確に分離することが最も基本で重要である
When capturing an object with a color TV camera and performing image measurement of the object from that image, the object to be measured (e.g. red blood cells, white blood cells, nucleus, cytoplasm, etc.) from the image (e.g. blood image) is Accurate separation is the most basic and important thing.

対象物の領域を分離するには、対象物の分光特性を利用
し、対象物の吸収が対象物以外の吸収に比べ充分大きい
波長の光を用いて得7で画像から対象物を分離する方法
もある( U、S Patent3.999,047 
特許公報 昭55−13305号)が、この場合には特
殊な光学フィルタが必要になり、汎用のカラーTVカメ
ラを用いることができず、S/N も悪い、 汎用カラーTVを用いる方法の場合には、通常カラーの
線形演算をした画像を適当な閾値で2値化して領域を分
けることが行われるが、閾値処理だけでは色彩の似てい
る部分も同時に切り出されてし捷い正確に領域を分離す
ることが難しい。
To separate the target object area, use the spectral characteristics of the target object, and use light of a wavelength where the absorption of the target object is sufficiently larger than that of other objects. There is also (U, S Patent 3.999,047
In this case, a special optical filter is required, a general-purpose color TV camera cannot be used, and the S/N ratio is poor. Normally, an image that has been subjected to color linear calculations is binarized using an appropriate threshold value to divide the area into areas, but with threshold processing alone, areas with similar colors are also cut out at the same time, making it difficult to accurately divide the area. Difficult to separate.

本発明は上記の欠点を解消するためになされた   ゛
もので、TVカメラによって得られた濃淡画像を処理し
、画像に含まれる対象物の領域を正確に分離することの
できる画像処理装置を実現することを目的とする。
The present invention has been made in order to eliminate the above-mentioned drawbacks, and provides an image processing device that can process gray scale images obtained by a TV camera and accurately separate regions of objects included in the image. The purpose is to

本発明によれば、TVカメラにより得られる画像から演
算によって分離された2値画像に対してt1ケ微量によ
り領域補正を行なうことにより上記の目的を達成できる
According to the present invention, the above object can be achieved by performing area correction by a small amount of t1 on a binary image separated by calculation from an image obtained by a TV camera.

以下図面にもとすいて本発明全説明する。The present invention will be fully explained below with reference to the drawings.

第1図は本発明に係る画像処理装置の一実施例を示す構
成ブロック図である。第2図1dMI図の一部の動作を
説明するための要部構成ブロック図である。1は画像処
理装置の各部相互の信号の授受に使われるシステム・バ
ス、2は前記システム・バス1に接続し2、TVカメラ
(この実施例の場合には汎用カラーTVカメラ)からの
画像信号VD全画素毎にデジタル化するA/D変換部、
3は前記システム・バス1に接続し、前記A/D変換部
2からのデジタル画像信号を入力して記憶する画像メモ
リ部、4は前記システム・バス1に接続し、前記画像メ
モリ部3からのデジタル画像信号を入力して画素毎にカ
ラー演算及び2値化を行なう演算部、7は前記システム
・バス1vC接続し、アドレスされたカウンタの内容金
カウント・アップして各領域の特徴量の計数およびカラ
ー演算ヒストグラムの作成を行なうアドレッサブル・カ
ウンタ、8は前記システム・バス1に接続し、各部への
パラメータ・セ、ットおよびデータの授受を行なうプロ
セッサ部、9は各部へのクロック信号を供給するクロッ
ク・ジェネレータである、10は領域変換部でその詳細
が第2図に示されている。6は前記システム・バス1に
接続するタグ・メモリ部で、前記カラー画像の各画素の
属するタイプ届(画素が属する領域の種類を表わす届を
以下こう呼ぶ)とタグ届(領域ごとにつけるA、 f以
下こう呼ぶ)を記憶する2つのタグ・メモリ61.62
より構成されている。5は前記システム・バス1に接続
するタグ付部である。このタグ付部5において、51は
前記プロセッサ8からテーブル書き込み信号TWによっ
てその内容が書き込まれ、前記タグ・メモリ61から出
力される各画素毎のタイプ扁信号TPIとタグj16.
匍号TGIおよび前記演算部4からのビット・パターン
出力BPIに対応して新しいタイプA信号TP2および
新しいビット・パターン出力BI)2を出力する領域変
換テーブル、52は前記領域変換テーブル51からのビ
ット・パターン出力BP2に対応して番号付けを行なう
番号伺回路である。前記タグ・メモリ62へは領域変換
テーブル51からのタイプ煮信号TP2および番号付回
路52からのタグ点出力TG2が加えられ内部に記憶さ
れる。前記2つのタグ・メモリ61.61j:領域変換
の都度互いに役割が入れ替わる。第2図177b1 、
 jlfy、 2タグ・メモリがそれぞれタグ・メモリ
61.62として動作する状態を示している。
FIG. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention. FIG. 2 is a block diagram illustrating a main part configuration for explaining a part of the operation of the 1dMI diagram. 1 is a system bus used for exchanging signals between each part of the image processing device; 2 is connected to the system bus 1; and 2 is an image signal from a TV camera (in the case of this embodiment, a general-purpose color TV camera); A/D conversion unit that digitizes every pixel of the VD,
3 is an image memory unit connected to the system bus 1 and inputs and stores digital image signals from the A/D converter 2; 4 is connected to the system bus 1 and receives digital image signals from the image memory unit 3; A calculation unit 7 inputs the digital image signal and performs color calculation and binarization for each pixel, and 7 is connected to the system bus 1vC, counts up the contents of the addressed counter, and calculates the feature amount of each area. 8 is an addressable counter that performs counting and creates a color calculation histogram; 8 is a processor section that is connected to the system bus 1 and sets parameters and sends and receives data to each section; 9 is a processor section that sends a clock signal to each section; Reference numeral 10 denotes a clock generator which supplies a domain converter, the details of which are shown in FIG. Reference numeral 6 denotes a tag memory unit connected to the system bus 1, which stores a type notification to which each pixel of the color image belongs (hereinafter referred to as a notification indicating the type of area to which a pixel belongs) and a tag notification (A tag attached to each area). , f (hereinafter referred to as)) 61 and 62.
It is composed of 5 is a tagging section connected to the system bus 1; In this tagging section 5, the contents are written in by the table write signal TW from the processor 8, and the type signal TPI for each pixel output from the tag memory 61 and the tag j16.
An area conversion table 52 outputs a new type A signal TP2 and a new bit pattern output BI)2 in response to the TGI and the bit pattern output BPI from the arithmetic unit 4; 52 is a bit from the area conversion table 51;・This is a numbering circuit that performs numbering corresponding to pattern output BP2. The type input signal TP2 from the area conversion table 51 and the tag point output TG2 from the numbering circuit 52 are added to the tag memory 62 and stored therein. The two tag memories 61 and 61j: their roles are exchanged each time an area is converted. Fig. 2 177b1,
jlfy, 2 tag memories respectively operate as tag memories 61 and 62.

以下に本実施例の動作を血球像を処理する場合に沿って
説明する。カラーTVカメラによって得られた血球像は
画像信号VDとしてA/D変換部2に加えられ、A/D
変換後のデジタル・データがR(赤〕、G(緑)、B(
青〕 3色のデータとして画像メモリ3に書き込まれる
。画像メモリ3に記憶されたデータは第3図に示すよう
に白血球領域WC1赤血球領域RC、核領域N、細胞質
領域C9背景領域BGとからなる。次に背景領域BGと
血球領域(赤血球領域RC,白血球領域WC)を分離す
るのに最適なカラー演算係数(r1+ 91+ bl)
をプロセッサ8によって演算部4に設定する。画像メモ
リ3の内容を画素毎に演算部4に順次読み出してR,G
、B丙線形紹合(カラー3契算)e、 =r、 ・R−
11,・c+b、−I3の値を求め、この演算結果e、
fアドレスとして順次アドレッサブル・カウンタ7をカ
ウント°アップし、アドレッサブル・カウンタ7内にカ
ラー演算ヒストグラム(カラー演算値e1(となる画素
)の度数分布)を形成する。第4図は第3図の画像デー
タに関するカラー演算ヒストグラムである。プロセッサ
8はこのアドレッサブル・カウンタ7の内容(カラー演
算ヒストグラム)を読み込んで、背景領域BGと血球領
域を分離するのに適した閾値T1を求める。閾値T、 
fdプロセッサ8から演算部4へ送られる。再び画像メ
モリ3の内容を画素毎に順次演算部4に読み出してC,
==e、  ’r、== r 、’ R+ 91’ G
 + b、’ B  T。
The operation of this embodiment will be explained below along with the case where a blood cell image is processed. The blood cell image obtained by the color TV camera is added to the A/D converter 2 as an image signal VD, and the A/D
The digital data after conversion is R (red), G (green), B (
Blue] is written to the image memory 3 as three-color data. As shown in FIG. 3, the data stored in the image memory 3 consists of a white blood cell area WC1, a red blood cell area RC, a nuclear area N, a cytoplasmic area C9, and a background area BG. Next, determine the optimal color calculation coefficient (r1+91+bl) for separating the background region BG and the blood cell region (red blood cell region RC, white blood cell region WC).
is set in the calculation unit 4 by the processor 8. The contents of the image memory 3 are sequentially read out to the arithmetic unit 4 pixel by pixel to calculate R, G.
, B C linear introduction (color 3 contract) e, =r, ・R-
Find the value of 11,・c+b,-I3, and obtain the calculation result e,
The addressable counter 7 is sequentially counted up as the f address, and a color calculation histogram (frequency distribution of color calculation values e1 (pixels)) is formed in the addressable counter 7. FIG. 4 is a color calculation histogram for the image data of FIG. The processor 8 reads the contents of the addressable counter 7 (color calculation histogram) and determines a threshold value T1 suitable for separating the background region BG and the blood cell region. threshold T,
It is sent from the fd processor 8 to the arithmetic unit 4. The contents of the image memory 3 are read out to the arithmetic unit 4 pixel by pixel again.
==e, 'r, == r,' R+ 91' G
+ b,' B T.

の値を求め、C4の値の正負によつ″c2値信号となる
ビット・パターン出力BPIを領域変換テーブル51へ
送出する。領域変換テーブル51にはあらかしめ、ビッ
ト・パターン出力BPIに対し、C1〉0 の画素はタ
イプ屋信号出力TP2がタイプyffi O、C,(O
の画素はタイプA3となるように、プロセッサ8からテ
ーブル書込み(iMTWによりデータが%t=e込まれ
ている。この結果、タグメモリ62<Aε2タグメモリ
)には背景領域の画素はタイプA O、血球領域の画素
はタイプA3として沓き適寸れる。化5図に背景領域A
 50と血球領域A53&C分離しているタグ・メモリ
62(届2タグ・メモリフの内容を)くターン表示した
ものである。
The bit pattern output BPI, which becomes a "c binary signal" depending on the sign of the value of C4, is sent to the area conversion table 51. For the pixel C1〉0, the type signal output TP2 is type yffi O, C, (O
The processor 8 writes the table (data is written by iMTW to %t=e) so that the pixels in the background area are of type A3.As a result, the pixels in the background area are of type A3 in the tag memory 62<Aε2 tag memory , the pixels in the blood cell area are scaled to an appropriate size as type A3. Background area A in Figure 5
50 and the tag memory 62 (contents of the tag memory 2) separated from the blood cell area A53&C.

次に血球領域A53 ’f白血球領域と赤血球領域に分
離するのに最適なカラー演算係数(r2+f2+b)?
<プロセッサ8から演算部4に設定−する。背景領域と
血球領域の分離の際と同様にしてアドレッサブル・カラ
/り内にカラー演算ヒストグラム全形成し、プロセッサ
8において白廂球領域と赤血球領域R分離する閾値T2
を求め、演算部4に設定する。再び画像メモリ3の内容
ケ画素毎に演算部4に読み出して C2= C2−T2= r2 ・R+s’2・G+b2
・B−T、。
Next, blood cell region A53 'f What is the optimal color calculation coefficient (r2+f2+b) for separating into white blood cell region and red blood cell region?
<Set from processor 8 to calculation unit 4. In the same manner as when separating the background region and the blood cell region, a color calculation histogram is entirely formed in the addressable color, and the processor 8 sets the threshold T2 for separating the white blood cell region and the red blood cell region R.
is calculated and set in the calculation unit 4. The contents of the image memory 3 are read out again pixel by pixel to the calculation unit 4, and C2=C2-T2=r2・R+s'2・G+b2
・B-T.

の値を求め、C2の値の正負に対応した2値信号である
ビット・パターン出力BPIが領域変換テーブル51に
順次送られる。領域変換テーブル51にはあらかじめプ
ロセッサ8かもテーブル畳込み信号TWにより新しいデ
ータが智き適寸れてあり、タイプ扁信号人力TPIがタ
イプ別0(背景領域A50 )  のときはタイプ屋信
号出力TP2がタイプ扁0.タイグ扁信号人力TPIが
タイプ茄3(nnn領領域A33かつC2〉0 のとき
けタイプ扁信号出力TP2がタイプ扁23となり、タイ
プ煮信号人力TPIがタイプA3かつC2〈0 のとき
はタイプ扁信号出力TP2がタイプ廓1となる。
The bit pattern output BPI, which is a binary signal corresponding to the positive or negative value of C2, is sequentially sent to the area conversion table 51. The area conversion table 51 is preliminarily filled with new data by the table convolution signal TW of the processor 8, and when the type signal TPI is 0 for each type (background area A50), the type shop signal output TP2 is Type flat 0. When the Taigu signal human power TPI is type 3 (nnn area A33 and C2〉0), the type signal output TP2 becomes type 23, and when the type signal human power TPI is type A3 and C2〈0, the type signal is Output TP2 becomes type 1.

また2つのタグ・メモリは役割が入れ替わり、点2タグ
・メモリがタグ・メモリ61とし、て、jら1タグ・メ
モリがタグ・メモリ62として働く。
The roles of the two tag memories are also reversed, with the point 2 tag memory serving as the tag memory 61, and the point 2 tag memory serving as the tag memory 62.

したがってタグ・メモリ61の内容には背景領域A50
  と血球領域A53 に分離したパターンが書込まれ
ており、この内容が、前記内容の領域変換テーブル51
によって変換されると、タグ・メモ’) 62 (A 
1タグ・メモリ)には背景領域の画素はタイプA O、
白血球領域の画素はタイプA3゜赤血球領域の画素はタ
イプ扁1として暑き込1れる。第6図は背景領域A60
 と白血球領域A63および赤血球領域A61に分離し
ているタグ・メモリ62 (A 1タグ・メモリ)の内
容をパターン表示したものである。上記の白血球領域と
赤血球領域分離のための変換の際、領域変換テーブル5
1からはタイプ通信号出力TP2 と同時にビット・パ
ターン出力BP2が出力される。このときのビット・パ
ターン出力BP2はタイプ應信号出力TP2 がタイプ
A、 1 (赤血球領域A61)のときのみ1、その他
のときは0となる、番号付回路52はこのビット・パタ
ーン出力BP2 ’に入力して領域ごとに番号付は全行
ない、このタグ煮出力TG2が同一画素のタイプ應と対
応してタグ・メモリ62(A Iタグ・メモリ)に書き
適寸れる。第7図はこの赤血球領域A61に番号付のな
されたタグ・メモリ62の内容ヲハターン表示したもの
である。
Therefore, the contents of the tag memory 61 include the background area A50.
A separated pattern is written in the blood cell area A53, and this content is the area conversion table 51 of the above content.
62 (A
1 tag memory), pixels in the background area are of type A O,
Pixels in the white blood cell region are type A3, and pixels in the red blood cell region are type B1. Figure 6 shows the background area A60.
This is a pattern display of the contents of the tag memory 62 (A1 tag memory) which is separated into white blood cell area A63 and red blood cell area A61. When converting the above white blood cell region and red blood cell region separation, region conversion table 5
1 outputs a bit pattern output BP2 at the same time as a type communication signal output TP2. The bit pattern output BP2 at this time is 1 only when the type signal output TP2 is type A, 1 (red blood cell area A61), and 0 in other cases. After inputting and numbering each area, this tag output TG2 is written in the tag memory 62 (AI tag memory) in correspondence with the type of the same pixel and is sized appropriately. FIG. 7 shows the contents of the tag memory 62 numbered in the red blood cell area A61.

上記のタグ煮出力TG2 U同時に、アドレス・カウン
タに加えられ、各タグ点に槙する画素の数(ff1J 
チ面石にンをカウントする。ブロセソザ8はこのアドレ
ッサブル・カウンタ7の内容音読み込んで1領域の面積
がある値より小さいもののタグ点を求める。
The above tag output TG2U is added to the address counter at the same time, and the number of pixels (ff1J
Count the number of stones. The browser 8 reads the content of the addressable counter 7 and finds tag points for areas whose area is smaller than a certain value.

次に2つのタグ・メモリの役割が交換され、馬1 、 
A62タグ・メモリがそれぞれタグ・メモリ61.62
となる。また領域変換テーブル51には、タイプ篇信号
人力TPIがタイプA、 1かつタグ扁入力TGIが面
積小のタグ点のときタイプ扁信号出力TP2がタイプA
3となり、タイプ篇、信号人力TP1がタイプノん1か
つタグ届入力TGIが面積小のタグ点でないとき、タイ
プ扁信号出力TP2がタイプI61.l!l:なり、タ
イプA信号人力TPIがタイプAOとタイプA3の場合
にほぞの才まタイプ扁信号出力TP2となるようにグロ
セッザ8から新データが書き込1れる。この状態で、背
景領域A60と白血球領域A 63 卦よび赤血球領域
A61に分離しているタグ・メモリ61 (、% 1タ
グ・メモリンの内容が画素毎に領域変換テーブル51に
出力されると小面積の赤血球領域は白廁球領域に変更さ
れてタグ・メモリ62に入力する(赤血球領域補正)。
Then the roles of the two tag memories are swapped, horse 1,
Each A62 tag memory has a tag memory of 61.62.
becomes. In addition, in the area conversion table 51, when the type signal human input TPI is type A, and the tag input TGI is a tag point with a small area, the type signal output TP2 is type A.
3, and when the type signal TP1 is type no. 1 and the tag report input TGI is not a small area tag point, the type signal output TP2 is type I61. l! When the type A signal manual TPI is type AO and type A3, new data is written from the grosser 8 so that the output signal TP2 becomes the tenon type signal output TP2. In this state, if the tag memory 61 is separated into the background area A60, the white blood cell area A63, and the red blood cell area A61 (,%1), if the contents of the tag memory are output to the area conversion table 51 for each pixel, the area will be small. The red blood cell area is changed to a white blood cell area and input into the tag memory 62 (red blood cell area correction).

第8図に赤血球領域補正後のタグ・メモリ62 (A、
 2タグ・メモリ)の内容をパターン表示したものであ
る(As2・・・背景領域、八81・・・赤血球領域、
A2B・・・白血球領域)。(緑にかかった赤血球領域
が白血球領域に変更されている部分もあるが、これに次
に行う白血球領域の補正過程で訂正される。)上記の赤
血球領域補正用の領域変拗の際、領域変換テーブル51
からはタイプ扁信号出力TP2 と同期してビット・パ
ターン出力BP2が番号付回路52に加えられる。この
ときのビット・パターン出力BP2 U、タイプ篇信号
出力TP2がタイプノん3(白血球領域へ83)のとき
のみ1となるので、番号付回路52において白血球領域
A83についての番号付けがなされる。番号付回路52
からのタグ篇出力TG2+/;j:タグ メモリ62 
(A、 2タグ・メモリ)内に、同一画素のタイプ屋と
対応して書き込まれる。第9[4は白血球領域A83に
番号付ケした、タグ・メモリ62 (A、 2タグ・メ
モリ)の内容ケバターン表示したものである。上記のタ
グ届出力TG2 fl同時に、タグ点をアドレスとして
アドレッサブル・カウンタ7をカウント・アップし、ア
ドレッサブル・カウンタ内において白血球領域A83の
各領域ごとの面積(画素の数)が求まる。プロセッサク 8はこのアドレッサブル・カランh)内容音読み込み、
面積が最大となる(白血球)領域のタグj6を求める。
FIG. 8 shows the tag memory 62 (A,
2 tag memory) is displayed in a pattern (As2...background area, 881...red blood cell area,
A2B...white blood cell area). (There are some parts where the green red blood cell area has been changed to a white blood cell area, but this will be corrected in the next white blood cell area correction process.) When changing the area for red blood cell area correction above, Conversion table 51
From then on, a bit pattern output BP2 is applied to the numbered circuit 52 in synchronization with the type signal output TP2. At this time, the bit pattern output BP2U and the type signal output TP2 become 1 only when type number 3 (83 to the white blood cell area), so the numbering circuit 52 numbers the white blood cell area A83. Numbered circuit 52
Tag output from TG2+/;j: Tag memory 62
(A, 2 tag memory) is written in correspondence with the type of the same pixel. No. 9 [4] shows the contents of the tag memory 62 (A, 2 tag memory) in which the white blood cell area A83 is numbered. At the same time as the above tag notification output TG2 fl, the addressable counter 7 is counted up using the tag point as an address, and the area (number of pixels) of each region of the white blood cell region A83 is determined within the addressable counter. Processor 8 reads this addressable call h) content sound,
The tag j6 of the (white blood cell) region with the largest area is determined.

次に再び2つのタグ・メモリの役割が文学され、A I
 、 J102タグ・メモリがそれぞれタグ・メモリ6
2.61となる。また領域変換テーブル51には、タイ
プ屋信号人力TPIがタイプ116.3かつタグ扁入力
TGIが面積最大のタグ点のときタイプ扁信号出力TP
2がタイプ届3となり、タイプ煮信号人力TPIがタイ
プ届3かつタグj6人力TGIが面積最大のタグ屋でな
いときタイプ篇信号出力TP2 がタイプ116.1と
なり、タイプ信号形入力TPI  がタイプ扁0とタイ
プA、 1の場合にはその捷まタイプ篇信号出力TP2
となるようにプロセッサ8から新データが書き込まれる
。この状態で、赤血球領域補正後のタグ・メモ’) 6
1 (A 2タグ・メモリ)の内容が画素毎に順次領域
変換テーブル51に出力されると、最大面積の白血球領
域以外の白血球領域は赤血球領域に変更されてタイプ屋
信号出力TP2によってタグ・メモ’J 62 (11
(y、 1タグ・メモリ)内に記憶される(白血球領域
補正)。
Next, the roles of the two tag memories are discussed again in the literature, and A.I.
, J102 tag memory is each tag memory 6
It becomes 2.61. The area conversion table 51 also shows the type signal output TP when the type signal TPI is type 116.3 and the tag input TGI is the tag point with the largest area.
2 becomes type notification 3, type signal input TPI is type notification 3, and tag j6 human power TGI is not the largest area tag shop, type signal output TP2 becomes type 116.1, type signal input TPI becomes type 0. and type A, and in the case of 1, the kneading type signal output TP2
New data is written from the processor 8 so that. In this state, the tag/memo after red blood cell area correction') 6
1 (A2 tag memory) is sequentially output to the area conversion table 51 pixel by pixel, the white blood cell areas other than the white blood cell area with the largest area are changed to red blood cell areas and are converted into tag memo by the typewriter signal output TP2. 'J 62 (11
(y, 1 tag memory) (white blood cell area correction).

第10図は上記の白血球領域補正後のタグ・メモ’) 
62 (162タグ・メモリ)の自答ヲハターン表示し
たものである(A100・・・背景領域、A:l−01
・・・赤血球領域、AlO3・・・白血球領域ン。上記
の白血球領域補正用の領域変換の際、領域変換テーブル
51からのタイプ屋信号出力TP2は同時にアドレッサ
ブル・カウンタ7にもアドレス信号として加えられる。
Figure 10 shows the tag memo after the above white blood cell area correction.
62 (162 tag memory) is displayed in the self-answer pattern (A100...background area, A:l-01
... Red blood cell area, AlO3... White blood cell area. During the area conversion for white blood cell area correction, the type signal output TP2 from the area conversion table 51 is simultaneously applied to the addressable counter 7 as an address signal.

演算部4にはあらかじめプロセッサ8から、核領域と細
胞質領域を分離するのに最適なカラー演算係数(r3.
V3.b3)  が設定しである。前記の白血球領域補
正用の領域変換に同期して、画像メモリ3の内容が演算
部4に読み出され、演算部4からの演算出力e5がもう
一方のアドレス信号としてアドレッサブル・カウンタ7
に加えられる。この結果アドレッサブル・カウンタ7に
、カラー演算結果e3 と、白血球領域補正後のタイプ
篇とでアドレスされてカウント・アップし、アドレッサ
ブル・カウンタ内にカラー演算ヒストグラムを形成する
。プロセッサ8はこのアドレッサブル・カウンタ7の内
容(カラー演算ヒストグラム)のうちタイプ46.3(
白血球領域A103)K対応する部分を読み出して、核
領域と細胞質領域を分離するのに最適な閾値T5を求め
る。閾値T3はプロセッサ8から演算部4へ送られる。
The processor 8 sends the calculation unit 4 in advance a color calculation coefficient (r3.
V3. b3) is set. In synchronization with the area conversion for white blood cell area correction, the contents of the image memory 3 are read out to the calculation unit 4, and the calculation output e5 from the calculation unit 4 is sent to the addressable counter 7 as the other address signal.
added to. As a result, the addressable counter 7 is addressed with the color calculation result e3 and the white blood cell area corrected type and counts up, forming a color calculation histogram in the addressable counter. The processor 8 selects type 46.3 (color calculation histogram) of the contents of the addressable counter 7 (
The part corresponding to the white blood cell area A103)K is read out, and the optimum threshold value T5 for separating the nuclear area and the cytoplasmic area is determined. The threshold value T3 is sent from the processor 8 to the arithmetic unit 4.

以下、白血球領域から核領域を分離・修正するが、この
ときの動作手順はiIJ記の、血球領域から赤血球領域
を分離・補正した場合と同様である。最終的には核領域
はタイプA3、細胞質領域はタイプ扁2、赤血球領域は
タイプ扁1、背景領域1’l: A、 0として、第1
1図に示すような内容がA、 1タグ・メモリ(タグ・
メモリ62)に書き込まれる(AIIO・・・背景領域
、A111・・・赤血球領域、A112・・・細胞質領
域、A113・・・核領域)。
Hereinafter, the nuclear region is separated and corrected from the white blood cell region, and the operating procedure at this time is the same as the case where the red blood cell region is separated and corrected from the blood cell region described in IIJ. Finally, the nuclear area is type A3, the cytoplasmic area is type 2, the red blood cell area is type 1, and the background area is 1: A, 0.
The content shown in Figure 1 is A, 1 tag memory (tag memory).
(AIIO... background area, A111... red blood cell area, A112... cytoplasmic area, A113... nuclear area).

第12図はカラー演算のみによる領域分離結果(5)と
領域補正を加えた結果(B)とを別の画像について比較
したもので、領域補正の効果が明らかである。
FIG. 12 compares the region separation result (5) based only on color calculation and the result (B) with region correction added for another image, and the effect of region correction is clear.

なお上記の実施例では領域補正に用いる特徴量として面
積を用いたが、周長、目のあらさ、その他の特徴量ヲ用
いることができる。
In the above embodiment, area is used as the feature amount used for region correction, but other feature amounts such as circumference, eye roughness, etc. can also be used.

また上記の実施例におけるプロセッサ8として外部コン
ピュータを用いても構わない。この場合にはプロセッサ
8は外部コンピュータとの通信機能を受持つ。
Further, an external computer may be used as the processor 8 in the above embodiment. In this case, the processor 8 takes charge of the communication function with the external computer.

また上記の実施例では対象物の色彩に応じたカラー演算
係数を自由に設定できかつカラー画像ごとに最適のに値
をプロセッサで求めて領域分離を行なっているので染色
や光源などの条件の影響を受けずに領域の分離を正確に
行なうことができる。
In addition, in the above embodiment, the color calculation coefficient can be freely set according to the color of the object, and the optimum value for each color image is determined by the processor to perform region separation, so it is not affected by conditions such as staining and light source. Regions can be separated accurately without being affected.

本発明はまた、汎用のカラーTVカメラを用いることが
できしかも高速なので、血球像に限らず広く一般の工業
製品などのパターン言1測・認識などにも応用できる。
Furthermore, since the present invention can use a general-purpose color TV camera and is fast, it can be applied not only to blood cell images but also to pattern measurement and recognition of general industrial products.

また上記の実施例ではカラーTVカメラを用いる場合に
ついて説明したが、これに限らず白黒御飯画像などにも
同様に利用できる。この場合には演算部は二値化回路の
みでもよく、画像メモリの構成も簡単にできる、 以上述べたように本発明によれば、TVカメラによって
得られた濃淡画像を処理し、画像に含まれる対象物の領
域を正確に分離1゛ることのできる高速の画像処理装置
を実現することができる。
Further, in the above embodiment, the case where a color TV camera is used has been described, but the present invention is not limited to this, and can be similarly used for black-and-white rice images. In this case, the arithmetic unit only needs to be a binarization circuit, and the configuration of the image memory can be simplified.As described above, according to the present invention, a grayscale image obtained by a TV camera is processed, Accordingly, it is possible to realize a high-speed image processing device that can accurately separate regions of a target object.

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

第1図は本発明の一実施例を示す構成ブロック図、第2
図は第1図の一部についての要部イ再成ブロック図、第
3図は画像メモリに榴き込まれたカラー濃淡画像、第4
図は第3図の画像データに関するカラー演算ヒストグラ
ム、第5図は第3図の濃淡画像を背景領域と血球領域と
に領域分離した画像、第6図は第5図の画像の血球領域
を赤血球領域と白血球領域とに領域分離した画像、第7
図は第6図の赤血球領域に番号付をした画像、第8図t
ri第6図の画像に対して赤血球領域補正を行なった画
像、第9図は第8図の白血球領域に番号付をした画像、
第10図は第8図の画像に対して白血球領域補正を行な
った画像、第11図は第10図の画像の白血球領域につ
いて核領域の分離・補正を行なった画像、第12図(A
)はカラー演算のみにより領域分離した画像、第12図
(B)は領域補正を加えた画像である。 1・・・システム・バス、2・・・A/D 変m部、3
・・・画像メモリ部、4・・・演算部、5・・・タグ付
部、6・・・タグ・メモリ部、7・・・アドレッサブル
・カウンタ、899.プロセッサ部、51・・・領域変
換テーブル・52・・・番号付回路、61.62・・・
タグ・メモリカフ−1寅算値e1 犀5図 尾6図 M7図 第8図 革9図 第10図
FIG. 1 is a configuration block diagram showing one embodiment of the present invention, and FIG.
The figure is a block diagram of the main parts of a part of figure 1, Figure 3 is a color gradation image stored in the image memory,
The figure is a color calculation histogram for the image data in Figure 3, Figure 5 is an image in which the gray scale image in Figure 3 is separated into a background area and a blood cell area, and Figure 6 is an image of the blood cell area in the image in Figure 5 with red blood cells. Image separated into a region and a white blood cell region, 7th
The figure shows an image in which the red blood cell areas in Figure 6 are numbered, and Figure 8 t.
ri An image obtained by correcting the red blood cell area on the image in Fig. 6, Fig. 9 is an image in which the white blood cell areas in Fig. 8 are numbered,
Figure 10 is an image obtained by correcting the white blood cell area on the image in Figure 8, Figure 11 is an image obtained by separating and correcting the nuclear area in the white blood cell area of the image in Figure 10, and Figure 12 (A
) is an image in which regions have been separated only by color calculation, and FIG. 12(B) is an image in which region correction has been added. 1... System bus, 2... A/D variable section, 3
. . . image memory section, 4 . . . arithmetic unit, 5 . Processor section, 51... area conversion table, 52... numbered circuit, 61.62...
Tag/memory cuff-1 value e1 rhinoceros 5 figure tail 6 figure M7 figure 8 leather figure 9 figure 10

Claims (1)

【特許請求の範囲】 (1+TVカメラによって得られる画像信号を処理し、
画像に含まれる対象物の領域を分離し、対象物の特徴’
t k計測する画像処理装置において、特徴量によυ領
域補正を行なうことを特徴とした画像処理装置。 +21.TVカメラによって得られる画像を処理し、画
像に含まれる対象物の領域を分離し、対象物の特徴量を
計測する画像処理装置において、前記画像の各画素の属
するタイプ屋とタグ扁を記憶する第1のタグ・メモリと
、プロセッサからその内容が書き込まれ、前記第1のタ
グ・メモリから出力される各画素毎のタイプ屋信号とタ
グ篇信号および演算部からのピット・パターン出力に対
応して、新しいタイプ扁信号およびピット・パターン信
号を出力する領域変換テーブルと、この領域変換テーブ
ルからのピット・)くり一ン出力に対応して番号付けを
行なう番号付回路と、この番号付回路からのタグ届出力
とこれと対応する前記領域変換テーブルからのタイプj
6出力とを入力して記憶する第2のタグメモリとを具備
し、前記2つのタグメモリを領域変換ごとに交互に切り
換えることにより特徴量による領域補正を行なうことを
特徴とした両像処理装置。 (3)TVカメラによって得られる画像を処理し、画像
に含まれる対象物の領域を分離し、対象物の特徴量を計
測する画像処理装置Vこおいて、各部相互間の信号の授
受に使われるシステム・バスと、このシステム・バスに
接続し、前記TVカメラからの信号を画素毎にデジタル
化するA/D変換部と、前記システム・バスに接続し、
前記A/D変換部からのデジタル画1家信号を入力して
記憶する画像メモリ部と、rJ11記シスナシステムに
接続し、前記画像メモリ部からのデジタル画像信号を入
力して画素毎に演算全行なう演算部と、前記システム・
バスに接続し、アドレスされたカウンタの内容をカウン
ト・アップして各領域の特徴量の計数および演算ヒスト
ダラムの作成を行なうアドレッサブル・カウンタと、前
記システム バスに接続し、前記画像の各画素の楓する
タイプ屋とタグAf記憶するタグ・メモリ部と、前記シ
ステム・バスに接続し、前記演算部からの各画素毎のビ
ット・ノくターン出力および前記タグメモリ部からの各
画素毎のタイプ煮イg号とタグA信号に対応して新しい
タイプ屋信号および新しいタグ煮信号金出力するタグ付
部と、Oil記シフシステムスに接続し、上記各部への
パラメータ・セットおよびデータの授受を行なうプロセ
ッサ部とを具備し、特徴量による領域補正全行なうこと
を特徴とした画像処理装置。
[Claims] (1+Processing an image signal obtained by a TV camera,
Separate the region of the object included in the image and identify the object's features'
An image processing device that performs t k measurement, and is characterized in that it performs υ region correction using feature amounts. +21. In an image processing device that processes an image obtained by a TV camera, separates the region of an object included in the image, and measures the feature amount of the object, the type and tag to which each pixel of the image belongs is stored. A first tag memory, the contents of which are written by the processor, corresponds to the type signal and tag signal for each pixel output from the first tag memory, and the pit pattern output from the calculation section. A region conversion table that outputs a new type signal and a pit pattern signal, a numbered circuit that performs numbering corresponding to the pit pattern output from this region conversion table, and a numbered circuit that performs numbering corresponding to the pit pattern output from this region conversion table, and tag notification output and the corresponding type j from the area conversion table
and a second tag memory that inputs and stores six outputs, and performs area correction based on feature amounts by alternately switching between the two tag memories for each area conversion. . (3) An image processing device V that processes images obtained by a TV camera, separates the regions of the object included in the image, and measures the feature amounts of the object, is used for sending and receiving signals between each part. a system bus connected to the system bus, an A/D conversion unit connected to the system bus and digitizing the signal from the TV camera pixel by pixel;
An image memory unit that inputs and stores the digital image signal from the A/D conversion unit is connected to the rJ11 Sysna system, inputs the digital image signal from the image memory unit, and performs calculations for each pixel. The arithmetic unit that performs all the operations and the system
an addressable counter that is connected to the system bus and counts up the contents of the addressed counter to count the feature amount of each area and create a calculation histogram; A tag memory section for storing a tag Af is connected to the system bus, and a bit number output for each pixel from the arithmetic section and a type information for each pixel from the tag memory section are connected to the system bus. It connects to the tagging section, which outputs a new type signal and a new tag signal in response to the Ig and tag A signals, and the oil shift system, and sends and receives parameter sets and data to each of the above sections. What is claimed is: 1. An image processing device comprising: a processor section, and performing all region correction based on feature amounts.
JP57163684A 1982-09-20 1982-09-20 Picture processing device Granted JPS5953968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57163684A JPS5953968A (en) 1982-09-20 1982-09-20 Picture processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57163684A JPS5953968A (en) 1982-09-20 1982-09-20 Picture processing device

Publications (2)

Publication Number Publication Date
JPS5953968A true JPS5953968A (en) 1984-03-28
JPH024027B2 JPH024027B2 (en) 1990-01-25

Family

ID=15778629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57163684A Granted JPS5953968A (en) 1982-09-20 1982-09-20 Picture processing device

Country Status (1)

Country Link
JP (1) JPS5953968A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05244596A (en) * 1991-11-04 1993-09-21 Hughes Aircraft Co Video image processor and vehicle detection method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4837207A (en) * 1971-09-17 1973-06-01
JPS5672846A (en) * 1979-11-20 1981-06-17 Kogyo Gijutsuin Automatic measuring apparatus of red cell
JPS57103570A (en) * 1980-12-19 1982-06-28 Fujitsu Ltd Picture processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4837207A (en) * 1971-09-17 1973-06-01
JPS5672846A (en) * 1979-11-20 1981-06-17 Kogyo Gijutsuin Automatic measuring apparatus of red cell
JPS57103570A (en) * 1980-12-19 1982-06-28 Fujitsu Ltd Picture processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05244596A (en) * 1991-11-04 1993-09-21 Hughes Aircraft Co Video image processor and vehicle detection method

Also Published As

Publication number Publication date
JPH024027B2 (en) 1990-01-25

Similar Documents

Publication Publication Date Title
CN100571335C (en) Image syncretizing effect real-time estimating method and device based on pixel space relativity
CN104052979B (en) For device and the technology of image processing
JPH01242961A (en) Method and apparatus for processing cell image
JP2008015706A (en) Image processor
CN102893609B (en) Image processing apparatus and control method for image processing apparatus
CN102638639A (en) Image processing apparatus, imaging apparatus, and image processing method
CN100369459C (en) Image signal processing apparatus
CN105575314A (en) Gray scale processing method, gray scale processing device and display device
CN111031256B (en) Image processing method, image processing device, storage medium and electronic equipment
JPS5953968A (en) Picture processing device
CN100386050C (en) Color misregistration reducer
EP0380090A2 (en) Image processing system
CN116523803B (en) Image processing method, shadow removing device, apparatus, and storage medium
Chen et al. Low-light image enhancement and acceleration processing based on ZYNQ
JPS63314988A (en) Video rate color extracting device
CN103548057A (en) Character region pixel identification device and method thereof
JPS6232569A (en) Color picture device
JPS60117375A (en) Picture processor
JP2002024826A (en) Image processing device and image processing method
JP2851060B2 (en) Color identification device
JPH01179082A (en) Display device for sample
JPH05298443A (en) Color picture area extracting device
CN116095306A (en) Picture detection method, device, computer equipment and storage medium
JPS62157973A (en) Method and device for data processing
Starețu et al. Processing and analyzing object images with the view of object grasping