JPH0468669B2 - - Google Patents
Info
- Publication number
- JPH0468669B2 JPH0468669B2 JP58160763A JP16076383A JPH0468669B2 JP H0468669 B2 JPH0468669 B2 JP H0468669B2 JP 58160763 A JP58160763 A JP 58160763A JP 16076383 A JP16076383 A JP 16076383A JP H0468669 B2 JPH0468669 B2 JP H0468669B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- pitch
- estimated
- frequent value
- frequent
- 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
Links
- 239000011295 pitch Substances 0.000 claims description 64
- 238000001514 detection method Methods 0.000 claims description 11
- 238000007476 Maximum Likelihood Methods 0.000 claims description 4
- 239000000284 extract Substances 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 description 12
- 238000000926 separation method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 238000000605 extraction Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
Landscapes
- Character Input (AREA)
Description
【発明の詳細な説明】
発明の詳細な説明
本発明は紙面上に記載された文字列イメージを
個々に分離するための文字ピツチを自動的に検出
する文字ピツチ検出装置に関するものである。各
種印刷文字等を光学的に読み取る装置(以下、
OCRと呼ぶ)において、一連の文字を認識する
場合、各文字を1字毎に分離して文字認識部に送
出してやる必要がある。各文字を1字毎に分離す
るために必要となる情報として文字ピツチがあ
り、OCRの読み取り対象となる印刷物の大きさ
や種類が限定されれば、前もつて与えることがで
きる。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character pitch detection device that automatically detects character pitches for separating individual character string images written on paper. A device that optically reads various printed characters, etc. (hereinafter referred to as
When recognizing a series of characters using OCR, it is necessary to separate each character and send them to the character recognition unit. Character pitch is information needed to separate each character, and if the size and type of printed matter to be read by OCR is limited, it can be provided in advance.
しかし、最近のように、OCRにおける読み取
り対象も不特定な文字ピツチを持つ郵便物や文書
のような広汎な適用範囲のものがとられると、前
以つて、文字ピツチを知ることができないため、
紙面上の文字列イメージから文字ピツチを推定す
る必要が生じる。従来の文字ピツチの推定方法と
して、例えば、平均文字ピツチなどが用いられて
いた。しかし、英印字文字のように、フオントや
文字カテゴリーによつて、個々の文字幅が大きく
異なる場合や接触する文字数が増加した場合に
は、上述した平均文字ピツチと実際の文字ピツチ
とでは、一文字の分離を行う時に生じる誤差が無
視できなくなる。そのため、例えば、上述した平
均文字ピツチを用いて、文字間で接触が生じた多
くの文字を含む文字列イメージを分離した場合に
は、接触した文字の個数を誤まつたり、不正確な
分離位置で切断されたりする。 However, as has recently been the case, when OCR scans a wide range of applications such as mail and documents with unspecified character pitch, it is difficult to know the character pitch in advance.
It becomes necessary to estimate character pitch from a character string image on paper. As a conventional method for estimating character pitch, for example, average character pitch has been used. However, when the width of individual characters differs greatly depending on the font or character category, such as in the case of English printed characters, or when the number of characters that touch each other increases, the average character pitch mentioned above and the actual character pitch differ by one character. The error that occurs when performing the separation cannot be ignored. Therefore, for example, if you use the above-mentioned average character pitch to separate a character string image that includes many characters that are in contact with each other, the number of characters that are in contact may be mistaken, or the separation position may be inaccurate. or be cut off.
そこで、本発明の目的は、上述した問題点を解
決するために、白地で分離可能な複数個の文字イ
メージ即ち、文字塊から算出される文字塊間距離
に関する頻度分布を、複数個の文字塊の平均高さ
から始めて、クラスター化しながら、推定文字ピ
ツチを更新するようにした文字ピツチ検出装置を
提供することにある。 SUMMARY OF THE INVENTION Therefore, in order to solve the above-mentioned problems, it is an object of the present invention to calculate the frequency distribution of the distance between character clusters calculated from a plurality of character images that can be separated on a white background, that is, from character clusters. An object of the present invention is to provide a character pitch detection device that updates the estimated character pitch while clustering starting from the average height of the character.
本発明の他の目的は、紙面上の一連の文字イメ
ージに文字間の接触を含む文字イメージや1文字
が2文字に分離する文字イメージが含まれていて
も、安定にしかも最良な文字ピツチを推定するこ
とが可能な文字ピツチ検出装置を提供することに
ある。 Another object of the present invention is to achieve stable and optimal character pitch even when a series of character images on paper include character images that include contact between characters or character images that separate one character into two characters. An object of the present invention is to provide a character pitch detection device capable of estimating character pitch.
本発明によれば、紙面上に記載された一連の文
字列イメージを走査し、一文字単位に分離するた
めの文字ピツチを抽出する文字ピツチ検出装置に
おいて、前記一連の文字列イメージから白地で分
離可能な複数個の文字イメージ(以下、文字塊と
呼ぶ)を順次検出する手段と、複数個の文字塊の
始端位置の間又は終端位置の間の距離を示す文字
塊間距離を算出し、文字塊間距離の頻度を記憶す
る頻度分布テーブルと、複数個の文字塊の高さか
ら文字ピツチの予測区間を設定し、頻度分布テー
ブルを用いて、最頻度値n1及び最頻度値文字塊間
距離p1を予測区間内で検出し、文字塊間距離p1を
推定文字ピツチp^(1)とする手段と、文字ピツチの
k倍(但し、k=2,3…)の予測区間を順次算
出される推定文字ピツチp^(k−1)(但し、k=
2,3…)から設定し、頻度分布テーブルを用い
て、最頻度値nk及び最頻度値文字塊間距離pkを予
測区間内で検出する手段と、k個の最頻度値文字
塊間距離p1,p2,…pk及び最頻度値n1,n2,…nk
を用いて、推定文字ピツチp^kの最尤推定を行う
ことによつて推定文字ピツチp^(k−1)を更新
する手段とを有することを特徴とする文字ピツチ
検出装置が得られる。 According to the present invention, in a character pitch detection device that scans a series of character string images written on a paper surface and extracts character pitches for separating each character, it is possible to separate the character string images from the series of character string images using a white background. means for sequentially detecting a plurality of character images (hereinafter referred to as character blocks); and a means for sequentially detecting a plurality of character images (hereinafter referred to as character blocks); Set a prediction interval for character pitch based on a frequency distribution table that stores the frequency of distance between characters and the height of multiple character clusters, and use the frequency distribution table to calculate the most frequent value n 1 and the distance between most frequent value character clusters. p 1 is detected within the prediction interval, and the distance between character blocks p 1 is set as the estimated character pitch p^(1), and a prediction interval of k times the character pitch (however, k = 2, 3, etc.) is sequentially set. The estimated character pitch p^(k-1) (where k=
2, 3...) and uses a frequency distribution table to detect the most frequent value n k and the distance p k between the most frequent value character blocks within the prediction interval; Distances p 1 , p 2 ,...p k and most frequent values n 1 , n 2 ,...n k
There is obtained a character pitch detection device characterized in that it has means for updating the estimated character pitch p^(k-1) by performing maximum likelihood estimation of the estimated character pitch p^k using .
以下、本発明における具体的一実施例を参照し
て説明する。 Hereinafter, the present invention will be described with reference to a specific embodiment.
第1図は本発明が適用される文字列イメージの
一部を示した一例である。図において、斜線で示
した白地で分離可能な文字イメージ即ち文字塊を
矩形領域を示している。図中Hi(i=1……7)
は、各文字塊の高さを示している。図中Vi(i=
1……7)は文字塊間距離の一例であり、各文字
塊の始端位置から次に出現する文字塊の始端位置
までの距離を示している。ここで、文字塊間距離
は、図1の記号Vi(i=1……7)の一例で示し
たように各文字塊の始端間で測定される距離のみ
ならず、各文字塊の終端間で測定される距離も含
むものである。即ち、文字塊間距離は、各文字塊
の始端(終端)位置から次又は次以降に出現する
文字塊の始端(終端)位置の間で測定される距離
を意味する。尚、図10の記号V10で示すよう
な、文字行の最後に出現する文字塊の幅は、特殊
な文字塊間距離として取り扱うことは可能である
が、本発明では文字塊間距離には含めないものと
する。 FIG. 1 is an example showing a part of a character string image to which the present invention is applied. In the figure, a white background indicated by diagonal lines indicates a rectangular area containing separable character images, ie, character blocks. Hi in the figure (i=1...7)
indicates the height of each character block. In the figure Vi(i=
1...7) is an example of the distance between character blocks, and indicates the distance from the starting position of each character block to the starting position of the next appearing character block. Here, the distance between character blocks is not only the distance measured between the starting edges of each character block, as shown in the example of the symbol Vi (i = 1...7) in Figure 1, but also the distance measured between the ends of each character block. It also includes the distance measured by . That is, the distance between character blocks means the distance measured from the start (end) position of each character block to the start (end) position of the next or subsequent character blocks. Note that the width of a character block that appears at the end of a character line, as shown by symbol V10 in FIG. 10, can be treated as a special distance between character blocks, but in the present invention, it is not included in the distance between character blocks. Make it not exist.
第2図は、第1図で示したような一連の文字塊
間距離の頻度分布の一例である。図において、頻
度分布の横軸Vは、文字塊間距離Vの値を示して
おり、縦軸NUMは、任意の文字塊間距離におけ
る頻度値を示している。そこで、第2図を用い
て、本発明の原理を説明する。 FIG. 2 is an example of the frequency distribution of distances between a series of character blocks as shown in FIG. In the figure, the horizontal axis V of the frequency distribution indicates the value of the distance V between character blocks, and the vertical axis NUM indicates the frequency value at an arbitrary distance between character blocks. Therefore, the principle of the present invention will be explained using FIG. 2.
第1図で示した複数個の文字塊の高さH1,
H2,……の平均高さHnと、係数α1,α2(但し、
α1<α2)から予測区間C1を設定する。次に、予
測区間C1内で、一定許容幅△γ(図中、△γ=
1)で、最頻度値n1及び最頻度値n1を持つ文字塊
間距離p1を求める。尚、図において、最頻度値n1
は5となる。ここで、文字塊間距離p1を推定文字
ピツチp^(1)とする。通常、文字間の接触等がな
く、最頻度値n1が大きければ、推定文字ピツチp^
(1)を文字ピツチと見なすことも可能であるが、前
述した条件下では、p^(1)だけでは推定誤差が大き
くなることがある。 The height H 1 of the plurality of character blocks shown in Fig. 1,
The average height H n of H 2 , ... and the coefficients α 1 , α 2 (however,
A prediction interval C 1 is set from α 1 <α 2 ). Next, within the prediction interval C 1 , a certain tolerance width △γ (in the figure, △γ=
In 1), the most frequent value n 1 and the distance p 1 between character blocks having the most frequent value n 1 are determined. In addition, in the figure, the most frequent value n 1
becomes 5. Here, the distance between character blocks p 1 is assumed to be the estimated character pitch p^(1). Normally, if there is no contact between characters, and the most frequent value n 1 is large, the estimated character pitch p^
Although (1) can be regarded as character pitch, under the conditions described above, the estimation error may become large if only p^(1) is used.
そこで、推定文字ピツチp^(1)から、文字ピツチ
の2倍となる予測区間C2を2・p^(1)±α3より設定
し、予測区間C2内で、一定許容幅△γで最頻度
値n2及び最頻度値n2を持つ文字塊間距離p2を求め
る。ここで、定数α3は、推定文字ピツチp^(1)の精
度、例えば、最頻度値n1に応じて、設定すること
も可能である。 Therefore, from the estimated character pitch p^(1), a prediction interval C 2 that is twice the character pitch is set from 2・p^(1)±α 3 , and within the prediction interval C 2 , a certain allowable width △γ Find the most frequent value n 2 and the distance p 2 between character blocks having the most frequent value n 2 . Here, the constant α 3 can also be set depending on the precision of the estimated character pitch p^(1), for example, the most frequent value n 1 .
次に、推定文字ピツチp^(1)を次のようにして更
新し、より正確な推定文字ピツチp^(2)を求める。
より正確な推定文字ピツチは、得られた最頻度値
文字塊間距離p1,p2及び最頻度値n1,n2を用いた
最尤推定によつて行われる。 Next, the estimated character pitch p^(1) is updated as follows to obtain a more accurate estimated character pitch p^(2).
More accurate estimated character pitch is performed by maximum likelihood estimation using the obtained most frequent value inter-character cluster distances p 1 , p 2 and most frequent values n 1 , n 2 .
例えば、p^(2)=1/2
〓K=1
k・√k・(√1・p1+
2・√2・p2/2)を計算することによつて、推定
文字ピツチp^(2)を得ることができる。 For example, p^(2)= 1 / 2 〓 K=1 k・√ k・(√ 1・p 1 +
By calculating 2.√ 2.p 2 /2), the estimated character pitch p^(2) can be obtained.
同様にして、推定文字ピツチp^(2)から、文字ピ
ツチの3倍となる予測区間C3を3p^(2)±α3より設
定し、最頻度値n3及び最頻度値n3を持つ文字塊間
距離p3を求め、推定文字ピツチp^(3)を同様にして
更新する。一般に、文字ピツチの倍となる予測
区間Cから得られた上記文字塊間距離p及び
最頻度値nまでの文字塊間距離及び最頻度値を
用いて、得られる線形最良推定文字ピツチp^()
は、p^()=l
〓k=1
w(k,nk)・pk/kより算出できる。 Similarly, from the estimated character pitch p^(2), a prediction interval C 3 that is three times the character pitch is set from 3p^(2)±α 3 , and the most frequent value n 3 and the most frequent value n 3 are The distance p 3 between character blocks is calculated, and the estimated character pitch p^(3) is updated in the same way. In general, the linear best estimated character pitch p^( )
can be calculated from p^()= l 〓 k=1 w(k, n k )·p k /k.
尚、上述した係数w(k,nk)は整数値k及び
最頻度値nkによつて定まり、例えば、k・√k/
l
〓k=1
k・√kより得られる。更に、前述した最尤
推定値p^()は、加算部、乗算部、除算部によ
つて、容易に計算されることは言うまでもない。
更に、加算や乗算部・除算分の順序性を変えるこ
とによつて、計算時間を減少させることも可能で
ある。 The coefficient w(k, n k ) mentioned above is determined by the integer value k and the most frequent value n k , for example, k・√ k /
Obtained from l 〓 k=1 k・√ k . Furthermore, it goes without saying that the aforementioned maximum likelihood estimate p^() can be easily calculated by the addition section, multiplication section, and division section.
Furthermore, the calculation time can be reduced by changing the order of addition, multiplication, and division.
第3図は本発明の具体的一実施例を示す論理ブ
ロツク図である。走査装置1は、紙面上に記載さ
れた文字列イメージを光学的に走査して、電気信
号に変換し、2値量子化後、文字列イメージメモ
リ2へ書き込む。文字塊抽出装置3は、文字列イ
メージメモリ2に格納された複数個の文字列イメ
ージから文字塊を順次抽出し、各文字塊の始点位
置及び大きさを文字塊レジスタ4へ格納する。
尚、文字塊の大きさは、文字塊の幅及び高さを表
わすものとする。また、このような文字抽出装置
は例えば、同一出願人による特願昭56−27512号
明細書で示されている技術を用いることができ
る。制御装置7は、順次、文字塊レジスタ4から
転送される文字塊の始点位置から文字塊間距離を
算出し、頻度分布テーブル6の対応する文字塊間
距離のアドレス位置の内容である頻度値をインク
リメントする。このようにして、メモリから構成
される頻度分布テーブル6に、第2図に示したよ
うな文字塊間距離の頻度分布が生成される。尚、
頻度分布テーブル6は、最初0に初期化されてい
るとする。次に、制御装置7によつて、文字塊レ
ジスタ4に格納された複数個の文字塊の高さから
平均高さHnが算出され、予測区間算出部8へ転
送される。 FIG. 3 is a logic block diagram showing a specific embodiment of the present invention. A scanning device 1 optically scans a character string image written on a paper surface, converts it into an electrical signal, and writes it into a character string image memory 2 after binary quantization. The character block extraction device 3 sequentially extracts character blocks from a plurality of character string images stored in the character string image memory 2, and stores the starting position and size of each character block in the character block register 4.
Note that the size of a character block represents the width and height of the character block. Further, such a character extraction device can use, for example, the technique disclosed in Japanese Patent Application No. 1983-27512 filed by the same applicant. The control device 7 sequentially calculates the distance between character blocks from the starting position of the character blocks transferred from the character block register 4, and calculates the frequency value that is the content of the address position of the corresponding distance between character blocks in the frequency distribution table 6. Increment. In this way, the frequency distribution of distances between character blocks as shown in FIG. 2 is generated in the frequency distribution table 6 constructed from memory. still,
It is assumed that the frequency distribution table 6 is initially initialized to 0. Next, the control device 7 calculates an average height H n from the heights of the plurality of character blocks stored in the character block register 4 and transfers it to the prediction interval calculation unit 8 .
定数レジスタ20は、第2図で示した係数α1,
α2(但し、α1<α2)を格納し、定数レジスタ21
は第2図で示した係数α3を格納する。22はカウ
ンタであり、値k(但し、初期値として1)がセ
ツトされている。制御装置7によつて、予測区間
算出部8へ、平均高さHnが入力されると、予測
区間算出部8は、定数レジスタ20より係数α1及
びα2を入力し、α1・Hn及びα2・Hnを前述した予
測区間の下限値及び上限値として算出し、最頻度
文字塊間距離検出部9へ転送する。一方、制御装
置7によつて、予測区間算出部8へ、後述する推
定文字ピツチp^(k)が入力されると、予測区間算出
部8は、定数レジスタ21より係数α3を入力し、
更に、カウンタ22よりカウンタ値kを入力し
て、k・p^(k)−α3及びk・p^(k)+α3を前述した予
測区間の下限値及び上限値として算出し、最頻度
文字塊間距離検出部9へ転送する。 The constant register 20 stores the coefficients α 1 ,
α 2 (however, α 1 < α 2 ) is stored in the constant register 21.
stores the coefficient α 3 shown in FIG. 22 is a counter, and a value k (however, the initial value is 1) is set. When the control device 7 inputs the average height H n to the prediction interval calculation unit 8, the prediction interval calculation unit 8 inputs the coefficients α 1 and α 2 from the constant register 20, and calculates α 1 ·H n and α 2 ·H n are calculated as the lower and upper limits of the prediction interval described above, and are transferred to the most frequent character block distance detection unit 9. On the other hand, when the estimated character pitch p^(k), which will be described later, is input to the prediction interval calculation unit 8 by the control device 7, the prediction interval calculation unit 8 inputs the coefficient α 3 from the constant register 21,
Furthermore, by inputting the counter value k from the counter 22, k・p^(k)−α 3 and k・p^(k)+α 3 are calculated as the lower limit value and upper limit value of the prediction interval mentioned above, and the most frequent The data is transferred to the character block distance detection unit 9.
最頻度文字塊間距離検出部9は、予測区間算出
部8より入力された予測区間の下限値と上限値内
に属する文字塊間距離の頻度値を制御装置7を介
して、頻度分布テーブル6より読み出し、一定許
容幅△γ(但し、△γ=1,2…)で最頻度値を
持つ文字塊間距離pk及び最頻度値nkを求め、レジ
スタ10に格納する。尚、文字塊間距離pk及び最
頻度値nkは、カウンタ22の値kに応じて、レジ
スタ10の所定の位置にセツトされる。文字ピツ
チ演算部11は、カウンタ22の値k及びレジス
タ10に格納された文字塊間距離p1,p2,……pk
及び最頻度値n1,n2,…を用いて、推定文字ピツ
チp^(k)を算出し、推定文字ピツチレジスタ12へ
格納する。推定文字ピツチレジスタ12に推定文
字ピツチp^(k)がセツトされると、制御装置7によ
つて、カウンタ22を1カウントアツプすると共
に、推定文字ピツチp^(k)を予測区間算出部8へ転
送される。 The most frequent character block distance detection unit 9 uses the frequency value of the distance between character blocks that falls within the lower limit and upper limit of the prediction interval inputted from the prediction interval calculation unit 8 to the frequency distribution table 6 through the control device 7. The character block distance p k and the most frequent value n k having the most frequent value within a certain allowable width Δγ (where Δγ = 1, 2, . . . ) are determined and stored in the register 10. Note that the distance p k between character blocks and the most frequent value n k are set at predetermined positions in the register 10 according to the value k of the counter 22. The character pitch calculation unit 11 calculates the value k of the counter 22 and the distances between character blocks p 1 , p 2 , . . . p k stored in the register 10.
and the most frequent values n 1 , n 2 , . . . to calculate the estimated character pitch p^(k) and store it in the estimated character pitch register 12. When the estimated character pitch p^(k) is set in the estimated character pitch register 12, the control device 7 increments the counter 22 by 1 and sets the estimated character pitch p^(k) to the prediction interval calculation unit 8. will be forwarded to.
前述した推定文字ピツチp^(k)は第2図で示した
ような計算式で求められる。 The estimated character pitch p^(k) mentioned above is obtained by the calculation formula shown in FIG.
以上の動作が繰り返えされ、頻度分布テーブル
6上の文字塊間距離の頻度をすべて、調べられる
と、文字ピツチの最適な推定値が推定文字ピツチ
レジスタ12へセツトされる。1文字分離手段5
は、推定文字ピツチレジスタ12にセツトされた
文字ピツチ及び文字塊レジスタ4に格納された文
字塊の位置及び大きさ情報に基づいて、1文字単
位の分離を行う。1文字分離手段5は、公知の技
術を用いて行うことができる。 The above operation is repeated, and when all the frequencies of the distances between character clusters on the frequency distribution table 6 are checked, the optimum estimated value of character pitch is set in the estimated character pitch register 12. Single character separation means 5
performs character-by-character separation based on the character pitch set in the estimated character pitch register 12 and the position and size information of the character block stored in the character block register 4. The single character separation means 5 can be performed using a known technique.
なお、“,”や“.”等について、予め従来行な
われているノイズ除去方法にてこれ等を取り除い
た後に本発明装置にて文字ピツチの検出を行なえ
ばより効果は大きく、特に文字数の少ない場合に
おいて効果は大きい。 Note that the effect will be greater if characters such as "," and "." are removed in advance using a conventional noise removal method and then the character pitch is detected using the device of the present invention, especially when the number of characters is small. The effect is great in some cases.
以上、述べたように、本発明を用いることによ
り、予め文字ピツチがわからなくとも、また、文
字塊の接触や文字間の分離を含む文字イメージが
含まれていても正確に、文字ピツチを測定するこ
とが容易に実現できる。 As described above, by using the present invention, it is possible to accurately measure character pitch even if the character pitch is not known in advance or even if character images include contact between character clusters or separation between characters. This can be easily achieved.
第1図は、本発明が適用される文字列イメージ
の一部を一例として示した図、第2図は、紙面上
の文字塊間距離の頻度分布の一例を示す図、第3
図は、本発明の具体的一実施例を示す論理ブロツ
ク図である。
図において、1は走査装置、2は文字列イメー
ジメモリ、3は文字塊抽出装置、4は文字塊レジ
スタ、6は頻度分布テーブル、8は予測区間算出
部、9は最頻度文字塊間距離検出部、10はレジ
スタ、11は推定ピツチ演算部、12は推定文字
ピツチレジスタ、20及び21は定数レジスタ、
22はカウンタ、5は一文字分離手段、7は制御
装置である。
FIG. 1 is a diagram showing an example of a part of a character string image to which the present invention is applied, FIG. 2 is a diagram showing an example of the frequency distribution of distances between character blocks on paper, and FIG.
The figure is a logical block diagram showing a specific embodiment of the present invention. In the figure, 1 is a scanning device, 2 is a character string image memory, 3 is a character block extraction device, 4 is a character block register, 6 is a frequency distribution table, 8 is a prediction interval calculation unit, and 9 is a distance detection between most frequent character blocks 10 is a register, 11 is an estimated pitch calculation unit, 12 is an estimated character pitch register, 20 and 21 are constant registers,
22 is a counter, 5 is a character separating means, and 7 is a control device.
Claims (1)
走査し、一文字単位に分離するための文字ピツチ
を抽出する文字ピツチ検出装置において、前記一
連の文字列イメージから白地で分離可能な複数個
の文字塊を順次検出する手段と、前記複数個の文
字塊の始端位置の間又は終端位置の間の距離を示
す文字塊間距離を算出し、該文字塊間距離の頻度
を記憶する頻度分布テーブルと、前記複数個の文
字塊の高さから文字ピツチの予測区間を設定し、
前記頻度分布テーブルを用いて、最頻度値n1及び
最頻度値文字塊間距離p1を該予測区間内で検出
し、該最頻度値文字塊間距離P1を推定文字ピツ
チp^(1)とする手段と、推定文字ピツチのk倍(但
し、k=2,3……)となる予測区間を順次算出
される推定文字ピツチp^(k−1)(但し、k=
2,3……)から設定し、該頻度分布テーブルを
用いて、該最頻度値nk及び該最頻度値文字塊間距
離pkを該予測区間内で検出する手段と、k個の該
最頻度値文字塊間距離p1,p2,……pk及び該最頻
度値n1,n2,……nkを用いて、該推定文字ピツチ
p^(k)の最尤推定を行うことによつて該推定文
字ピツチp^(k−1)を更新する手段とを有する
ことを特徴とする文字ピツチ検出装置。1. In a character pitch detection device that scans a series of character string images written on a paper surface and extracts character pitches for separating character by character, a plurality of characters that can be separated on a white background from the series of character string images are detected. means for sequentially detecting clusters; and a frequency distribution table for calculating distances between character clusters indicating distances between starting positions or terminal positions of the plurality of character clusters, and storing frequencies of the distances between character clusters. , setting a prediction interval for character pitch from the heights of the plurality of character blocks;
Using the frequency distribution table, the most frequent value n 1 and the most frequent value inter-character block distance p 1 are detected within the prediction interval, and the most frequent value inter-character block distance P 1 is calculated as the estimated character pitch p^(1 ), and an estimated character pitch p^(k-1) (where k=
2, 3...) and using the frequency distribution table to detect the most frequent value n k and the most frequent value inter-character block distance p k within the prediction interval; The estimated character pitch is calculated using the most frequent value inter-character block distances p 1 , p 2 , ... p k and the most frequent values n 1 , n 2 , ... n k .
A character pitch detection device comprising means for updating the estimated character pitch p^(k-1) by performing maximum likelihood estimation of p^(k).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58160763A JPS6054083A (en) | 1983-09-01 | 1983-09-01 | Character pitch detecting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58160763A JPS6054083A (en) | 1983-09-01 | 1983-09-01 | Character pitch detecting device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6054083A JPS6054083A (en) | 1985-03-28 |
| JPH0468669B2 true JPH0468669B2 (en) | 1992-11-04 |
Family
ID=15721930
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58160763A Granted JPS6054083A (en) | 1983-09-01 | 1983-09-01 | Character pitch detecting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6054083A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0673304U (en) * | 1992-07-13 | 1994-10-18 | 住友建機株式会社 | Engine oil impurity removal circuit |
-
1983
- 1983-09-01 JP JP58160763A patent/JPS6054083A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6054083A (en) | 1985-03-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4594732A (en) | Letter pitch detection system | |
| US5513277A (en) | Measuring character and stroke sizes and spacings for an image | |
| US20090052786A1 (en) | Computer vision-based methods for enhanced jbig2 and generic bitonal compression | |
| US5923782A (en) | System for detecting and identifying substantially linear horizontal and vertical lines of engineering drawings | |
| JP5337194B2 (en) | Image processing device | |
| EP4036871B1 (en) | Image processing apparatus, image processing method, program and storage medium | |
| JPH0468669B2 (en) | ||
| JPH0430070B2 (en) | ||
| US7680329B2 (en) | Character recognition apparatus and character recognition method | |
| JPH0410087A (en) | Base line extracting method | |
| JPH0567237A (en) | Method and device for blank recognition, character recognition device and english/japanese trasnslation device | |
| JPH0471232B2 (en) | ||
| JP2007280345A (en) | Image processing apparatus, image direction determination method, and image direction determination program | |
| EP0206829A2 (en) | Character input apparatus | |
| JP2861860B2 (en) | Address line extraction device | |
| JPH04352295A (en) | System and device for identifing character string direction | |
| JP2630261B2 (en) | Character recognition device | |
| JPH0326427B2 (en) | ||
| JPS60164878A (en) | Device for detecting character pitch | |
| JPS60164879A (en) | Character separating device | |
| JP4129898B2 (en) | Character size estimation method and apparatus | |
| CN115937867B (en) | A Word-Precision-Based Lyrics Timing Extraction Method and a Computer-Readable Storage Medium | |
| JPH0259502B2 (en) | ||
| JPS58214969A (en) | Character reading device | |
| JPH04276885A (en) | Character segmenting appartus |