JP2768249B2 - Document image layout analyzer - Google Patents

Document image layout analyzer

Info

Publication number
JP2768249B2
JP2768249B2 JP5330555A JP33055593A JP2768249B2 JP 2768249 B2 JP2768249 B2 JP 2768249B2 JP 5330555 A JP5330555 A JP 5330555A JP 33055593 A JP33055593 A JP 33055593A JP 2768249 B2 JP2768249 B2 JP 2768249B2
Authority
JP
Japan
Prior art keywords
layout
layout information
information
connected component
image
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 - Fee Related
Application number
JP5330555A
Other languages
Japanese (ja)
Other versions
JPH07192083A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5330555A priority Critical patent/JP2768249B2/en
Publication of JPH07192083A publication Critical patent/JPH07192083A/en
Application granted granted Critical
Publication of JP2768249B2 publication Critical patent/JP2768249B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は文書画像のレイアウト解
析装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document image layout analyzing apparatus.

【0002】[0002]

【従来の技術】文書画像認識装置においては、文書をイ
メージスキャン等より入力して得られるディジタル画像
に対してレイアウト解析処理を行い、抽出された個々の
文字画像に対して文字認識処理を行い、文字コードへ変
換するという処理の流れがとられる。ここでレイアウト
解析とは入力画像から文字行を抽出し、文字切り出しを
行うまでの処理を指すものとする。
2. Description of the Related Art In a document image recognition apparatus, a layout analysis process is performed on a digital image obtained by inputting a document by image scanning or the like, and a character recognition process is performed on each extracted character image. The process flow of converting to a character code is taken. Here, the layout analysis refers to a process from extracting a character line from an input image to extracting characters.

【0003】これまで提案されてきたレイアウト解析方
法に関する文献として、「文字構造情報に基づく高精度
な文字切り出し処理を用いた文書認識システム」(孫
他、情報処理学会論文誌,Vol.33,No.99、
1992)がある。これは日本語文書を対象とした方法
であり、以下その概要について説明する。この方法で
は、入力された文書画像は2値化、傾き補正処理を施し
た後、レイアウト解析される。領域分割を行い、文字領
域のみを取り出し、文字領域に対してラベリング処理に
より黒画素連結成分を抽出する。得られた黒画素の塊を
候補図形と呼ぶ。文字には、「北」「ハ」の用な分離文
字(複数の連結成分より構成される文字)や、接触して
一つの連結成分を構成する接触文字が多く存在するた
め、候補図形から文字図形を生成する処理が必要とな
る。補正図形のサイズで最も頻度の高いものを文字の平
均サイズとする。候補図形を横軸に射影し、その分布か
文字行の抽出を行う。列内で候補図形の統合を行い、
分離文字に対処する。平均サイズに近いサイズを持つ候
補図形を優先的に切り出し、残った図形は、分離文字に
対しては強制統合、接触文字に対しては分離処理及び句
読点の抽出を行い、最終的な文字切り出し結果を得る。
As a document relating to a layout analysis method that has been proposed so far, a document recognition system using high-precision character segmentation processing based on character structure information (Sun, et al., Transactions of Information Processing Society of Japan, Vol. 33, No. .99,
1992). This is a method for Japanese documents, and its outline will be described below. In this method, an input document image is subjected to binarization and inclination correction processing, and then subjected to layout analysis. Region division is performed, only the character region is extracted, and a black pixel connected component is extracted by performing labeling processing on the character region. The obtained block of black pixels is called a candidate figure. Since there are many separated characters for "north" and "c" (characters composed of multiple connected components) and many contact characters that make up one connected component by touching them, Processing for generating a figure is required. The most frequent correction graphic size is taken as the average character size. The candidate figures are projected on the horizontal axis, and character lines are extracted from the distribution. Merge candidate shapes in a column,
Deal with separators. Candidate figures with a size close to the average size are preferentially cut out, and the remaining figures are forcibly integrated for separated characters, separated and extracted for punctuation, and final punctuation results Get.

【0004】また、もう1つのレイアウト解析方法で、
英文の文書を対象とした例として、TSUJIMOTO
らによって”Major Components of
aComplete Text Reading S
ystem”(TUJIMOTO他,Proceedi
ngs of the IEEE,Vol.80,N
o.7,1992)に記載された方法について説明す
る。文書画像をランレングスで表現し、(1)黒画素の
連結成分を抽出し、1mm程度の比較的近い距離にある
近接する連結成分を統合してセグメントする。(2)各
セグメントをテキスト行、図、絵等に分類する。(3)
テキスト行に分類されたセグメントに対して近接するも
の同士を統合する。これによりテキストのブロックを抽
出する。ここで、単語は(1)(2)の処理、テキスト
行は(3)の処理で抽出できるとしている。
In another layout analysis method,
As an example for English documents, TSUJIMOTO
"Major Components of
aComplete Text Reading S
ystem "(TUJIMOTO et al., Procedi
ngs of the IEEE, Vol. 80, N
o. 7, 1992) will be described. A document image is represented by run length, (1) connected components of black pixels are extracted, and adjacent connected components at a relatively short distance of about 1 mm are integrated and segmented. (2) Classify each segment into text lines, figures, pictures, etc. (3)
Combine adjacent text segments into segments. This extracts a block of text. Here, a word can be extracted by the processing of (1) and (2), and a text line can be extracted by the processing of (3).

【0005】これらの方法では同一文書内に異なるポイ
ント数の文字行が近接して存在する場合、これらを正し
く抽出できない。レイアウト解析処理は段組間のスペー
スは行間のスペースよりも、行間スペースは文字間スペ
ースより、文字間スペースは文字内のスペースより、大
きいという文書の組み版規則が、入力された文書画像に
成立していることを前提として、文書画像のレイアウト
解析を行っている。このとき、例えば図10の様にポイ
ント数の異なる文字間隔より近接して存在すると、ポイ
ント数の大きな文字の文字間隔よりポイント数の小さな
テキスト行の行間隔が小さくなり、近接するポイント数
の大きな文字がポイント数の小さなテキスト行に統合さ
れてしまい、正しい行及び文字の抽出が行えなくなる。
According to these methods, when character lines having different numbers of points exist in the same document in close proximity, they cannot be correctly extracted. In the layout analysis process, the document composition rule that the space between columns is larger than the space between lines, the space between lines is larger than the space between characters, and the space between characters is larger than the space within characters is established in the input document image. The layout analysis of the document image is performed on the premise that the document image is processed. At this time, for example, as shown in FIG. 10, if there is a close proximity to a character interval having a different number of points, the line interval of a text line having a small number of points becomes smaller than a character interval of a character having a large number of points, and the number of points having a large number of adjacent points becomes large. Characters are integrated into text lines with a small number of points, making it impossible to extract correct lines and characters.

【0006】この様に、異なるポイント数の文字が同一
文書内に混在する場合、レイアウト解析が困難であっ
た。
As described above, when characters having different numbers of points are mixed in the same document, layout analysis is difficult.

【0007】[0007]

【発明が解決しようとする課題】従来のレイアウト解析
処理は段組間のスペースは行間のスペースよりも、行間
スペースは文字間スペースより、文字間スペースは文字
内のスペースより、大きいというような文書の組み版規
則が、入力された文書画像に成立している場合に限り、
文書画像のレイアウト解析が正常に動作するものであっ
た。ポイント数の異なる文字が混在するような文書にお
いて、このような規則は必ずしも成り立っているとは限
らない。
In the conventional layout analysis processing, the space between columns is larger than the space between lines, the space between lines is larger than the space between characters, and the space between characters is larger than the space within a character. Only if the typesetting rules of
The layout analysis of the document image worked normally. Such a rule is not always satisfied in a document in which characters having different numbers of points are mixed.

【0008】本発明の目的は、従来手法で困難であった
異なるポイント数の文字が同一文書内に混在するような
文書に対して高精度なレイアウト解析性能を実現するこ
とである。
An object of the present invention is to realize a high-precision layout analysis performance for a document in which characters having different numbers of points are mixed in the same document, which is difficult with the conventional method.

【0009】[0009]

【課題を解決するための手段】本発明は、文書画像入力
手段、前記文書画像から連結成分を抽出する手段と、前
記連結成分を大きさ情報に応じて分類する手段と、分類
して得られたクラスに属する連結成分のみを含んだ部分
画像を各々生成する手段と、前記各部分画像に対して、
レイアウト解析を行い、レイアウト情報を抽出するレイ
アウト解析手段と、前記各レイアウト情報を合成する手
段、を含んで構成されることを特徴とする。
The present invention provides a document image input means, a means for extracting a connected component from the document image, and a means for classifying the connected component according to size information. Means for respectively generating partial images containing only connected components belonging to the class, and for each of the partial images,
It is characterized by comprising layout analysis means for performing layout analysis and extracting layout information, and means for synthesizing the respective layout information.

【0010】[0010]

【作用】連結成分を大きさ情報に応じて分類し、得られ
たクラスに属する連結成分のみを含んだ部分画像を各々
生成することにより、ポイント数の異なる文字を各部分
画像に振り分ける。各部分画像においては従来手法によ
るレイアウト解析を行う。さらに各部分画像のレイアウ
ト解析の結果より得られたレイアウト情報を合成するこ
とで、最終的なレイアウト解析結果を得る。レイアウト
情報の合成の際に、各レイアウト情報間で矛盾が生じた
場合、各部分画像に含まれる連結成分数が多く、かつ文
字らしい大きさを持つ連結成分を含むクラスのレイアウ
ト解析結果を優先して合成を行う。
The connected components are classified according to the size information, and partial images containing only the connected components belonging to the obtained class are generated, whereby characters having different numbers of points are allocated to the respective partial images. A layout analysis is performed on each partial image by a conventional method. Layout of each partial image
Synthesis of layout information obtained from the results of
Then, a final layout analysis result is obtained. When inconsistency occurs between layout information when synthesizing layout information, priority is given to the layout analysis result of a class that has a large number of connected components in each partial image and includes connected components with a character-like size. To synthesize.

【0011】[0011]

【実施例】異化に、図面を用いて本発明の実施例につい
て説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described with reference to the drawings.

【0012】図1は同実施例を示すブロック図である。
画像入力処断より入力された文書画像は2値化処理を施
され画像の走査信号に変換される。図3は入力文書画像
を走査した後、2値化処理を施した画像の例である。こ
の入力文書は表題となる書面の大部分を占める本文に相
当する文字に加え、表題部分に相当する大きな文字、ル
ビの小さな文字、粒状のノイズ、の大きさの異なる4つ
の成分を含んでいるものである。
FIG. 1 is a block diagram showing the embodiment.
The document image input through the image input processing is subjected to a binarization process and is converted into a scanning signal of the image. FIG. 3 is an example of an image obtained by performing a binarization process after scanning an input document image. This input document contains, in addition to the text corresponding to the main text that occupies most of the title text, four components of different sizes: large text corresponding to the title, small ruby text, and granular noise. Things.

【0013】連結成分の抽出手段11により各黒画素連
結成分が抽出され、連結成分の外接矩形情報101を得
る。ここで、黒画素は文字、図形等、文書を構成する要
素部分、白画素は背景部分に相当するものである。次
に、2つの外接矩形が包含関係にある場合、もしくは外
接矩形の重複度がある程度より大きい場合、両矩形を統
合する。ここで重複度は例えば重複している2つの矩形
の面積の合計にしめる重複部分の面積の割合で表すもの
とする。図4は連結成分の外接矩形に対して、包含関係
にある矩形の統合、及び重複度を用いた統合を行った結
果を示すものである。
Each connected component of black pixels is extracted by the connected component extracting means 11 to obtain circumscribed rectangle information 101 of the connected component. Here, a black pixel corresponds to an element part constituting a document such as a character or a figure, and a white pixel corresponds to a background part. Next, when the two circumscribed rectangles have an inclusion relationship, or when the degree of overlap of the circumscribed rectangles is larger than a certain degree, the two rectangles are integrated. Here, the degree of overlap is represented by, for example, the ratio of the area of the overlapping portion to the sum of the areas of two overlapping rectangles. FIG. 4 shows the result of performing integration of rectangles having an inclusion relationship and integration using the degree of overlap with the circumscribed rectangle of the connected component.

【0014】連結成分の分類手段12では連結成分の抽
出手段11において抽出、統合された連結成分の外接矩
形の大きさで、各連結成分をクラスに分類し、連結成分
のクラスへの分類情報を出力する。ここで、クラスとは
大きさの近い連結成分の集合であり、例えば、見出し文
字に相当するクラスC3 、本分文字に相当するクラスC
2 、ルビや文字のへん、つくり、句読点に相当するクラ
スC1 、小さなノイズに相当するクラスC0 の計4種類
が考えられる。分類する基準としては、外接矩形の高
さ、幅、面積、輪郭長等が考えられるが、ここでは一例
としてクラスへの分類を矩形の面積を用いて行うことと
する。具体的には、各矩形の面積を求め、例えばK−m
eans法(例えばK=4)を用いたクラスタリングに
よりクラスC0 、C1 、C2 、C3 、…に各矩形を分類
する。
The connected component classifying means 12 classifies each connected component into classes according to the size of a circumscribed rectangle of the connected component extracted and integrated by the connected component extracting means 11, and classifies the connected components into class information. Output. Here, the class is a set of connected components having similar sizes. For example, a class C 3 corresponding to a heading character and a class C corresponding to a main character
2, around here ruby and characters, making the class C 1 corresponding to punctuation, four kinds of class C 0 corresponding to the small noise is considered. As a criterion for classification, the height, width, area, contour length, and the like of the circumscribed rectangle can be considered. Here, as an example, classification into classes is performed using the area of the rectangle. Specifically, the area of each rectangle is determined, and for example, K-m
Each of the rectangles is classified into classes C 0 , C 1 , C 2 , C 3 ,... by clustering using the eans method (for example, K = 4).

【0015】部分画像生成手段13はこれに基づき連結
成分を各クラスに属する連結成分を部分画像ごとに割り
振り、クラスごとの部分画像103〜104を生成す
る。例えばクラスCi に属する連結成分のみを含む部分
画像をPi (i=1,2,3)とする。図5(a)〜
(d)は、外接矩形のクラスへの分類情報に従い、各部
分画像に連結成分を割り当てた結果である。この例で
は、部分画像P0 はノイズ、部分画像P1 はルビと文字
内に分離を含む文字が矩形統合の際に統合処理されず分
離したまま残った文字の一部分、部分画像P2 は本分部
分の文字、部分画像P3 は表題部分の文字に相当してい
る。
Based on this, the partial image generating means 13 allocates connected components belonging to each class to each of the partial images, and generates partial images 103 to 104 for each class. For example, a partial image including only connected components belonging to the class C i is defined as P i (i = 1, 2, 3). FIG.
(D) is the result of assigning connected components to each partial image according to the classification information into the class of the circumscribed rectangle. In this example, the partial image P 0 is the noise, the partial image P 1 is the letter characters including separation in ruby and characters remained separate without being integrated process during rectangular integrated portion, the partial image P 2 is present minute partial character, the partial image P 3 is equivalent to the character of the title portion.

【0016】前記化部分画像はそれぞれ対応するレイア
ウト解析手段14〜15でレイアウト解析処理される。
ここでの部分画像のレイアウト解析手段は、既に矩形面
積のほぼ等しい矩形が各部分画像に振り分けられている
ので、従来の技術で述べた孫らの方法、Tujimot
oらの方法等を用いて行うことが可能である。ここでは
一例として、辻によって「スプリット検出法に基づく頁
画像の構造解析」と題して1985年に電子通信学界技
術研究報告パターン認識と学習PRL85−17に提案
された方法を各クラスの部分画像に共通して適用するこ
ととする。この方法を用いたレイアウト解析方法は各部
分画像内において、水平、垂直方向に投影パターンを求
め、行の配置の周期性を考慮して行を切り出し、文字が
ほぼ正方形をなすことを仮定して、行の幅から文字ピッ
チを推定する。推定文字ピッチを用いて、文字行から多
少の変動を考慮してほぼ等間隔に文字を切り出す。この
様な従来技術を用いることで点在する文字を位置関係、
文字の並びの周期性を考慮して、文字、行の抽出が行え
る。図6(a)〜(d)は同入力画像例入力時に、各ク
ラスの部分画像に対して文字行及び文字を切り出した結
果である。
The converted partial images are subjected to layout analysis processing by the corresponding layout analysis means 14 to 15, respectively.
Here, the partial image layout analysis means uses the method of the grandchildren described in the prior art, Tujimot, since a rectangle having a substantially equal rectangular area has already been assigned to each partial image.
It is possible to carry out using the method of o et al. Here, as an example, the method proposed by Tsuji entitled “Structural Analysis of Page Image Based on Split Detection Method” in 1985, in the Report of the Technical Research Report on Electronics and Communication Science in Pattern Recognition and Learning PRL85-17 is applied to partial images of each class. It shall be applied in common. The layout analysis method using this method obtains a projection pattern in the horizontal and vertical directions in each partial image, cuts out lines in consideration of the periodicity of line arrangement, and assumes that characters are substantially square. Estimate character pitch from line width. Using the estimated character pitch, characters are cut out from the character line at substantially equal intervals in consideration of some fluctuations. By using such a conventional technique, characters scattered in a positional relationship
Characters and lines can be extracted in consideration of the periodicity of character arrangement. FIGS. 6A to 6D show the results of extracting character lines and characters from the partial images of each class when inputting the same input image example.

【0017】部分画像毎のレイアウト情報105〜10
6はレイアウト情報合成手段16において合成され、最
終的な全文書にわたるレイアウト解析結果を出力する。
レイアウト情報合成手段16に関わる一実施例を図2を
用いて説明する。
Layout information 105 to 10 for each partial image
6 is synthesized by the layout information synthesizing means 16 and outputs a final layout analysis result for all the documents.
An embodiment relating to the layout information synthesizing means 16 will be described with reference to FIG.

【0018】まず、連結成分数ヒストグラム生成手段2
0により各クラスに属する矩形数のヒストグラムである
連結成分数ヒストグラム200を求め、各クラスに含ま
れる連結成分数を記憶しておく。図7は図3の入力画像
例を入力した際の連結成分数ヒストグラムである。
First, connected component count histogram generating means 2
Based on 0, a connected component count histogram 200 which is a histogram of the number of rectangles belonging to each class is obtained, and the number of connected components included in each class is stored. FIG. 7 is a connected component count histogram when the input image example of FIG. 3 is input.

【0019】レイアウト情報選択手段22において、レ
イアウト情報の合成を行うときに、各部分画像のレイア
ウト情報の単純な重畳を行った結果、一つの連結成分が
複数のレイアウト情報において矛盾を起こす場合、優先
度決定手段21に対して優先度要求信号202を出す。
When the layout information selecting means 22 synthesizes the layout information, if one connected component causes inconsistency in a plurality of layout information as a result of simple superposition of the layout information of each partial image, A priority request signal 202 is issued to the degree determining means 21.

【0020】レイアウト情報選択手段22において各レ
イアウト情報の合成を行う。このとき、レイアウト情報
の矛盾している部分が発見された場合、優先度要求信号
202を発生し優先度決定手段21に送る。次に、優先
度決定手段21から得られた優先度信号201に従っ
て、優先度の高いクラスのレイアウト情報を選択する。
これを全てのレイアウト情報に関する矛盾点について行
い、レイアウト情報合成結果107を出力する。
The layout information selecting means 22 synthesizes each layout information. At this time, when an inconsistent portion of the layout information is found, a priority request signal 202 is generated and sent to the priority determination means 21. Next, according to the priority signal 201 obtained from the priority determining means 21, layout information of a class having a higher priority is selected.
This is performed for inconsistencies regarding all layout information, and a layout information synthesis result 107 is output.

【0021】優先度決定手段21は優先度要求信号20
2を受信すると前記連結成分数ヒストグラム200を参
照し、レイアウト情報における矛盾を生じている部分に
対応している複数のクラス内の各頻度を比較し、最大の
頻度を持つクラスにレイアウト情報合成の際の優先度が
与えられる。また、このときクラスに含まれる連結成分
の外接矩形の大きさが小さく部分画像に含まれる連結成
分の多くがノイズとみなされる場合、もしくは外接矩形
の大きさが大きく部分画像に含まれる連結成分の多くが
図、表等とみなされる場合には優先度は与えられない。
この結果の優先度信号201をレイアウト情報選択手段
22に返す。
The priority determining means 21 outputs the priority request signal 20
2 is received, the connected component count histogram 200 is referred to, the frequencies in a plurality of classes corresponding to the inconsistent parts in the layout information are compared, and the class having the maximum frequency is subjected to layout information synthesis. Priority is given. Also, at this time, if the size of the circumscribed rectangle of the connected component included in the class is small and most of the connected components included in the partial image are regarded as noise, or the size of the connected component included in the partial image is large No priority is given when many are considered to be figures, tables, etc.
The result priority signal 201 is returned to the layout information selecting means 22.

【0022】図8が各クラスの部分画像のレイアウト情
報を単純に重畳した結果である。同図では文字「行」の
横ストローク、「」の右側、「能」の各連結成分、に
おいて、レイアウト情報に関して矛盾が生じているが、
この矛盾に関与する部分画像 1 2 に属する文字数
頻度を参照すると、部分画像 2 に属する文字数の頻度
が高くなっており、この部分においては部分画像 2
レイアウト解析結果に優先度が与えられ、レイアウト情
報合成の際に優先される。また、部分画像 0 に属する
連結成分は矩形サイズが小さくノイズ成分を多く含んで
いるとみなされるため優先度は与えられない。このた
め、レイアウト情報合成時に他の部分画像のレイアウト
情報と重複のあるもの以外の連結成分は削除される。図
9はレイアウト情報を合成した結果であり、ポイント数
の異なる文字が混在している文書であるに拘らず正しい
レイアウト解析結果が得られている。
FIG. 8 shows the result of simply superimposing the layout information of the partial images of each class. Horizontal strokes of characters "row" in the same figure, the right side of "ga", each connected component of the "ability", in, although inconsistent with respect to the layout information has occurred,
Referring to the frequency of the number of characters belonging to the partial images P 1 and P 2 involved in the contradiction, the frequency of the number of characters belonging to the partial image P 2 is high. In this part, the priority is added to the layout analysis result of the partial image P 2 , And is prioritized in layout information synthesis. The connecting components belonging to the partial image P 0 is the priority is not given because it is considered rectangle size contains a lot of small noise components. Therefore, at the time of layout information synthesis, connected components other than those overlapping with the layout information of other partial images are deleted. FIG. 9 shows a result of synthesizing layout information, and a correct layout analysis result is obtained regardless of a document in which characters having different numbers of points are mixed.

【0023】以上の方法で、文字の大きさに捕らわれず
に文書全体にわたるレイアウト解析結果を得ることがで
きる。
With the above-described method, a layout analysis result for the entire document can be obtained without being swayed by the character size.

【0024】[0024]

【発明の効果】例えば図10のように異なるポイント数
の文字から構成される行が近接する文書において、連結
成分の大きさ毎に部分画像を生成し、各クラスの部分画
像毎にレイアウト解析処理を行うことで、正しい解析結
果が得られる。
For example, in a document in which lines composed of characters having different numbers of points are close to each other as shown in FIG. 10, a partial image is generated for each size of a connected component, and a layout analysis process is performed for each partial image of each class. , A correct analysis result can be obtained.

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

【図1】本発明の一実施例に係わるレイアウト解析方式
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a layout analysis method according to an embodiment of the present invention.

【図2】図1におけるレイアウト情報合成手段の1実施
例に係わるブロック図である。
FIG. 2 is a block diagram relating to one embodiment of a layout information synthesizing unit in FIG. 1;

【図3】入力される文書画像の例である。FIG. 3 is an example of an input document image.

【図4】図2の文書画像を入力した際に、連結成分の抽
出手段により、抽出した連結成分の外接矩形抽出結果で
ある。
FIG. 4 shows a result of extracting a circumscribed rectangle of a connected component extracted by a connected component extracting unit when the document image of FIG. 2 is input.

【図5】同入力画像に対して、部分画像生成手段により
各クラスに分類された連結成分を各部分画像に振り分
け、部分画像を生成した結果である。(a)部分画像P
0、(b)部分画像P1 、(c)部分画像P2 、(d)
部分画像P3
FIG. 5 shows a result of generating a partial image by allocating the connected components classified into each class by the partial image generating means to each partial image with respect to the same input image. (A) Partial image P
0 , (b) partial image P 1 , (c) partial image P 2 , (d)
Partial image P 3 .

【図6】同入力画像に対して、各部分画像ごとのレイア
ウト解析結果(a)部分画像P0 のレイアウト解析結
果、(b)部分画像P1 のレイアウト解析結果、(c)
部分画像P2 のレイアウト解析結果、(d)部分画像P
3 のレイアウト解析結果。
Against 6 the input image, the layout analysis result of the layout analysis result (a) partial images P 0 for each partial image, (b) partial layout analysis result of the image P 1, (c)
Layout analysis result of the partial image P 2, (d) partial image P
Layout analysis result of 3 .

【図7】図2の文書画像を入力した際に、連結成分の分
類手段により、クラスに分類された連結成分の数をクラ
スごとに計数した結果の連結成分ヒストグラムである。
FIG. 7 is a connected component histogram obtained by counting the number of connected components classified into classes by the connected component classifying unit when the document image of FIG. 2 is input.

【図8】同入力画像に対して、レイアウト情報合成手段
で、各クラスの部分画像のレイアウト解析結果情報を重
畳した結果である。
FIG. 8 shows a result obtained by superimposing layout analysis result information of partial images of each class on the input image by a layout information combining unit.

【図9】同入力画像に対して、図7のレイアウト情報重
畳結果を優先度の高いクラスのレイアウト情報を優先さ
せてレイアウト情報を統合した結果である。
9 shows a result of integrating the layout information of the input image with the layout information superimposition result of FIG. 7 by giving priority to layout information of a class having a higher priority.

【図10】異なるポイント数の文字を同一行内に含む文
書画像例に本手法を適用した場合の効果に関する概念図
である。(a)原画像、(b)ポイント数の大きな文字
を抽出したクラスの部分画像、(c)ポイント数の小さ
な文字を抽出したクラスの部分画像。
FIG. 10 is a conceptual diagram illustrating an effect when the present technique is applied to a document image example including characters having different point numbers in the same line. (A) an original image, (b) a partial image of a class in which a character with a large number of points is extracted, and (c) a partial image of a class in which a character with a small number of points is extracted.

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

11 連結成分の抽出手段 12 連結成分の分類手段 13 部分画像生成手段 14〜15 レイアウト解析手段 16 レイアウト情報合成手段 20 連結成分数ヒストグラム生成手段 21 優先度決定手段 22 レイアウト情報選択手段 101 外接矩形情報 102 連結成分のクラスへの分類情報 103〜104 画像プレーン 105〜106 画像プレーンのレイアウト情報 107 レイアウト情報合成結果 REFERENCE SIGNS LIST 11 connected component extraction means 12 connected component classification means 13 partial image generation means 14 to 15 layout analysis means 16 layout information synthesis means 20 connected component count histogram generation means 21 priority determination means 22 layout information selection means 101 circumscribed rectangle information 102 Classification information of connected components into classes 103 to 104 Image planes 105 to 106 Image plane layout information 107 Layout information synthesis result

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文書画像を二値画像信号として入力し、
連結成分を抽出する連結成分の抽出手段と、前記連結成
分を大きさ情報に応じて分類する連結成分の分類手段
と、大きさ情報に応じた分類を行い得られたクラスに属
する連結成分のみを含んだ部分画像を各々生成し、記憶
する部分画像生成手段と、前記各部分画像に対して、レ
イアウト解析を行い、レイアウト情報を抽出するレイア
ウト解析手段と、前記各レイアウト情報を合成するレイ
アウト情報合成手段と、から構成される文書画像レイア
ウト解析装置。
1. A document image is input as a binary image signal,
Connected component extracting means for extracting connected components, connected component classifying means for classifying the connected components according to size information, and only connected components belonging to a class obtained by performing classification according to size information. A partial image generating means for generating and storing each of the included partial images, a layout analyzing means for performing layout analysis on the partial images and extracting layout information, and a layout information synthesizing means for synthesizing the respective layout information Means for analyzing a document image layout.
【請求項2】 請求項1記載の文書画像レイアウト解析
装置において、前記レイアウト情報合成手段は、前記各
レイアウト解析手段の出力するレイアウト情報から前記
各クラスに対する連結成分の頻度分布を計測し、連結成
分数ヒストグラムとして記憶する連結成分数ヒストグラ
ム生成手段と、前記各レイアウト解析手段の出力するレ
イアウト情報間で矛盾が生じる場合、前記連結成分数ヒ
ストグラムを参照してレイアウト情報の合成を行う際の
優先度を決定する優先度決定手段と、前記優先度に従っ
てレイアウト情報を優先してレイアウト情報を合成し、
最終的なレイアウト情報を出力する、レイアウト情報選
択手段とを含んで構成されることを特徴とする文書画像
レイアウト解析装置。
2. The document image layout analysis device according to claim 1, wherein the layout information synthesizing unit measures a frequency distribution of a connected component for each class from layout information output by each of the layout analyzing units, and When inconsistency arises between the connected component count histogram generation means that is stored as a number histogram and the layout information output by each of the layout analysis means, the priority when synthesizing the layout information with reference to the connected component count histogram is determined. Priority determining means for determining, prioritizing layout information according to the priority, synthesizing layout information,
A document image layout analysis device, comprising: layout information selection means for outputting final layout information.
JP5330555A 1993-12-27 1993-12-27 Document image layout analyzer Expired - Fee Related JP2768249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5330555A JP2768249B2 (en) 1993-12-27 1993-12-27 Document image layout analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5330555A JP2768249B2 (en) 1993-12-27 1993-12-27 Document image layout analyzer

Publications (2)

Publication Number Publication Date
JPH07192083A JPH07192083A (en) 1995-07-28
JP2768249B2 true JP2768249B2 (en) 1998-06-25

Family

ID=18233964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5330555A Expired - Fee Related JP2768249B2 (en) 1993-12-27 1993-12-27 Document image layout analyzer

Country Status (1)

Country Link
JP (1) JP2768249B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004038321A (en) 2002-06-28 2004-02-05 Fujitsu Ltd Document layout analysis program, document layout analysis device, and document layout analysis method
JP2012194705A (en) * 2011-03-15 2012-10-11 Omron Corp Image processor, image processing method and image processing program

Also Published As

Publication number Publication date
JPH07192083A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
US8041113B2 (en) Image processing device, image processing method, and computer program product
US6574375B1 (en) Method for detecting inverted text images on a digital scanning device
JP3308032B2 (en) Skew correction method, skew angle detection method, skew correction device, and skew angle detection device
US5335290A (en) Segmentation of text, picture and lines of a document image
JP3253356B2 (en) Document image area identification method
JPH0668301A (en) Method and device for recognizing character
US6711292B2 (en) Block selection of table features
JP2001060247A (en) Device and method for image processing
US20030012438A1 (en) Multiple size reductions for image segmentation
JP4538214B2 (en) Image segmentation by graph
JPH10513284A (en) Automatic determination of blank pages and character frames for binary images
JP2926066B2 (en) Table recognition device
JP2768249B2 (en) Document image layout analyzer
JPH0256707B2 (en)
JPH06214983A (en) Method and device for converting document picture to logical structuring document
JP2006253842A (en) Image processor, image forming apparatus, program, storage medium and image processing method
JPH08320914A (en) Table recognition method and device
JP2004282701A (en) Segmenting composite image by minimum areas
JP3904397B2 (en) Table recognition method
JP3187895B2 (en) Character area extraction method
JPH03142691A (en) Table format document recognizing system
Belaid et al. A labeling approach for mixed document blocks
JPS6227887A (en) Character type separating system
JPH0743718B2 (en) Multimedia document structuring method
KR100334624B1 (en) Clustering based document image segmentation method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980310

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080410

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090410

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100410

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110410

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120410

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120410

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130410

Year of fee payment: 15

LAPS Cancellation because of no payment of annual fees