JP2008217833A - Document image recognition system and storage medium for document image recognition program - Google Patents

Document image recognition system and storage medium for document image recognition program Download PDF

Info

Publication number
JP2008217833A
JP2008217833A JP2008156213A JP2008156213A JP2008217833A JP 2008217833 A JP2008217833 A JP 2008217833A JP 2008156213 A JP2008156213 A JP 2008156213A JP 2008156213 A JP2008156213 A JP 2008156213A JP 2008217833 A JP2008217833 A JP 2008217833A
Authority
JP
Japan
Prior art keywords
row
line
document image
stage
character
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
JP2008156213A
Other languages
Japanese (ja)
Other versions
JP4395188B2 (en
Inventor
Katsuto Fujimoto
克仁 藤本
Hiroshi Kamata
洋 鎌田
Koji Kurokawa
浩司 黒川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008156213A priority Critical patent/JP4395188B2/en
Publication of JP2008217833A publication Critical patent/JP2008217833A/en
Application granted granted Critical
Publication of JP4395188B2 publication Critical patent/JP4395188B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a document image recognition system having a function of extracting a line and a column of a document image, which can extract a line and a column of a document image having horizontal lines and vertical lines mixed therein at high speed and accuracy. <P>SOLUTION: A document image skew detection section 1 extracts an aggregate of letter components referring to the document image, extracts horizontal and vertical line candidates, based on the extracted aggregate, estimates the reliabilities of the respective line candidates, extracts an aggregates of lines having a higher accuracy, based on the estimated line reliabilities, and estimates the skew, based on the result, using the arrangement of the letter components of the aggregate of lines having a higher accuracy. A layout analyzing section 5 extracts an aggregates of lines having their directions defined based on the aggregate of basic elements forming the document image, and executes column extraction using association between lines, and line extraction using a column as constraint to extract a line and a column. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は,例えばイメージスキャナで読み取った文書やファクシミリ装置で受信した文書などの文書画像中の文字行および段を抽出して文書画像を認識するための文書画像認識装置および文書画像認識プログラムの記憶媒体に関する。   The present invention relates to a document image recognition apparatus and a document image recognition program for recognizing a document image by extracting character lines and columns in a document image such as a document read by an image scanner or a document received by a facsimile apparatus. It relates to the medium.

文書光学式読取り(OCR)エンジンの対象文書の拡大のためには,新聞等に見られるような縦行横行混在文書のレイアウト解析機能の搭載が必須である。本発明は,この縦行横行混在文書のレイアウト解析のために必要な要素技術として,文書画像認識のための行抽出処理および段抽出処理の新たな技術を提供するものである。   In order to expand the target document of the document optical reading (OCR) engine, it is essential to have a layout analysis function for a longitudinal and lateral mixed document as seen in newspapers. The present invention provides a new technique of line extraction processing and column extraction processing for document image recognition as an elemental technology necessary for the layout analysis of this vertical and horizontal mixed document.

(1)文書画像傾き検出
一般の印刷文書を読み取るためには,まず,イメージスキャナなどの画像入力装置を用いて文書画像として取り込む必要があるが,通常は原稿設置の際に多少傾きが生じる。電子ファイリングあるいは文書認識の使用に供するためには,その文書画像の傾き量を検出し,補正する必要がある。
(1) Detecting document image tilt To read a general print document, it is first necessary to capture it as a document image using an image input device such as an image scanner. In order to use electronic filing or document recognition, it is necessary to detect and correct the amount of inclination of the document image.

従来の傾き検出技術においては,文書画像中の主要な構成要素であるテキスト領域では文字が規則正しく並んでいることを利用している。   In the conventional tilt detection technique, the fact that characters are regularly arranged in a text area which is a main component in a document image is used.

例えば,中野らは「文書画像の傾き補正のための一方式」と題して電子情報通信学会論文誌D,vol.J69-D,No.1, pp.1833-1834(非特許文献1)に記載されているように,文字列の基準線がほぼ一定に存在することに着目し,文字ブロックの下端座標値をハフ変換し,ハフ空間上でのピーク値を検出することによって文字列の傾きを推定する第1の方式を提案している。   For example, Nakano et al. In the IEICE Transactions D, vol.J69-D, No.1, pp.1833-1834 (Non-patent Document 1) entitled “One Method for Document Image Tilt Correction”. Focusing on the fact that the reference line of the character string is almost constant as described, the lower end coordinate value of the character block is Hough transformed, and the peak value in the Hough space is detected to detect the inclination of the character string. A first method for estimating is proposed.

また,水野らは「文書画像傾き検出装置」と題して特開平7−192085号公報(特許文献1)に記載されているように,文字を構成する連結成分を抽出し,近接する連結成分同士を結合し仮の文字行を生成し,仮の文字行に接する直線を求めることによって文字列の傾きを推定する第2の方式を提案している。   Further, Mizuno et al. Extract connected components constituting a character as described in Japanese Patent Application Laid-Open No. Hei 7-92085 (Patent Document 1) entitled “Document Image Inclination Detection Device” and connect adjacent connected components to each other. Has been proposed to generate a temporary character line, and to estimate the inclination of the character string by obtaining a straight line in contact with the temporary character line.

また,斎藤らは「文書傾き補正装置」と題して特開平2−170280号公報(特許文献2)に記載されているように,傾き角度θを順次変更しながら文書画像を仮に補正し,補正画像中の全黒画素を含む外接矩形の面積が最小となる角度θを傾き角度として求める第3の方式を提案している。   Saito et al., As described in Japanese Patent Laid-Open No. 2-170280 (Patent Document 2) entitled “Document tilt correction device”, temporarily corrects a document image while sequentially changing the tilt angle θ. A third method is proposed in which an angle θ that minimizes the area of a circumscribed rectangle including all black pixels in an image is obtained as an inclination angle.

(2)レイアウト解析(行・段の抽出)
従来,OCR装置などにおいて,横行縦行の混在した文書画像中の文字行および段を抽出する方法としては以下のような方法が提案されている。
(2) Layout analysis (row / stage extraction)
Conventionally, in an OCR apparatus or the like, the following method has been proposed as a method for extracting character lines and columns in a document image in which horizontal and vertical lines are mixed.

例えば,辻本らは,「文書画像処理装置」と題して特開平1−183783号公報(特許文献3)に記載されているように,入力文書の文字行をある方向に射影し,その周辺分布を作成することにより,入力文書から自動的にその段組を決定する第4の方式を提案している。   For example, Enomoto et al. Project a character line of an input document in a certain direction as described in Japanese Patent Application Laid-Open No. 1-183784 (Patent Document 3) entitled “Document Image Processing Device”, and its peripheral distribution. A fourth method is proposed in which the column is automatically determined from the input document.

また,水谷らは,「文書画像処理装置」と題して特開平5−174179号公報(特許文献4)に記載されているように,入力文書の構成要素の空白領域を用いて段抽出を行う第5の方式を提案している。   Mizutani et al. Perform stage extraction using blank areas of components of an input document as described in Japanese Patent Laid-Open No. 5-174179 (Patent Document 4) entitled “Document Image Processing Device”. A fifth method is proposed.

また,平本らは,「文字行抽出方法および装置」と題して特開平10−31716号公報(特許文献5)に記載されているように,文字行方向が混在しており,文字の大きさやピッチの異なる領域が混在する文書からの文字行抽出を行う第6の方式を提案している。
特開平7−192085号公報 特開平2−170280号公報 特開平1−183783号公報 特開平5−174179号公報 特開平10−31716号公報 中野他,「文書画像の傾き補正のための一方式」,電子情報通信学会論文誌D,vol.J69-D,No.1,pp.1833-1834
Also, Hiramoto et al., As described in Japanese Patent Application Laid-Open No. 10-31716 (Patent Document 5) entitled “Character Line Extraction Method and Apparatus”, character line directions are mixed and character size is increased. A sixth method for extracting character lines from a document in which regions having different sheath pitches are mixed has been proposed.
Japanese Patent Application Laid-Open No. 7-192085 JP-A-2-170280 Japanese Patent Laid-Open No. 1-183783 JP-A-5-174179 Japanese Patent Laid-Open No. 10-31716 Nakano et al., "A method for correcting the tilt of document images", IEICE Transactions D, vol.J69-D, No.1, pp.1833-1834

一般の印刷文書には縦書き,横書きが混在した文書も多く,文書認識する際には,文字行および段落を適切に抽出する必要がある。   Many general printed documents include both vertical writing and horizontal writing. When a document is recognized, it is necessary to appropriately extract character lines and paragraphs.

しかしながら,上記の従来の方式では,以下のような問題がある。   However, the above conventional method has the following problems.

(1)文書画像傾き検出に関する問題
上記第1の方式では,行方向一定を前提としているため,新聞のように横行と縦行の混在する文書に適用することができない。また,行方向一定の文書に対しても,すべての文字の下端が基準線上に存在するとは限らないため,誤差が含まれることが避けられない。さらに,ハフ変換処理には膨大な計算量を要するという問題がある。
(1) Problems concerning document image inclination detection The first method described above is based on the premise that the line direction is constant, and thus cannot be applied to a document in which horizontal and vertical lines are mixed like a newspaper. In addition, even for a document with a fixed line direction, the lower end of all characters does not necessarily exist on the reference line, so it is inevitable that errors are included. Furthermore, there is a problem that the Hough conversion process requires a huge amount of calculation.

また,上記第2の方式では,新聞のように横行と縦行の混在する文書の場合に,縦行の段組から誤って横の仮行を抽出する場合が発生するために,傾き推定の大きな誤差を生じてしまう可能性がある。   In addition, in the second method, in the case of a document in which horizontal and vertical lines are mixed, such as a newspaper, there is a case where a horizontal temporary line is erroneously extracted from a column of vertical lines. Large errors may occur.

また,上記第3の方式では,横行縦行混在文書の傾き検出を目的として設計されてはいるが,文書画像の黒画素を含む外接矩形の面積という少量の情報をもとに角度検出を行っているため,検出した傾きの精度が不安定であるという問題点がある。また,画像自体を回転させて矩形領域を抽出する処理を何度も繰り返す必要があるため,膨大な計算量となる。   Although the third method is designed to detect the inclination of a mixed document of horizontal and vertical lines, angle detection is performed based on a small amount of information such as the area of a circumscribed rectangle including black pixels of the document image. Therefore, there is a problem that the accuracy of the detected inclination is unstable. In addition, it is necessary to repeat the process of rotating the image itself and extracting the rectangular area many times, which results in a huge amount of calculation.

(2)レイアウト解析に関する問題
文字行と段を抽出するための上記第4の方式では,文字行をあらかじめ抽出しておき,それをもとに段抽出を行うため,段中の文字行が細分化されている不定形の段が細分化されてしまうという問題がある。
(2) Problems related to layout analysis In the fourth method for extracting character lines and columns, the character lines in the columns are subdivided because the character lines are extracted in advance and the columns are extracted based on the extracted character lines. There is a problem that the irregularly shaped steps are subdivided.

また,第5の方式では,空白領域を用いて段を抽出するために,行間より段間が狭い箇所がある文書の場合には誤った段抽出がされてしまうおそれがある。   Further, in the fifth method, since a column is extracted using a blank area, there is a possibility that an erroneous column extraction may be performed in the case of a document having a portion where the step is narrower than the line spacing.

この問題は,縦行横行の文章が密に混在するような文書画像では大きな問題となる。例えば図26に示す新聞紙面の左上側の写真領域の下に矩形の枠で示すように,縦書の記事本文と横書の写真のキャプションの間が狭い文書画像の場合には,これらを一つの段落として,横書キャプションの各行の文字を縦書記事本文の先頭2文字と認識してしまうという問題が起こる。   This problem becomes a big problem in document images in which vertical and horizontal sentences are mixedly mixed. For example, as shown by a rectangular frame under the upper left photo area of the newspaper shown in FIG. 26, in the case of a document image in which the caption between the vertical article text and the horizontal picture caption is narrow, these are all set. As a single paragraph, there is a problem that characters in each line of horizontal writing caption are recognized as the first two characters of the vertical text.

また,第6の方式では,高精度な行抽出を行う前処理として段領域の抽出を行っているため,段中の文字行が細分化されている不定形の段が細分化されてしまい,結果として誤った行抽出をしてしまうという問題がある。   Further, in the sixth method, since the step region is extracted as preprocessing for performing high-precision line extraction, the irregular stage where the character lines in the stage are subdivided is subdivided. As a result, there is a problem that erroneous line extraction is performed.

すなわち,従来技術では,〔1〕(基礎要素集合)→行抽出処理→段抽出処理→(レイアウト解析結果),または〔2〕(基礎要素集合)→段抽出処理→行抽出処理→(レイアウト解析結果)のいずれかの手順をとり,ボトムアップ処理あるいはトップダウン処理を基本としている。これらの従来技術は,どれも行抽出処理,段抽出処理を独立したものと捉え,逐次的に両者を実行することにより,行および段抽出を達成しようとしているところが共通しており,ここに問題点発生の主要な原因が存在する。   That is, in the prior art, [1] (basic element set) → row extraction process → stage extraction process → (layout analysis result) or [2] (basic element set) → stage extraction process → row extraction process → (layout analysis) The result is either bottom-up processing or top-down processing. All of these conventional technologies consider that line extraction processing and stage extraction processing are independent, and they are trying to achieve both row and stage extraction by executing both of them sequentially. There are major causes of spot generation.

このような技術的背景を踏まえて,本発明は,横行縦行が混在した複雑な文書構造を持つ文書画像を認識するような場合にも,行および段の抽出を高精度に行うことができる文書画像認識装置を提供することを目的とする。   Based on such technical background, the present invention can extract lines and columns with high accuracy even when recognizing a document image having a complicated document structure in which horizontal and vertical lines are mixed. An object of the present invention is to provide a document image recognition apparatus.

図1は,本発明の基本構成例を示す。   FIG. 1 shows a basic configuration example of the present invention.

縦行横行が混在することがある認識対象の文書画像2が,文書画像認識装置100に入力されると,まず,文書画像傾き検出部1は,傾き補正のための傾き角度3を検出する。レイアウト解析部5は,この傾き角度3によって補正した補正後の文書画像から抽出した基礎要素の集合4について,基本行を抽出し,行および段抽出を相互に繰り返し行うことで,横行縦行が混在する文書画像2の段構造を認識し,レイアウト解析結果6を出力する。   When a document image 2 to be recognized, which may include both vertical and horizontal lines, is input to the document image recognition apparatus 100, the document image inclination detection unit 1 first detects an inclination angle 3 for inclination correction. The layout analysis unit 5 extracts a basic row for the set 4 of basic elements extracted from the corrected document image corrected by the inclination angle 3 and repeats the row and column extraction so that the horizontal and vertical rows are obtained. The step structure of the mixed document image 2 is recognized, and the layout analysis result 6 is output.

(1)文書画像傾き検出
文書画像傾き検出部1は,文書画像2を参照し文字を構成する成分の集合を抽出する文字成分抽出手段と,文字成分の集合を参照し横および縦の行候補を抽出する行候補抽出手段と,各々の行候補に対して信頼度を推定する行信頼度推定手段と,行信頼度に基づいて確度の高い行の集合を抽出する行抽出手段と,確度の高い行の集合の文字成分の配置を用いて傾きを推定する傾き推定手段とを備える。
(1) Document Image Inclination Detection The document image inclination detection unit 1 refers to the document image 2 and extracts character component extraction means for extracting a set of components constituting characters, and refers to the set of character components for horizontal and vertical line candidates. A line candidate extracting means for extracting a line reliability, a line reliability estimating means for estimating a reliability for each line candidate, a line extracting means for extracting a set of rows with high accuracy based on the row reliability, Inclination estimation means for estimating an inclination using the arrangement of character components in a set of high lines.

文字成分抽出手段で抽出した文字成分の集合を用いて後段の処理を行い,文書画像の回転など画像を直接操作しないため,計算量を大幅に削減できる。行候補抽出手段によって横方向および縦方向の行の候補を抽出し,行信頼度推定手段および行抽出手段により確度の高い横および縦方向の行の集合を抽出するため,横行縦行混在文書に対しても傾き検出を行うことができる。さらに,傾き推定手段では,確度の高い行を構成する文字成分のみを用いて傾きを推定するために,ノイズに対して強く高精度の傾き推定を実現することができる。   Since the subsequent processing is performed using the set of character components extracted by the character component extraction means and the image is not directly manipulated such as rotation of the document image, the calculation amount can be greatly reduced. In order to extract horizontal and vertical line candidates by line candidate extraction means and to extract a set of horizontal and vertical lines with high accuracy by line reliability estimation means and line extraction means, In contrast, tilt detection can be performed. Furthermore, since the inclination estimation means estimates the inclination using only the character components constituting the line with high accuracy, it is possible to realize the inclination estimation that is strong against noise and highly accurate.

このような本発明に関連する技術を用いると,従来技術では難しかった横行縦行混在文書の傾き検出を,高速かつ高精度に行うことができるようになる。   By using such a technique related to the present invention, it becomes possible to detect the inclination of a mixed document of horizontal and vertical lines, which has been difficult with the prior art, at high speed and with high accuracy.

(2)レイアウト解析(行・段の抽出)
レイアウト解析部5は,文書を構成する基礎要素の集合4から方向の確定した行集合を抽出する基本行抽出手段と,行同士の関連付けによる段抽出および段を制約とした行抽出を相互に実行して行と段とを抽出する行・段相互抽出手段とを備える。ここで入力となる基礎要素の集合4としては,例えば文書画像中の黒画素連結成分,あるいは文書画像中の黒画素の連結成分の外接矩形の重なり矩形を用いることができる。
(2) Layout analysis (row / stage extraction)
The layout analysis unit 5 mutually executes basic line extraction means for extracting a set of lines whose direction has been determined from the set 4 of basic elements constituting the document, line extraction based on association between lines, and line extraction with a stage as a constraint. And a row / stage mutual extraction means for extracting rows and stages. Here, as the set 4 of basic elements to be input, for example, a black pixel connected component in the document image or a circumscribed rectangle overlapping rectangle of the black pixel connected component in the document image can be used.

従来技術との大きな違いは,従来技術では行抽出処理後に段抽出処理,または段抽出処理後に行抽出処理というように,行抽出処理と段抽出処理とを独立に行っていたのに対し,本発明では,行の抽出と段の抽出とを関連付けて,行の抽出結果を段の抽出処理に反映させ,また段の抽出結果を行の抽出に反映させる手段を持つことである。   The major difference from the prior art is that the row extraction process and the stage extraction process are performed independently, such as the stage extraction process after the line extraction process or the line extraction process after the stage extraction process. According to the present invention, there is provided means for associating row extraction and column extraction, reflecting the row extraction result in the column extraction processing, and reflecting the column extraction result in the row extraction.

本発明を用いると,行方向の確定した行を基本としつつ,行抽出と段抽出の相互作用によりお互いの結果を高めあうことによって,従来技術ではなし得なかった横行縦行が混在し,さらに段中の文字行が細分化されている不定形の段や行間よりも段間が狭い部分が存在するような複雑に入り組んだ文書構造を持つ文書画像に対しても,行および段の抽出を高精度に行うことができる。   By using the present invention, the row and column that cannot be achieved by the prior art are mixed by enhancing each other's result by the interaction between the row extraction and the column extraction, while using the row in which the row direction is determined as a basis. Extraction of lines and columns is also possible for document images with complex document structures that have irregular columns where the character lines in the columns are subdivided, and where there are narrower spaces between the lines. It can be performed with high accuracy.

以上の各処理手段を計算機によって実現するためのプログラムは,計算機が読み取り可能な可搬媒体メモリ,半導体メモリ,ハードディスクなどの適当な記憶媒体に格納することができる。   A program for realizing the above processing means by a computer can be stored in an appropriate storage medium such as a portable medium memory, a semiconductor memory, or a hard disk that can be read by the computer.

本発明に関連する技術によれば,従来技術では困難であった横書き(横行),縦書き(縦行)が混在した文書画像の傾きを高速かつ高精度に検出することができ,さらに本発明によれば,段中の文字行が細分化されている不定形の段や,行間よりも段間が狭い部分が存在する複雑に入り組んだ文書構造を持つ文書画像中の文字行および段の抽出を高精度に行うことができるようになる。   According to the technology related to the present invention, it is possible to detect the inclination of a document image in which horizontal writing (horizontal row) and vertical writing (vertical row) are mixed, which is difficult in the prior art, at high speed and with high accuracy. According to the above, extraction of character lines and columns in a document image having an intricate document structure in which the character lines in the columns are subdivided, or there are portions where the spaces are narrower than the line spaces, is present. Can be performed with high accuracy.

以下,図面を参照して本発明の実施の形態を詳しく説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[1]ハードウェア構成
図2は,本発明を適用するハードウェア構成例を示す。図1に示す文書画像認識装置100は,ハードウェアとしては,例えば図2に示すようなCPU20,メモリ21,キーボードその他の入力装置22,ディスプレイその他の出力装置23,ハードディスクその他の外部記憶装置24,画像を読み取るイメージスキャナ25およびこれらを接続するバス26等から構成される。図1に示す各処理手段の機能は,図2に示すメモリ21に格納されたプログラムをCPU20が実行することにより実現される。
[1] Hardware Configuration FIG. 2 shows a hardware configuration example to which the present invention is applied. The document image recognition apparatus 100 shown in FIG. 1 includes, for example, a CPU 20, a memory 21, a keyboard and other input devices 22, a display and other output devices 23, a hard disk and other external storage devices 24, as shown in FIG. An image scanner 25 for reading an image and a bus 26 for connecting them are configured. The functions of the processing means shown in FIG. 1 are realized by the CPU 20 executing a program stored in the memory 21 shown in FIG.

[2]文書画像傾き検出部
図3は,文書画像傾き検出部1の基本構成例を示す。文書画像傾き検出部1では,文書画像2を入力し,傾きを検出して傾き角度3を出力する。文書画像傾き検出部1は,文字成分抽出手段11,行候補抽出手段12,行信頼度推定手段13,行抽出手段14,傾き推定手段15を持つ。
[2] Document Image Inclination Detection Unit FIG. 3 shows a basic configuration example of the document image inclination detection unit 1. The document image inclination detection unit 1 inputs the document image 2, detects the inclination, and outputs an inclination angle 3. The document image inclination detection unit 1 includes character component extraction means 11, line candidate extraction means 12, line reliability estimation means 13, line extraction means 14, and inclination estimation means 15.

図4は文書画像傾き検出部1の処理フローチャート,図5は文字成分の抽出を説明する図,図6および図7は行候補の抽出を説明する図,図8は行信頼度の推定を説明する図である。   4 is a process flowchart of the document image inclination detection unit 1, FIG. 5 is a diagram for explaining extraction of character components, FIGS. 6 and 7 are diagrams for explaining extraction of line candidates, and FIG. 8 is an explanation of estimation of row reliability. It is a figure to do.

図4に示すフローチャートに従って,文書画像傾き検出部1の処理を詳しく説明する。まず,図4に示すステップS1で文書画像2を入力すると,文字成分抽出手段11は,文書画像2を参照し,文字を構成する成分の集合を抽出する。文字成分の抽出では,文書画像2中の黒画素の連結成分の集合をラベリングなどの手法により抽出する(ステップS2)。このときに,各連結成分の外接矩形を求め保持しておき,以下の処理では外接矩形の座標値のみを用いることにし,計算量の削減を図る。   The processing of the document image inclination detection unit 1 will be described in detail according to the flowchart shown in FIG. First, when the document image 2 is input in step S1 shown in FIG. 4, the character component extraction means 11 refers to the document image 2 and extracts a set of components constituting the character. In the extraction of character components, a set of connected components of black pixels in the document image 2 is extracted by a technique such as labeling (step S2). At this time, the circumscribed rectangle of each connected component is obtained and held, and in the following processing, only the coordinate value of the circumscribed rectangle is used, thereby reducing the amount of calculation.

次に,連結成分の外接矩形で互いに重なっているものを統合する。この処理を重なり矩形統合と呼ぶ。重なり矩形統合の結果,重なり矩形の集合が得られる。次に,重なり矩形の大きさのヒストグラムを取るなどして,図,表などの領域に対応した極端に大きな重なり矩形を除去することにより,文字成分に対応した文字成分外接矩形の集合を出力する。   Next, the circumscribed rectangles of the connected components that overlap each other are integrated. This process is called overlapping rectangle integration. As a result of overlapping rectangle integration, a set of overlapping rectangles is obtained. Next, a set of character component circumscribed rectangles corresponding to character components is output by removing an extremely large overlapping rectangle corresponding to a region such as a figure or a table by taking a histogram of the size of the overlapping rectangle. .

図5(A)に示すように,例えば「日」という文字は,黒画素の一つの連結成分40が一つの文字成分として抽出される。図5(B)に示すように,「旧」という文字は,二つの黒画素の連結成分41,42から構成されるため,二つの文字成分として抽出される。図5(C)に示すように「お」という文字は,二つの黒画素の連結成分43a,43bから構成されるが,これらの外接矩形44a,44bをそれぞれ求めると,これらは互いに重なっている矩形であることが分かる。そこで,重なり矩形統合を行うことにより,二つの連結成分43a,43bが一つの文字成分として抽出される。   As shown in FIG. 5A, for example, for a character “day”, one connected component 40 of a black pixel is extracted as one character component. As shown in FIG. 5B, the character “old” is extracted as two character components because it is composed of connected components 41 and 42 of two black pixels. As shown in FIG. 5C, the character “o” is composed of connected components 43a and 43b of two black pixels. When these circumscribed rectangles 44a and 44b are obtained, they overlap each other. It turns out that it is a rectangle. Therefore, two connected components 43a and 43b are extracted as one character component by performing overlapping rectangle integration.

行候補抽出手段12は,図6に示す文書イメージ中の文字成分の配置50の例のような文字成分の集合を参照し,横および縦の行候補の集合を抽出する(ステップS3,S4)。なお,文字成分51のように,一つの文字成分が横行および縦行の二つの行候補に属することもある。   The line candidate extraction unit 12 refers to a set of character components such as the example of the arrangement 50 of character components in the document image shown in FIG. 6 and extracts a set of horizontal and vertical line candidates (steps S3 and S4). . In addition, like the character component 51, one character component may belong to two line candidates of horizontal and vertical lines.

行候補抽出手段12は,具体的には,文字成分外接矩形同士の隣接関係から横行および縦行の候補集合を出力する。横行の場合について説明すると,横行に含まれている文字成分の一部は,下辺が行の基準線にほぼ沿っていることを考慮し,文字成分の外接矩形の下辺が横方向の一定の範囲内に存在するかを順次探索することにより,横行候補を抽出する。   More specifically, the line candidate extraction unit 12 outputs a candidate set of horizontal and vertical lines from the adjacent relationship between the character component circumscribed rectangles. In the case of a horizontal line, a part of the character component included in the horizontal line takes into account that the lower side is almost along the reference line of the line, and the lower side of the circumscribed rectangle of the character component is a certain range in the horizontal direction. The traversal candidates are extracted by sequentially searching for whether they exist within.

今,図7(A)に示す文字成分の外接矩形60に隣接する横方向の文字成分を探索する場合を考える。文字成分の外接矩形60の下辺62に着目して,この下辺62の右端から右方向へ所定の角度(例えば±5度)の範囲内で,かつ,ある距離k・XW の範囲内(ただし,kは所定値,XW は外接矩形のX方向の幅)に,隣接する文字成分の外接矩形61の下辺63が存在するかどうかを調べる。もし,この範囲内に文字成分の外接矩形61の下辺63が存在すれば,外接矩形60から外接矩形61へ右リンクを張る。この探索を各外接矩形に対して繰り返す。なお,各外接矩形からの右リンクは,0本か1本のいずれかとし,右リンクが一つの外接矩形から枝分かれしないようにする。この結果,例えば図7(B)に示すように,横方向への右リンクが張られた外接矩形群が求まるので,右リンクを辿ることにより,横行候補の集合を抽出する。 Consider a case where a horizontal character component adjacent to the circumscribed rectangle 60 of the character component shown in FIG. Paying attention to the lower side 62 of the circumscribed rectangle 60 of the character component, within a range of a predetermined angle (for example, ± 5 degrees) from the right end of the lower side 62 to the right, and within a range of a certain distance k · X W (however, , K is a predetermined value, and X W is the width in the X direction of the circumscribed rectangle), it is checked whether the lower side 63 of the circumscribed rectangle 61 of the adjacent character component exists. If the lower side 63 of the circumscribed rectangle 61 of the character component exists within this range, a right link is extended from the circumscribed rectangle 60 to the circumscribed rectangle 61. This search is repeated for each circumscribed rectangle. Note that the right link from each circumscribed rectangle is either zero or one so that the right link does not branch from one circumscribed rectangle. As a result, for example, as shown in FIG. 7B, a circumscribed rectangle group with a right link in the horizontal direction is obtained, and a set of traversing candidates is extracted by following the right link.

縦行候補についても同様に,それぞれの文字成分外接矩形に対して右辺が下隣にある文字成分に下リンクを張り,下リンクを辿ることにより求める。   Similarly, the vertical line candidates are obtained by attaching a lower link to a character component whose right side is adjacent to the lower side of each character component circumscribed rectangle and tracing the lower link.

行信頼度推定手段13は,各々の行候補に対して信頼度を推定する(ステップS5)。まず,各々の行候補に対して行らしさを定量的に計算する。例えば,その行候補に含まれている文字成分の数が一定数以上あるという行の長さによる量,文字成分同士が比較的密に配置されているという近接性による量,文字成分の大きさがほぼ同じくらいであるなどの同質性による量などから行らしさを定量化できる。   The row reliability estimation means 13 estimates the reliability for each row candidate (step S5). First, the likelihood of each line candidate is calculated quantitatively. For example, the amount by the length of the line that the number of character components included in the line candidate is a certain number or more, the amount by the proximity that the character components are arranged relatively densely, the size of the character component Quantities can be quantified from the amount of homogeneity, such as being almost the same.

次に,それぞれの文字成分外接矩形に対して,属する横行候補および縦行候補が一つずつ存在する可能性があるが,横行の行らしさと縦行の行らしさを比較してより行らしい方向の行に属する可能性が高いとして,その文字成分の方向フラグを横または縦にセットする。この結果から,それぞれの行候補に対して,その行候補に属する文字成分のうち,その行候補の行方向と一致する方向フラグを持つものの比率を求め,その行候補の信頼度とする。   Next, there may be one horizontal row candidate and one vertical row candidate for each character component circumscribed rectangle. The direction flag of the character component is set horizontally or vertically. From this result, for each line candidate, the ratio of the character components belonging to that line candidate that have a direction flag that matches the line direction of that line candidate is obtained and used as the reliability of that line candidate.

例えば,図8(A)〜(D)に示すように,各文字成分には,行候補抽出手段12の処理において,隣接する文字成分が見つからなかった文字成分70,縦行候補にのみ含まれる文字成分71,横行候補にのみ含まれる文字成分72,横行の縦行のいずれにも含まれる文字成分73等が存在する。これらの各文字成分に対して,前述した行らしさの尺度を利用して,行らしさを定量的に計算し,「横」または「縦」の方向フラグをセットする。なお,単なるフラグではなく,不明のものについて,縦0.5,横0.5というように確率的な数値を付与してもよい。この結果から,方向一致の比率を計算し,それを行信頼度とする。例えば,横行としての行信頼度は,図8(E)に示すように,着目している横行候補に対して,「横」の方向フラグがセットされている文字成分の比率を計算することにより求められる。   For example, as shown in FIGS. 8A to 8D, each character component is included only in the character component 70 in which the adjacent character component was not found in the processing of the line candidate extraction unit 12 and the vertical line candidate. There are a character component 71, a character component 72 included only in the horizontal line candidate, a character component 73 included in any of the horizontal lines and vertical lines, and the like. For each of these character components, the likelihood is quantitatively calculated using the measure of likelihood described above, and the “horizontal” or “vertical” direction flag is set. It should be noted that probable numerical values such as 0.5 vertical and 0.5 horizontal may be given to unclear ones rather than just flags. From this result, the ratio of direction coincidence is calculated and used as the row reliability. For example, as shown in FIG. 8E, the line reliability as a horizontal line is calculated by calculating the ratio of the character component in which the “horizontal” direction flag is set with respect to the horizontal line candidate of interest. Desired.

行抽出手段14は,行信頼度に基づいて確度の高い行の集合を抽出する(ステップS6)。ここでは,一定の信頼度以上の行信頼度を持つ行候補を確度の高い行として出力する。   The row extraction means 14 extracts a set of rows with high accuracy based on the row reliability (step S6). Here, a row candidate having a row reliability of a certain reliability or higher is output as a row with high accuracy.

傾き推定手段15は,確度の高い行の集合の文字成分の配置を用いて傾きを推定する(ステップS7)。確度の高い行の集合に属する文字成分外接矩形の基準辺(横行の場合は下辺,縦行の場合は右辺)の座標値から,複数直線の当てはめによる最小自乗法を用いて傾きの推定を行う。   The inclination estimation means 15 estimates the inclination using the arrangement of the character components of the set of lines with high accuracy (step S7). Estimate the slope using the least squares method by fitting multiple straight lines from the coordinate values of the reference side (bottom side for horizontal rows and right side for vertical rows) of the character component circumscribed rectangle belonging to the set of rows with high accuracy .

以上のような文書画像傾き検出部1を用いると,横行と縦行とが混在する文書に対しても高速かつ高精度に傾きを検出することができる。検出した傾き角度3によって,文書画像2の傾き補正を行い,次のレイアウト解析処理に進む。   By using the document image inclination detection unit 1 as described above, it is possible to detect the inclination at high speed and with high accuracy even for a document in which horizontal lines and vertical lines are mixed. The inclination of the document image 2 is corrected based on the detected inclination angle 3, and the process proceeds to the next layout analysis process.

[3]レイアウト解析部
図9は,本発明に係るレイアウト解析部5の基本構成例を示す。本実施の形態による文書画像認識装置100におけるレイアウト解析部5では,補正後の文書画像の基礎要素の集合4を入力とし,行抽出および段抽出をしてレイアウト解析結果6を出力する。このため,レイアウト解析部5は,基本行抽出手段8と行・段相互抽出手段9とを持つ。
[3] Layout Analysis Unit FIG. 9 shows a basic configuration example of the layout analysis unit 5 according to the present invention. In the layout analysis unit 5 in the document image recognition apparatus 100 according to the present embodiment, the set 4 of basic elements of the corrected document image is input, line extraction and stage extraction are performed, and a layout analysis result 6 is output. For this reason, the layout analysis unit 5 has basic line extraction means 8 and row / stage mutual extraction means 9.

さらに,基本行抽出手段8は,基礎要素集合の関連付けをもとに,横方向および縦方向の行方向を持つ行要素を生成する行要素生成手段81と,各々の行要素に対して信頼度を推定し,信頼度に基づいて行要素を淘汰する行要素淘汰手段82と,整合性のとれた行および文字集合を得るための行要素整合手段83とを持つ。また,行・段相互抽出手段9は,互いに関連付けられた段同士の統合を行う段要素統合手段91と,整合性のとれた段および行集合を得るための段要素整合手段92と,整合性のとれた行および文字集合を得るための行要素整合手段93とを持つ。   Further, the basic row extraction means 8 includes a row element generation means 81 for generating row elements having horizontal and vertical row directions based on the association of the basic element sets, and reliability for each row element. And a row element matching means 83 for obtaining a line element based on the reliability and a row element matching means 83 for obtaining a consistent line and character set. The row / stage mutual extraction means 9 includes a stage element integration means 91 for integrating the stages associated with each other, a stage element matching means 92 for obtaining a consistent stage and row set, and consistency. And line element matching means 93 for obtaining a good line and character set.

(1)基本行抽出手段
図10は,基本行抽出手段の処理概要を示す。
(1) Basic Line Extraction Means FIG. 10 shows a processing outline of the basic line extraction means.

基本行抽出手段8の入力は,例えば文書画像中の黒画素連結成分,あるいは文書画像中の黒画素の連結成分の外接矩形の重なり矩形というような,文書を構成する基礎要素の集合4であり,出力は,行要素,文字要素,基礎要素が互いに包含関係により関連付けられた木構造の集合である。   The input of the basic line extraction means 8 is a set 4 of basic elements constituting the document, such as a black pixel connected component in the document image or an overlapping rectangle of circumscribed rectangles of the black pixel connected component in the document image. The output is a set of tree structures in which line elements, character elements, and basic elements are related to each other by inclusion relations.

まず,ステップS10で,基礎要素の集合4を入力すると(ステップS10),行要素生成手段81は,各基礎要素を唯一含む文字要素を生成し(ステップS11),さらに文字要素の関連付けによる行要素を生成する(ステップS12)。具体的には,行要素生成手段81は,基礎要素の集合同士の関連付けをもとに,横方向および縦方向の行方向を持つ行要素を生成する。この基礎要素集合同士の関連付けは,近接性あるいは同質性に基づいて行う。   First, in step S10, when a basic element set 4 is input (step S10), the line element generating means 81 generates a character element that uniquely includes each basic element (step S11), and further, a line element by associating character elements. Is generated (step S12). Specifically, the row element generation unit 81 generates row elements having horizontal and vertical row directions based on the association between sets of basic elements. The basic element sets are associated with each other based on proximity or homogeneity.

続いて,行要素淘汰手段82は,各々の行要素に対して信頼度を推定し,この信頼度に基づいて行要素を淘汰する(ステップS13)。   Subsequently, the row element selection means 82 estimates the reliability for each row element, and selects the row element based on the reliability (step S13).

さらに,行要素整合手段83は,整合性のとれた行集合と文字集合を得るための行要素集合の整合処理を行い(ステップS14),行要素,文字要素,基礎要素(重なり矩形要素)が互いに包含関係により関連付けられた木構造の集合を出力する。具体的には,以下のような条件を満たす行要素集合および行要素の内部構造を得る。   Further, the line element matching means 83 performs matching processing of the line element set to obtain a consistent line set and character set (step S14), and the line element, character element, and basic element (overlapping rectangular element) are determined. A set of tree structures associated with each other by an inclusion relation is output. Specifically, a row element set that satisfies the following conditions and an internal structure of the row element are obtained.

1)すべての文字成分は唯一の行要素に属する。   1) All character components belong to a single line element.

2)各々の行要素の行領域は互いに重ならない。ここで,行領域は各々の行要素に属する文字成分の外接矩形で定義される領域である。   2) The row area of each row element does not overlap each other. Here, the line area is an area defined by a circumscribed rectangle of the character component belonging to each line element.

3)行方向の確定した行要素に属する文字要素は,行方向順に順序付けされ,行と垂直方向に重なる文字要素が存在しないように互いに統合されている。   3) The character elements belonging to the line elements determined in the line direction are ordered in the line direction, and are integrated with each other so that there is no character element overlapping the line and the vertical direction.

以下,具体例に従って基本行抽出手段8による行抽出についてさらに詳しく説明する。   Hereinafter, line extraction by the basic line extraction means 8 will be described in more detail according to a specific example.

図11に示すような文書画像の行・段抽出を行うものとする。図11に示す文書画像について,ラベリングによる黒画素連結成分の抽出処理および重なり矩形統合処理により,重なり矩形集合を基礎要素の集合として抽出したものを入力する(図10のステップS10)。入力した重なり矩形集合のそれぞれ一つを子として持つ文字要素の集合を生成し,これを基本文字要素の集合とする(ステップS11)。   Assume that line / stage extraction of a document image as shown in FIG. 11 is performed. The document image shown in FIG. 11 is input by extracting the overlapping rectangle set as a set of basic elements by extracting the black pixel connected component by the labeling and overlapping rectangle integration processing (step S10 in FIG. 10). A set of character elements each having one of the input overlapping rectangle sets as a child is generated and set as a set of basic character elements (step S11).

図12は,このようにして生成された文書画像の基本文字要素の集合の例を示している。図12中に示す各矩形が文字要素を表している。   FIG. 12 shows an example of a set of basic character elements of the document image generated in this way. Each rectangle shown in FIG. 12 represents a character element.

次に,文字要素の関連付け(例えば近接性)による行要素の生成を行う(ステップS12)。ここでは,入力された基本文字要素の集合のそれぞれの文字要素に対して,横方向および縦方向に文字要素自身の大きさのしきい値倍以下の距離にあり,かつ,最も近接している文字要素を探索してリンクを張り,横方向および縦方向に近接した文字要素の列を,行要素として生成する。行要素には,横の行方向を持つもの(横行要素)と,縦の行方向を持つもの(縦行要素)の両方が存在する。多くの文字要素は,横行要素と縦行要素の両方の子となって,要素同士の干渉が多く発生する。   Next, a line element is generated by associating character elements (for example, proximity) (step S12). Here, each character element in the set of input basic character elements is at a distance not more than a threshold value times the size of the character element itself in the horizontal and vertical directions, and is closest to each other. A character element is searched for and linked to generate a row of character elements adjacent in the horizontal and vertical directions as row elements. There are both row elements having a horizontal row direction (horizontal element) and those having a vertical row direction (vertical element). Many character elements are children of both horizontal and vertical elements, and there is a lot of interference between elements.

図13は,文字要素の近接性により生成した横行要素の外接矩形を表示した文書画像の例を示す。また,図14は,文字要素の近接性により生成した縦行要素の外接矩形を表示した文書画像の例を示す。   FIG. 13 shows an example of a document image displaying circumscribing rectangles of traversing elements generated by the proximity of character elements. FIG. 14 shows an example of a document image in which a circumscribed rectangle of a vertical element generated by the proximity of character elements is displayed.

前処理として行われる文書画像傾き検出部1による傾き補正のために,傾きがほぼ0である文書画像を前提にできるため,近接条件に傾きによる広がりを持たせないことにする。また,近接条件の距離のしきい値は,異なる段に属するであろう行が統合されてしまわないために,傾き検出による傾き補正の場合より厳しく小さな値を採用する。   Since the document image with the inclination of almost zero can be assumed for the inclination correction by the document image inclination detection unit 1 performed as the pre-processing, the proximity condition does not have a spread due to the inclination. Also, the threshold value of the distance in the proximity condition is a value that is strictly smaller than that in the case of inclination correction by inclination detection, because rows that will belong to different stages are not integrated.

次に,行信頼度を用いた行要素の淘汰を行う(ステップS13)。文書画像傾き検出部1による処理と同様の手法を用いる。まず,生成した行要素の行信頼度を,属する文字要素の平均間隔,属する文字要素の数,属する文字要素のすべてを含む外接矩形による行領域の縦横比率をもとに算出する。次に,それぞれの文字要素に対して,関連する行要素の方向を文字要素の方向とする。関連する行要素が,横行要素と縦行要素の2種類存在する場合には,行信頼度の大きな行要素の方向を文字要素の方向とする。さらに,生成した行要素の強度を,その行要素に含まれる文字要素のうち,行要素の行方向と同一の方向を持つ文字要素の比率とし,強度がしきい値未満の行要素を淘汰し,しきい値以上のものを信頼度の高い基本行要素として残す。   Next, wrinkling of row elements using row reliability is performed (step S13). A method similar to the processing by the document image inclination detection unit 1 is used. First, the line reliability of the generated line element is calculated based on the average interval of the character elements to which it belongs, the number of character elements to which it belongs, and the aspect ratio of the line area by a circumscribed rectangle including all of the character elements to which it belongs. Next, for each character element, the direction of the associated line element is the character element direction. When there are two types of related row elements, a horizontal row element and a vertical row element, the direction of the row element having a high row reliability is set as the direction of the character element. Furthermore, the strength of the generated line element is defined as the ratio of character elements included in the line element that have the same direction as the line direction of the line element. , Leave those above the threshold as basic row elements with high reliability.

図15は,淘汰により生き残った信頼度の高い基本行要素を,外接矩形でもって表示した文書画像の例を示す。図15では,本来の横行および縦行の一部が,それぞれ正しい行方向を持つ行要素として生き残っており,かつ,異なる段に属する行の誤った統合が存在しないことがわかる。   FIG. 15 shows an example of a document image in which basic line elements with high reliability that have survived due to the bag are displayed in a circumscribed rectangle. In FIG. 15, it can be seen that part of the original horizontal row and vertical row survive as row elements having the correct row direction, and there is no erroneous integration of rows belonging to different stages.

次に,行要素整合手段83による行要素集合の整合処理(ステップS14)を行う。この行要素整合手段83の処理フローチャートを図16に示す。   Next, row element set matching processing (step S14) by the row element matching unit 83 is performed. A processing flowchart of the row element matching unit 83 is shown in FIG.

まず,行要素同士の領域干渉を解消する(ステップS31)。行要素同士の外接矩形は互いに接触している可能性がある。ここで,行要素の外接矩形とは,その行要素に含まれている文字要素の外接矩形を含む最小の矩形を意味する。行要素同士の外接矩形が接触している場合には,行要素間の干渉とみなされるので,それを解消する。   First, the area interference between row elements is eliminated (step S31). The circumscribed rectangles between the row elements may be in contact with each other. Here, the circumscribed rectangle of the line element means the smallest rectangle that includes the circumscribed rectangle of the character element included in the line element. If the circumscribing rectangles between the row elements are in contact with each other, it is regarded as interference between the row elements, so that it is eliminated.

次に,行要素と領域干渉している文字要素の吸収仮説を生成する(ステップS32)。行要素の外接矩形と接触しているが,行要素の子として属していない文字要素が存在する可能性がある。そこで,それぞれの行要素に対してこのような文字要素を探索して,子として吸収する。ここでは,文字要素を子として吸収した行要素を,吸収仮説と呼んでいる。   Next, an absorption hypothesis for the character element that has a region interference with the line element is generated (step S32). There may be character elements that touch the bounding rectangle of the line element but do not belong to the child of the line element. Therefore, such a character element is searched for each line element and absorbed as a child. Here, the line element that absorbs a character element as a child is called an absorption hypothesis.

続いて,文字要素の吸収仮説の要素干渉を検証することにより淘汰を行う(ステップS33)。上記のステップS32の処理の場合に,複数の行要素に接触している文字要素はノイズである可能性が高いので,行要素の子とせずに削除するのが望ましい場合もあるため,この検証を行う。   Subsequently, wrinkles are performed by verifying element interference in the absorption hypothesis of the character element (step S33). In the case of the processing in step S32 described above, since there is a high possibility that a character element that is in contact with a plurality of line elements is noise, it may be desirable to delete the character element without making it a child of the line element. I do.

次に,行要素同士の領域干渉を解決する(ステップS34)。上記ステップS32およびS33の処理により,結果的にある行要素の新たな子となった文字要素が存在する場合には,行要素の外接矩形が膨張する可能性がある。したがって,この場合には,行要素に対し,ステップS31〜S33の処理を再度繰り返す。   Next, the area interference between the row elements is resolved (step S34). As a result of the processing in steps S32 and S33, if there is a character element that is a new child of a certain row element, the circumscribed rectangle of the row element may expand. Therefore, in this case, the processes of steps S31 to S33 are repeated again for the row elements.

さらに,行要素に属する文字要素の整頓を行う(ステップS35)。それぞれの行要素の外接矩形に含まれる文字要素がすべて子となった状態を構成できたならば,次に行方向と垂直方向に重なっている文字要素は一つにまとめ,テキスト認識実行時の文字切り出し候補の可能性を限定するのが望ましい。このときに,まとめられた複数の文字要素の子となっている重なり矩形要素の基礎要素集合を一つに統合して,新たな統合された文字要素の子とする。   Further, the character elements belonging to the line elements are arranged (step S35). If all the character elements contained in the circumscribed rectangle of each line element can be configured as children, then the character elements that overlap the line direction and the vertical direction are grouped together, It is desirable to limit the possibilities of character extraction candidates. At this time, a basic element set of overlapping rectangular elements that are children of a plurality of character elements that have been collected is integrated into one, and a new integrated character element child is obtained.

以上の行要素の整合処理を,図17に示す画像例の1行のイメージに注目して説明する。   The above row element matching processing will be described by paying attention to the image of one row in the image example shown in FIG.

図17の画像A中の矩形は,行要素淘汰後に得られた信頼度の高い基本縦行要素である。図17の画像B中の矩形列は,画像Aの縦行要素の子となっている文字要素である。行要素の外形矩形に含まれていない文字要素が二つ存在することが分かる。画像中の「や」と「し」の文字要素である。   A rectangle in the image A in FIG. 17 is a basic column element with high reliability obtained after the row element. A rectangular column in the image B of FIG. 17 is a character element that is a child of the vertical element of the image A. It can be seen that there are two character elements that are not included in the outline rectangle of the line element. Character elements “ya” and “shi” in the image.

その後,画像の行要素同士の領域干渉の解消・行要素と領域干渉している文字要素の吸収仮説を生成/淘汰し,図17の画像Cのように,行要素の外形矩形と接触している文字要素をすべて子として取り込む。さらに行要素同士の領域干渉の解決を経て,行要素に属する文字要素の整頓を行った結果が,図17の画像Dである。画像Dにより,行方向に垂直な方向(この場合には横方向)に射影した場合に重なっている文字要素が統合されて,まとめられたことが分かる。   Thereafter, the region interference between the row elements of the image is eliminated. The absorption hypothesis of the character element interfering with the row element is generated / deceived, and as shown in the image C in FIG. All character elements that are present are taken as children. Further, the result of resolving the area interference between the row elements and arranging the character elements belonging to the row elements is an image D in FIG. It can be seen from the image D that the character elements that overlap when projected in a direction perpendicular to the row direction (in this case, the horizontal direction) are integrated.

次に,行要素と近接した文字要素の行要素への統合処理を行った結果が,図17の画像Eである。この場合,全体が一つの行として統合されている。ここで,図17の画像Fは,統合後の行要素の子となっている文字要素集合を示している。   Next, an image E in FIG. 17 is a result of the integration processing of the character elements adjacent to the line elements into the line elements. In this case, the whole is integrated as one line. Here, an image F in FIG. 17 shows a set of character elements that are children of the row elements after integration.

以上の処理を行った結果を図18に示す。この段階で,すべての文字要素がある行要素の子となり,行要素,文字要素,基礎要素が互いに包含関係により関連付けられた木構造の集合が,中間的文書構造として構築できたことになる。   The result of the above processing is shown in FIG. At this stage, all character elements become children of a line element, and a set of tree structures in which line elements, character elements, and basic elements are related to each other by inclusion relations can be constructed as an intermediate document structure.

以上の行抽出技術を用いた結果得られた行要素の集合には,図18の例からも明らかなように,段を構成した場合に行方向に近接している複数の行要素が含まれている。この意味で,この段階で得られた行要素は,段の構成要素としての完全な行には対応していない。完全な行を構成するためには,段抽出との連携を経て,同一の段に属する行要素をさらに統合するという,行抽出と段抽出との連携した処理を行うことが必要である。   The set of row elements obtained as a result of using the above-described row extraction technique includes a plurality of row elements that are close to each other in the row direction when a stage is formed, as is apparent from the example of FIG. ing. In this sense, the row element obtained at this stage does not correspond to a complete row as a component of the stage. In order to construct a complete line, it is necessary to perform a process in conjunction with line extraction and stage extraction, in which line elements belonging to the same stage are further integrated through cooperation with stage extraction.

(2)行・段相互抽出手段
行・段相互抽出手段9は,互いに関連付けられた段同士の統合と,整合性のとれた段および行集合を得るための段要素集合の整合と,整合性のとれた行および文字集合を得るための行要素集合の整合処理を実行する。さらに,行・段相互抽出手段9が,段同士の統合を繰り返し実行することにより,行抽出結果と段抽出結果が互いに影響を与えあい,徐々に高精度な行・段抽出処理が行われるようにする。
(2) Row / stage mutual extraction means The row / stage mutual extraction means 9 integrates the stages associated with each other, matches the stage element set to obtain a consistent stage and row set, and consistency. A line element set matching process is performed to obtain a line and a character set. Further, the row / stage mutual extraction means 9 repeatedly executes the integration of the stages, so that the row extraction results and the stage extraction results affect each other, so that the highly accurate row / stage extraction processing is performed gradually. To.

図19は,行・段相互抽出手段9の処理の流れの概要を示す。   FIG. 19 shows an outline of the processing flow of the row / stage mutual extraction means 9.

行・段相互抽出手段9の入力は,基本行抽出手段8により得られた行要素を頂点とする木構造の集合(行要素,文字要素,基礎要素が互いに包含関係により関連付けられた木構造の集合)であり,出力は,段要素を頂点とする木構造の集合(段要素,行要素,文字要素,基礎要素が互いに包含関係により関連付けられた木構造の集合)である。   The input of the row / stage mutual extraction means 9 is a set of tree structures whose vertices are the row elements obtained by the basic row extraction means 8 (a tree structure in which row elements, character elements, and basic elements are related to each other by inclusion relations). The output is a set of tree structures having a stage element as a vertex (a set of tree structures in which stage elements, line elements, character elements, and basic elements are associated with each other by inclusion relations).

行要素を頂点とする木構造の集合を入力すると(ステップS40),まず各行要素を唯一含む段要素の生成を行う(ステップS41)。この段要素について,以下のステップS42〜S46を繰り返し実行することにより,段要素を統合していく。段要素間の関連付け(ステップS42),関連付けられた段要素の統合(ステップS43)は,基本的には,基本行抽出手段8において,行要素の生成のため文字要素と行要素の集合を対象に行っていた処理と同様であり,この処理を,行要素と段要素の集合を対象にして行う。   When a set of tree structures having row elements as vertices is input (step S40), a stage element that uniquely includes each row element is generated (step S41). The step elements are integrated by repeatedly executing the following steps S42 to S46 for the step elements. The association between step elements (step S42) and the integration of the associated step elements (step S43) are basically targeted at a set of character elements and row elements in the basic row extraction means 8 to generate row elements. This process is the same as that performed in step 1. This process is performed on a set of row elements and column elements.

次に,段要素集合の整合処理を行う(ステップS44)。この段要素集合の整合処理は,以下の条件を満たす段要素集合および段要素の内部構造を得ることを目的とした処理である。   Next, a matching process for the stage element set is performed (step S44). This step element set matching process is a process aimed at obtaining a step element set and an internal structure of the step element that satisfy the following conditions.

1)すべての行成分は唯一の段要素に属する。   1) All row components belong to a single column element.

2)各々の段要素の段領域は互いに重ならない。ここで,段領域は各々の段要素に属する行成分の外接矩形で定義される領域である。   2) The step regions of each step element do not overlap each other. Here, the step region is a region defined by a circumscribed rectangle of the row component belonging to each step element.

3)段方向の確定した段要素に属する行要素は,段方向順に順序付けされ,段方向と垂直方向に重なる行要素が存在しないように互いに統合されている。   3) The row elements belonging to the step elements determined in the row direction are ordered in the row direction, and are integrated with each other so that there are no row elements overlapping in the row direction and the vertical direction.

この段要素集合の整合処理を行った後に,再度,基本行抽出手段8において説明した行要素集合の整合処理を行う(S45)。これにより,段抽出結果が行抽出結果にフィードバックされ,行および段の抽出の精度が高められる。以上のステップS42〜S45の処理を,新たな関連付けが発生しなくなるまで繰り返す(ステップS46)。   After performing this stage element set matching processing, the row element set matching processing described in the basic row extraction means 8 is performed again (S45). Thus, the stage extraction result is fed back to the line extraction result, and the accuracy of row and stage extraction is improved. The processes in steps S42 to S45 are repeated until no new association occurs (step S46).

以上の処理において,段要素間の関連付けを,行方向,行垂直方向とそれぞれ変化させて繰り返し実行することにより,2次元方向の関連付けを回避し,整合などの計算量を削減することもできる。また,段要素間の関連付けを,関連付けの対象となる段要素の内部構造により動的に決定することもでき,これにより文書構造に応じた高精度な行・段抽出を促進できる。例えば,大きな段が少数存在する整頓された段を持つ文書構造の場合には,パラメータを固定しても十分である。しかし,少数の行からなる小さな段が多数存在する不定形の段を持つ文書構造,あるいは空白がセパレータの役割を果たす表形式の文書構造の場合には,状況に応じた仮説生成を行う手法が有効である。状況に応じた段要素同士の関連付けとして,以下の3種類が考えられる。   In the above processing, the association between the stage elements is repeatedly executed while changing in the row direction and the row vertical direction, so that the association in the two-dimensional direction can be avoided and the amount of calculation such as matching can be reduced. In addition, the association between the column elements can be dynamically determined by the internal structure of the column element to be associated, thereby promoting high-precision line / column extraction according to the document structure. For example, in the case of a document structure having an organized level with a small number of large levels, it is sufficient to fix the parameters. However, in the case of a document structure with an irregular column with many small columns consisting of a small number of rows, or a tabular document structure in which white space acts as a separator, there is a method for generating hypotheses according to the situation. It is valid. The following three types can be considered as the association between the step elements according to the situation.

1)関連付け対象となる段の大きさ(含む行の数)により,近接性判定距離の標準サイズとの比較を変化させる。これにより,大きな安定した段同士の過統合を防止しつつ,細分化された小さな段同士あるいは大きな段と小さな段との適切な統合を促進できる。   1) The comparison with the standard size of the proximity determination distance is changed depending on the size of the steps to be associated (the number of rows included). As a result, it is possible to promote appropriate integration between the subdivided small stages or between the large and small stages while preventing over-integration between the large and stable stages.

2)関連付け対象となる段に含まれている行のサイズに比例して,近接性判定距離を設定する。これにより,含む文字要素の大きさに応じて適切な統合を行えるため,行サイズの大きい段同士の未統合,行サイズの小さい段同士の過統合,行サイズの大きく異なる段同士の過統合を大幅に削減することができる。   2) The proximity determination distance is set in proportion to the size of the row included in the stage to be associated. As a result, appropriate integration can be performed according to the size of the character elements to be included. Therefore, unintegrated stages with large line sizes, over-integrated stages with small line sizes, and over-integrated stages with greatly different line sizes. It can be greatly reduced.

3)段の拡張処理の段階に応じて,近接性判定距離の標準サイズとの比率を変化させる。行方向の段の拡張処理は2回繰り返されるが,1回目は段が未だ細分化されており統合を促進する必要がある一方,2回目はある程度安定した段が生成できているため,むしろ過統合を抑制する必要がある。そこで,1回目は標準サイズとの比率を高く設定して統合しやすくし,2回目は標準サイズとの比率を小さく設定して統合しにくくした。   3) The ratio of the proximity determination distance to the standard size is changed according to the level of the expansion process. The row expansion process is repeated twice, but the first time the stage is still subdivided and it is necessary to promote integration, while the second time a rather stable stage can be generated. It is necessary to suppress integration. Therefore, the ratio of the standard size is set high at the first time to facilitate integration, and the ratio of the standard size is set small at the second time to make integration difficult.

具体的には,近接性判定距離Dは,kSで与えられる。ここで,Sは,上記2)の処理で適応的に決定される標準サイズ,kは,上記1)および3)の処理で決定される係数である。   Specifically, the proximity determination distance D is given by kS. Here, S is a standard size that is adaptively determined in the above process 2), and k is a coefficient determined in the above processes 1) and 3).

上記1)および3)の処理を実現するために,例えば,段の統合を行垂直方向,行方向,行垂直方向,行方向と,計4回繰り返し,行方向の段統合において,図20に示すような係数kを用いると,高精度な段抽出が可能となり,段集合の整合処理の結果として高精度な行抽出も行うことができる。なお,図20では,「小さい段」は,それに含む行が1行のみの段,「中くらいの段」は,それに含む行が2行で,含む文字総数が100文字以内の段,「大きい段」は,それに含む行が2行で,含む文字総数が101文字以上,あるいは3行以上の段と,定義している。   In order to realize the processes 1) and 3), for example, the integration of stages is repeated a total of four times in the row vertical direction, the row direction, the row vertical direction, and the row direction. If the coefficient k as shown is used, high-precision stage extraction is possible, and high-precision line extraction can be performed as a result of the stage set matching process. In FIG. 20, “small stage” is a stage that includes only one line, “middle stage” is a line that includes two lines, and the total number of characters included is within 100 characters, “large” A “column” is defined as a column that includes two rows and the total number of characters included is 101 characters or more, or three or more rows.

また,段要素集合同士の関連付けは,近接性あるいは同質性に基づいて行うことができる。同質性を用いることにより,段間の方が行間よりも狭い場合でも精度よく段を分離することが可能となる。   Further, the step element sets can be associated with each other based on proximity or homogeneity. By using the homogeneity, it becomes possible to separate the stages with high precision even when the distance between the stages is narrower than the line spacing.

さらに,段要素集合同士の関連付けに用いる要素関連付けパラメータを,処理回数に応じて変化させることにより,行・段の統合を進め,後半においては段の過統合を抑制するといった柔軟な処理を行い,行・段抽出の一層の高精度化を進めることができる。   In addition, by changing the element association parameters used for association between stage element sets according to the number of processes, the integration of rows and stages is advanced, and in the latter half, flexible processes such as suppressing over-integration of stages are performed. It is possible to further improve the accuracy of row / stage extraction.

文書画像例の段抽出結果を図21に示す。図22は,行・段相互抽出手段9により得られた段中の行要素を示している。これにより,同じ段に属する行は,行方向の射影に対して互いに重なりのない完全な行要素が抽出できていることが分かる。   FIG. 21 shows the result of stage extraction of the document image example. FIG. 22 shows the row elements in the stage obtained by the row / stage mutual extraction means 9. As a result, it can be seen that for the rows belonging to the same stage, complete row elements that do not overlap each other can be extracted in the projection in the row direction.

以下に,図23ないし図25を用いて,本発明の実施例を説明する。   Hereinafter, an embodiment of the present invention will be described with reference to FIGS.

横行縦行が混在する文書である新聞文書の文書画像を対象事例として,図23に示すような,新聞紙面から400dpiで画像取り込みを行った二値化文書画像を対象とする。なお,図23の文書画像は縮小表示している。また,左上部分には,写真が印刷されているが,ここでは認識対象にはならないので空白で置き換えている。   As an example of a document image of a newspaper document that is a document in which horizontal and vertical rows are mixed, a binary document image obtained by capturing an image at 400 dpi from the newspaper as shown in FIG. 23 is targeted. Note that the document image of FIG. 23 is displayed in a reduced size. In the upper left part, a photo is printed, but here it is not recognized, so it is replaced with a blank.

図24は,図23の文書画像についての行抽出処理の結果の例を示す。この文書画像についての行抽出処理の抽出精度は100%であった。図25は,最終的な段抽出処理の結果の例を示す。この文書画像についての段抽出処理の抽出精度も100%であった。   FIG. 24 shows an example of the result of the line extraction process for the document image of FIG. The extraction accuracy of the line extraction process for this document image was 100%. FIG. 25 shows an example of the result of the final stage extraction process. The extraction accuracy of the stage extraction process for this document image was also 100%.

本発明の基本構成例を示す図である。It is a figure which shows the basic structural example of this invention. 本発明を適用するハードウェア構成例を示す図である。It is a figure which shows the hardware structural example to which this invention is applied. 文書画像傾き検出部の基本構成例を示す図である。It is a figure which shows the basic structural example of a document image inclination detection part. 文書画像傾き検出部の処理フローチャートである。It is a process flowchart of a document image inclination detection part. 文字成分の抽出を説明する図である。It is a figure explaining extraction of a character component. 行候補の抽出を説明する図である。It is a figure explaining extraction of a line candidate. 行候補の抽出を説明する図である。It is a figure explaining extraction of a line candidate. 行信頼度の推定を説明する図である。It is a figure explaining estimation of row reliability. 本発明に係るレイアウト解析部の基本構成例を示す図である。It is a figure which shows the basic structural example of the layout analysis part which concerns on this invention. 基本行抽出手段の処理概要を示す図である。It is a figure which shows the process outline | summary of a basic line extraction means. 処理対象の文書画像の例を示す図である。It is a figure which shows the example of the document image of a process target. 基本文字要素の集合の例を示す図である。It is a figure which shows the example of the set of a basic character element. 横行要素の外接矩形を表示した文書画像の例を示す図である。It is a figure which shows the example of the document image which displayed the circumscribed rectangle of a transverse element. 縦行要素の外接矩形を表示した文書画像の例を示す図である。It is a figure which shows the example of the document image which displayed the circumscribed rectangle of a longitudinal element. 淘汰により生き残った信頼度の高い行要素を外接矩形表示した文書画像の例を示す図である。It is a figure which shows the example of the document image which displayed circumscribed rectangle the line element with the high reliability which survived by the bag. 行要素整合手段の処理フローチャートである。It is a processing flowchart of a row element matching means. 行要素の整合処理により処理した画像の例を説明する図である。It is a figure explaining the example of the image processed by the alignment process of a row element. 基本行抽出手段により抽出した結果の例を示す図である。It is a figure which shows the example of the result extracted by the basic line extraction means. 行・段相互抽出手段の処理の流れの概要を示す図である。It is a figure which shows the outline | summary of the flow of a process of a row | line | column mutual extraction means. 近接性判定距離の標準サイズとの比率を変化させる係数kの例を示す図である。It is a figure which shows the example of the coefficient k which changes the ratio with the standard size of proximity determination distance. 行・段相互抽出手段により抽出した結果の段要素の例を示す図である。It is a figure which shows the example of the stage element of the result extracted by the row / stage mutual extraction means. 行・段相互抽出手段により抽出した結果の行要素の例を示す図である。It is a figure which shows the example of the row element of the result extracted by the row and stage mutual extraction means. 本発明の実施例の評価を説明するための図である。It is a figure for demonstrating evaluation of the Example of this invention. 本発明の実施例の評価を説明するための図である。It is a figure for demonstrating evaluation of the Example of this invention. 本発明の実施例の評価を説明するための図である。It is a figure for demonstrating evaluation of the Example of this invention. 従来技術の問題を説明するための図である。It is a figure for demonstrating the problem of a prior art.

符号の説明Explanation of symbols

100 文書画像認識装置
1 文書画像傾き検出部
11 文字成分抽出手段
12 行候補抽出手段
13 行信頼度推定手段
14 行抽出手段
15 傾き推定手段
2 文書画像
3 傾き角度
4 基礎要素の集合
5 レイアウト解析部
6 レイアウト解析結果
8 基本行抽出手段
81 行要素生成手段
82 行要素淘汰手段
83 行要素整合手段
9 行・段相互抽出手段
91 段要素統合手段
92 段要素整合手段
93 行要素整合手段
DESCRIPTION OF SYMBOLS 100 Document image recognition apparatus 1 Document image inclination detection part 11 Character component extraction means 12 Line candidate extraction means 13 Line reliability estimation means 14 Line extraction means 15 Inclination estimation means 2 Document image 3 Inclination angle 4 Set of basic elements 5 Layout analysis part 6 Layout analysis result 8 Basic line extraction means 81 Line element generation means 82 Line element selection means 83 Line element matching means 9 Row / stage mutual extraction means 91 Stage element integration means 92 Stage element matching means 93 Line element matching means

Claims (16)

電子化された文書画像の認識にあたって,文書画像のレイアウトを解析する文書画像認識装置において,
文書を構成する基礎要素集合から行方向の確定した行集合を抽出する基本行抽出手段と,
行同士の関連付けによる段抽出と,段を制約とした行抽出とを相互に実行して,行と段を抽出する行・段相互抽出手段とを備える
ことを特徴とする文書画像認識装置。
In recognition of an electronic document image, in a document image recognition device that analyzes the layout of a document image,
A basic line extraction means for extracting a set of lines determined in a line direction from a basic element set constituting a document;
A document image recognition apparatus comprising: a line / stage mutual extraction unit that extracts a line and a stage by mutually executing a stage extraction based on association between lines and a line extraction with a stage as a constraint.
前記基礎要素集合として,文書画像中の黒画素連結成分または文書画像中の黒画素の連結成分の外接矩形の重なり矩形を用いる
ことを特徴とする請求項1記載の文書画像認識装置。
The document image recognition apparatus according to claim 1, wherein an overlapping rectangle of a circumscribed rectangle of a black pixel connection component in a document image or a black pixel connection component in a document image is used as the basic element set.
前記基本行抽出手段は,
前記基礎要素集合の関連付けをもとに,横方向および縦方向の行方向を持つ行要素を生成する行要素生成手段と,
各々の行要素に対して信頼度を推定し,信頼度に基づいて行要素を淘汰する行要素淘汰手段と,
整合性のとれた行および文字集合を得るための行要素整合手段とを備える
ことを特徴とする請求項1または請求項2記載の文書画像認識装置。
The basic row extraction means includes:
Row element generation means for generating row elements having horizontal and vertical row directions based on the association of the basic element sets;
A row element input means for estimating the reliability for each row element and inputting the row element based on the reliability;
The document image recognition apparatus according to claim 1, further comprising: line element matching means for obtaining a matched line and character set.
前記基礎要素集合の関連付けを,要素間の距離などの近接性,または要素の大きさもしくは要素間隔がほぼ均等であるなどの同質性に基づいて行う
ことを特徴とする請求項3記載の文書画像認識装置。
The document image according to claim 3, wherein the association of the basic element sets is performed based on proximity such as a distance between elements, or homogeneity such that element sizes or element intervals are substantially equal. Recognition device.
前記行要素淘汰手段は,
各々の行要素に対して行信頼度を定量的に計算し,それぞれの文字要素の属する横方向行要素および縦方向行要素の行信頼度の高い方向を文字要素の方向として,それぞれの行要素に対してその行候補に属する文字要素のうち,その行要素の行方向と一致する文字方向を持つものの比率をその行要素の信頼度とする
ことを特徴とする請求項3または請求項4記載の文書画像認識装置。
The row element selection means is:
Each row element is calculated quantitatively for each row element, and the direction of the row reliability of the horizontal and vertical row elements to which each character element belongs is set as the direction of the character element. The ratio of the character elements belonging to the line candidate to those having the character direction that matches the line direction of the line element is defined as the reliability of the line element. Document image recognition device.
前記行要素の信頼度が,その行要素に含まれている文字要素の数が一定数以上あるという行の長さによる量,文字要素同士が密に配置されているという近接性による量,または文字要素の大きさもしくは間隔がほぼ同じくらいであるなどの同質性による量を用いて定量化される
ことを特徴とする請求項3から請求項5までのいずれか1項に記載の文書画像認識装置。
The reliability of the line element is an amount based on the length of the line that the number of character elements included in the line element is a certain number or more, an amount based on the proximity that the character elements are closely arranged, or The document image recognition according to any one of claims 3 to 5, wherein the character image is quantified by using a quantity based on homogeneity such as the size or spacing of character elements being approximately the same. apparatus.
前記行・段相互抽出手段は,
互いに関連付けられた段同士の統合を行う段要素統合手段と,
整合性のとれた段および行集合を得るための段要素整合手段と,
整合性のとれた行および文字集合を得るための行要素整合手段とを備える
ことを特徴とする請求項1から請求項6までのいずれか1項に記載の文書画像認識装置。
The row / stage mutual extraction means is:
Stage element integration means for integrating the stages associated with each other;
A stage element matching means to obtain a consistent stage and row set;
The document image recognition apparatus according to any one of claims 1 to 6, further comprising a line element matching unit for obtaining a line and a character set having consistency.
前記行・段相互抽出手段は,段同士の統合を繰り返し実行する
ことを特徴とする請求項1から請求項7までのいずれか1項に記載の文書画像認識装置。
The document image recognition apparatus according to any one of claims 1 to 7, wherein the row / stage mutual extraction unit repeatedly performs integration of stages.
前記行・段相互抽出手段における段同士の関連付けを,行方向,行垂直方向とそれぞれ変化させて繰り返し実行する
ことを特徴とする請求項1から請求項8までのいずれか1項に記載の文書画像認識装置。
The document according to any one of claims 1 to 8, wherein the association between the stages in the row / stage mutual extracting means is repeatedly executed while changing the row direction and the row vertical direction. Image recognition device.
前記行・段相互抽出手段における段同士の関連付けの条件を,関連付けの対象となる段要素の内部構造により動的に変化させる
ことを特徴とする請求項1から請求項9までのいずれか1項に記載の文書画像認識装置。
The condition for associating stages with each other in the row / stage mutual extracting means is dynamically changed according to the internal structure of the stage element to be associated. The document image recognition apparatus described in 1.
前記行・段相互抽出手段における段同士の関連付けを,要素間の距離などの近接性,または要素の大きさもしくは要素間隔がほぼ均等であるなどの同質性に基づいて行う
ことを特徴とする請求項1から請求項10までのいずれか1項に記載の文書画像認識装置。
The row-stage mutual extraction means performs the association between stages based on proximity such as a distance between elements, or homogeneity such as element sizes or element intervals being substantially equal. The document image recognition apparatus according to any one of claims 1 to 10.
前記行・段相互抽出手段における段同士の関連付けに用いるパラメータを,処理回数に応じて変化させる
ことを特徴とする請求項1から請求項11までのいずれか1項に記載の文書画像認識装置。
The document image recognition apparatus according to any one of claims 1 to 11, wherein a parameter used for associating stages with each other in the row / stage mutual extraction unit is changed according to the number of processing times.
前記行・段相互抽出手段における関連付けの対象となる段要素の内部構造として,段の外接矩形の大きさ,段に含まれる行数もしくは文字数,または段の外接矩形の位置を用いる
ことを特徴とする請求項1から請求項12までのいずれか1項に記載の文書画像認識装置。
As the internal structure of the stage element to be associated in the row / stage mutual extraction means, the size of the circumscribed rectangle of the stage, the number of lines or characters included in the stage, or the position of the circumscribed rectangle of the stage is used. The document image recognition apparatus according to any one of claims 1 to 12.
前記基本行抽出手段における行要素整合手段または前記行・段相互抽出手段における行要素整合手段は,行要素に属する文字要素の集合から,その行の標準の文字の幅,高さ,間隔などの行の属性となる情報を計算して保持しておき,要素間の関連付けのために活用する
ことを特徴とする請求項3または請求項7記載の文書画像認識装置。
The line element matching means in the basic line extracting means or the line element matching means in the row / stage mutual extracting means is such that the standard character width, height, spacing, etc. of the line are determined from the set of character elements belonging to the line element. 8. The document image recognition apparatus according to claim 3 or 7, wherein information serving as row attributes is calculated and stored, and used for association between elements.
前記行・段相互抽出手段における段要素整合手段は,
段要素に属する行要素の集合から,その段の標準の行の幅,高さ,間隔などの段の属性となる情報を計算して保持しておき,要素間の関連付けのために活用する
ことを特徴とする請求項7記載の文書画像認識装置。
The stage element matching means in the row / stage mutual extraction means is:
Calculate and maintain information that is the attribute of the column, such as the standard row width, height, and spacing, from the set of row elements belonging to the column element, and use it for associating the elements. The document image recognition apparatus according to claim 7.
電子化された文書画像の認識にあたって,文書画像のレイアウトを解析する文書画像認識装置に用いるプログラムを格納した計算機読み取り可能な記憶媒体であって,
文書を構成する基礎要素集合から行方向の確定した行集合を抽出する基本行抽出処理と,
行同士の関連付けによる段抽出と,段を制約とした行抽出とを相互に実行して,行と段を抽出する行・段相互抽出処理とを計算機に実行させるためのプログラムを格納した
ことを特徴とする文書画像認識プログラムの記憶媒体。
A computer-readable storage medium storing a program used in a document image recognition apparatus for analyzing a layout of a document image when recognizing an electronic document image,
A basic line extraction process for extracting a fixed line set from the basic element set constituting the document;
A program is stored that allows the computer to execute row extraction and row mutual extraction processing to extract rows and steps by mutually executing row extraction based on associations between rows and row extraction with row constraints. A storage medium for a document image recognition program.
JP2008156213A 1997-11-28 2008-06-16 Document image recognition apparatus and storage medium for document image recognition program Expired - Fee Related JP4395188B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008156213A JP4395188B2 (en) 1997-11-28 2008-06-16 Document image recognition apparatus and storage medium for document image recognition program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP32762597 1997-11-28
JP2008156213A JP4395188B2 (en) 1997-11-28 2008-06-16 Document image recognition apparatus and storage medium for document image recognition program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP14692698A Division JP4170441B2 (en) 1997-11-28 1998-05-28 Document image inclination detection apparatus and storage medium for document image inclination detection program

Publications (2)

Publication Number Publication Date
JP2008217833A true JP2008217833A (en) 2008-09-18
JP4395188B2 JP4395188B2 (en) 2010-01-06

Family

ID=39837715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008156213A Expired - Fee Related JP4395188B2 (en) 1997-11-28 2008-06-16 Document image recognition apparatus and storage medium for document image recognition program

Country Status (1)

Country Link
JP (1) JP4395188B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8457404B2 (en) 2010-08-24 2013-06-04 Fuji Xerox Co., Ltd. Image processing apparatus, computer readable medium for image processing and computer data signal for image processing
JP2013140487A (en) * 2012-01-04 2013-07-18 Fuji Xerox Co Ltd Information processing device and information processing program
US8620080B2 (en) 2008-09-26 2013-12-31 Sharp Laboratories Of America, Inc. Methods and systems for locating text in a digital image
JP2014044500A (en) * 2012-08-24 2014-03-13 Fuji Xerox Co Ltd Image processing apparatus and image processing program
WO2014188753A1 (en) 2013-05-20 2014-11-27 オムロン株式会社 Image processing device and image processing method
JP2015522877A (en) * 2012-06-07 2015-08-06 アマゾン・テクノロジーズ、インコーポレイテッド Adaptive threshold processing for image recognition.
US9536161B1 (en) 2014-06-17 2017-01-03 Amazon Technologies, Inc. Visual and audio recognition for scene change events
CN112651396A (en) * 2019-10-12 2021-04-13 丰图科技(深圳)有限公司 Character splicing method and device, network equipment and computer readable storage medium
JP2021125213A (en) * 2020-01-31 2021-08-30 株式会社Osk Information processor, information processing method, and information processing program
JP7493665B1 (en) 2023-11-09 2024-05-31 株式会社朝日新聞社 Information processing device, information processing method, and program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8620080B2 (en) 2008-09-26 2013-12-31 Sharp Laboratories Of America, Inc. Methods and systems for locating text in a digital image
US8457404B2 (en) 2010-08-24 2013-06-04 Fuji Xerox Co., Ltd. Image processing apparatus, computer readable medium for image processing and computer data signal for image processing
JP2013140487A (en) * 2012-01-04 2013-07-18 Fuji Xerox Co Ltd Information processing device and information processing program
JP2015522877A (en) * 2012-06-07 2015-08-06 アマゾン・テクノロジーズ、インコーポレイテッド Adaptive threshold processing for image recognition.
JP2014044500A (en) * 2012-08-24 2014-03-13 Fuji Xerox Co Ltd Image processing apparatus and image processing program
WO2014188753A1 (en) 2013-05-20 2014-11-27 オムロン株式会社 Image processing device and image processing method
KR20150143711A (en) 2013-05-20 2015-12-23 오므론 가부시키가이샤 Image processing device and image processing method
US9607237B2 (en) 2013-05-20 2017-03-28 Omron Corporation Image processing apparatus and image processing method
US9536161B1 (en) 2014-06-17 2017-01-03 Amazon Technologies, Inc. Visual and audio recognition for scene change events
CN112651396A (en) * 2019-10-12 2021-04-13 丰图科技(深圳)有限公司 Character splicing method and device, network equipment and computer readable storage medium
JP2021125213A (en) * 2020-01-31 2021-08-30 株式会社Osk Information processor, information processing method, and information processing program
JP7493665B1 (en) 2023-11-09 2024-05-31 株式会社朝日新聞社 Information processing device, information processing method, and program

Also Published As

Publication number Publication date
JP4395188B2 (en) 2010-01-06

Similar Documents

Publication Publication Date Title
JP4170441B2 (en) Document image inclination detection apparatus and storage medium for document image inclination detection program
JP4395188B2 (en) Document image recognition apparatus and storage medium for document image recognition program
CN111814722B (en) Method and device for identifying table in image, electronic equipment and storage medium
Stamatopoulos et al. Goal-oriented rectification of camera-based document images
US5907631A (en) Document image processing method and system having function of determining body text region reading order
US6327384B1 (en) Character recognition apparatus and method for recognizing characters
US9959475B2 (en) Table data recovering in case of image distortion
KR101235226B1 (en) Image processor and image processing method and recording medium
JP2002133426A (en) Ruled line extracting device for extracting ruled line from multiple image
CN113688688A (en) Completion method of table lines in picture and identification method of table in picture
US20080131000A1 (en) Method for generating typographical line
Boudraa et al. An improved skew angle detection and correction technique for historical scanned documents using morphological skeleton and progressive probabilistic hough transform
US8989485B2 (en) Detecting a junction in a text line of CJK characters
JP3471578B2 (en) Line direction determining device, image tilt detecting device, and image tilt correcting device
JP3006466B2 (en) Character input device
Saragiotis et al. Local skew correction in documents
CN112800824A (en) Processing method, device and equipment for scanning file and storage medium
US10679049B2 (en) Identifying hand drawn tables
JP3303246B2 (en) Image processing device
JP2004086436A (en) Image processor, image processing method, program, and storage medium
JP4070486B2 (en) Image processing apparatus, image processing method, and program used to execute the method
JPH04352295A (en) System and device for identifing character string direction
JP4194309B2 (en) Document direction estimation method and document direction estimation program
JP3582734B2 (en) Table vectorizer
JP2616967B2 (en) Tilt extraction device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090707

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090904

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091013

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091016

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121023

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121023

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131023

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees