JP3285837B2 - Apparatus and method for extracting character string - Google Patents

Apparatus and method for extracting character string

Info

Publication number
JP3285837B2
JP3285837B2 JP03068699A JP3068699A JP3285837B2 JP 3285837 B2 JP3285837 B2 JP 3285837B2 JP 03068699 A JP03068699 A JP 03068699A JP 3068699 A JP3068699 A JP 3068699A JP 3285837 B2 JP3285837 B2 JP 3285837B2
Authority
JP
Japan
Prior art keywords
character
character string
projection
circumscribed rectangle
axis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP03068699A
Other languages
Japanese (ja)
Other versions
JPH11338972A (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.)
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 JP03068699A priority Critical patent/JP3285837B2/en
Publication of JPH11338972A publication Critical patent/JPH11338972A/en
Application granted granted Critical
Publication of JP3285837B2 publication Critical patent/JP3285837B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字列の切り出しを行
うための装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and a method for extracting a character string.

【0002】[0002]

【従来の技術】近年、手書き用の入力周辺機器として、
手書き文字認識装置の需要が増加している。この手書き
文字認識装置においては、文字列の夫々の文字を切り出
してその文字を認識する。この場合、文字列を正確に認
識する為には文字列の切り出し処理が重要となる。
2. Description of the Related Art In recent years, as input peripheral devices for handwriting,
There is an increasing demand for handwritten character recognition devices. In this handwritten character recognition device, each character in a character string is cut out and the character is recognized. In this case, in order to accurately recognize the character string, the character string cutout processing is important.

【0003】従来では、帳票等の予め文字を書く位置を
指定した文書に対して、指定した範囲内(文字枠)に文
字をきれいに書き、その文字の切り出しを行う場合に、
文字列中の最大矩形もしくは文字列内の矩形の単純平均
を文字を認識するときの文字サイズとして算出する。ま
た、文字間のピッチ(ギャップともいう。以下、本明細
書においてはピッチを用いる。)を算出して、文字の切
り出しや文字の統合を行っている。
Conventionally, in a document such as a form in which a character writing position is specified in advance, characters are clearly written in a specified range (character frame) and the character is cut out.
The maximum rectangle in the character string or the simple average of the rectangles in the character string is calculated as the character size for character recognition. In addition, a pitch between characters (also referred to as a gap; hereinafter, a pitch is used in the present specification) is calculated, and characters are cut out and integrated.

【0004】ここで、ピッチの算出としては、以下のよ
うな公知の技術がある。例えば、特開平4−09847
7の技術は、文字パターンについて一次元投影を行い、
得られた白画素と黒画素との間隔によりピッチを算出す
るものである。特開昭60−173685の技術、文書
画像データに一次元のフーリエ変換を施してピッチを推
定するものである。特開昭62−195893の技術は
文字列の高さ情報に基づいて文字の切り出し推定範囲を
定め、その推定範囲内で切り出し位置を探索するもので
ある。
Here, there are the following known techniques for calculating the pitch. For example, JP-A-4-09847
Technique 7 performs one-dimensional projection on character patterns,
The pitch is calculated based on the obtained interval between the white pixel and the black pixel. Japanese Patent Application Laid-Open No. 60-173885 discloses a technique for performing one-dimensional Fourier transform on document image data to estimate a pitch. The technique disclosed in Japanese Patent Application Laid-Open No. Sho 62-195893 is to determine an estimated range of character cutout based on height information of a character string and to search for a cutout position within the estimated range.

【0005】また、文字の統合については、連結する黒
画素の外接矩形を抽出し、この外接矩形を文字サイズや
ピッチを基に統合していく特開平4−017086など
の技術がある。このように、従来の文字切り出し方法に
あっては、等間隔の文字枠に夫々の文字をきれいに書
き、前記切り出し方法を用いていたので、文字をかなり
の精度で認識することができる。ところで、文字枠に夫
々の文字をきれいに書くのは書き手にとって煩わしいた
め、文字枠のない用紙にフリーピッチで文字を書いてい
た。このフリーピッチで書かれた文字では、文字の大
小、文字同士の重なり、接触、文字同士が接近するオー
バハングや一つの数字が複数パターンに分離する分離ス
トロークなどが発生する。
Japanese Patent Laid-Open No. 4-17086 discloses a technique for unifying characters by extracting a circumscribed rectangle of connected black pixels and integrating the circumscribed rectangle based on the character size and pitch. As described above, in the conventional character cutout method, each character is written neatly in a character frame at equal intervals and the cutout method is used, so that characters can be recognized with considerable accuracy. By the way, it is troublesome for a writer to write each character neatly in a character frame, so characters are written at a free pitch on paper without a character frame. In the characters written at this free pitch, the size of the characters, the overlap between the characters, the contact, the overhang where the characters approach each other, the separation stroke in which one number is separated into a plurality of patterns, and the like occur.

【0010】[0010]

【発明が解決しようとする課題】従来、文字列を抽出す
る際に文書画像上の文字を黒画素,背景を白画素とし
て、それを横(縦)方向に投影してヒストグラムを求
め、ヒストグラムの山と谷とから文字列を抽出する方法
がある。また、黒画素に拡大及び縮退操作を複数回だけ
施し、その結果、得られたひとまとまりを1文字列とす
る方法(電子通信学会論文誌’83/4 Vol.J66ーD No 437
ー444)や連結パターンの外接矩形を求め、その中心座
標に対して矩形の面積を重みとした投影をとり、得られ
た投影値の周辺分布をとる方法(電子通信学会論文誌’
85/12 Vol.J68ーD No 12 2123ー2131)などがある。
Conventionally, when extracting a character string, a character on a document image is defined as a black pixel and a background is defined as a white pixel, and these are projected in the horizontal (vertical) direction to obtain a histogram. There is a method of extracting a character string from a mountain and a valley. In addition, a method in which enlargement and reduction operations are performed on a black pixel only a plurality of times, and the resulting group is converted into one character string (Transactions of the Institute of Electronics, Communication and Communication Engineers, '83 / 4 Vol.J66-D No 437
-444) or a method of obtaining a circumscribed rectangle of a connection pattern, performing projection with the area of the rectangle weighted with respect to the center coordinates, and obtaining a marginal distribution of the obtained projection values (Transactions of the Institute of Electronics, Information and Communication Engineers)
85/12 Vol.J68-D No 12 2123-2131).

【0011】ここで、手書き文字列において上下(左
右)の間隔が小さい場合に、図29に示すように、ある
文字列の文字の一部が、隣接する文字列の文字間にはい
ってしまうことが発生しやすい。この場合、ヒストグラ
ムをとる方法では、投影したヒストグラムから谷の部分
を見つけにくくなり、また、ヒストグラムの形状が文字
の複雑さに依存してしまう。
In the case where the vertical (horizontal) space in the handwritten character string is small, as shown in FIG. 29, some of the characters of a certain character string may enter between the characters of an adjacent character string. Is easy to occur. In this case, the method of obtaining the histogram makes it difficult to find a valley portion from the projected histogram, and the shape of the histogram depends on the complexity of the character.

【0012】また、黒画素の拡大及び縮退操作を行う方
法では、上下の文字列が全てひとまとまりになってしま
う。連結パターンの外接矩形を基に矩形中心座標の重み
付け投影をとる方法では、矩形中心だけに対する重み付
けのために、投影値から文字サイズ情報を読み取れな
い。このため、周辺分布の範囲を特定しにくいという問
題があった。また、数字などのように高さのサイズがほ
ぼ一定でも幅のサイズに変動があるものに対しては、文
字面積を重みとして矩形中心座標にかけるために、周辺
分布から文字列を抽出する処理において、横長の文字の
影響を受けやすいという問題があった。
Further, in the method of performing the operation of enlarging and reducing the black pixel, the upper and lower character strings are all united. In the method of weighting and projecting the coordinates of the center of the rectangle based on the circumscribed rectangle of the connection pattern, character size information cannot be read from the projection value because only the center of the rectangle is weighted. For this reason, there was a problem that it was difficult to specify the range of the peripheral distribution. In addition, when the size of the height is almost constant but the size of the width fluctuates, such as numbers, the character area is weighted and applied to the center coordinates of the rectangle. , There is a problem that the character is susceptible to horizontally long characters.

【0014】本発明の目的は、文字列間の間隔が小さ
く、また文字列間で文字と文字の接触があるような場合
でも容易に文字列を抽出することのできる文字列の切り
出し装置及び切り出し方法を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a character string cutout apparatus and a character string cutout capable of easily extracting a character string even in a case where a character string has small contact between character strings. It is to provide a method.

【0015】[0015]

【課題を解決するための手段】本発明は、上記課題を解
決し目的を達成するために下記の構成とした。
Means for Solving the Problems The present invention has the following constitution in order to solve the above-mentioned problems and achieve the object.

【0028】図2は本発明の原理図である。本発明はパ
ターン抽出手段14、重み付け投影手段64、文字列軸
決定手段66、文字列抽出手段68を備える。
FIG. 2 is a diagram illustrating the principle of the present invention. The present invention includes a pattern extracting unit 14, a weighting projecting unit 64, a character string axis determining unit 66, and a character string extracting unit 68.

【0029】パターン抽出手段14は文字列の連結情報
に基づいて文字の部分パターンを抽出する。重み付け投
影手段64は抽出された部分パターンに外接する外接矩
形の縦又は横方向の線分上の位置に応じた重み付けの値
を投影軸に対して投影する(重み付け投影)ことにより
投影ヒストグラムを求める。
The pattern extracting means 14 extracts a character partial pattern based on character string connection information. The weighting projection means 64 calculates a weighting value corresponding to a position on a vertical or horizontal line segment of a circumscribed rectangle circumscribing the extracted partial pattern.
Is projected onto the projection axis (weighted projection) to obtain a projection histogram.

【0030】文字列軸決定手段66は前記投影軸に投影
された投影ヒストグラムに基づき文字列軸を決定する。
文字列抽出手段68は前記文字列軸に基づき文字列を抽
出する。また、前記重み付け投影手段64は、パターン
の外接矩形の縦又は横方向線分の中心から線分の両端点
に向かって重みが増加していく重み付け投影を行う。前
記文字列軸決定手段66は、投影ヒストグラムのピーク
値から文字列の中心軸を決定する。前記文字列抽出手段
68は、前記中心軸と夫々の外接矩形の中心との距離と
に基づきパターンの属する文字列を抽出するようにす
る。例えば、上下左右の文字列間で文字が接触しない場
合にこれらの手段が用いられる。
The character string axis determining means 66 projects on the projection axis.
The character string axis is determined based on the projection histogram thus obtained .
The character string extracting means 68 extracts a character string based on the character string axis. The weighting projection unit 64 performs weighting projection in which the weight increases from the center of the vertical or horizontal line segment of the circumscribed rectangle of the pattern toward both end points of the line segment. The character string axis determining means 66 determines the central axis of the character string from the peak value of the projection histogram. The character string extracting means 68 extracts a character string to which a pattern belongs based on the distance between the central axis and the center of each circumscribed rectangle. For example, these means are used when characters do not touch between the upper, lower, left, and right character strings.

【0031】さらに、外接矩形に対して文字の高さの平
均を算出する算出手段71、平均文字高さのサイズの所
定倍以上の外接矩形を接触文字塊として除去する除去手
段72を備え、前記重み付け投影手段(64)は、前記
接触文字塊を除く外接矩形に対して処理を施すようにす
るとよい。例えば、上下左右の文字列間で文字が接触し
た場合で、入力データ中の文字サイズがほぼ一様である
ことが予め分かっている場合にこれらの手段が用いられ
る。
Further, there are provided calculating means 71 for calculating the average of the heights of the characters with respect to the circumscribed rectangle, and removing means 72 for removing a circumscribed rectangle having a predetermined size or more of the average character height as a contact character block. It is preferable that the weighting projection means (64) performs processing on the circumscribed rectangle excluding the contact character block. For example, these means are used when a character touches between upper, lower, left, and right character strings and it is known in advance that the character size in the input data is substantially uniform.

【0032】複数の文字列軸が横切る外接矩形を接触文
字列塊として除去する除去手段73を備え、前記重み付
け投影手段64は、パターンの外接矩形の縦又は横方向
線分の上端及び下端をピークとしその上端からの距離,
下端からの距離に応じて重み付け投影を行う。前記文字
列軸決定手段66は、パターン外接矩形の上端からの距
離に応じた重み付け投影値と下端からの距離に応じた重
み付け投影値のそれぞれから投影のピーク値を抽出し、
両ピーク値の中心位置を文字列軸の位置とみなして文字
列軸を決定する。前記文字列抽出手段68は、前記接触
文字列塊を除く外接矩形に対して前記中心軸と夫々の外
接矩形の中心との距離とに基づきパターンの属する文字
列を抽出するようにする。
There is provided a removing means 73 for removing a circumscribed rectangle crossed by a plurality of character string axes as a contact character string chunk, and the weighting projection means 64 provides peaks at upper and lower ends of vertical or horizontal line segments of the circumscribed rectangle of the pattern. And the distance from the top,
Weighted projection is performed according to the distance from the lower end. The character string axis determining means 66 determines the distance from the upper end of the pattern circumscribed rectangle.
Weighted projection value according to distance and weight according to distance from lower end
Extract the projection peak value from each of the found projection values,
The center position of both peak values is regarded as the position of the character string axis and
Determine the column axis. The character string extracting means 68 extracts a character string to which a pattern belongs from a circumscribed rectangle excluding the contact character string block, based on the distance between the center axis and the center of each circumscribed rectangle.

【0033】前記重み付け投影手段64は、パターンの
外接矩形の上端及び下端に対して重み付け投影を行う。
前記文字列軸決定手段66は、投影ヒストグラムの上端
の候補位置と下端の候補位置とを決定し上端の候補位置
と下端の候補位置とから文字列の中心軸を決定する。前
記文字列抽出手段68は、前記中心軸と夫々の外接矩形
の中心との距離とに基づきパターンの属する文字列を抽
出するようにする。
The weighting projection means 64 performs weighting projection on the upper and lower ends of the circumscribed rectangle of the pattern.
The character string axis determining means 66 determines a candidate position of an upper end and a candidate position of a lower end of the projection histogram, and determines a central axis of the character string from the candidate positions of the upper end and the lower end. The character string extracting means 68 extracts a character string to which a pattern belongs based on the distance between the central axis and the center of each circumscribed rectangle.

【0034】さらに、夫々の外接矩形同士が重なる場合
に重なった外接矩形を統合する外接矩形統合部61を備
え、前記重み付け投影手段(64)は、前記外接矩形統
合処理後の外接矩形に対して処理を施すようにする。前
記統合の結果に対して平均文字サイズを算出する算出手
段74、平均文字サイズの所定倍以上の外接矩形を接触
文字塊として除去する除去手段75を備え、前記重み付
け投影手段(64)は、前記接触文字塊を除く外接矩形
に対して処理を施すようにする。例えば、上下左右の文
字列間で文字が接触し、入力データ中の文字サイズがほ
ぼ一様であることが予め分かっている場合にこれらの手
段が用いられる。
Further, a circumscribed rectangle integrating section 61 is provided for integrating the circumscribed rectangles when the circumscribed rectangles overlap each other, and the weighting projection means (64) performs processing on the circumscribed rectangle after the circumscribed rectangle integration processing. Perform processing. Calculating means 74 for calculating an average character size based on the result of the integration; removing means 75 for removing a circumscribed rectangle having a predetermined size or more of the average character size as a contact character block; and the weighting projection means (64) Processing is performed on the circumscribed rectangle excluding the contact character block. For example, these means are used when a character touches between upper, lower, left, and right character strings and it is known in advance that the character size in the input data is substantially uniform.

【0035】前記重み付け投影手段64は、外接矩形の
一端部から他端部に向かって減衰する重み付け投影と他
端部から一端部に向かって減衰する重み付け投影とを行
い、投影ヒストグラムの夫々のピークを求める。夫々の
ピーク値から1文字の中心位置と1文字の存在領域を推
定するようにする。例えば、オンライン手書き文字列に
対してこれらの手段は用いられる。
The weighted projection means 64 performs weighted projection that attenuates from one end to the other end of the circumscribed rectangle and weighted projection that attenuates from the other end to one end of the circumscribed rectangle. Ask for. The center position of one character and the existing area of one character are estimated from the respective peak values. For example, these means are used for an online handwritten character string.

【0036】また、文字列の夫々の文字を認識するため
に文字の切り出しを行う文字の切り出し方法であって、
文字列の連結情報に基づいて文字の部分パターンを抽出
する抽出ステップと、抽出された部分パターンに外接す
る外接矩形の縦又は横の文字サイズのヒストグラムを算
出しその結果に基づき平均文字サイズの算出とその分散
値の算出を行う算出ステップと、文字間のピッチのヒス
トグラムを算出しその結果に基づき平均文字ピッチの算
出とその分散値の算出を行う算出ステップと、前記平均
文字サイズ,平均文字ピッチ,サイズ分散値,ピッチ分
散値に応じて文字の統合条件を変えながら文字の統合を
行う統合ステップと、前記平均文字サイズに基づき文字
列中の部分パターンの内、小部分パターンを判別するこ
とにより文字の統合を行う小部分統合ステップとを含
む。
A character extracting method for extracting a character in order to recognize each character in a character string,
An extraction step of extracting a partial pattern of a character based on the concatenation information of the character string, and calculating a vertical or horizontal character size histogram of a circumscribed rectangle circumscribing the extracted partial pattern and calculating an average character size based on the result And calculating a variance thereof, calculating a histogram of the pitch between characters, calculating an average character pitch based on the result, and calculating the variance thereof, and calculating the average character size and average character pitch. An integration step of integrating characters while changing the integration condition of the characters according to the size variance value and the pitch variance value, and by discriminating a small partial pattern among partial patterns in the character string based on the average character size. A small part integration step of integrating characters.

【0037】前記算出ステップは、外接矩形間の距離を
ピッチとし、そのピッチのヒストグラムを算出し、ヒス
トグラムに基づき暫定平均文字ピッチを算出する。その
暫定平均文字ピッチに基づき文字ピッチ算出領域を決定
し、決定された文字ピッチ領域内で平均文字ピッチを算
出する。
In the calculation step, a distance between the circumscribed rectangles is set as a pitch, a histogram of the pitch is calculated, and a provisional average character pitch is calculated based on the histogram. A character pitch calculation area is determined based on the provisional average character pitch, and an average character pitch is calculated within the determined character pitch area.

【0038】さらに、文字列の連結情報に基づいて文字
の部分パターンを抽出する抽出ステップと、抽出された
部分パターンに外接する外接矩形の縦又は横方向の線分
上の位置に応じた重み付けの値を投影軸に対して投影す
る(重み付け投影)ことにより投影ヒストグラムを求め
る投影ステップと、前記投影軸に投影された投影ヒスト
グラムに基づき文字列軸を決定する決定ステップと、前
記文字列軸に基づき文字列を抽出する抽出ステップとを
含む。
Further, an extracting step of extracting a partial pattern of a character based on the connection information of the character string, and a vertical or horizontal line segment of a circumscribed rectangle circumscribing the extracted partial pattern
Projects the weight value according to the position above to the projection axis.
(Weighted projection) to obtain a projection histogram, a determination step of determining a character string axis based on the projection histogram projected on the projection axis, and an extraction step of extracting a character string based on the character string axis. including.

【0042】[0042]

【作用】本発明によれば、パターン抽出手段14が文字
列の連結情報に基づいて文字の部分パターンを抽出し、
重み付け投影手段64が抽出された部分パターンに外接
する外接矩形の縦又は横方向の線分の重み付け投影を行
うことにより投影ヒストグラムを求める。
According to the present invention, the pattern extracting means 14 extracts a character partial pattern based on character string connection information,
The weighted projection means 64 obtains a projection histogram by performing weighted projection of vertical or horizontal line segments of a circumscribed rectangle circumscribing the extracted partial pattern.

【0043】そして、文字列軸決定手段66が投影ヒス
トグラムに基づき文字列軸を決定し、文字列抽出手段6
8が前記文字列軸に基づき文字列を抽出するので、文字
列同士が近接し、ある文字の一部が他の文字列に属して
いる場合にも、高精度かつ高速に文字列を抽出できる。
Then, the character string axis determining means 66 determines the character string axis on the basis of the projection histogram.
Since the character string is extracted based on the character string axis, even if the character strings are close to each other and a part of a certain character belongs to another character string, the character string can be extracted with high accuracy and high speed. .

【0044】[0044]

【実施例】以下、本発明にかかる文字列の切り出し装置
及び切り出し方法について説明する前に、本発明の理解
の便宜のために、参考として、文字の切り出し方法及び
その装置を説明する。図3は文字の切り出し方法を適用
した文字の切り出し装置の参考例の構成ブロック図であ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a character string cutout apparatus according to the present invention.
Before explaining the cutting method and the cutting method,
For convenience, a method of extracting characters and an apparatus therefor will be described for reference. FIG. 3 is a configuration block diagram of a reference example of a character cutout device to which a character cutout method is applied.

【0045】<参考例参考例 では、例えば、オーバーハングのある手書き文字
列から文字を切り出すものとし、不定ピッチで文字サイ
ズの変動もある手書き文字から一文字一文字を切り出す
ようにする。
< Reference Example > In the reference example , for example, characters are extracted from a handwritten character string having an overhang, and each character is extracted from a handwritten character having an indefinite pitch and a variation in character size.

【0046】図3において、入力パターン部12は、分
離ストローク、オーバハングを含む文字列パターンを有
する。連結パターン抽出部14は、入力パターン部12
から文字列入力パターンを入力してラベリングを行うこ
とにより連結パターンのみを抽出する。この連結パター
ン抽出部14には文字列抽出部16が接続される。
In FIG. 3, the input pattern section 12 has a character string pattern including a separation stroke and an overhang. The connection pattern extraction unit 14
Then, only a connected pattern is extracted by inputting a character string input pattern and performing labeling. A character string extraction unit 16 is connected to the connection pattern extraction unit 14.

【0047】この文字列抽出部16は、ラベリングされ
た文字列を抽出する。この文字列抽出部16には平均文
字サイズ算出部18が接続される。平均文字サイズ算出
部18は、抽出された文字列に基づき平均文字サイズを
算出するものであり、ヒストグラム算出部32、暫定平
均文字サイズ算出部34、文字サイズ算出領域決定部3
6、平均文字サイズ算出部38から構成される。
The character string extracting section 16 extracts a labeled character string. An average character size calculation unit 18 is connected to the character string extraction unit 16. The average character size calculation unit 18 calculates the average character size based on the extracted character string, and includes a histogram calculation unit 32, a provisional average character size calculation unit 34, and a character size calculation area determination unit 3.
6. An average character size calculation unit 38.

【0048】ヒストグラム算出部32は、夫々の矩形の
縦(横)方向の長さのヒストグラムを算出する。暫定平
均文字サイズ算出部34は、前記ヒストグラムに基づき
縦(横)の平均文字サイズを算出し、このサイズを暫定
平均文字サイズとする。
The histogram calculator 32 calculates a histogram of the length of each rectangle in the vertical (horizontal) direction. The provisional average character size calculation unit 34 calculates the vertical (horizontal) average character size based on the histogram, and sets this size as the provisional average character size.

【0049】文字サイズ算出領域決定部36は、例え
ば、暫定平均文字サイズより右の領域でヒストグラムが
頻度最大値をとる文字サイズを算出し、その文字サイズ
の左右方向にヒストグラムが頻度最大値/2以上をとる
領域を決定する。平均文字サイズ算出部38は、その領
域で再度、平均文字サイズを算出する。この頻度最大値
とヒストグラムとの関係は図9に示す通りであるが、詳
細は段落66以下で説明する。
The character size calculation area determination unit 36 calculates the character size at which the histogram has the maximum frequency in the area to the right of the tentative average character size, for example. A region for taking the above is determined. The average character size calculation unit 38 calculates the average character size again in the area. The relationship between the maximum frequency value and the histogram is as shown in FIG. 9, and the details will be described in paragraphs 66 and thereafter.

【0050】この平均文字サイズ算出部38には小分離
ストローク抽出部20が接続される。小分離ストローク
抽出部20は、平均文字サイズと面積条件と高さ条件と
を用いて、小分離ストロークを抽出する。この小分離ス
トローク抽出部20には、文字ピッチ算出部21が接続
される。
The small character stroke extracting unit 20 is connected to the average character size calculating unit 38. The small separation stroke extraction unit 20 extracts a small separation stroke using the average character size, the area condition, and the height condition. A character pitch calculator 21 is connected to the small separation stroke extractor 20.

【0051】この文字ピッチ算出部21は、小分離スト
ロークと判定されなかったものについて、外接矩形間の
距離をピッチとして平均文字ピッチを算出するものであ
る(図10のP参照)。
The character pitch calculation unit 21 calculates an average character pitch for the strokes that are not determined to be small separation strokes, using the distance between the circumscribed rectangles as the pitch (see P in FIG. 10).

【0052】前記文字ピッチ算出部21は、ヒストグラ
ム算出部21a、暫定平均文字ピッチ算出部21b、文
字ピッチ算出領域決定部21c、平均文字ピッチ算出部
21dから構成される。ヒストグラム算出部21aは、
夫々の矩形間のピッチのヒストグラムを算出する。暫定
平均文字ピッチ算出部21bは、前記ヒストグラムに基
づき平均文字ピッチを算出し、そのピッチを暫定平均文
字ピッチとする。文字ピッチ算出領域決定部21cは、
例えば、暫定平均文字ピッチより右の領域でヒストグラ
ムが頻度最大値(MAX値)をとる文字ピッチを算出
し、その文字ピッチの左右方向にヒストグラムが頻度最
大値(MAX値)/2以上をとる領域を決定する。平均
文字ピッチ算出部21dはその領域で再度、平均文字ピ
ッチを算出する。
The character pitch calculator 21 includes a histogram calculator 21a, a provisional average character pitch calculator 21b, a character pitch calculation area determiner 21c, and an average character pitch calculator 21d. The histogram calculation unit 21a
A histogram of the pitch between each rectangle is calculated. The provisional average character pitch calculation unit 21b calculates an average character pitch based on the histogram and sets the pitch as a provisional average character pitch. The character pitch calculation area determination unit 21c
For example, in a region to the right of the provisional average character pitch, a character pitch at which the histogram takes the maximum frequency value (MAX value) is calculated, and an area in which the histogram takes the maximum frequency value (MAX value) / 2 or more in the horizontal direction of the character pitch. To determine. The average character pitch calculator 21d calculates the average character pitch again in the area.

【0053】平均文字サイズ・ピッチ統合部22は、小
分離ストローク抽出部20と文字ピッチ算出部21とに
接続され、抽出された小分離ストロークと平均文字ピッ
チ,平均文字サイズ,サイズ分散値,ピッチ分散値の情
報とに基づき文字の統合を行う。この平均文字サイズ・
ピッチ統合部22には確信度統合部24が接続される。
The average character size / pitch integration unit 22 is connected to the small separation stroke extraction unit 20 and the character pitch calculation unit 21, and the extracted small separation stroke and the average character pitch, average character size, size variance value, pitch Characters are integrated based on the information on the variance value. This average font size
The confidence integrating unit 24 is connected to the pitch integrating unit 22.

【0054】確信度統合部24は、抽出された小分離ス
トロークとその左右に位置する文字パターンとの距離を
算出し、それらの距離比を統合の確信度として定量化
し、確信度が高い場合には統合を行う。この確信度統合
部24には簡易認識処理部26が接続される。
The certainty degree integration unit 24 calculates the distance between the extracted small separation stroke and the character pattern located on the left and right sides of the stroke and quantifies the distance ratio between them as the certainty degree of integration. Performs integration. A simple recognition processing unit 26 is connected to the certainty degree integration unit 24.

【0055】簡易認識処理部26は、オーバハングのあ
る手書き数字を対象とした処理を行うもので、小分離ス
トローク及びその左右に位置するパターン、さらにそれ
らを統合した場合のパターンに対して、線密度,傾き,
文字サイズを簡単に識別して文字の統合を行っていく。
簡易認識処理部26は、小分離ストローク線密度算出部
42、傾き算出部44、文字サイズ判別部46,50、
右隣接矩形線密度算出部48、複数方向線密度算出部5
2から構成される。
The simple recognition processing section 26 performs processing for handwritten numerals having an overhang. The simple recognition processing section 26 performs linear density processing on small separation strokes, patterns located on the left and right thereof, and patterns obtained by integrating them. , Tilt,
Character size is easily identified and characters are integrated.
The simple recognition processing unit 26 includes a small separation stroke linear density calculation unit 42, an inclination calculation unit 44, character size determination units 46 and 50,
Right adjacent rectangular line density calculator 48, multiple direction line density calculator 5
2

【0056】小分離ストローク線密度算出部42は、小
さく書かれた文字かどうかを判別するために小分離スト
ロークに対して線密度を算出する。この小分離ストロー
ク線密度算出部42には傾き算出部44が接続される。
The small separation stroke linear density calculation unit 42 calculates the line density for the small separation stroke in order to determine whether the character is a small written character. An inclination calculator 44 is connected to the small separation stroke linear density calculator 42.

【0057】傾き算出部44は、小分離ストロークのX
方向の傾き又はY方向の傾きを算出し、算出された傾き
を基にその傾きが5の分離ストロークであるかあるいは
7の分離ストロークであるかを判別する。この傾き算出
部44には文字サイズ判別部46、右隣接矩形線密度算
出部48が接続される。
The inclination calculator 44 calculates the X of the small separation stroke.
The inclination of the direction or the inclination in the Y direction is calculated, and it is determined whether the inclination is a separation stroke of 5 or 7 based on the calculated inclination. A character size determination unit 46 and a right adjacent rectangular line density calculation unit 48 are connected to the inclination calculation unit 44.

【0058】文字サイズ判別部46は、確実に5の角度
として算出されたものに対して、左矩形との距離が右矩
形との距離のある閾値倍(例えば1.5倍)よりも小さ
いか否かを判定する。
The character size discriminating unit 46 determines whether the distance to the left rectangle is smaller than a certain threshold value (for example, 1.5 times) the distance to the right rectangle with respect to the angle reliably calculated as 5. Determine whether or not.

【0059】右隣接矩形線密度算出部48は、小分離ス
トロークの右のストロークの線密度を算出し、右ストロ
ークが7の右の部分かどうかを判別する。この右隣接矩
形線密度算出部48には文字サイズ判別部50と複数方
向線密度算出部52とが接続される。
The right adjacent rectangular line density calculator 48 calculates the line density of the right stroke of the small separation stroke, and determines whether or not the right stroke is the right part of 7. The right adjacent rectangular line density calculation unit 48 is connected to a character size determination unit 50 and a multi-direction line density calculation unit 52.

【0060】文字サイズ判別部50は、右隣接矩形線密
度算出部48からの右ストロークの線密度が縦方向の左
ストロークとの距離が平均横サイズのある閾値倍(例え
ば1.8倍)より小さく、分離ストロークの傾きが所定
の範囲か否かを判定し、条件を満たす場合には5として
統合する。
The character size discriminating unit 50 determines that the line density of the right stroke from the right adjacent rectangular line density calculating unit 48 is equal to or longer than the threshold value (for example, 1.8 times) of the average horizontal size as the distance from the left stroke in the vertical direction. It is determined whether the separation stroke is small and the inclination of the separation stroke is within a predetermined range.

【0061】複数方向線密度算出部52は、右ストロー
クの線密度の縦方向が1で、横方向も1である場合、複
数方向線密度を算出する。 <参考例の処理> 次に、参考例の文字の切り出し装置によって実現される
文字の切り出し方法について説明する。図4は参考例の
文字の切り出し方法の処理フロー、図5は平均文字サイ
ズ算出処理フロー、図30は平均文字ピッチ算出処理フ
ロー、図6は簡易認識による小分離ストローク統合処理
を示す図である。
The multi-direction linear density calculation unit 52 calculates the multi-directional linear density when the linear density of the right stroke is 1 in the vertical direction and 1 in the horizontal direction. <Processing of Reference Example > Next, a description will be given of a character cutout method realized by the character cutout device of the reference example . FIG. 4 is a flowchart showing a processing flow of a character extraction method according to the reference example, FIG. 5 is a flowchart showing an average character size calculation processing, FIG. 30 is a flowchart showing an average character pitch calculation processing flow, and FIG. .

【0062】まず、入力パターン部12から出力される
パターンは、極端な傾きや回転の補正を行って雑音が除
去され、かすれの穴埋め等の前処理した後の2値画像で
ある。また、文字列パターンには文字同士のオーバハン
グや分離ストロークを含み、文字同士の重なりや接触あ
るいは続け字は含まないとする。
First, the pattern output from the input pattern section 12 is a binary image that has been subjected to extreme processing such as inclination correction and rotation correction to remove noise, and has been subjected to pre-processing such as fading. Further, it is assumed that the character string pattern includes overhangs and separation strokes between characters, and does not include overlapping, contact, or continuous characters between characters.

【0063】そして、入力パターン部12から連結パタ
ーン抽出部14に文字列パターンが入力される(ステッ
プ101)。次に、個々のストロークを区別するために
連結パターン抽出部14では、例えば、図7に示すよう
に、8連結でつながっているパターンに対してラベリン
グ番号を付けることによりラベリングを行う(ステップ
102)。
Then, a character string pattern is input from the input pattern section 12 to the connection pattern extraction section 14 (step 101). Next, in order to distinguish individual strokes, for example, as shown in FIG. 7, the connection pattern extraction unit 14 performs labeling by assigning labeling numbers to patterns connected by eight connections (step 102). .

【0064】また、このとき、ラベリングで得られた部
分パターンのサイズが後で問題となるので、連結パター
ン抽出部14では、ラベリングと同時に、図8に示すよ
うに、部分パターンの外接矩形座標値(左上と右下の黒
ドット部分)も算出する。
At this time, since the size of the partial pattern obtained by the labeling becomes a problem later, the connected pattern extracting unit 14 simultaneously performs the labeling and the circumscribed rectangular coordinate values of the partial pattern as shown in FIG. (The upper left and lower right black dot portions) are also calculated.

【0065】そして、文字列抽出部16が、ラベリング
された文字列を抽出する(ステップ103)。ラベリン
グで得られた部分パターンは、文字の接触等がない場
合、それ自体で一文字になっているものや、一文字を構
成する部分パターンのどちらかである。これらを判別
し、部分パターンだけを抜き出すために文字の平均サイ
ズに着目する。
Then, the character string extracting section 16 extracts the labeled character string (step 103). When there is no character contact or the like, the partial pattern obtained by labeling is either a single character by itself or a partial pattern constituting one character. These are discriminated, and attention is paid to the average size of characters to extract only partial patterns.

【0066】次に、平均文字サイズ算出手段18が、文
字列抽出部16からの文字列の夫々の文字の外接矩形に
基づき平均文字サイズを算出する(ステップ104)。
この平均文字サイズの算出処理フローを図5に示す。図
5に示すように、まず、ヒストグラム算出部32が、夫
々の矩形の縦(横)方向の長さのヒストグラムを算出す
る(ステップ151)。
Next, the average character size calculating means 18 calculates the average character size based on the circumscribed rectangle of each character of the character string from the character string extraction unit 16 (step 104).
FIG. 5 shows a flow of the process of calculating the average character size. As shown in FIG. 5, first, the histogram calculation unit 32 calculates a histogram of the length of each rectangle in the vertical (horizontal) direction (step 151).

【0067】そして、暫定平均文字サイズ算出部34
が、そのヒストグラムに基づき縦(横)の平均文字サイ
ズを算出し、このサイズを暫定平均文字サイズとする
(ステップ152)。このとき、文字がカナ文字である
場合には、図9(a)に示すように、ヒストグラムは濁
点やハ,リ,クなどから生ずる小分離ストロークによっ
て双峰性になる。また、数字である場合には5や7など
から生ずる小分離ストローク,あるいは英字である場合
にはAやEなどから生ずる小分離ストロークによってヒ
ストグラムは、双峰性になる。
Then, the provisional average character size calculating section 34
Calculates the vertical (horizontal) average character size based on the histogram, and sets this size as the provisional average character size (step 152). At this time, if the character is a kana character, as shown in FIG. 9A, the histogram becomes bimodal due to a small separation stroke generated from a turbid point, c, ri, ku, and the like. In addition, the histogram becomes bimodal due to small separation strokes generated from 5 and 7 when it is a number, or small separation strokes generated from A and E when it is an alphabet.

【0068】このため、算出された暫定平均文字サイズ
は平均文字サイズよりも小さく算出される。そこで、文
字サイズ算出領域決定部36が、暫定平均文字サイズよ
り右の領域でヒストグラムが頻度最大値(MAX値)を
とる文字サイズを算出し、その文字サイズの左右方向に
ヒストグラムが頻度最大値(MAX値)/2以上をとる
領域を決定する(ステップ153)。
Therefore, the calculated provisional average character size is calculated to be smaller than the average character size. Therefore, the character size calculation area determination unit 36 calculates the character size in which the histogram has the maximum frequency value (MAX value) in the area to the right of the provisional average character size, and the histogram has the maximum frequency value (left and right) of the character size. An area having a value of (MAX value) / 2 or more is determined (step 153).

【0069】なお、図9(b)に示すように、ヒストグ
ラムの山に偏りがある場合には、暫定文字サイズにおけ
るヒストグラムを頻度最大値(MAX値)とし、ヒスト
グラムが頻度最大値(MAX値)/2以上をとる領域を
決定する。
As shown in FIG. 9B, when there is a bias in the peak of the histogram, the histogram at the provisional character size is set to the maximum frequency (MAX value), and the histogram is set to the maximum frequency (MAX value). / 2 or more is determined.

【0070】そして、平均文字サイズ算出部38が、そ
の領域で再度、平均文字サイズを算出する(ステップ1
54)。この方法により、濁点等の小分離ストロークの
影響を受けずに、また、図9に示すようにヒストグラム
の分布に依存せずに、平均的な文字サイズの算出を行な
うことができる。
Then, the average character size calculation unit 38 calculates the average character size again in the area (step 1).
54). According to this method, it is possible to calculate the average character size without being affected by the small separation stroke such as the turbid point and without depending on the distribution of the histogram as shown in FIG.

【0071】次に、小分離ストローク抽出部20が、既
にストローク毎に抽出された外接矩形を用いて、その外
接矩形の面積が平均文字サイズの面積の1/2以下か否
か、また、外接矩形の高さが平均文字サイズの高さの4
/5以下か否かを判定する(ステップ105)。
Next, the small separation stroke extracting section 20 uses the circumscribed rectangle already extracted for each stroke to determine whether or not the area of the circumscribed rectangle is equal to or less than 1/2 of the area of the average character size. The height of the rectangle is 4 of the height of the average character size
It is determined whether it is / 5 or less (step 105).

【0072】そして、小分離ストローク抽出部20は、
面積比及び高さ比の条件を満たす場合にはその外接矩形
の部分パターンを小分離ストロークとして抽出する(ス
テップ106)。
Then, the small separation stroke extracting unit 20
If the conditions of the area ratio and the height ratio are satisfied, the partial pattern of the circumscribed rectangle is extracted as a small separation stroke (step 106).

【0073】ここで、横サイズ(幅)について考慮しな
いのは、5の小分離ストロークのように小分離ストロー
クではあっても、サイズ的に平均サイズと変わらないも
のが存在するからである。
The reason why the horizontal size (width) is not taken into consideration is that there are some small separation strokes such as the small separation stroke of 5, which are not different in size from the average size.

【0074】次に、文字ピッチ算出部21では、ステッ
プ105の処理において小分離ストロークと判定されな
かったもの(その自体で一文字とみなされたもの)につ
いて、図10に示すように夫々の外接矩形間の距離pを
ピッチとし、ピッチのヒストグラムを算出し、その結果
に基づき平均文字ピッチの算出とその分散値の算出を行
う(ステップ107)。
Next, in the character pitch calculating section 21, for those not determined as the small separation strokes in the processing of step 105 (they are regarded as one character by themselves), as shown in FIG. A pitch histogram is calculated using the distance p as the pitch, and the average character pitch and its variance are calculated based on the histogram (step 107).

【0075】この平均文字ピッチの算出を図30に基づ
き説明する。まず、ヒストグラム算出部21aは、夫々
の矩形間のピッチのヒストグラムを算出する(ステップ
161)。暫定平均文字ピッチ算出部21bは、前記ヒ
ストグラムに基づき平均文字ピッチを算出し、そのピッ
チを暫定平均文字ピッチとする(ステップ162)。文
字ピッチ算出領域決定部21cは、例えば、暫定平均文
字ピッチより右の領域でヒストグラムがMAX値をとる
文字ピッチを算出し、その文字ピッチの左右方向にヒス
トグラムがMAX/2以上をとる領域を決定する(ステ
ップ163)。平均文字ピッチ算出部21dはその領域
で再度、平均文字ピッチを算出する(ステップ16
4)。
The calculation of the average character pitch will be described with reference to FIG. First, the histogram calculator 21a calculates a histogram of the pitch between the respective rectangles (Step 161). The provisional average character pitch calculation unit 21b calculates an average character pitch based on the histogram, and sets the pitch as a provisional average character pitch (step 162). The character pitch calculation area determination unit 21c calculates, for example, a character pitch where the histogram takes a MAX value in an area to the right of the provisional average character pitch, and determines an area where the histogram takes MAX / 2 or more in the horizontal direction of the character pitch. (Step 163). The average character pitch calculation unit 21d calculates the average character pitch again in that area (step 16).
4).

【0076】次に、平均文字サイズ・ピッチ統合部22
は下記の評価関数Fに基づいて統合を行うか否かを判定
する。 F=MP/MW−(α×VP+β) 上式についてFが零以上であるか否かを判定し(ステッ
プ108)、Fが零以上のとき、サイズ・ピッチ平均、
サイズ・ピッチ分散を用いた部分パターン同士の統合が
完了する(ステップ109)。
Next, the average character size / pitch integration unit 22
Determines whether or not to perform integration based on the following evaluation function F. F = MP / MW- (α × VP + β) It is determined whether or not F is equal to or greater than zero in the above equation (step 108).
The integration of the partial patterns using the size / pitch dispersion is completed (step 109).

【0077】ここで、MPはピッチ平均であり、MWは
サイズ平均である。VPはピッチ分散であり、αは1.
6であり、βは0.5である。これらのパラメータの値
は一例である。
Here, MP is a pitch average, and MW is a size average. VP is pitch variance, α is 1.
6, and β is 0.5. The values of these parameters are examples.

【0078】すなわち、文字間の空白の度合(ピッチ平
均/サイズ平均)とのピッチ分散値の値に応じた統合判
定が完了する。次に、ステップ108において、Fが零
よりも小さい場合には、確信度統合部24が、抽出され
た小分離ストロークとその左右に位置するパターンとの
距離を算出し、それらの距離比を統合の確信度として定
量化し、この定量化された値によって統合を行う。この
確信度による統合の具体例を示すと、確信度統合部24
は、例えば、図11(b)及び図11(c)に示すよう
な距離a,b,c,dを用いて、bがaの2.6倍より
も大きく、cがdの2.6倍よりも大きい場合には(ス
テップ110)、部分パターンの統合を行う(ステップ
111)。この場合には前述の定量化値は2.6とな
る。
That is, the integration judgment according to the value of the pitch variance with the degree of blank space between characters (pitch average / size average) is completed. Next, in step 108, if F is smaller than zero, the certainty factor integration unit 24 calculates the distance between the extracted small separation stroke and the pattern located on the left and right thereof and integrates the distance ratio between them. Is quantified as a certainty factor, and integration is performed using the quantified value. A specific example of the integration based on the certainty factor will be described.
For example, using distances a, b, c, and d as shown in FIGS. 11B and 11C, b is greater than 2.6 times a and c is 2.6 times d. If it is larger than twice (step 110), the partial patterns are integrated (step 111). In this case, the aforementioned quantified value is 2.6.

【0079】次に、ステップ110において、bがaの
2.6倍よりも小さく、cがdの2.6倍よりも小さい
場合には、以下に述べるような簡易認識による小分離ス
トローク統合処理(ステップ112)を実行する。
Next, in step 110, if b is smaller than 2.6 times a and c is smaller than 2.6 times d, small separation stroke integration processing by simple recognition described below is performed. (Step 112) is executed.

【0080】この簡易認識による小分離ストローク統合
処理は図6に示すフローにしたがって行われる。この処
理では、同図に示すようにまず、小分離ストロークの横
/縦比が2.6より大きいか否かが判定され、ここで
は、小分離ストロークに対して、パターンマッチング的
手法を用いずにそれが一文字かあるいは文字の部分パタ
ーンかを判別する。このように、複雑な処理を行う必要
がないので、高速に処理を行えるという利点がある。
The small separation stroke integration processing based on the simple recognition is performed according to the flow shown in FIG. In this processing, as shown in the figure, first, it is determined whether or not the horizontal / vertical ratio of the small separation stroke is greater than 2.6. Here, a pattern matching method is not used for the small separation stroke. To determine whether it is a single character or a character partial pattern. As described above, since there is no need to perform complicated processing, there is an advantage that processing can be performed at high speed.

【0081】以下に図6に基づいて簡易認識による小分
離ストローク統合処理について詳述する。まず、小分離
ストローク線密度算出部42は、小分離ストロークの横
/縦比が2.6より小さい場合には(ステップ12
1)、小分離ストロークを5として統合する(ステップ
122)。そして、小分離ストロークの横/縦比が2.
6より大きい場合には、小分離ストロークの横/縦比が
1/3より小さいか否かを判定する(ステップ12
3)。小分離ストロークの横/縦比が1/3より小さい
場合には、7のルーチンに進む。小分離ストロークの横
/縦比が1/3より大きい場合には、線密度の算出を行
う。
The small stroke separation integration process based on simple recognition will be described below in detail with reference to FIG. First, when the horizontal / vertical ratio of the small separation stroke is smaller than 2.6 (step 12),
1), the small separation strokes are integrated as 5 (step 122). The horizontal / vertical ratio of the small separation stroke is 2.
If it is larger than 6, it is determined whether the aspect ratio of the small separation stroke is smaller than 1/3 (step 12).
3). If the horizontal / vertical ratio of the small separation stroke is smaller than 1/3, the routine proceeds to the routine of 7. If the horizontal / vertical ratio of the small separation stroke is greater than 1/3, the linear density is calculated.

【0082】数字の場合、小分離ストロークとして抽出
されるものは、小さく書かれた文字か5あるいは7の小
分離ストロークに限定される。このため、まず、小分離
ストローク線密度算出部42が、小さく書かれた1文字
と5か7の分離ストロークとを判別するために小分離ス
トロークに対して線密度を算出する。
In the case of numbers, those extracted as small separation strokes are limited to small written characters or 5 or 7 small separation strokes. For this reason, first, the small separation stroke linear density calculation unit 42 calculates the line density for the small separation stroke in order to discriminate one character written small and the separation stroke of 5 or 7.

【0083】線密度の算出方法としては、図12に示す
ように、小分離ストローク線密度算出部42が、外接矩
形が横長か縦長かを調べ、縦長である場合には外接矩形
を横に4等分し、まん中以外の2ラインで線密度を算出
する(図12(a)。横長である場合には、外接矩形を
縦に4等分して同様の処理を行う(図12(b))。な
お、線密度算出方法として、このほかに外接矩形をn等
分し、mライン目からn−mライン目までにカウントし
た線密度の最大値を線密度にとるようにしてもよい。m
はn未満の整数である。
As a method for calculating the line density, as shown in FIG. 12, the small separation stroke line density calculation unit 42 checks whether the circumscribed rectangle is horizontally long or vertically long. The line density is calculated for two lines other than the middle line (FIG. 12A. If the line is horizontally long, the circumscribed rectangle is vertically divided into four equal parts and the same processing is performed (FIG. 12B). In addition, as another method of calculating the line density, the circumscribed rectangle may be divided into n equal parts, and the maximum value of the line densities counted from the m-th line to the mn-th line may be taken as the line density. m
Is an integer less than n.

【0084】ここで、図13に示すような横長のストロ
ークに対して横方向に線密度を算出した場合、誤った線
密度が算出されてしまうため、線密度の算出方法を外接
矩形の形に応じて変える。
Here, when the line density is calculated in the horizontal direction for a horizontally long stroke as shown in FIG. 13, an incorrect line density is calculated. Therefore, the line density calculation method is changed to a circumscribed rectangle. Change accordingly.

【0085】これによれば、パターンの凹凸の影響を受
けずに正確な線密度を算出できる。そして、小分離スト
ローク線密度算出部42は、線密度の縦方向が2以下
か、または横方向が1以下であるか否かを判定する(ス
テップ124)。この2つの判定条件のいずれも満たさ
ない場合には、小分離ストロークではないとしてREJ
ECTする(ステップ125)。
According to this, an accurate linear density can be calculated without being affected by the unevenness of the pattern. Then, the small separation stroke linear density calculation unit 42 determines whether the vertical direction of the linear density is 2 or less or the horizontal direction is 1 or less (step 124). If neither of these two determination conditions is satisfied, it is determined that the stroke is not a small separation stroke and REJ is determined.
ECT is performed (step 125).

【0086】一方、条件を満たす場合には、小分離スト
ローク線密度算出部42は、小分離ストロークの縦/横
比が1以上か否かを判定する(ステップ126)。この
条件を満たす場合には、傾き算出部44が、小分離スト
ロークのX方向の傾きを算出する(ステップ127)。
前記条件を満たさない場合には、傾き算出部44が、小
分離ストロークのY方向の傾きを算出する(ステップ1
28)。
On the other hand, if the condition is satisfied, the small separation stroke linear density calculation unit 42 determines whether the aspect ratio of the small separation stroke is 1 or more (step 126). If this condition is satisfied, the inclination calculation unit 44 calculates the inclination of the small separation stroke in the X direction (step 127).
If the above condition is not satisfied, the inclination calculation unit 44 calculates the inclination of the small separation stroke in the Y direction (Step 1).
28).

【0087】傾きの算出方法については、図14(a)
(b)(c)に示すように、外接矩形を4等分して、1
本目と3本目の線とストロークとの2交点間での傾きを
算出する。実際には、交点が点ではなく、ある幅をもつ
ので、その中点を選ぶ。
FIG. 14A shows the method of calculating the inclination.
(B) As shown in (c), the circumscribed rectangle is divided into four equal parts, and
The inclination between two intersections between the first and third lines and the stroke is calculated. In practice, the intersection is not a point but has a certain width, so the midpoint is selected.

【0088】線密度の算出方法と同様に、傾きについて
も外接矩形が横長か縦長かによって算出方法を区別す
る。横長矩形に対して、横方向に傾きを算出した場合に
誤りを生ずる可能性があるからである。
Similar to the method of calculating the linear density, the method of calculating the inclination is also distinguished depending on whether the circumscribed rectangle is horizontally long or vertically long. This is because an error may occur when the inclination is calculated in the horizontal direction for a horizontally long rectangle.

【0089】このように、外接矩形が縦長か横長かによ
って、傾きの算出方向を変えることにより、適切な傾き
が算出できる。次に、傾き算出部44は、算出された傾
きを基にその傾きが5の分離ストロークの角度範囲(−
40°〜28°)であるか、7の分離ストロークの角度
範囲であるかを判別する(ステップ129)。手書きで
5及び7を書いたときの分離ストロークの角度について
は、図15(a)(b)に示すように、両者はほぼ排反
の関係にあるからである。
As described above, an appropriate inclination can be calculated by changing the calculation direction of the inclination depending on whether the circumscribed rectangle is vertically long or horizontally long. Next, based on the calculated inclination, the inclination calculation unit 44 determines the angle range of the separation stroke having the inclination of 5 (−
40 ° to 28 °) or the angle range of the separation stroke of 7 (step 129). This is because, as shown in FIGS. 15 (a) and 15 (b), the angles of the separation strokes when handwriting 5 and 7 are written by hand are almost in an inversion relationship.

【0090】ここで、5の小分離ストロークの角度分布
よりも7の小分離ストロークの角度分布のほうが広い。
そこで、文字サイズ判別部46が、5と7との識別にあ
たって、確実に5の角度として算出されたものに対し
て、左矩形との距離が右矩形との距離の1.5倍よりも
小さいか否かを判定し(ステップ130)、この条件を
満たす場合には、5として統合する(ステップ13
1)。なお、この条件を満たさない場合には、ステップ
132の7のルーチンに進む。
Here, the angular distribution of the small separation stroke of 7 is wider than the angular distribution of the small separation stroke of 5.
Therefore, when the character size discriminating unit 46 discriminates between 5 and 7, the distance to the left rectangle is smaller than 1.5 times the distance to the right rectangle, although the angle is definitely calculated as 5. It is determined whether or not this is the case (step 130), and if this condition is satisfied, it is integrated as 5 (step 13).
1). If this condition is not satisfied, the routine proceeds to the routine of step 132-7.

【0091】一方、ステップ129において、文字サイ
ズでREJECTされたもの及び7の角度として算出さ
れたものは、以下の処理を行う。まず、右隣接矩形線密
度算出部48が、小分離ストロークの右のストロークの
線密度を算出し、右ストロークが7の右の部分かどうか
を判別する。ここでの線密度の算出方法は、図16に示
すように、7の右の部分と2や9を区別するために、縦
と横の両方向の線密度を調べる。
On the other hand, in step 129, the object rejected in the character size and the object calculated as the angle of 7 are subjected to the following processing. First, the right adjacent rectangular line density calculation unit 48 calculates the line density of the right stroke of the small separation stroke, and determines whether the right stroke is the right part of 7. As shown in FIG. 16, the line density is calculated by examining the line density in both the vertical and horizontal directions in order to distinguish the right part of 7 from 2 and 9.

【0092】そして、右ストロークの線密度の縦方向が
2以下で横方向が1以下か否かを判定する(ステップ1
32)。線密度の算出の結果、条件を満たさない場合に
は、文字サイズ判別部50が、左ストロークとの距離が
平均横サイズの1.8倍より小さく、分離ストロークの
傾きが−80°〜51.6°か否かを判定する(ステッ
プ133)。この条件を満たす場合には、5として統合
し(ステップ131)、条件を満たさない場合には、R
EJECTする(ステップ134)。
Then, it is determined whether the vertical direction of the line density of the right stroke is 2 or less and the horizontal direction is 1 or less (step 1).
32). If the condition is not satisfied as a result of the calculation of the line density, the character size determination unit 50 determines that the distance from the left stroke is smaller than 1.8 times the average horizontal size, and the inclination of the separation stroke is −80 ° to 51. It is determined whether it is 6 ° (step 133). If this condition is satisfied, it is integrated as 5 (step 131). If the condition is not satisfied, R
EJECT is performed (step 134).

【0093】一方、線密度の算出の結果、縦方向が2で
あって、横方向が1となる場合には(ステップ132,
135)、7の可能性があるとして、小分離ストローク
と統合したときの文字サイズを調べる。その文字サイズ
が平均文字サイズのある閾値倍以下である場合、7とし
て統合する(ステップ136)。
On the other hand, as a result of the calculation of the linear density, if the vertical direction is 2 and the horizontal direction is 1, (step 132,
135) Assuming that there is a possibility of 7, the character size when integrated with the small separation stroke is examined. If the character size is not more than a certain threshold value of the average character size, it is integrated as 7 (step 136).

【0094】一方、この方法で線密度を算出した場合、
ステップ135において、線密度の縦方向が1で、横方
向が1と算出されたものは、7の右パターンであるかど
うかを確認するために、複数方向線密度算出部52が、
以下の方法で線密度を再度算出する。
On the other hand, when the linear density is calculated by this method,
In step 135, the multi-direction linear density calculation unit 52 checks whether the line density calculated in the vertical direction is 1 and the horizontal direction is 1 is a right pattern of 7,
The linear density is calculated again by the following method.

【0095】具体的には、図17(a)(b)に示す縦
線密度1,横線密度1に対して、図17(c)に示すよ
うに、外接矩形の横幅中心から縦方向に線密度を見てい
き、線密度がカウントされた時点で、横方向に線密度を
見ていき、直角線密度(2方向が直角のときの複数方向
線密度)が2か否かを判定する(ステップ137)。直
角線密度が2となったものは、7として統合する(ステ
ップ136)。なお、図17(d)に示す縦線密度1,
横線密度1に対して複数方向線密度は1となる。
More specifically, as shown in FIG. 17C, the vertical line density and the horizontal line density 1 shown in FIGS. 17A and 17B are shifted from the center of the width of the circumscribed rectangle in the vertical direction. Looking at the density, when the line density is counted, the line density is viewed in the horizontal direction, and it is determined whether or not the right-angle linear density (the linear density in a plurality of directions when two directions are at right angles) is 2 ( Step 137). Those having a right angle linear density of 2 are integrated as 7 (step 136). In addition, the vertical line density 1 shown in FIG.
The linear density in multiple directions is 1 for the horizontal linear density of 1.

【0096】このような直角方向に線密度を見ていくこ
とにより、従来、一方向だけの探索では判別できなかっ
たパターンの判別が行える。さらに、図17(f)に示
す文字”ク”、図17(g)に示す”L”に対しては、
直角線密度2となる。図17(h)に示す”4”の場合
に複数方向は直角方向でなくともよい。
By observing the line density in such a perpendicular direction, it is possible to discriminate a pattern which could not be discriminated by the conventional search in only one direction. Further, for the character “C” shown in FIG. 17F and “L” shown in FIG.
The right angle linear density is 2. In the case of "4" shown in FIG. 17H, the plurality of directions need not be perpendicular directions.

【0097】また、ステップ136において、直角線密
度が2以外の線密度である場合や、文字サイズでREJ
ECTされたものについては、5の小分離ストロークの
可能性もあるので、5のルーチンに戻り、5として統合
したときの文字サイズを調べる。そして、条件を満たす
場合には文字を統合し、条件を満たさない場合にはRE
JECTする。また、図18に本実施例で切り出される
数字の文字パターンの一例を示す。
In step 136, if the right-angle linear density is a linear density other than 2, or if the character size is REJ
For the ECT, since there is a possibility of 5 small separation strokes, the routine returns to the routine of 5 to check the character size when integrated as 5. Then, if the condition is satisfied, the characters are integrated, and if the condition is not satisfied, RE
JECT. FIG. 18 shows an example of a character pattern of numbers cut out in this embodiment.

【0098】このように実施例によれば、不定ピッチ,
文字サイズの変動のある文字列に対して文字の平均サイ
ズ,ピッチを厳密に算出し、統合の際にそれらの平均値
と分散値に応じて統合条件を適応的に変えているので、
文字の精度の高い切り出しが行える。特に、手書き数字
文字列に対しては、パターンマッチング的手法を用いず
に小分離ストロークに注目した簡易認識処理部26を用
いているので、正確で高速な処理が行える。すなわち、
文字列中の全てのパターンに一様な処理を施すのではな
く、小分離ストロークに注目した処理を施すことによ
り、切り出し処理全体での処理の高速化を図れる。
As described above, according to the embodiment, the variable pitch,
Since the average size and pitch of characters are strictly calculated for character strings with variable character sizes, the integration conditions are adaptively changed according to their average and variance values during integration.
Characters can be cut out with high precision. In particular, for the handwritten numeric character strings, accurate and high-speed processing can be performed because the simple recognition processing unit 26 that focuses on small separation strokes is used without using a pattern matching method. That is,
By performing processing focusing on small separation strokes instead of performing uniform processing on all patterns in a character string, it is possible to speed up the entire cutout processing.

【0099】また、文字列中の全ての外接矩形の幅のヒ
ストグラムを算出し、まず暫定的に平均文字サイズを算
出し、その値に基づき正確に文字サイズを算出するの
で、文字列中の文字サイズの変動が激しい場合やオーバ
ハングのある文字列の場合でもより正確に平均文字サイ
ズが算出できる。その結果、文字の統合を的確に行うこ
とができる。
Also, the histogram of the widths of all the circumscribed rectangles in the character string is calculated, the average character size is calculated temporarily, and the character size is accurately calculated based on the value. The average character size can be calculated more accurately even when the size fluctuates greatly or when the character string has an overhang. As a result, the characters can be integrated accurately.

【0100】さらに、文字列中の文字サイズ,ピッチの
平均値,分散値に応じて、小分離ストローク統合の際の
条件を適応的に変えることにより文字サイズ,ピッチの
変動に依存せずに、より正確な統合が行える。
Further, the conditions for integrating small separation strokes are adaptively changed in accordance with the character size and the average value and the variance of the pitch in the character string, so that the conditions are independent of the variation in the character size and pitch. More accurate integration can be performed.

【0101】また、カナ文字中の濁点や数字の分離スト
ローク等が存在するとき、それらのパターンも含めて文
字間のピッチを算出すると、実際のピッチ間隔より小さ
いピッチが算出される。それらの小分離ストロークを予
め除外して考えることにより、より正確なピッチの算出
が可能となる。
When a pitch between characters is calculated including kana dots and separation strokes of numbers in kana characters, a pitch smaller than the actual pitch interval is calculated. By excluding these small separation strokes in advance, it is possible to calculate the pitch more accurately.

【0102】文字列中の文字の並び方の規則性により分
離ストロークを統合する際の閾値を適応的に変えるた
め、より正確な文字の統合が行える。さらに、文字列中
の文字の並び方に規則性がないが、分離ストロークとそ
の左右に位置するパターンとの距離比を確信度として定
量化し、その値に応じて統合を行うため、正確な統合を
行える。 <実施例2(都合上、実施例1は省略し、実施例2及び
実施例3のみを説明する)> 以下、図面を参照して本発明にかかる文字列の切り出し
装置及び切り出し方法について実施例2を説明する。図
19は実施例2の構成ブロック図である。実施例2は文
字列の抽出装置である。文字列の抽出装置は、入力パタ
ーン部12、連結パターン抽出部14、外接矩形統合部
62、重み付け投影部64、文字列軸決定部66、文字
列抽出部68を備えている。
Since the threshold for integrating the separated strokes is adaptively changed according to the regularity of the arrangement of the characters in the character string, more accurate character integration can be performed. Furthermore, although the arrangement of the characters in the character string is not regular, the distance ratio between the separation stroke and the pattern located on the left and right of the separation stroke is quantified as a certainty factor, and integration is performed according to the value. I can do it. <Example 2 (for convenience, Example 1 is omitted, and Example 2 and
Only the third embodiment will be described) > Extraction of a character string according to the present invention with reference to the drawings.
Second Embodiment A device and a cutting method according to a second embodiment will be described. FIG. 19 is a configuration block diagram of the second embodiment. The second embodiment is a character string extracting device. The character string extraction device includes an input pattern unit 12, a connection pattern extraction unit 14, a circumscribed rectangle integration unit 62, a weight projection unit 64, a character string axis determination unit 66, and a character string extraction unit 68.

【0103】入力パターン部12には、複数の文字列パ
ターンが入力される。連結パターン抽出部14は、入力
パターン部12で入力された複数文字列入力パターンに
対してラベリングを行うことにより連結パターンのみを
抽出し、夫々のパターン外接矩形を求める。この連結パ
ターン抽出部14には文字形状判定部61が接続され
る。
The input pattern section 12 receives a plurality of character string patterns. The connection pattern extraction unit 14 extracts only the connection pattern by performing labeling on the plurality of character string input patterns input by the input pattern unit 12, and obtains each pattern circumscribed rectangle. A character shape determination unit 61 is connected to the connection pattern extraction unit 14.

【0104】文字形状判定部61は、文字パターンの形
状が複雑かどうかを判定する。文字形状判定部61には
外接矩形統合部62、重み付け投影部64が接続され
る。外接矩形統合部62は、外接矩形同士で重なりのあ
るものを統合する。この外接矩形統合部62の出力は重
み付け投影部64に接続される。
The character shape determining section 61 determines whether the character pattern has a complicated shape. A circumscribed rectangle integrating unit 62 and a weighting projection unit 64 are connected to the character shape determination unit 61. The circumscribed rectangle integrating unit 62 integrates overlapping circumscribed rectangles. The output of the circumscribed rectangle integrating unit 62 is connected to the weighting projection unit 64.

【0105】重み付け投影部64は、外接矩形の縦又は
横方向の線分上の位置に応じた重み付けの値を投影軸に
対して投影することにより投影ヒストグラムを求める。
具体 的には、重み付け投影部64は、個々の外接矩形ご
とに、外接矩形の高さ(図22(a)中縦方向の線分で
表している)の中心にピークをもち周辺に行くに従って
減衰する重み付けの値(図22(a)中三角形で表して
いる)を投影軸J1に対して投影することにより投影ヒ
ストグラムH1を算出する(図22(a)、図26参
照)。この重み付け投影部64には文字列軸決定部66
が接続される。
The weighting projection unit 64 is provided with a vertical or circumscribed rectangle.
The weighting value according to the position on the horizontal line segment is used as the projection axis.
A projection histogram is obtained by projecting the projection histogram.
Specifically , the weighting projection unit 64 determines, for each circumscribed rectangle, the height of the circumscribed rectangle (in the vertical direction in FIG.
The projection histogram H1 is calculated by projecting, on the projection axis J1, a weighting value (represented by a triangle in FIG. 22A ) which has a peak at the center of the data (represented by a triangle) and decreases toward the periphery. FIG. 22 (a) and FIG. 26). The weight projection unit 64 includes a character string axis determination unit 66
Is connected.

【0106】文字列軸決定部66は、個々の外接矩形ご
とに算出された投影ヒストグラムH1を基にピーク値を
探索して、ピーク値を通りかつ投影軸J1に直交する軸
を文字列軸に決定する。この文字列軸決定部66には文
字列抽出部68が接続される。
The character string axis determining unit 66 searches for a peak value based on the projection histogram H1 calculated for each circumscribed rectangle, and sets an axis passing through the peak value and orthogonal to the projection axis J1 as the character string axis. decide. A character string extracting unit 68 is connected to the character string axis determining unit 66.

【0107】文字列抽出部68は、文字列軸決定部66
で決定された文字列軸に基づき文字列を抽出する。さら
に、前記統合の結果に対して平均文字サイズを算出する
文字サイズ算出部74、平均文字サイズの所定倍以上の
外接矩形を接触文字塊として除去する接触文字除去部7
5を備える。例えば、上下左右の文字列間で文字が接触
し、入力データ中の文字サイズがほぼ一様であることが
予め分かっている場合にこれらが用いられる。 <実施例2の処理> 以下、図面を参照して実施例2を説明する。図20は実
施例2の処理フロー図である。まず、連結パターン抽出
部14が、入力パターン部12から文字列パターンを入
力する(ステップ201)。
The character string extracting unit 68 includes a character string axis determining unit 66
The character string is extracted based on the character string axis determined in. Further, a character size calculation unit 74 for calculating an average character size based on the result of the integration, and a contact character removal unit 7 for removing a circumscribed rectangle having a predetermined size or more of the average character size as a contact character block.
5 is provided. For example, these characters are used when a character touches between upper, lower, left, and right character strings and it is known in advance that the character size in the input data is substantially uniform. <Process of Second Embodiment> Hereinafter, a second embodiment will be described with reference to the drawings. FIG. 20 is a processing flowchart of the second embodiment. First, the connection pattern extracting unit 14 inputs a character string pattern from the input pattern unit 12 (Step 201).

【0108】そして、個々のパターンを区別するために
連結パターン抽出部14が、8連結でつながっているパ
ターンをラベリングにより抽出し、同時に図21に示す
ようにその外接矩形を求める(ステップ202)。
Then, in order to distinguish individual patterns, the connected pattern extracting unit 14 extracts patterns connected by eight connections by labeling, and at the same time, obtains a circumscribed rectangle as shown in FIG. 21 (step 202).

【0109】次に、文字形状判定部61が、文字形状が
複雑かどうかを判定する(ステップ203)。文字形状
が複雑な場合とは、漢字のように1つの文字が複数の部
分パターンから構成されている場合を指す。このとき、
部分パターン同士の重なりの数が閾値以上かどうかで複
雑さを判定する。
Next, the character shape determining section 61 determines whether or not the character shape is complicated (step 203). The case where the character shape is complicated refers to the case where one character is composed of a plurality of partial patterns like a kanji. At this time,
The complexity is determined based on whether the number of overlaps between the partial patterns is equal to or greater than a threshold.

【0110】一方、これに該当しない場合、すなわち文
字形状が簡単な場合には、次に、重み付け投影部64
は、その外接矩形に対して、図22に示すように高さの
中心に重み付けした投影を行うことにより投影ヒストグ
ラムを算出する(ステップ204)。つまり、重み付け
投影部64は、個々の外接矩形ごとに、外接矩形の高さ
の中心にピークをもち周辺に行くに従って減衰する重み
付けの値(図22(a)中三角形で表している)を投影
軸J1に対して投影することにより投影ヒストグラムH
1を算出する。重み付けの値は、高さの中心にピークを
もち、周辺に行くに従って減衰するものとする。このと
き、高さ線分全体に値をもつとすると、投影したヒスト
グラムに谷が生じない場合がある。このため、値をもつ
のは高さ線分全体のn%(n;実数)だけとする。図2
2(a)では、処理の高速化を考え、3角形状としてい
る。
On the other hand, if this is not the case, that is, if the character shape is simple, then the weighted projection unit 64
Calculates a projection histogram by performing weighted projection on the center of height as shown in FIG. 22 on the circumscribed rectangle (step 204). In other words, the weighting projection unit 64 projects, for each circumscribed rectangle, a weight value (represented by a triangle in FIG. 22A) having a peak at the center of the height of the circumscribed rectangle and attenuating toward the periphery. Projection histogram H by projecting on axis J1
1 is calculated. The weighting value has a peak at the center of the height, and attenuates toward the periphery. At this time, if the entire height line segment has a value, there may be no valley in the projected histogram. Therefore, only n% (n; real number) of the entire height line segment has a value. FIG.
In FIG. 2 (a), the shape is triangular in consideration of the high-speed processing.

【0111】投影の結果として得られる投影ヒストグラ
ムH1は、比較的明瞭なピーク値をもつようになる。文
字列軸決定部66は、投影ヒストグラムH1を基にピー
ク値を探索してピーク値を通りかつ投影軸J1に直交す
る軸を文字列軸に決定する(ステップ205)。この決
定された文字列軸X1,X2を図23に示す。
The projection histogram H1 obtained as a result of the projection has relatively clear peak values. The character string axis determination unit 66 searches for a peak value based on the projection histogram H1, and determines an axis that passes through the peak value and is orthogonal to the projection axis J1 as the character string axis (step 205). FIG. 23 shows the determined character string axes X1 and X2.

【0112】そして、文字列抽出部68は、各々の外接
矩形と文字列軸との距離を算出し、距離が最小となった
文字列軸にその外接矩形が属するものとし、文字列を抽
出する(ステップ206)。
Then, the character string extracting section 68 calculates the distance between each circumscribed rectangle and the character string axis, determines that the circumscribed rectangle belongs to the character string axis having the shortest distance, and extracts the character string. (Step 206).

【0113】一方、ステップ203において、文字パタ
ーンの形状が複雑なものに対しては、前記重み付け投影
にあっては、明瞭なピークが生じない場合がある。そこ
で、前記投影の前処理として、外接矩形統合部62が、
外接矩形同士で重なりのあるものを統合し(ステップ2
07)、この統合処理を行った後に、平均文字サイズを
算出する(ステップ208)。次に、上下(左右)の文
字列間で文字同士の接触があるか(接触があるとみなせ
るか)否かを判定する(ステップ209)。
On the other hand, in step 203, when the character pattern has a complicated shape, a clear peak may not be generated in the weighted projection. Therefore, as preprocessing of the projection, the circumscribed rectangle integrating unit 62
Merge overlapping circumscribed rectangles (Step 2
07) After performing this integration process, the average character size is calculated (step 208). Next, it is determined whether or not there is contact between the characters between the upper and lower (left and right) character strings (whether or not there is contact) (step 209).

【0114】平均文字サイズの定数倍以上の高さの矩形
が存在しない場合は、ステップ205の処理に進む。一
方、平均文字サイズの定数倍以上の高さの矩形が存在す
る場合は、上下の文字列間の文字同士が接触しているも
のとみなし、接触文字除去部75が、そのサイズ情報を
基にサイズの大きい外接矩形である接触文字塊を除去し
(ステップ210)、その後に前記重み付け投影処理を
施す。さらにその後、この投影処理により得られる投影
ヒストグラムに基づいて文字列軸決定部66がピーク値
を探索して、ピーク値を通りかつ投影軸に直交する軸を
文字列軸に決定する(ステップ205)。そして、文字
列抽出部68は、各々の外接矩形と文字列軸との距離を
算出し、距離が最小となった文字列軸にその外接矩形が
属するものとし、文字列を抽出する(ステップ20
6)。
If there is no rectangle having a height equal to or more than a constant multiple of the average character size, the process proceeds to step 205. On the other hand, if there is a rectangle having a height equal to or more than a constant multiple of the average character size, it is assumed that the characters between the upper and lower character strings are in contact with each other, and the contacted character removing unit 75 sets the character based on the size information. The contact character block which is a large circumscribed rectangle is removed (step 210), and then the weighted projection processing is performed. Further, thereafter, the character string axis determination unit 66 searches for a peak value based on the projection histogram obtained by this projection processing, and determines an axis passing through the peak value and orthogonal to the projection axis as the character string axis (step 205). . Then, the character string extracting unit 68 calculates the distance between each circumscribed rectangle and the character string axis, determines that the circumscribed rectangle belongs to the character string axis whose distance is the smallest, and extracts the character string (step 20).
6).

【0115】前記統合処理により、より明瞭な投影ヒス
トグラムが得られる。また、重み付け投影により高速に
且つ精度よく文字列を抽出できる。さらに、文字形状が
複雑で文字接触がある場合でも接触文字塊が除去される
ため、正確に文字列を抽出できる。
By the integration process, a clearer projection histogram can be obtained. In addition, a character string can be extracted at high speed and with high accuracy by weighted projection. Furthermore, even when the character shape is complicated and there is a character contact, the contact character block is removed, so that the character string can be accurately extracted.

【0116】また、例えば、上下左右の文字列間で文字
が接触し、入力データ中の文字サイズがほぼ一様である
ことが予め分かっている場合には、外接矩形に対して文
字の高さの平均を算出する文字高さ算出部71(図示せ
ず)を設ける。さらに、平均文字高さのサイズの所定倍
以上の外接矩形を接触文字塊として除去する接触文字除
去部72(図示せず)を備えるようにしてもよい。そし
て、接触文字塊を除く外接矩形に対して前記ステップ2
04以後の処理を施すようにしてもい。
For example, if a character touches between upper, lower, left, and right character strings and it is known in advance that the character size in the input data is substantially uniform, the height of the character relative to the circumscribed rectangle is determined. Is provided with a character height calculation unit 71 (not shown) for calculating the average of. Further, a contact character removing unit 72 (not shown) that removes a circumscribed rectangle having a size equal to or more than a predetermined size of the average character height as a contact character block may be provided. Then, step 2 is applied to the circumscribed rectangle excluding the contact character block.
The processing after 04 may be performed.

【0117】これにより、上下に文字同士の接触がある
ときでも正確に文字列を抽出することができる。 <実施例3> 次に、実施例3について説明する。図24は実施例3の
構成ブロック図である。重み付け投影部64aは、外接
矩形の縦方向又は横方向の線分上の位置に応じ た重み付
けの値を投影軸に対して投影することにより投影ヒスト
グラムを求める。具体的には、重み付け投影部64a
は、個々の外接矩形ごとに、パターンの外接矩形の縦又
は横方向線分の上端及び下端をピークとしその上端から
の距離,下端からの距離に応じて減衰する重み付けの値
(図22(b)中三角形で表している)を投影軸J2、
J3に投影することにより投影ヒストグラムH2、H3
を算出する(図22(b)参照)。文字列軸決定部66
aは、上端の投影ヒストグラムH2のピーク値と下端の
投影ヒストグラムH3のピーク値とから文字列の中心軸
を決定する。文字列抽出部68aは、接触文字列塊を除
く外接矩形に対して前記中心軸と夫々の外接矩形の中心
との距離とに基づきパターンの属する文字列を抽出する
ようになっている。
As a result, a character string can be accurately extracted even when there is contact between characters at the top and bottom. Third Embodiment Next, a third embodiment will be described. FIG. 24 is a configuration block diagram of the third embodiment. The weighting projection unit 64a
Weighting according to the position on the vertical or horizontal line segment of the rectangle
The projection history is projected to the projection axis.
Ask for grams. Specifically, the weighted projection unit 64a
Is a weighting value for each of the circumscribed rectangles, which peaks at the upper and lower ends of the vertical or horizontal line segments of the circumscribed rectangle of the pattern and attenuates according to the distance from the upper end and the distance from the lower end (FIG. 22 (b) ) (Represented by a medium triangle), projection axis J2,
By projecting onto J3, the projection histograms H2, H3
Is calculated (see FIG. 22B). Character string axis determination unit 66
a determines the center axis of the character string from the peak value of the projection histogram H2 at the upper end and the peak value of the projection histogram H3 at the lower end. The character string extracting unit 68a extracts a character string to which a pattern belongs from the circumscribed rectangle excluding the contact character string block, based on the distance between the center axis and the center of each circumscribed rectangle.

【0118】さらに、複数の文字列軸が横切る外接矩形
を接触文字列塊として除去する文字接触除去部73を備
える。 <実施例3の処理> 図25は実施例3の処理フロー図である。次に、実施例
3の処理を説明する。重み付け投影部64aが、図22
(b)に示すように、パターンの外接矩形の縦又は横方
向線分の上端及び下端をピークとしその上端からの距
離,下端からの距離に応じて減衰する重み付けの値を投
影軸J2、J3に投影することにより投影ヒストグラム
H2、H3を算出する(ステップ301)。この方法で
は、上(下)端から外接矩形の高さ中心に向かって値が
減少するように重み付けをした投影を行う。これによ
り、図22(b)に示す上端の投影H2と下端の投影H
3が得られる。
Further, there is provided a character contact removal section 73 for removing a circumscribed rectangle crossed by a plurality of character string axes as a contact character string block. <Processing of Third Embodiment> FIG. 25 is a processing flowchart of the third embodiment. Next, processing of the third embodiment will be described. The weighting projection unit 64a
As shown in (b), the values of the weights that peak at the upper and lower ends of the vertical or horizontal line segment of the circumscribed rectangle of the pattern and attenuate according to the distance from the upper end and the distance from the lower end are projected axes J2 and J3. To calculate projection histograms H2 and H3 (step 301). In this method, weighted projection is performed so that the value decreases from the upper (lower) end toward the center of the height of the circumscribed rectangle. Thereby, the projection H2 at the upper end and the projection H at the lower end shown in FIG.
3 is obtained.

【0119】そして、文字列軸決定部66aが、上端の
投影ヒストグラムH2のピーク値と下端の投影ヒストグ
ラムH3のピーク値とを求めて、そのピーク値の中心を
文字列の中心軸に決定する(ステップ302)。
Then, the character string axis determination unit 66a obtains the peak value of the projection histogram H2 at the upper end and the peak value of the projection histogram H3 at the lower end, and determines the center of the peak value as the central axis of the character string ( Step 302).

【0120】 次に、接触文字除去部73が、夫々の外
矩形のうち、複数の文字列軸が横切る外接矩形を上下
に文字が接触したものとして除外する(ステップ30
3)。そして、文字列抽出部68aが、各残りの外接矩
形に対して、夫々の外接矩形と文字列軸との距離を算出
し、距離が最小となった文字列軸にその外接矩形が属す
るものとし、文字列を抽出する(ステップ304)。
[0120] Then, touching character removal unit 73, the circumscribed rectangle of each exclude enclosing rectangle multiple strings axis crosses as characters vertically contacts (Step 30
3). Then, the character string extraction unit 68a calculates the distance between each of the circumscribed rectangles and the character string axis with respect to each of the remaining circumscribed rectangles, and assumes that the circumscribed rectangle belongs to the character string axis with the minimum distance. Then, a character string is extracted (step 304).

【0121】図26に実施例2の方法と従来方法である
黒画素の投影結果と示す。また、図27に実施例2の方
法と従来方法の外接矩形中心の重み付け投影結果を示
す。図26及び図27において、文字列右端のヒストグ
ラムは実施例2の処理結果であり、左端のヒストグラム
は従来手法の処理結果を示す。
FIG. 26 shows the method of the second embodiment and the result of projection of black pixels according to the conventional method. FIG. 27 shows the weighted projection results of the center of the circumscribed rectangle in the method of the second embodiment and the conventional method. 26 and 27, the histogram at the right end of the character string is the processing result of the second embodiment, and the histogram at the left end is the processing result of the conventional method.

【0122】前記図27の従来技術(文字列左端)のヒ
ストグラムは、同図に示すように、文字同士が上下で接
触しているにもかかわらず、単純に外接矩形の重み付け
投影を行った場合である。これに対して本実施例2で
は、図20のステップ207〜210に対して本実施例
2では、図20のステップ207〜210に示したよう
な接触文字の除去を行った後に重み付け投影を行ってい
るため、高精度な文字列抽出が可能となっている。
As shown in FIG. 27, the histogram of the prior art (left end of the character string) is obtained by simply performing weighted projection of the circumscribed rectangle despite the fact that the characters are in contact with each other up and down. It is. On the other hand, in the second embodiment, in contrast to steps 207 to 210 in FIG. 20, in the second embodiment, weighted projection is performed after removing the contact characters as shown in steps 207 to 210 in FIG. Therefore, highly accurate character string extraction is possible.

【0123】図28に上下の文字列間で文字接触がある
場合の文字列抽出結果を示す。左端のヒストグラムが上
端投影の結果を示し、右端のヒストグラムが下端投影の
結果を示している。そして、夫々の投影のヒストグラム
のピークを示す。文字列軸はこのピークの中心となる。
FIG. 28 shows the result of character string extraction when there is a character contact between the upper and lower character strings. The leftmost histogram shows the result of the top projection, and the rightmost histogram shows the result of the bottom projection. Then, the peak of the histogram of each projection is shown. The string axis is the center of this peak.

【0124】このように実施例2及び実施例3によれ
ば、文字列同士が近接し、ある文字の一部が他の文字列
に属している場合にも、パターン外接矩形の縦(幅)方
向線分に対して、その高さ位置に応じた重み付け投影を
行うことにより、高い精度かつ高速に文字列を抽出する
ことができる。
As described above, according to the second and third embodiments, even when the character strings are close to each other and a part of a certain character belongs to another character string, the vertical (width) of the circumscribed rectangle of the pattern can be reduced. By performing weighted projection according to the height position on the direction line segment, a character string can be extracted with high accuracy and high speed.

【0129】[0129]

【発明の効果】本発明によれば、文字列同士が近接し、
ある文字の一部が他の文字列に属している場合にも、パ
ターン外接矩形の縦(幅)方向線分に対して、その高さ
位置に応じた重み付け投影を行うことにより、高精度か
つ高速に文字列を抽出することができる。
According to the present invention, character strings are close to each other,
Even when a part of a certain character belongs to another character string, weighted projection according to the height position is performed on the vertical (width) direction line segment of the circumscribed rectangle of the pattern, thereby achieving high accuracy and high accuracy. Character strings can be extracted at high speed.

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

【図1】 第1の発明に係る文字の切り出し装置の原理
図である。
FIG. 1 is a principle diagram of a character cutout device according to a first invention.

【図2】 第2の発明に係る文字列の抽出装置の原理図
である。
FIG. 2 is a principle diagram of a character string extracting device according to a second invention.

【図3】 参考例の構成ブロック図である。FIG. 3 is a configuration block diagram of a reference example.

【図4】 参考例の処理フローである。FIG. 4 is a processing flow of a reference example.

【図5】 平均文字サイズ算出処理フローである。FIG. 5 is a flowchart of an average character size calculation process.

【図6】 簡易認識による小分離ストローク統合処理を
示すフロー
FIG. 6 is a flowchart showing small separation stroke integration processing by simple recognition.

【図7】 ラベリングを示す図である。FIG. 7 is a diagram showing labeling.

【図8】 部分パターンの外接矩形座標値の算出を示す
図である。
FIG. 8 is a diagram showing calculation of a circumscribed rectangular coordinate value of a partial pattern.

【図9】 平均文字サイズ算出方法を示す図である。FIG. 9 is a diagram showing an average character size calculation method.

【図10】 ピッチの算出方法を示す図である。FIG. 10 is a diagram illustrating a method of calculating a pitch.

【図11】 統合を示す図である。FIG. 11 is a diagram showing integration.

【図12】 線密度算出法を示す図である。FIG. 12 is a diagram showing a linear density calculation method.

【図13】 横長のストロークに対して横方向線密度算
出した場合の失敗例を示す図である。
FIG. 13 is a diagram illustrating an example of failure when calculating a horizontal linear density for a horizontally long stroke.

【図14】 傾き算出法を示す図である。FIG. 14 is a diagram illustrating a slope calculation method.

【図15】 5及び7の分離ストロークの角度を示す図
である。
FIG. 15 is a diagram showing angles of separation strokes of 5 and 7;

【図16】 線密度算出法を説明する図である。FIG. 16 is a diagram illustrating a linear density calculation method.

【図17】 複数方向線密度算出法を説明する図であ
る。
FIG. 17 is a diagram illustrating a method of calculating a linear density in a plurality of directions.

【図18】 文字の切り出しパターンの一例を示す図FIG. 18 is a view showing an example of a character cutout pattern;

【図19】 実施例2の構成ブロック図である。FIG. 19 is a configuration block diagram of a second embodiment.

【図20】 実施例2の処理フロー図である。FIG. 20 is a processing flowchart of the second embodiment.

【図21】 夫々の文字の外接矩形を示す図である。FIG. 21 is a diagram showing a circumscribed rectangle of each character.

【図22】 重み付け投影を示す図である。FIG. 22 is a diagram showing weighted projection.

【図23】 文字列軸を示す図である。FIG. 23 is a diagram illustrating a character string axis.

【図24】 実施例3の構成ブロック図である。FIG. 24 is a configuration block diagram of a third embodiment.

【図25】 実施例3の処理フロー図である。FIG. 25 is a processing flowchart of the third embodiment.

【図26】 実施例2の方法と従来方法による黒画素の
投影結果を示す図
FIG. 26 is a diagram showing a result of projecting black pixels by the method of the second embodiment and the conventional method.

【図27】 実施例2の方法と従来方法による外接矩形
中心の重み付け投影結果を示す図
FIG. 27 is a diagram showing weighted projection results of the center of a circumscribed rectangle by the method of the second embodiment and the conventional method.

【図28】 上下の文字列間で文字接触がある場合の文
字列抽出結果を示す図である。
FIG. 28 is a diagram showing a character string extraction result when there is a character contact between upper and lower character strings.

【図29】 文字列間のオーバハング例を示す図であ
る。
FIG. 29 is a diagram illustrating an example of overhang between character strings.

【図30】 平均文字ピッチ算出処理フローである。FIG. 30 is an average character pitch calculation processing flow.

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

12・・入力パターン部 14・・連結パターン抽出部 16・・文字列抽出部 18・・平均文字サイズ算出手段 20・・小分離ストローク抽出部 21・・文字ピッチ算出部 22・・平均文字サイズ・ピッチ統合部 24・・確信度統合部 26・・簡易認識処理部 32・・ヒストグラム算出部 34・暫定平均文字サイズ算出部 36・・文字サイズ算出領域決定部 38・・平均文字サイズ算出部 42・・小分離ストローク線密度算出部 44・・傾き算出部 46,50・・文字サイズ判別部 48・・右隣接矩形線密度算出部 52・・直角線密度算出部 61・・文字形状判定部 62・・外接矩形統合部 64・・重み付け投影部 66・・文字列軸決定部 68・・文字列抽出部 71・・文字高算出部 72,73,75・・接触文字除去部 74・・文字サイズ算出部 12. Input pattern part 14. Concatenated pattern extraction part 16. Character string extraction part 18. Average character size calculation means 20 Small separation stroke extraction part 21 Character pitch calculation part 22 Average character size Pitch integration unit 24, certainty integration unit 26, simple recognition processing unit 32, histogram calculation unit 34, provisional average character size calculation unit 36, character size calculation region determination unit 38, average character size calculation unit 42・ Small separation stroke linear density calculator 44 ・ ・ Slope calculator 46,50 ・ ・ Character size discriminator 48 ・ ・ Right adjacent rectangular line density calculator 52 ・ ・ Right angle linear density calculator 61 ・ ・ Character shape determiner 62 ・A circumscribed rectangle integrating unit 64 a weighting projection unit 66 a character string axis determining unit 68 a character string extracting unit 71 a character height calculating unit 72, 73, 75 a contact character removing unit 74 ..Character size calculator

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06K 9/20 G06K 9/34 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06K 9/20 G06K 9/34

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字列の連結情報に基づいて文字の部分
パターンを抽出するパターン抽出手段(14)と、 抽出された部分パターンに外接する外接矩形の縦又は横
方向の線分上の位置に応じた重み付けの値を投影軸に対
して投影することにより投影ヒストグラムを求める重み
付け投影手段(64)と、 前記投影軸に投影された投影ヒストグラムのピーク値に
基づき文字列軸を決定する文字列軸決定手段(66)
と、 前記文字列軸と外接矩形の中心との距離に基づいて前記
部分パターンの属する文字列を抽出する文字列抽出手段
(68)とを備えた文字列の切り出し装置。
1. A pattern extracting means (14) for extracting a partial pattern of a character based on character string concatenation information, and a vertical or horizontal circumscribed rectangle circumscribing the extracted partial pattern.
The weighting value corresponding to the position on the line segment in the direction
Weighting projection means for determining a projection histogram by to the projection (64), the string axis determining means for determining a string axis based on the peak value of the projected histogram projected onto the projection axis (66)
And a character string extracting means (68) for extracting a character string to which the partial pattern belongs based on the distance between the character string axis and the center of the circumscribed rectangle.
【請求項2】 請求項1において、 前記重み付け投影手段(64)は、パターンの外接矩形
の縦又は横方向線分の中心から線分の両端点に向かって
重みが増加していく重み付け投影を行い、 前記文字列軸決定手段(66)は、投影ヒストグラムの
ピーク値から文字列の中心軸を決定し、 前記文字列抽出手段(68)は、前記中心軸と夫々の外
接矩形の中心との距離とに基づきパターンの属する文字
列を抽出する文字列の切り出し装置。
2. The weighted projection means (64) according to claim 1, wherein the weighted projection means (64) increases the weight from the center of the vertical or horizontal line segment of the circumscribed rectangle of the pattern toward both end points of the line segment. The character string axis determining means (66) determines the central axis of the character string from the peak value of the projection histogram, and the character string extracting means (68) determines the position of the central axis and the center of each circumscribed rectangle. A character string cutout device for extracting a character string to which a pattern belongs based on a distance.
【請求項3】 請求項1において、外接矩形に対して文
字の高さの平均を算出する算出手段(71)と、 平均文字高さのサイズの所定倍以上の外接矩形を接触文
字塊として除去する除去手段(72)とを備え、 前記重み付け投影手段(64)は、前記接触文字塊を除
く外接矩形に対して処理を施す文字列の切り出し装置。
3. The method according to claim 1, further comprising: calculating means for calculating an average of the heights of the characters with respect to the circumscribed rectangle; A character string cutout device that performs processing on a circumscribed rectangle excluding the contact character block.
【請求項4】 請求項1において、複数の文字列軸が横
切る外接矩形を接触文字列塊として除去する除去手段
(73)を備え、 前記重み付け投影手段(64)は、パターンの外接矩形
の縦又は横方向線分の上端及び下端をピークとしその上
端からの距離,下端からの距離に応じて重み付け投影を
行い、 前記文字列軸決定手段(66)は、パターン外接矩形の
上端からの距離に応じた重み付け投影値と下端からの距
離に応じた重み付け投影値のそれぞれから投影のピーク
値を抽出し、両ピーク値の中心位置を文字列軸の位置と
みなして文字列軸を決定し、 前記文字列抽出手段(68)は、前記接触文字列塊を除
く外接矩形に対して前記中心軸と夫々の外接矩形の中心
との距離とに基づきパターンの属する文字列を抽出する
文字列の切り出し装置。
4. The method according to claim 1, further comprising removing means (73) for removing a circumscribed rectangle crossed by a plurality of character string axes as a contact character string chunk, wherein said weighting projection means (64) includes a vertical circumscribed rectangle of the pattern. Alternatively, the upper and lower ends of the horizontal line segment are set as peaks, and weighted projection is performed according to the distance from the upper end and the distance from the lower end .
The weighted projection value according to the distance from the top and the distance from the bottom
The peak of the projection from each of the weighted projection values according to the distance
Value and extract the center position of both peak values with the position of the character string axis.
Considering the character string axis, the character string extracting means (68) determines whether the pattern belongs to the circumscribed rectangle excluding the contacted character string block based on the distance between the center axis and the center of each circumscribed rectangle. A character string extraction device that extracts character strings.
【請求項5】 請求項2又は請求項4において、さら
に、夫々の外接矩形同士が重なる場合に重なった外接矩
形同士を統合する外接矩形統合部(61)を備え、 前記重み付け投影手段(64)は、前記外接矩形統合処
理後の外接矩形に対して処理を施す文字列の切り出し装
置。
5. The weighted projection means (64) according to claim 2, further comprising a circumscribed rectangle integrating unit (61) for integrating the circumscribed rectangles overlapping each other when the respective circumscribed rectangles overlap. Is a character string cutout apparatus for performing processing on the circumscribed rectangle after the circumscribed rectangle integration processing.
【請求項6】 請求項において、前記統合の結果に対
して平均文字サイズを算出する算出手段(74)と、 平均文字サイズの所定倍以上の外接矩形を接触文字塊と
して除去する除去手段(75)とを備え、 前記重み付け投影手段(64)は、前記接触文字塊を除
く外接矩形に対して処理を施す文字列の切り出し装置。
6. A method according to claim 5 , wherein the calculating means calculates an average character size based on the result of the integration, and the removing means removes a circumscribed rectangle having a predetermined size or more than the average character size as a contact character block. 75), wherein the weighting projection unit (64) is a character string cutout device that performs processing on a circumscribed rectangle excluding the contact character block.
【請求項7】 文字列の連結情報に基づいて文字の部分
パターンを抽出する抽出ステップと、 抽出された部分パターンに外接する外接矩形の縦又は横
方向の線分上の位置に応じた重み付けの値を投影軸に対
して投影することにより投影ヒストグラムを求める投影
ステップと、 前記投影軸に投影された投影ヒストグラムのピーク値に
基づき文字列軸を決定する決定ステップと、 前記文字列軸と外接矩形の中心との距離に基づいて前記
部分パターンの属する文字列を抽出する抽出ステップと
を含む文字列の切り出し方法。
7. An extracting step of extracting a character partial pattern based on character string concatenation information; and a vertical or horizontal circumscribed rectangle circumscribing the extracted partial pattern.
The weighting value corresponding to the position on the line segment in the direction
Distance to the projection determining the projection histogram by projecting, a determination step of determining a string axis based on the peak value of the projected histogram projected onto the projection axis, with the center of the circumscribed rectangle and the string axis Extracting a character string to which the partial pattern belongs based on the character string.
JP03068699A 1999-02-08 1999-02-08 Apparatus and method for extracting character string Expired - Lifetime JP3285837B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03068699A JP3285837B2 (en) 1999-02-08 1999-02-08 Apparatus and method for extracting character string

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03068699A JP3285837B2 (en) 1999-02-08 1999-02-08 Apparatus and method for extracting character string

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP5140428A Division JP2933801B2 (en) 1993-06-11 1993-06-11 Method and apparatus for cutting out characters

Publications (2)

Publication Number Publication Date
JPH11338972A JPH11338972A (en) 1999-12-10
JP3285837B2 true JP3285837B2 (en) 2002-05-27

Family

ID=12310581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03068699A Expired - Lifetime JP3285837B2 (en) 1999-02-08 1999-02-08 Apparatus and method for extracting character string

Country Status (1)

Country Link
JP (1) JP3285837B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4611224B2 (en) * 2006-02-24 2011-01-12 シャープ株式会社 Image feature area dividing program and computer-readable recording medium

Also Published As

Publication number Publication date
JPH11338972A (en) 1999-12-10

Similar Documents

Publication Publication Date Title
JP2933801B2 (en) Method and apparatus for cutting out characters
JP3453134B2 (en) How to determine equivalence of multiple symbol strings
US5390259A (en) Methods and apparatus for selecting semantically significant images in a document image without decoding image content
US5539841A (en) Method for comparing image sections to determine similarity therebetween
US7302099B2 (en) Stroke segmentation for template-based cursive handwriting recognition
US5410611A (en) Method for identifying word bounding boxes in text
JP3259993B2 (en) Word form measurement method and image signal processing method
JPH05242292A (en) Separating method
Tran et al. Page segmentation using minimum homogeneity algorithm and adaptive mathematical morphology
Shafii Optical character recognition of printed persian/arabic documents
JP4704601B2 (en) Character recognition method, program, and recording medium
JPH08167000A (en) Device and method for character recognition
JP3285837B2 (en) Apparatus and method for extracting character string
Adamski et al. Binary handwriting image enhancement by directional field-guided morphology
JP3947173B2 (en) Table image processing apparatus, program recording medium, and table image processing method
JP3077929B2 (en) Character extraction method
Kumar et al. A simple text-line segmentation method for handwritten documents
Titijaroonroj Modified stroke width transform for Thai text detection
JPH0468481A (en) Character segmenting device
JP3343305B2 (en) Character extraction device and character extraction method
JP3428504B2 (en) Character recognition device
JP4878057B2 (en) Character recognition method, program, and recording medium
JP3344069B2 (en) Character segmentation device
JP3329528B2 (en) Document reader
Babczyński et al. Direct Tensor Voting in line segmentation of handwritten documents

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010911

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020219

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

Free format text: PAYMENT UNTIL: 20080308

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090308

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100308

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100308

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110308

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110308

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120308

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130308

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130308

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20140308

Year of fee payment: 12

EXPY Cancellation because of completion of term