JP2501832B2 - Extraction method of color mark area - Google Patents

Extraction method of color mark area

Info

Publication number
JP2501832B2
JP2501832B2 JP18543587A JP18543587A JP2501832B2 JP 2501832 B2 JP2501832 B2 JP 2501832B2 JP 18543587 A JP18543587 A JP 18543587A JP 18543587 A JP18543587 A JP 18543587A JP 2501832 B2 JP2501832 B2 JP 2501832B2
Authority
JP
Japan
Prior art keywords
color mark
color
mark
vertices
vertex
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
JP18543587A
Other languages
Japanese (ja)
Other versions
JPS6429977A (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.)
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 JP18543587A priority Critical patent/JP2501832B2/en
Publication of JPS6429977A publication Critical patent/JPS6429977A/en
Application granted granted Critical
Publication of JP2501832B2 publication Critical patent/JP2501832B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Input (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ディジタル画像処理方法を用いて、文書
画像中に色ペンでマークした領域を自動的に抽出する方
法に関するものである。
Description: TECHNICAL FIELD The present invention relates to a method for automatically extracting a region marked with a color pen from a document image by using a digital image processing method.

〔従来の技術〕[Conventional technology]

文書画像中に色ペンでマークした情報の抽出に関して
は、特開昭60-31682号公報にあるように、画素の水平・
垂直方向の周辺分布をとってマークした領域の4点の座
標を抽出していた。すなわち、第5図(a)の1は色ペ
ンでマークされた色マークであり、この色マーク1の水
平方向周辺分布は2のようになり、同じく垂直方向周辺
分布は3のようになる。これから座標X1,X2とY1,Y2の4
点が決まる。
Regarding the extraction of the information marked with a color pen in the document image, as described in JP-A-60-31682,
The coordinates of the four points in the marked area were extracted by taking the peripheral distribution in the vertical direction. That is, 1 in FIG. 5 (a) is a color mark marked with a color pen, and the peripheral distribution in the horizontal direction of this color mark 1 is 2 and the peripheral distribution in the vertical direction is 3 as well. From now on, the coordinates X 1 , X 2 and Y 1 , Y 2 4
The point is decided.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

このように、色マーク1の抽出は色ペンで囲んだ領域
に外接する長方形として抽出されるため、第5図(b)
に示すような形状に色マーク1がなった場合には、第5
図(a)と同様にして水平方向周辺分布2,垂直方向周辺
分布3からX1,X2,Y1,Y2の4点が決定されるので、余分
な情報までも抽出してしまうといった欠点があった。ま
た、従来この種の領域抽出法として色マーク1を線追跡
し、閉じたループ内の情報を抽出する方法がある。この
手法では色マーク1上の点を逐次追跡するので、色マー
ク1の形状に依存せず、任意のマーク形状に対して忠実
な領域抽出が行えるが、線追跡の処理は着目画素の8方
向の連結性を調べていくので一般的に処理に多大な時間
を必要とし、電子ファイルシステムのようなOA機器の上
で実行するにはCPUにかかる負荷が大き過ぎるという欠
点があった。
As described above, since the color mark 1 is extracted as a rectangle circumscribing the area surrounded by the color pen, FIG.
When the color mark 1 has a shape as shown in,
As in the case of FIG. 7A, four points of X 1 , X 2 , Y 1 , Y 2 are determined from the horizontal peripheral distribution 2 and the vertical peripheral distribution 3, so that even extra information is extracted. There was a flaw. Further, as a conventional area extracting method of this kind, there is a method of tracing the color mark 1 by line and extracting information in a closed loop. In this method, since points on the color mark 1 are sequentially traced, it is possible to extract a region faithful to an arbitrary mark shape without depending on the shape of the color mark 1, but the line tracing process is performed in eight directions of the pixel of interest. Generally, it takes a lot of time to process because the connectivity of is checked, and there is a drawback that the load on the CPU is too large to execute on an OA device such as an electronic file system.

この発明の目的は、上記従来の欠点を解決するために
なされたものであり、色ペンでマークした領域を高速、
かつ精度よく抽出するための色マーク領域の抽出方法を
提供するものである。
An object of the present invention is to solve the above-mentioned conventional drawbacks, and to speed up the area marked with a color pen,
In addition, the present invention provides a method for extracting a color mark area for accurate extraction.

〔問題点を解決するための手段〕[Means for solving problems]

この発明にかかる色マーク領域の抽出方法は、文書に
対して色ペンで描かれた色マークを抽出する手段と、抽
出した色情報に関して文書の水平、垂直方向に色画像の
周辺分布をとり、色マーク領域に外接する長方形の頂点
を求める手段と、この長方形の各頂点付近で色マークの
存在を確認する手段と、長方形の頂点が色マーク上に存
在しないときにはその頂点を基準点として水平、垂直方
向に他の頂点に向かって色マークの存在を探索し、それ
ぞれの方向で色マークを検出し、この検出された2つの
色マークの座標点と基準点によって構成される長方形の
基準点と向かい合う第4番目の頂点を算出する手段を有
し、抽出した頂点がすべて色マーク上に存在することが
確認されるまで、上記色マークの探索処理と存在の判定
処理を繰り返すようにしたものである。
A method of extracting a color mark area according to the present invention, means for extracting a color mark drawn with a color pen on a document, and a peripheral distribution of a color image in the horizontal and vertical directions of the document with respect to the extracted color information, A means for obtaining the apex of a rectangle circumscribing the color mark area, a means for confirming the existence of a color mark in the vicinity of each apex of this rectangle, and a horizontal point with the apex of the rectangle as a reference point when the apex of the rectangle does not exist on the color mark, The presence of a color mark is searched in the vertical direction toward other vertices, the color mark is detected in each direction, and a rectangular reference point formed by the coordinate points of the two detected color marks and the reference point is detected. A means for calculating the fourth vertex facing each other is provided, and the above-described color mark search processing and existence determination processing are repeated until it is confirmed that all the extracted vertices are present on the color mark. One in which the.

〔作用〕[Action]

この発明においては、文書画像中の色マークに外接す
る長法形の頂点座標の抽出を出発点として、その長法
形の各頂点が前記色マーク上に存在するか否かを判定
し、存在しないときは両隣りの頂点に向かって色マー
クの探索を行う、という2つのプロセスをすべての頂点
が色マーク上に存在することが確認されるまで繰り返し
て実行して、色ペンなどで囲まれた領域の境界を水平お
よび垂直方向の線分群によって近似し、囲まれた領域を
抽出する。
In the present invention, the extraction of the coordinates of the vertices of the prolongation circumscribing the color mark in the document image is used as a starting point, and it is determined whether or not each vertex of the prolongation is present on the color mark. If not, the two processes of searching for the color marks toward both adjacent vertices are repeated until it is confirmed that all the vertices are on the color mark, and the process is surrounded by a color pen. The boundary of the enclosed area is approximated by horizontal and vertical line segments, and the enclosed area is extracted.

〔実施例〕〔Example〕

以下この発明における実施例を図面を参照しながら説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明を実施する装置の構成を示すブロッ
ク図である。この図において、11は色ペンでマークされ
た原画の文書画像、12はこの文書画像11を光学的に走査
し、光電変換を行い、得られた電気信号を信号強度にし
たがって量子化する画像入力部、13は色マーク分離部で
あり、原画像中の紙面と文字と色マークの3種の情報に
分離を行う。14は画素の水平(X)方向、垂直(Y)方
向の周辺分布をとって、色マーク領域や文字列の外接長
方形の4頂点の座標を抽出するための領域抽出部、15は
各長方形の各頂点が色マーク上に存在するか否かを判定
する色マーク判定部、16は頂点が色マーク上に存在しな
いときに両隣の頂点に向かって色マークを探索する色マ
ーク探索部であり、17は計算機のメモリ、18は計算機の
中央演算処理部(CPU)、19はディスプレイ、20は計算
機の共通バス、21は情報蓄積部であって図示のとおり接
続されている。
FIG. 1 is a block diagram showing the structure of an apparatus for carrying out the present invention. In this figure, 11 is a document image of an original image marked with a color pen, 12 is an image input that optically scans the document image 11 and performs photoelectric conversion, and quantizes the obtained electric signal according to the signal strength. Reference numeral 13 denotes a color mark separation unit, which separates into three types of information in the original image, the paper surface, characters, and color marks. 14 is an area extraction unit for extracting the coordinates of the four vertices of the circumscribed rectangle of the color mark area or the character string by taking the peripheral distribution of the pixels in the horizontal (X) direction and the vertical (Y) direction, and 15 is the area of each rectangle. A color mark determination unit that determines whether or not each vertex is on a color mark, 16 is a color mark search unit that searches for a color mark toward both adjacent vertices when the vertex is not on the color mark, Reference numeral 17 is a memory of the computer, 18 is a central processing unit (CPU) of the computer, 19 is a display, 20 is a common bus of the computer, and 21 is an information storage unit, which are connected as shown.

第2図はこの実施例で行われる実際の処理の流れであ
る。この処理の流れにそって、以下のように動作する。
なお、第2図中の(1)〜(11)は各ステップを示す。
FIG. 2 shows the flow of actual processing performed in this embodiment. Following the flow of this processing, the operation is as follows.
Note that (1) to (11) in FIG. 2 indicate each step.

第1図における各部の動作を説明するため、例えば新
聞中の記事を電子的に切り抜こうとする場合を仮定す
る。まず、色ペンによって新聞中の目的とする記事をマ
ークによって囲み、これを文書画像11として画像入力部
12に示すイメージリーダやカメラなどの画像入力装置に
よって入力する(1)。画像入力部12では、原画像を光
学的に走査し、光電変換を行い、得られた電気信号を信
号強度にしたがって量子化する。次に、量子化された信
号は、色マーク分離部13において、例えば前述した特開
昭60-31682号公報に記載された下記の方法を用いて色マ
ークの抽出を行う。
In order to explain the operation of each unit in FIG. 1, it is assumed that an article in a newspaper is electronically clipped. First, enclose the desired article in the newspaper with a mark with a colored pen, and use this as the document image 11 in the image input section.
It is input by an image input device such as an image reader or a camera shown in 12 (1). The image input unit 12 optically scans the original image, performs photoelectric conversion, and quantizes the obtained electric signal according to the signal strength. Next, the quantized signal is subjected to color mark extraction in the color mark separation unit 13 by using the following method described in, for example, the above-mentioned JP-A-60-31682.

新聞中の紙面、文字および色マークに関するそれぞれ
の信号強度は、モノクロのイメージリーダで読み取った
場合を仮定すると、第3図に示すように、紙面4(Hig
h)、文字5(low)、色マーク1(intermediate)と3
つのレベルに分離される。そこて、しきい値THDhiah
よって紙面4と色マーク1を、THDlowによって文字5と
色マーク1を分離し、2抽出化する(2)。次に、それ
ぞれの出力の排他的論理和をとって色マーク1を抽出す
る(3)。色マーク分離部13において得られた2値化さ
れた文字情報と色マーク情報は計算機のメモリ17にいっ
たん別々に格納される。次に、抽出した色マーク1の位
置座標を求めるため、領域抽出部14において紙面に対し
て垂直の方向に色マーク情報に関する画素の周辺分布を
とると、第5図(a),(b)に示すような色画素の垂
直方向周辺分布3が得られ、これを適当なしきい値で切
ると色マーク部の垂直方向の領域開始点(Y1)、終了点
(Y2)の位置座標が求まる(4)。次に、前記垂直方向
の周辺分布によって求めたマーク領域の分布範囲Y1,Y2
で示さる幅において水平方向に色情報の周辺分布をとる
と、同様に水平方向の色マークの領域開始点(X1)、終
了点(X2)の位置座標が求まる(5)。領域抽出部14で
得られたX1,X2,Y1,Y2は色マーク1に外接する長方形の
4つの頂点A1(X1,Y1),A2(X2,Y1),A3(X1,Y2),A4
(X2,Y2)の座標を意味する(6)。ところで、例えば
第5図(b)に示す色マーク1の形状に対しては領域抽
出部14で得られたA1〜A4の各頂点によって囲まれる領域
は十分精度よく色マーク領域を抽出しているとはいいが
たい。そこで、色マーク判定部15において外接する長方
形の頂点A1〜A4が色マーク上に存在するか否かを判定す
る(7)。以下、第4図を例に、頂点の探索プロセスを
説明する。
Assuming that the signal strengths of the paper surface, characters and color marks in the newspaper are read by a monochrome image reader, as shown in FIG.
h), character 5 (low), color mark 1 (intermediate) and 3
Separated into two levels. Then, the paper surface 4 and the color mark 1 are separated by the threshold value THD hiah , the character 5 and the color mark 1 are separated by THD low , and two are extracted (2). Next, the color mark 1 is extracted by taking the exclusive OR of the respective outputs (3). The binarized character information and color mark information obtained by the color mark separation unit 13 are temporarily stored in the memory 17 of the computer separately. Next, in order to obtain the position coordinates of the extracted color mark 1, when the peripheral distribution of pixels relating to the color mark information is taken in the direction perpendicular to the paper surface in the area extraction unit 14, FIGS. 5 (a) and 5 (b) are obtained. The vertical peripheral distribution 3 of the color pixels as shown in (3) is obtained, and by cutting this with an appropriate threshold value, the position coordinates of the vertical area start point (Y1) and end point (Y2) of the color mark portion are obtained ( 4). Next, the distribution range Y1, Y2 of the mark area obtained by the peripheral distribution in the vertical direction
If the peripheral distribution of the color information is taken in the horizontal direction in the width indicated by, the position coordinates of the area start point (X1) and end point (X2) of the color mark in the horizontal direction are similarly obtained (5). X1, X2, Y1, Y2 obtained by the area extracting unit 14 are four vertices A1 (X1, Y1), A2 (X2, Y1), A3 (X1, Y2), A4 of the rectangle circumscribing the color mark 1.
It means the coordinates of (X2, Y2) (6). By the way, for example, with respect to the shape of the color mark 1 shown in FIG. 5 (b), the area surrounded by the vertices A1 to A4 obtained by the area extracting unit 14 extracts the color mark area with sufficient accuracy. Is hard to say. Therefore, the color mark determination unit 15 determines whether or not the vertices A1 to A4 of the circumscribing rectangle are present on the color mark (7). The vertex search process will be described below with reference to FIG.

今、頂点A1,A2,A4は色マーク1上に存在するので、そ
の場合は頂点としてその位置座標を計算機のメモリ17に
格納する。一方、頂点A3のように頂点が色マーク1に存
在しない場合は、色マーク探索部16においてその頂点を
基準点として両隣の2つの頂点A1とA4に向かってそれぞ
れX1=一定、Y2=一定として色マーク1の探索を行う
(8)。色マーク1が検出されたらその点をそれぞれA5
(X1,Y3)、A6(X3,Y2)とする。A5,A6は色マーク1で
囲んだ領域の頂点の一部であるから、この2点の位置座
標を計算機のメモリ17に格納する。次に、頂点A3,A5,A6
を含む長方形のもうひとつの頂点A7を求める。頂点A7の
位置座標は(X3,Y3)となる。そして再び色マーク判定
部15に処理を移し、頂点A7が色マーク1上に存在するか
否かを判定し、色マーク1上に存在すればA7の位置座標
を計算機のメモリ17に格納して処理は終了する。この場
合、色マーク1の領域はA1,A2,A4,A5,A6,A7を結んで得
られるとして抽出される。もし、第4図に示すように色
マーク1上に存在しない場合は、A7を新しい基準点とし
てA7に隣合う頂点A5,A6に向ってY3=一定、X3=一定と
して色マーク1の探索を行い、色マーク1を検出したら
それらの点をそれぞれA8(X3,Y4)、A9(X4,Y3)として
計算機のメモリ17に頂点として格納する。そして、再度
A7,A8,A9を含む長方形のもうひとつの頂点A10(X4,Y4)
を算出する。そして、頂点A10が色マーク1上に存在す
るか否かを判定し、色マーク1上に存在すればA10を頂
点として計算機のメモリ17に格納する。色マーク1上に
存在しないときは、求めた頂点An(n≧1,2,3,……)が
色マーク1上に存在することが確認されるまで色マーク
1の探索と色マーク1の判定を繰り返し行う。このよう
にして、色マーク1の外形を水平、垂直方向の線分群で
囲む頂点Anの集合を得る。
Since the vertices A1, A2, A4 are present on the color mark 1, the position coordinates are stored in the memory 17 of the computer as vertices in this case. On the other hand, when a vertex like the vertex A3 does not exist in the color mark 1, the color mark search unit 16 sets X1 = constant and Y2 = constant toward the two adjacent vertices A1 and A4 with the vertex as a reference point. The color mark 1 is searched (8). When the color mark 1 is detected, the point is A5
(X1, Y3), A6 (X3, Y2). Since A5 and A6 are part of the vertices of the area surrounded by the color mark 1, the position coordinates of these two points are stored in the memory 17 of the computer. Next, vertices A3, A5, A6
Find the other vertex A7 of the rectangle containing. The position coordinate of the vertex A7 is (X3, Y3). Then, the processing is transferred to the color mark determination unit 15 again, and it is determined whether or not the vertex A7 is present on the color mark 1. If the vertex A7 is present on the color mark 1, the position coordinate of A7 is stored in the memory 17 of the computer. The process ends. In this case, the area of the color mark 1 is extracted as obtained by connecting A1, A2, A4, A5, A6 and A7. If it does not exist on the color mark 1 as shown in FIG. 4, Y3 = constant and X3 = constant are searched for with A7 as a new reference point toward the vertices A5 and A6 adjacent to A7. When the color mark 1 is detected, these points are stored as vertices in the memory 17 of the computer as A8 (X3, Y4) and A9 (X4, Y3), respectively. And again
Another vertex A10 (X4, Y4) of the rectangle containing A7, A8, A9
Is calculated. Then, it is determined whether or not the vertex A10 exists on the color mark 1, and if it exists on the color mark 1, the vertex A10 is stored in the memory 17 of the computer as the vertex. If it does not exist on the color mark 1, the search for the color mark 1 and the search for the color mark 1 are performed until it is confirmed that the obtained vertex An (n ≧ 1,2,3, ...) Exists on the color mark 1. The judgment is repeated. In this way, a set of vertices An that enclose the outer shape of the color mark 1 with the group of horizontal and vertical line segments is obtained.

次に、前記色マーク1の頂点Anの集合をステップ
(2)の2値化処理におけるしきい値THDlowで2値化し
た結果得られる文字情報に対してマッピングし、頂点An
を結んだ線分の内側の領域を抽出し、抽出結果を計算機
のメモリ17に格納して切抜き作業を終了する。これによ
って、原文書中に色マーク1により囲んだ文字情報の抽
出が完了する。
Next, the set of the vertices An of the color mark 1 is mapped to the character information obtained as a result of binarization with the threshold THD low in the binarization process of step (2), and the vertex An
The area inside the line segment connecting the lines is extracted, the extraction result is stored in the memory 17 of the computer, and the cutting operation is completed. This completes the extraction of the character information surrounded by the color mark 1 in the original document.

このように、従来、文書中の色マーク1で囲まれた文
字情報を色マーク1の囲み形状に外接する長方形で切り
だしていたため、色マーク形状が長方形でないときに
は、原文書中の不必要な情報までも切り出されていたの
が、この発明を用いれば色マーク1を施した形状にでき
るだけ忠実に水平・垂直な線分群で切り抜くことが可能
となる。また、この発明を新聞など印刷文書中の記事事
項を色ペンで抽出したい領域をマークして、マークした
領域内の情報を自動的に抽出するなどの場合に適用で
き、例えば色ペンによるマークが定規を使ってまっすく
に引かれていないような場合にも、記事のレイアウトが
水平・垂直の線分群の組合せで分離でき、しかも記事の
形状は周辺分布の処理で得られるマーク領域の外接長方
形を基本パターンとしてその4つの頂点のうち最大2つ
の頂点が凹型となってできる矩形であるから、色マーク
探索プロセスにおいても水平(Y=一定)、垂直(X=
一定)の一方向ずつ処理を限定して進めればよいので、
従来の線追跡の手法を用いた領域抽出に比べて大幅な処
理時間の短縮が可能となるといった利点がある。
As described above, conventionally, the character information surrounded by the color mark 1 in the document is cut out by a rectangle circumscribing the enclosing shape of the color mark 1. Therefore, when the color mark shape is not rectangular, it is unnecessary in the original document. Even information was cut out, but by using the present invention, it is possible to cut out with a group of horizontal and vertical line segments as faithfully as possible to the shape with the color mark 1. Further, the present invention can be applied to a case where an article in a printed document such as a newspaper is marked with a color pen to mark an area, and information in the marked area is automatically extracted. Even if it is not drawn straight using a ruler, the article layout can be separated by a combination of horizontal and vertical line segments, and the shape of the article is the circumscribed rectangle of the mark area obtained by processing the peripheral distribution. Is a rectangle in which a maximum of two vertices of the four vertices can be concave with the basic pattern as a basic pattern. Therefore, in the color mark search process, horizontal (Y = constant) and vertical (X = constant).
Since it is only necessary to limit the processing to one direction)
There is an advantage that the processing time can be significantly shortened as compared with the area extraction using the conventional line tracing method.

また、抽出した頂点が色マーク1上に存在するか否か
を判定して存在しないときだけ色マーク1の探索を実行
するので、特開昭60-31682号公報によって既に公知とな
っている処理プロセスにこの発明のプロセスを繋合わせ
ることは、データ形式を変更せずとも継承することがで
きるなど処理プロセスの整合性もよいという利点があ
る。
Further, since it is determined whether or not the extracted vertex exists on the color mark 1 and the search for the color mark 1 is executed only when it does not exist, the processing already known from Japanese Patent Laid-Open No. 60-31682. Connecting the process of the present invention to the process has an advantage that the consistency of the processing process is good such that the process can be inherited without changing the data format.

なお、上記実施例では色ペンでマークした領域をモノ
クロのイメージリーダで入力し、2つのしきい値によっ
て2値化した結果を排他論理和をとることによって色マ
ーク1を抽出し、領域を表す頂点座標の抽出プロセスを
実行する例を示したが、カラースキャナで文書を入力
し、抽出した色領域に対して同じ色マーク判定、探索処
理を実行させることも可能である。
In the above embodiment, the area marked with a color pen is input by a monochrome image reader, and the color mark 1 is extracted by taking the exclusive OR of the result of binarization with two threshold values to represent the area. An example of executing the vertex coordinate extraction process has been described, but it is also possible to input a document with a color scanner and execute the same color mark determination and search processing on the extracted color region.

〔発明の効果〕〔The invention's effect〕

この発明は、文書に対して色ペンで描かれた色マーク
を抽出する手段と、抽出した色情報に関して文書の水
平、垂直方向に色画像の周辺分布をとり、色マーク領域
に外接する長方形の頂点を求める手段と、この長方形の
各頂点付近で色マークの存在を確認する手段と、長方形
の頂点が色マーク上に存在しないときにはその頂点を基
準点として水平、垂直方向に他の頂点に向かって色マー
クの存在を探索し、それぞれの方向で色マークを検出
し、この検出された2つの色マークの座標点と基準点に
よって構成される長方形の基準点と向かい合う第4番目
の頂点を算出する手段を有し、抽出した頂点がすべて色
マーク上に存在することが確認されるまで、上記色マー
クの探索処理と存在の判定処理を繰り返すようにしたの
で、色マーク領域の各頂点を求めるプロセスは2値の論
理演算、画素のカウントおよびしきい値による判定処理
で構成できるため処理をハードウェア化しやすく、高速
化が図れるという利点がある。
According to the present invention, a means for extracting a color mark drawn with a color pen on a document, and a peripheral distribution of a color image in the horizontal and vertical directions of the document with respect to the extracted color information, and a rectangular shape circumscribing the color mark area are taken. A means for obtaining vertices, a method for confirming the existence of a color mark near each vertex of this rectangle, and a method in which the vertices of a rectangle do not exist on a color mark, and the vertices are used as reference points to move horizontally or vertically toward other vertices. The presence of the color mark is searched for, the color mark is detected in each direction, and the fourth vertex that faces the reference point of the rectangle formed by the coordinate points of the detected two color marks and the reference point is calculated. The above-described color mark search processing and existence determination processing are repeated until it is confirmed that all the extracted vertices are present on the color mark. The process logical operation of a binary, easily hardware the process because it consists of a determination process by the count and threshold pixels seeking, there is an advantage that high-speed processing.

【図面の簡単な説明】 第1図はこの発明における装置の一実施例を示すブロッ
ク図、第2図はこの発明におけるマーク領域抽出手順の
流れ図、第3図はモノクロイメージリーダを用いた時の
文書紙面,文字,色ペンによる色マークの出力信号強度
の例の説明図、第4図は色マーク判定および色マーク探
索手順の模式図、第5図(a),(b)は従来の周辺分
布法を用いた領域抽出の例を示す説明図である。 図中、11は文書画像、12は画像入力部、13は色マーク分
離部、14は領域抽出部、15は色マーク判定部、16は色マ
ーク探索部、17はメモリ、18はCPU、19はディスプレ
イ、20は共通バス、21は情報蓄積部である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of an apparatus according to the present invention, FIG. 2 is a flow chart of a mark area extracting procedure according to the present invention, and FIG. 3 is a diagram when a monochrome image reader is used. FIG. 4 is an explanatory diagram of an example of output signal strength of a color mark by a document sheet, characters, and color pens, FIG. 4 is a schematic diagram of a color mark determination and color mark search procedure, and FIGS. 5 (a) and 5 (b) are conventional peripherals. It is an explanatory view showing an example of area extraction using a distribution method. In the figure, 11 is a document image, 12 is an image input unit, 13 is a color mark separation unit, 14 is a region extraction unit, 15 is a color mark determination unit, 16 is a color mark search unit, 17 is a memory, 18 is a CPU, 19 Is a display, 20 is a common bus, and 21 is an information storage unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文書画像中の色ペンで囲まれた文書の領域
を抽出する方法において、前記文書に対して前記色ペン
で描かれた色マークを抽出する手段と、抽出した色情報
に関して前記文書の水平、垂直方向に色画像の周辺分布
をとり、色マーク領域に外接する長方形の頂点を求める
手段と、この長方形の各頂点付近で色マークの存在を確
認する手段と、前記長方形の頂点が色マーク上に存在し
ないときにはその頂点を基準点として水平、垂直方向に
他の頂点に向かって色マークの存在を探索し、それぞれ
の方向で色マークを検出し、この検出された2つの色マ
ークの座標点と前記基準点によって構成される長方形の
基準点と向かい合う第4番目の頂点を算出する手段を有
し、抽出した頂点がすべて色マーク上に存在することが
確認されるまで、上記色マークの探索処理と存在の判定
処理を繰り返すことを特徴とする色マーク領域の抽出方
法。
1. A method for extracting an area of a document surrounded by a color pen in a document image, wherein the means for extracting a color mark drawn by the color pen on the document, and the extracted color information, A means for obtaining the peripheral vertices of the color image in the horizontal and vertical directions of the document and obtaining the vertices of a rectangle circumscribing the color mark area, a means for confirming the existence of the color marks near each vertex of the rectangle, and a vertex of the rectangle. Is not on the color mark, the vertex is used as a reference point to search for the existence of the color mark toward other vertices in the horizontal and vertical directions, the color mark is detected in each direction, and the detected two colors are detected. A means for calculating a fourth vertex facing a rectangular reference point constituted by the coordinate point of the mark and the reference point, and until it is confirmed that all the extracted vertices are present on the color mark, Method of extracting the color mark region and repeating the presence determination process and the search process of the serial color mark.
JP18543587A 1987-07-27 1987-07-27 Extraction method of color mark area Expired - Lifetime JP2501832B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18543587A JP2501832B2 (en) 1987-07-27 1987-07-27 Extraction method of color mark area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18543587A JP2501832B2 (en) 1987-07-27 1987-07-27 Extraction method of color mark area

Publications (2)

Publication Number Publication Date
JPS6429977A JPS6429977A (en) 1989-01-31
JP2501832B2 true JP2501832B2 (en) 1996-05-29

Family

ID=16170741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18543587A Expired - Lifetime JP2501832B2 (en) 1987-07-27 1987-07-27 Extraction method of color mark area

Country Status (1)

Country Link
JP (1) JP2501832B2 (en)

Also Published As

Publication number Publication date
JPS6429977A (en) 1989-01-31

Similar Documents

Publication Publication Date Title
US7170647B2 (en) Document processing apparatus and method
JP3950777B2 (en) Image processing method, image processing apparatus, and image processing program
CN105528614B (en) A kind of recognition methods of the cartoon image space of a whole page and automatic recognition system
JP5854802B2 (en) Image processing apparatus, image processing method, and computer program
US4817187A (en) Apparatus and method for vectorization of incoming scanned image data
JP4502385B2 (en) Image processing apparatus and control method thereof
KR20110002439A (en) Image processing device and image processing method
JP2501832B2 (en) Extraction method of color mark area
JPH05324830A (en) Method for tracking body outline in image and outline extracting device
JP3070801B2 (en) Drawing management method
JP2683026B2 (en) Line figure vectorization device
JPH03269689A (en) Document reading device
JP3253201B2 (en) Image processing device and image type determination method
JP2789622B2 (en) Character / graphic area determination device
JPH0658689B2 (en) Line figure separation device
JPH01147786A (en) Reading device for document containing table
JPH0420221B2 (en)
JP2929919B2 (en) Optical character extraction device
JP2803224B2 (en) Pattern matching method
JPS63128490A (en) Character image extraction possessing system
JPS6038755B2 (en) Feature extraction method
JPS6286465A (en) Area split system for document picture
JPH0522598A (en) Picture input device
JPH035630B2 (en)
JPH01320578A (en) Automatic logic circuit drawing input device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20080313