Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH077455B2 - Partial image area separation device - Google Patents
[go: Go Back, main page]

JPH077455B2 - Partial image area separation device - Google Patents

Partial image area separation device

Info

Publication number
JPH077455B2
JPH077455B2 JP63248102A JP24810288A JPH077455B2 JP H077455 B2 JPH077455 B2 JP H077455B2 JP 63248102 A JP63248102 A JP 63248102A JP 24810288 A JP24810288 A JP 24810288A JP H077455 B2 JPH077455 B2 JP H077455B2
Authority
JP
Japan
Prior art keywords
edge
adjacent
pixel
image
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63248102A
Other languages
Japanese (ja)
Other versions
JPH0296286A (en
Inventor
真一 松居
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63248102A priority Critical patent/JPH077455B2/en
Publication of JPH0296286A publication Critical patent/JPH0296286A/en
Publication of JPH077455B2 publication Critical patent/JPH077455B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、図形あるいは画像の一部分を、認識等のため
に自動的に分離・抽出する装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for automatically separating / extracting a part of a figure or an image for recognition or the like.

従来の技術 近年、OA・FA等の実用化が進み、図形・画像を認識する
必要性が高まってきているが、その前処理として、入力
されたディジタルの図形・画像情報(以下画像情報とす
る)から、例えば文字の領域といったような認識対象と
する部分領域の画像だけを分離し、上記部分領域の構成
画素群の座標・画素値や外接矩形枠情報といった、部分
画像領域の情報を抽出する装置の重要性も増してきてい
る。
2. Description of the Related Art In recent years, the practical use of OA, FA, etc. has advanced, and the need for recognizing figures and images has increased. ), Only the image of the partial area to be recognized, such as a character area, is separated, and the information of the partial image area such as the coordinates / pixel values of the constituent pixel groups of the partial area and the circumscribed rectangular frame information is extracted. The importance of equipment is also increasing.

以下、図面を参照しながら従来の部分画像領域分離装置
の二例について説明する。
Hereinafter, two examples of the conventional partial image area separation device will be described with reference to the drawings.

第5図は従来の部分画像領域分離装置の第1例の構成を
示すブロック図である。第5図において、1はエッジ抽
出部、7はエッジラベリング部、8は閉領域抽出部、5
は画像記憶部、6は画像領域情報記憶部である。
FIG. 5 is a block diagram showing the configuration of a first example of a conventional partial image area separation device. In FIG. 5, 1 is an edge extraction unit, 7 is an edge labeling unit, 8 is a closed region extraction unit, 5
Is an image storage unit, and 6 is an image area information storage unit.

以下その動作について説明する。まず、画素の濃度差や
色情報、あるいはより高解像度の画像等の情報を用い
て、分離したい領域の輪郭部分、すなわちエッジ部分を
エッジ抽出部で抽出する。次に、上記エッジを構成する
各画素に、エッジを示すラベル(画素値)を第6図のよ
うに与える。第6図において、“〇”はエッジ構成画素
を表わすラベル、“・”は分離対象画像領域中でエッジ
以外の画素を表わすラベルであるが、エッジ以外の画素
は“〇”以外のラベルを持てば良く、一様に同じラベル
を持つ必要はない。また、分離対象画像領域外の画素も
“〇”以外のラベルを持っていれば良く、上記領域中の
画素のラベルと同じものでも良い。
The operation will be described below. First, the edge extraction unit extracts the contour portion of the region to be separated, that is, the edge portion, using the density difference of pixels, color information, or information such as a higher resolution image. Next, a label (pixel value) indicating the edge is given to each pixel forming the edge as shown in FIG. In FIG. 6, “◯” is a label that represents an edge constituent pixel, and “•” is a label that represents a pixel other than an edge in the separation target image area. However, a pixel other than an edge can have a label other than “◯”. Better, it doesn't have to have the same label. Further, the pixels outside the separation target image area may have the labels other than “◯”, and may be the same as the labels of the pixels in the area.

このようにラベル付けされた画像を画像記憶部に格納し
ておき、対象とする部分画像領域及びその情報を得たい
時に、閉領域抽出部でエッジとその内側の画素の情報を
取り出して、画像領域情報記憶部に格納する。
The image labeled in this way is stored in the image storage unit, and when it is desired to obtain the target partial image region and its information, the closed region extraction unit extracts the information of the edge and the pixels inside it, and Stored in the area information storage unit.

また、第8図は従来の部分画像領域分離装置の第2例の
構成を示す図である。第8図において、9は領域抽出
部、10は領域ラベリング部、11はラベリング領域抽出
部、5は画像記憶部、6は画像領域情報記憶部である。
Further, FIG. 8 is a diagram showing a configuration of a second example of the conventional partial image area separating device. In FIG. 8, 9 is a region extraction unit, 10 is a region labeling unit, 11 is a labeling region extraction unit, 5 is an image storage unit, and 6 is an image region information storage unit.

以下その動作について説明する。まず、第1例のエッジ
抽出部で用いたような各種の情報によって、分離したい
領域に属する画素を決定する。次に、上記領域を構成す
る画素すべてにその領域固有のラベルを与える。第9図
は、別々に分離したい2つの領域が隣接している際にラ
ベル付けした状態を表わしている。“”のラベルを持
つ画素が1つの領域に、“”のラベルを持つ画素がも
う1つの領域に属している。
The operation will be described below. First, the pixels belonging to the region to be separated are determined based on various kinds of information used in the edge extraction unit of the first example. Next, a label peculiar to the area is given to all the pixels forming the area. FIG. 9 shows a state where two regions to be separated separately are labeled when they are adjacent to each other. Pixels having the label "" belong to one area, and pixels having the label "" belong to the other area.

このようにラベル付けされた画像を画像記憶部に格納し
ておき、対象とする部分画像領域及びその情報を得たい
時に、ラベリング領域抽出部でその領域のラベルを持つ
画素の情報を取り出して、画像領域情報記憶部に格納す
る。
The image labeled in this way is stored in the image storage unit, and when it is desired to obtain the target partial image region and its information, the labeling region extraction unit extracts the information of the pixel having the label of the region, It is stored in the image area information storage unit.

発明が解決しようとする課題 しかしながら上記のような構成では、近年取り扱われる
ようになってきた大規模かつ複雑な画像を、高速にまた
経済的に処理できない、という問題点を有していた。
However, the above-mentioned configuration has a problem that a large-scale and complicated image which has been handled in recent years cannot be processed at high speed and economically.

すなわち、従来例の第1例においては、第7図のように
分離・抽出したい2またはそれ以上の領域が隣接してい
ると、輪郭追跡型あるいはラスター・スキャン型のいず
れの手法を用いても各領域のエッジを正しく抽出するこ
とが困難である。また、この問題を避けるために、分離
・抽出したい各々の部分画像領域ごとにエッジに与える
ラベルを固有のものとすると、分離対象となる領域の数
が増加した場合に与えるラベルの種類も増加し、ラベル
付けのために必要な情報量も増えるので、1画素当りに
必要な記憶容量を大きくしなければならず、画像記憶部
全体の容量も大きくする必要が生じる。あるいは、第7
図の領域Aをラベル付け・分離・抽出した後に、エッジ
のラベルを元に戻してから領域Bをラベル付け・分離・
抽出する手法も考えられるが、これではもう一度領域A
の画像及びその情報が必要となった場合に、(膨大な記
憶容量を用いてすべての部分画像領域の画像と情報を画
像領域情報記憶部に格納しておくのでなければ)最初の
エッジ抽出からやり直さねばならない。
That is, in the first example of the conventional example, when two or more regions to be separated / extracted are adjacent to each other as shown in FIG. 7, either the contour tracking type or the raster scan type is used. It is difficult to correctly extract the edge of each region. In order to avoid this problem, if each edge of each partial image area to be separated / extracted is given a unique label, the number of labels to be added increases when the number of areas to be separated increases. Since the amount of information required for labeling also increases, it is necessary to increase the storage capacity required for each pixel and also increase the capacity of the entire image storage section. Alternatively, the seventh
After labeling / separating / extracting the area A in the figure, restore the edge label and then label / separate / separate the area B.
A method of extraction is also conceivable, but this is again the area A
When the image and its information are needed, the first edge extraction (unless the images and information of all partial image areas are stored in the image area information storage unit using a huge storage capacity) I have to start over.

従来例第2例の場合には、隣接領域の問題と再処理の問
題は起らないが、上記第1例の課題に述べたのと同様、
分離対象領域の数が増加すれば大容量の画像記憶部が必
要になるほか、エッジ画素だけでなく領域内全画素に対
してラベル付けを行なうため、領域ラベリング部の処理
に多くの時間がかかってしまうという問題がある。
In the case of the second example of the conventional example, the problem of the adjacent area and the problem of the reprocessing do not occur, but like the problem of the first example described above,
If the number of regions to be separated increases, a large-capacity image storage unit will be required, and not only edge pixels but all pixels in the region will be labeled, so that the region labeling unit will take a lot of time. There is a problem that it will end up.

本発明は上記の課題に鑑み、複数の分離対象となる画像
領域が隣接していても各々の領域を正しく分離・抽出す
ることができ、一度ラベル付けされた画像からは何度で
も画像と情報の分離・抽出が可能であり、画像記憶部に
大容量を必要とせず、高速に処理を行なうことが可能な
部分画像領域分離装置を提供するものである。
In view of the above-mentioned problems, the present invention can correctly separate and extract each area even if a plurality of image areas to be separated are adjacent to each other. The present invention provides a partial image area separation device capable of performing high-speed processing without requiring large capacity in the image storage unit.

課題を解決するための手段 上記の課題を解決するために本発明の部分画像領域分離
装置は、分離対象画像領域のエッジ(輪郭)を検出する
エッジ抽出部と、エッジ構成画素にエッジであることを
示す画素値を付与する隣接エッジラベリング部と、上記
エッジ構成画素の外側に隣接する画素に画素値を付与す
るエッジ外縁ラベリング部と、上記エッジ構成画素及び
上記外側に隣接する画素の画素値から分離対象画像領域
を分離・抽出する隣接閉領域抽出部と、画像の画素値情
報を記憶する画像記憶部と、分離・抽出した部分画像領
域に関する情報を記憶する画像領域情報記憶部とを備
え、上記隣接エッジラベリング部及び上記エッジ外縁ラ
ベリング部は、複数の分離対象画像領域が隣接している
場合には、画素値を付与する時点で判明している上記隣
接している分離対象画像領域の個数に応じたエッジ及び
外縁を示す画素値を付与することを特徴としている。
Means for Solving the Problems In order to solve the above problems, a partial image area separation device of the present invention is an edge extraction unit that detects an edge (contour) of a separation target image area, and an edge constituent pixel is an edge. From the pixel values of the adjacent edge labeling unit that gives the pixel value indicating, the edge outer edge labeling unit that gives the pixel value to the pixel adjacent to the outside of the edge constituent pixel, and the edge constituent pixel and the pixel adjacent to the outside. An adjacent closed area extraction unit that separates / extracts the separation target image area, an image storage unit that stores pixel value information of the image, and an image area information storage unit that stores information about the separated / extracted partial image areas, The adjacent edge labeling unit and the edge outer edge labeling unit are known at the time of assigning pixel values when a plurality of separation target image regions are adjacent to each other. It is characterized in that pixel values indicating edges and outer edges are provided according to the number of adjacent separation target image areas.

作用 本発明は上記した構成によって、従来と同程度の処理の
高速性を維持しつつ、隣接エッジラベリング部とエッジ
外縁ラベリング部で複数の分離対象領域間の隣接状態を
考慮したラベル付けを行ない、隣接閉領域抽出部で上記
のようにラベル付けされた画像の内部領域を切り出すこ
とにより、分離対領域それぞれに固有のラベルを持たな
いので、画像記憶部に大容量を必要とせずに複数回の処
理が可能な部分画像領域の分離・抽出を行なう。
Effect The present invention, by the above-described configuration, while maintaining the same high-speed processing as conventional, performs labeling in consideration of the adjacent state between the plurality of separation target regions in the adjacent edge labeling section and the edge outer edge labeling section, By cutting out the internal region of the image labeled as described above by the adjacent closed region extraction unit, each separated pair region does not have a unique label, so that the image storage unit does not need a large capacity to perform multiple times. Separation and extraction of processable partial image areas are performed.

実施例 以下本発明の一実施例の部分画像領域分離装置につい
て、図面を参照しながら説明する。第1図は本発明の一
実施例の構成を示すものである。第1図において、1は
エッジ抽出部、2は隣接エッジラベリング部、3はエッ
ジ外縁ラベリング部、4は隣接閉領域抽出部、5は画像
記憶部、6は画像領域情報記憶部である。
Embodiment A partial image area separation device according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of an embodiment of the present invention. In FIG. 1, 1 is an edge extraction unit, 2 is an adjacent edge labeling unit, 3 is an edge outer edge labeling unit, 4 is an adjacent closed region extraction unit, 5 is an image storage unit, and 6 is an image region information storage unit.

以下その動作を説明する。ディジタル画像は正方格子状
のものを仮定するが、六角格子状のものなどでもわずか
な変更で同様に動作させることが可能である。
The operation will be described below. The digital image is assumed to have a square lattice shape, but a hexagonal lattice shape or the like can be similarly operated with a slight modification.

エッジ抽出部は従来例第1例と同じもので、濃度情報や
高解像度画像情報などを用いて分離対象画像領域の輪郭
を抽出する。次に、隣接エッジラベリング部とエッジ外
縁ラベリング部によるラベル付けの様子を第2図を用い
て説明する。まず、領域Aのエッジには、エッジを表わ
すラベル“”を与える。そして、領域Aのエッジの外
側の画素(8連結でエッジの外側に隣接している画素)
には、外縁を表わすラベル“〇”を与える。もし、領域
Aが単独で(隣接する他の分離対象領域がない状態で)
存在すれば、このままの形となり、従来例第1例と同様
に分離・抽出を行なえばよいことになる。第2図のよう
に、領域Aに隣接して別の分離対象領域Bがある場合に
は以下のようになる。隣接エッジラベリング部は、実は
ただ機械的にエッジ画素に“”のラベルを与えている
のではない。エッジ画素のラベル付けを行なう前の画素
値(ラベル)をみて、与えるラベルの種類を決定する。
第2図では、領域Bのエッジ画素のうちの一部(領域A
のエッジと隣接している部分)には、最初(領域Aのラ
ベル付けの時に)外縁を表わすラベル“〇”が付けられ
ている。この場合には他の分離対象領域(ここでは領域
A)のエッジに隣接しているということになるので、与
えるラベルを隣接エッジラベル“”とする。このと
き、エッジ外縁ラベリング部では、隣接エッジラベルの
領域外側8連結の画素に対して隣接エッジの外縁を表わ
すラベル“”を与える。但し、エッジ外縁ラベリング
部は、エッジ外縁の画素であっても、他の領域のエッジ
画素である場合はラベルを変更しない。このため、第2
図で領域Aのエッジが切断されることはない。エッジが
斜め方向になっていてしかも隣接して別の分離対象領域
のエッジが存在する場合、現在着目している領域の内側
が隣接領域のラベル付け時に外縁のラベルを付けられて
いることがある。隣接エッジラベリング部はこのような
画素を検出し、ラベルをエッジあるいはエッジ外縁を表
さない画素値に変更する。第2図で領域Bの中の“×”
を付けた画素がこれに当る。また逆に、既にラベル付け
された領域の内側の画素が隣接する他の領域の外縁とな
ることがある。エッジ外縁ラベリング部はこのような画
素を検出すると、外縁を表わすラベルをつけることをし
ない。第2図で領域Aの中の“△”を付けた画素がこれ
に当る。このように、隣接エッジラベリング部とエッジ
外縁ラベリング部は、周囲の画素のラベルも参照しなが
らラベル付けをすることもある。正方格子状のディジタ
ル画像の場合には、第3図のように1点に4領域までが
隣接することがあるので、エッジと外縁のラベルを3重
及び4重のものまで用意しておく。エッジ画素の元のラ
ベルが隣接エッジの外縁“”であった時に与えるのが
3重隣接エッジラベルであり、その外縁の画素に3重隣
接エッジの外縁を表わすラベルを与える。4重の時も同
様である。ディジタル画像が六角格子状のものなら、3
重のラベルまでで良い。実際のラベル付けでは、エッジ
画素とその外縁の画素とに同時に(並列的に)ラベルを
与えることができるので高速性を損なうことはない。
The edge extraction unit is the same as in the first example of the related art, and extracts the contour of the separation target image area using density information, high resolution image information and the like. Next, the manner of labeling by the adjacent edge labeling portion and the edge outer edge labeling portion will be described with reference to FIG. First, a label "" representing the edge is given to the edge of the area A. Pixels outside the edge of region A (pixels that are adjacent to the outside of the edge by connecting 8)
Is given a label “◯” representing the outer edge. If the area A is alone (without other adjacent separation target areas)
If it exists, the form is kept as it is, and the separation / extraction may be performed as in the first example of the prior art. As shown in FIG. 2, when another separation target area B is adjacent to the area A, the following is performed. The adjacent edge labeling unit is not actually just mechanically labeling the edge pixels with "". The type of label to be given is determined by looking at the pixel value (label) before labeling edge pixels.
In FIG. 2, some of the edge pixels in the region B (region A
The portion adjacent to the edge of is labeled with a label "o" that represents the outer edge (when labeling area A). In this case, it means that the label is adjacent to the edge of another separation target area (here, the area A), so the label to be given is the adjacent edge label “”. At this time, in the edge outer edge labeling section, the label “” representing the outer edge of the adjacent edge is given to the pixels connected to the outside 8 of the area of the adjacent edge label. However, the edge outer edge labeling unit does not change the label even if the pixel is an edge outer edge, but is an edge pixel in another area. Therefore, the second
In the figure, the edge of the area A is not cut. If the edge is diagonal and there is an edge of another separation target area adjacent to it, the inside of the area of interest may be labeled as the outer edge when labeling the adjacent area. . The adjacent edge labeling unit detects such a pixel and changes the label to a pixel value that does not represent an edge or an edge outer edge. "X" in area B in Fig. 2
Pixels marked with correspond to this. Conversely, a pixel inside an already labeled area may become the outer edge of another adjacent area. When the edge outer edge labeling unit detects such a pixel, it does not label the outer edge. Pixels marked with “Δ” in the area A in FIG. 2 correspond to this. As described above, the adjacent edge labeling portion and the edge outer edge labeling portion may be labeled with reference to the labels of the surrounding pixels. In the case of a square grid digital image, up to four areas may be adjacent to one point as shown in FIG. 3, so that labels for edges and outer edges of triple and quadruple are prepared. When the original label of the edge pixel is the outer edge "" of the adjacent edge, a triple adjacent edge label is given, and the pixel of the outer edge is given a label representing the outer edge of the triple adjacent edge. The same applies to the case of quadruple. 3 if the digital image is hexagonal grid
Double labels are all right. In the actual labeling, the edge pixel and the pixel at the outer edge thereof can be labeled at the same time (in parallel), so that high speed performance is not impaired.

このようにラベル付けされた画像を画像記憶部に記憶さ
せておけば、隣接閉領域抽出部によって何度でも画像と
情報を分離・抽出することが可能となる。隣接閉領域抽
出部は、エッジを時計方向に追跡し、左側のエッジを進
んでいる間(すなわち進行方向の垂直成分が上方を向い
ている間)、その画素から水平方向右向きに境界画素ま
での一列の画素群を抽出する。境界画素は、スタート地
点のエッジ画素と隣接画像領域の異なった個数に対応し
たエッジ画素に突き当った時その1画素左の画素であ
り、またいずれかの種類の外縁を表わす画素に突き当っ
た時にもその1画素左の画素となる。これを領域のエッ
ジに沿って一周するまで(出発点に戻るまで)追跡しな
がら行なえば、領域内の全画素について分離・抽出が可
能となる。エッジの追跡は、着目エッジ画素の8連結方
向の8画素内で、1画素前の時点のエッジ画素(進んで
きた元の方向の画素)以外の方向に、同一種のエッジ画
素があればその方向へ、なければ隣接画像領域の異なっ
た個数に対応したエッジ画素があればその方向へ進み、
それもなければ前の画素の方向へ戻ることによって可能
となる。但し、第4図のように突き出した画素(これは
領域Cの画素)がある場合には、領域Dのエッジ画素の
方向へ進んでしまっては困るので、このような突き出し
の端点画素には、ラベル付けの際にあらかじめ(容易に
検出できるので)“”のラベルを付けておくことと
し、このラベルを持つ画素に進んだ時は、無条件に元の
方向へ戻ることにしておく。隣接エッジ画素及び3重・
4重の隣接エッジ画素にも同様の端点ラベルを用意す
る。これらの端点ラベルと、隣接画像領域の個数に対応
したエッジ画素,隣接エッジ画素等とは、エッジ追跡に
ついては同種であると考える(こうしないと、端点画素
の取り残しが出てしまう)。
If the image labeled in this way is stored in the image storage unit, the adjacent closed region extraction unit can separate and extract the image and information any number of times. The adjacent closed region extraction unit traces the edge in the clockwise direction, and while advancing the left edge (that is, while the vertical component of the advancing direction is facing upward), from that pixel to the boundary pixel in the horizontal direction to the right. Extract a row of pixels. The boundary pixel is a pixel one pixel to the left when the edge pixel at the start point and the edge pixel corresponding to a different number of adjacent image areas are hit, and also hits a pixel representing any kind of outer edge. Sometimes it is the pixel one pixel to the left. If this process is performed while tracing around the edge of the region (until returning to the starting point), all pixels in the region can be separated / extracted. Edge tracking is performed if there is an edge pixel of the same type in eight pixels in the eight connected directions of the target edge pixel in a direction other than the edge pixel at the time point one pixel before (the pixel in the original direction that has advanced). Direction, or if there is an edge pixel corresponding to a different number of adjacent image areas, go to that direction,
Otherwise it is possible to go back in the direction of the previous pixel. However, when there is a protruding pixel (this is a pixel in the area C) as shown in FIG. 4, it is not necessary to proceed in the direction of the edge pixel in the area D. When labeling, the label "" is attached in advance (because it can be easily detected), and when the pixel having this label is reached, it is unconditionally returned to the original direction. Adjacent edge pixels and triple
Similar endpoint labels are prepared for quadruple adjacent edge pixels. It is considered that these end point labels and the edge pixels corresponding to the number of the adjacent image areas, the adjacent edge pixels, and the like are of the same kind in terms of edge tracking (otherwise, the end point pixels are left out).

このように、上記の12種類(六角格子状画像なら9種
類)のラベルを一部の画素に付加するだけで、隣接した
分離対象画像領域がある場合でも、各々の領域を正しく
分離・抽出することができる。なお、ここでは各画素に
ラベルを与える際、画素値を書き換えることにしている
が、元の画素値の情報を保持したい時などは、画素値に
上記の各ラベルをオフセットとして加える、等の方法を
取っても良い。
As described above, by simply adding the above-mentioned 12 types (9 types in the case of a hexagonal grid image) to some pixels, even if there are adjacent separation target image regions, each region is correctly separated / extracted. be able to. Although the pixel value is rewritten when the label is given to each pixel here, a method such as adding each label as an offset to the pixel value when retaining the information of the original pixel value is used. You can take it.

発明の効果 以上のように本発明は、隣接エッジラベリング部と、エ
ッジ外縁ラベリング部とを設け、上記隣接エッジラベリ
ング部及び上記エッジ外縁ラベリング部は、複数の分離
対象画像領域が隣接している場合には、画素値を付与す
る時点で判明している上記隣接している分離対象画像領
域の個数に応じたエッジ及び外縁を示す画素値を付与す
ることにより、分離対象画像領域が相互に隣接している
ことを許し、複数回の処理が可能で画像記憶部に大容量
を必要とせず、高速な部分画像領域分離を可能とするも
ので、各種図形・画像の処理・認識等において、高速か
つ柔軟な前処理を提供するものである。
EFFECTS OF THE INVENTION As described above, the present invention provides the adjacent edge labeling portion and the edge outer edge labeling portion, and the adjacent edge labeling portion and the edge outer edge labeling portion have a plurality of separation target image areas adjacent to each other. , The separation target image areas are adjacent to each other by giving pixel values indicating edges and outer edges according to the number of the adjacent separation target image areas that are known at the time of providing the pixel values. It is possible to perform multiple times of processing, does not require a large capacity in the image storage unit, and enables high-speed partial image area separation. It provides flexible pretreatment.

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

第1図は本発明の一実施例における部分画像領域分離装
置の構成図、第2図は上記装置による画像のラベル付け
結果の例を示すデータ図、第3図はディジタル画像上で
の隣接領域数を説明するデータ図、第4図は上記装置に
よる突出した部分を持つ画像のラベル付け結果の例を示
すデータ図、第5図は従来例第1例の部分画像領域分離
装置の構成図、第6図は同装置による画像のラベル付け
結果の例を示すデータ図、第7図は同装置によるラベル
付けの課題を示すデータ図、第8図は従来例第2例の部
分画像領域分離装置の構成図、第9図は同装置による画
像のラベル付け結果を示すデータ図である。 1……エッジ抽出部、2……隣接エッジラベリング部、
3……エッジ外縁ラベリング部、4……隣接閉領域抽出
部、5……画像記憶部、6……画像領域情報記憶部、7
……エッジラベリング部、8……閉領域抽出部、9……
領域抽出部、10……領域ラベリング部、11……ラベリン
グ領域抽出部。
FIG. 1 is a block diagram of a partial image area separating apparatus according to an embodiment of the present invention, FIG. 2 is a data diagram showing an example of an image labeling result by the above apparatus, and FIG. 3 is an adjacent area on a digital image. FIG. 4 is a data diagram for explaining the number, FIG. 4 is a data diagram showing an example of a labeling result of an image having a protruding portion by the above device, and FIG. 5 is a configuration diagram of a partial image area separating device of the first example of the conventional example, FIG. 6 is a data diagram showing an example of an image labeling result by the device, FIG. 7 is a data diagram showing a problem of labeling by the device, and FIG. 8 is a partial image area separating device of the second conventional example. FIG. 9 is a data diagram showing a result of labeling images by the same apparatus. 1 ... edge extraction part, 2 ... adjacent edge labeling part,
3 ... Edge outer edge labeling unit, 4 ... Adjacent closed region extraction unit, 5 ... Image storage unit, 6 ... Image region information storage unit, 7
...... Edge labeling section, 8 ...... Closed area extraction section, 9 ......
Region extraction unit, 10 ... Region labeling unit, 11 ... Labeling region extraction unit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】分離対象画像のエッジを抽出するエッジ抽
出部と、エッジ構成画素にエッジであることを示す画素
値を付与する隣接エッジラベリング部と、上記エッジ構
成画素の外側に隣接する画素に画素値を付与するエッジ
外縁ラベリング部と、上記エッジ構成画素及び上記外側
に隣接する画素の画素値から分離対象画像領域を分離・
抽出する隣接閉領域抽出部と、画像の画素値情報を記憶
する画像記憶部と、分離・抽出した部分画像領域に関す
る情報を記憶する画像領域情報記憶部とを備え、上記隣
接エッジラベリング部及び上記エッジ外縁ラベリング部
は、複数の分離対象画像領域が隣接している場合には、
画素値を付与する時点で判明している上記隣接している
分離対象画像領域の個数に応じたエッジ及び外縁を示す
画素値を付与することを特徴とする部分画像領域分離装
置。
1. An edge extraction unit for extracting an edge of an image to be separated, an adjacent edge labeling unit for giving a pixel value indicating an edge to an edge constituent pixel, and a pixel adjacent to the outside of the edge constituent pixel. A separation target image area is separated from the edge outer edge labeling section that gives a pixel value and the pixel values of the edge constituent pixels and the pixels adjacent to the outside.
An adjacent closed area extracting unit for extracting, an image storage unit for storing pixel value information of an image, and an image area information storage unit for storing information about the separated / extracted partial image area are provided, and the adjacent edge labeling unit and the above The edge outer edge labeling unit is configured to separate the plurality of separation target image areas when they are adjacent to each other.
A partial image area separation device, which applies pixel values indicating edges and outer edges according to the number of adjacent separation target image areas that are known at the time of applying pixel values.
JP63248102A 1988-09-30 1988-09-30 Partial image area separation device Expired - Lifetime JPH077455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63248102A JPH077455B2 (en) 1988-09-30 1988-09-30 Partial image area separation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63248102A JPH077455B2 (en) 1988-09-30 1988-09-30 Partial image area separation device

Publications (2)

Publication Number Publication Date
JPH0296286A JPH0296286A (en) 1990-04-09
JPH077455B2 true JPH077455B2 (en) 1995-01-30

Family

ID=17173250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63248102A Expired - Lifetime JPH077455B2 (en) 1988-09-30 1988-09-30 Partial image area separation device

Country Status (1)

Country Link
JP (1) JPH077455B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949204B (en) * 2019-03-29 2023-08-15 江苏亿通高科技股份有限公司 Star point centroid extraction circuit of pipeline structure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61208181A (en) * 1985-03-12 1986-09-16 Mitsubishi Electric Corp Extracting device for contour

Also Published As

Publication number Publication date
JPH0296286A (en) 1990-04-09

Similar Documents

Publication Publication Date Title
JP7742624B2 (en) Computer-implemented process for enhancing edge defect detection and other defects in ophthalmic lenses
JP3086702B2 (en) Method for identifying text or line figure and digital processing system
US5048107A (en) Table region identification method
US4665441A (en) Method and system for line-thinning in electronic image processing
US20070122037A1 (en) Image processing apparatus and image processing method
CN111798481B (en) Image sequence segmentation method and device
CN118628753A (en) A method and system for separating stamp from background in an image
KR0167616B1 (en) Image processing apparatus and method
JP2926066B2 (en) Table recognition device
JPH077455B2 (en) Partial image area separation device
KR101106448B1 (en) Real-Time Moving Object Detection For Intelligent Visual Surveillance
JP2890306B2 (en) Table space separation apparatus and table space separation method
GB2514410A (en) Image scaling for images including low resolution text
KR20240061407A (en) A Effictive Method of Removing the Background from High-Definition Video based on artificial intelligence technology
JPH08167028A (en) Image processing method
EP3113076A1 (en) Method and apparatus for deriving an image similarity measure based on repetitive feature points
Srivastava et al. Fast content aware image retargeting
JPS615383A (en) Character pattern separating device
JPH0668761B2 (en) Small particle removal method
JP2558668B2 (en) Character pattern extraction method
KR20110009596A (en) Real Time Detection of Moving Objects for Intelligent Video Surveillance
KR100350790B1 (en) method of adaptive object extraction by feature element learning object dependent
JP4763113B2 (en) High speed labeling method
CN116188801A (en) Image Edge Enhancement Algorithm Based on Matrix Transformation and Sliding Window
JP2522511B2 (en) Image contour tracking unit