JPH03253987A - Picture normalizing system - Google Patents

Picture normalizing system

Info

Publication number
JPH03253987A
JPH03253987A JP2053372A JP5337290A JPH03253987A JP H03253987 A JPH03253987 A JP H03253987A JP 2053372 A JP2053372 A JP 2053372A JP 5337290 A JP5337290 A JP 5337290A JP H03253987 A JPH03253987 A JP H03253987A
Authority
JP
Japan
Prior art keywords
pixel
picture
image
normalization
normalized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2053372A
Other languages
Japanese (ja)
Other versions
JP2918606B2 (en
Inventor
Hideaki Yamagata
秀明 山形
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2053372A priority Critical patent/JP2918606B2/en
Publication of JPH03253987A publication Critical patent/JPH03253987A/en
Application granted granted Critical
Publication of JP2918606B2 publication Critical patent/JP2918606B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To shorten the processing time by determining a point on a normalized picture corresponding to each picture element on the normalized picture in accordance with a ratio of sizes of the picture before and after normalization and determining a black or white picture element correspondingly to the picture element of the point on the unnormalized picture corresponding to a noticed picture element on the normalized picture. CONSTITUTION:A corresponding point determining part 12 determines coordinates of a corresponding point in accordance with longitudinal and transverse sizes of the unnormalized picture stored in a picture memory 10 and preliminarily designated longitudinal and transverse sizes of the normalized picture and reports it to a converting part 14, and this part 14 reads out picture element information from the picture memory 10 with respect to the corresponding point of the normalized picture element in accordance with corresponding point coordinate information reported from the corresponding point determining part 12 and determines the color of the normalized picture element to write information '0' or '1' in a picture memory 16. Thus, high-speed normalization processing is possible.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像の正規化方式に係り、特に文字認識装置
において特徴抽出に先立つ文字画像の正規化に好適な正
規化方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image normalization method, and particularly to a normalization method suitable for normalizing a character image prior to feature extraction in a character recognition device.

〔従来の技術〕[Conventional technology]

一般に文字認識装置においては、文字画像をある特定の
高さ及び幅を持つ画像に正規化した後に、文字画像の特
徴量を抽出し辞書とのマツチング処理を行う。
Generally, in a character recognition device, after normalizing a character image into an image having a certain specific height and width, feature quantities of the character image are extracted and matching processing with a dictionary is performed.

従来、このような画像の正規化方式には、次のような方
式が知られている。
Conventionally, the following methods are known as such image normalization methods.

■ OR(論理和演算)による正規化 正規化後画像上の画像毎に正規化前画像上の対J工・領
域を求め、対応領域中に黒画素が1画素でも存在すれば
正規化後画素は黒画素とする。
■ Normalization by OR (logical sum operation) For each image on the normalized image, find the pair J area on the pre-normalized image, and if there is even one black pixel in the corresponding area, it is the normalized pixel. is a black pixel.

■ AND (論理積演算)による正規化正規化後画像
上の画素毎に正規化前画像上の対応領域を求め、対応領
域中の全画素が黒画素であれば正規化後画素を黒画素と
する。
■ Normalization by AND (logical product operation) Find the corresponding area on the pre-normalized image for each pixel on the normalized image, and if all pixels in the corresponding area are black pixels, consider the normalized pixel as a black pixel. do.

■ 閾値を用いる正規化 特開昭52−43312号公報等に述べられている方式
であり、正規化後画像上の画素毎に正規化前画像上の対
応領域を求め、対応領域中の黒画素数やそれに準じた値
を算出し、その値がある閾値を越えたときに正規化機画
素を黒画素とする。
■ Normalization using a threshold This is a method described in Japanese Patent Application Laid-Open No. 52-43312, etc., in which a corresponding area on the pre-normalized image is determined for each pixel on the normalized image, and black pixels in the corresponding area are A number or a similar value is calculated, and when the value exceeds a certain threshold, the normalizer pixel is set as a black pixel.

■ 開引きによる正規化 正規化後画像上の画素毎に正規化前画像上の対応点を求
め、対応点の値を正規化機画素の値とする。
(2) Normalization by opening and pulling Find a corresponding point on the pre-normalization image for each pixel on the normalized image, and use the value of the corresponding point as the value of the normalized pixel.

■ 非線形正規化 様々な方式があるが、−膜内には文字画像の分布の状態
を抽出し、密な部分は広げ、疎な部分は圧縮するように
正規化する。
■Nonlinear normalization There are various methods. - The state of the distribution of character images within the film is extracted, and normalization is performed so that dense areas are widened and sparse areas are compressed.

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

しかし、上記正規化方式は、画像の“つぶれ″や″かす
れ″が生じやすいという問題があり、また上記閾値を用
いる止規化方式や上記非線形正規化方式は処理時間が長
いという問題もある。
However, the normalization method described above has a problem in that images are likely to be "blurred" or "fainted," and the regularization method using the threshold value and the nonlinear normalization method described above also have a problem in that the processing time is long.

文字認識の場合1文字画像のホールの個数や位置などを
文字の特徴量として用いることが多いため、パつぶれ″
や細い線分のパかすれ″はホールの消失を招き認識結果
に及ぼす影響は大きい。
In the case of character recognition, the number and position of holes in a single character image are often used as character features, so
``fading or blurring of thin line segments'' leads to the disappearance of holes, which has a large effect on the recognition results.

よって本発明の目的は、そのようなホールの消失を招く
“つぶれ”や″かすれ”が生じにくく文字認識における
文字画像の正規化処理に好適で、処理時間もさほどかか
らない画像正規化方式を提供することにある。
Therefore, it is an object of the present invention to provide an image normalization method that is suitable for character image normalization processing in character recognition, which is less likely to cause "smashing" or "blurring" that would lead to the disappearance of such holes, and which does not require much processing time. There is a particular thing.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するために、本発明の画像正規化方式で
は、正規化の前後の画像の大きさの比より正規化後画像
上の各画素に対する正規化後画像上の対応点を決定し、
正規化後画像上の注目した画素に対する正規化前画像上
の対応点が黒画素であるときに該注目した画素を黒画素
とし、注目した隣接画素のそれぞれに対する正規化前画
像上の対応点がすべて白画素でありかつ該対応点間に黒
画素が存在するときに該注目した隣接画素の中の一画素
を黒画素とし、以上のいずれの条件も満たさない正規化
後画像上の画素を白画素とするものである。
In order to achieve the above object, the image normalization method of the present invention determines a corresponding point on the normalized image for each pixel on the normalized image based on the ratio of the image sizes before and after normalization,
When the corresponding point on the pre-normalization image for a pixel of interest on the image after normalization is a black pixel, the pixel of interest is considered a black pixel, and the corresponding point on the image before normalization for each of the neighboring pixels of interest is a black pixel. When all pixels are white and there is a black pixel between the corresponding points, one pixel among the adjacent pixels of interest is considered a black pixel, and pixels on the normalized image that do not satisfy any of the above conditions are white. This is a pixel.

〔作 用〕[For production]

説明を簡単にするため、1次元で考える。 To simplify the explanation, we will consider it in one dimension.

正規化複画像のサイズをR51z6、正規化前画像のサ
イズを○5izeとする。そして正規化後画像上の各画
素に対する正規化前画像上の対応点を次式によって決定
する。
The size of the normalized double image is R51z6, and the size of the image before normalization is ○5ize. Then, the corresponding point on the pre-normalization image for each pixel on the post-normalization image is determined by the following equation.

T[Xコ = 0sizeX X/ R51ze・・・
式(1) ただし、又は正規化機画素の座標であり、T[Xコは対
応点である。
T [X co = 0sizeX X/ R51ze...
Equation (1) However, or is the coordinate of the normalized pixel, and T[X is the corresponding point.

そして、R5ize(O5izeの場合に、次の条件に
より正規化後の画素の色(白、黒)を決定する。
Then, in the case of R5ize (O5ize), the color (white, black) of the pixel after normalization is determined according to the following conditions.

a) 正規化後画像上の注目した画素(X)の対応点(
T [X] )が黒画素であれば、注目画素(X)を黒
画素とする。
a) Corresponding point of the pixel (X) of interest on the image after normalization (
If T [X] ) is a black pixel, the pixel of interest (X) is set as a black pixel.

b) 正規化後画像上の注目した画素(X)とその隣の
画素(X+1)の対応点(T [X]とT[X+L])
の両方が白画素で、この対応点間に黒画素が存在すれば
、注目した画素(X)または隣接画素(X+1)を黒画
素とする。
b) Corresponding points between the pixel of interest (X) and the pixel next to it (X+1) on the normalized image (T[X] and T[X+L])
If both of these pixels are white pixels and there is a black pixel between these corresponding points, the pixel of interest (X) or the adjacent pixel (X+1) is determined to be a black pixel.

C) 上記a)の条件も上記b)の条件も成立しない画
素(X)は白画素とする。
C) A pixel (X) for which neither the above condition a) nor the above condition b) is satisfied is a white pixel.

R5ize≧0sizeの場合には、式(1)によって
求めた対応点が白画素のときには正規化機画素を白画素
とし、対応点が黒画素のときには正規化機画素を黒画素
とすればよい。
In the case of R5ize≧0size, when the corresponding point obtained by equation (1) is a white pixel, the normalizer pixel is set as a white pixel, and when the corresponding point is a black pixel, the normalizer pixel is set as a black pixel.

実際的な2次元画像に適用する場合、各方向について式
(1)を適用して対応点を求め、上記a。
When applied to a practical two-dimensional image, equation (1) is applied to each direction to find corresponding points, and step a.

b、cのルールを各方向に適用すればよい。Rules b and c may be applied to each direction.

このような正規化方式によれば、正規化前画像において
離れていた部分は正規化後も離れた画像となり、また正
規化前画像上の細い線分は正規化後も保存される。した
がって、文字認識のための文字画像の正規化に適用すれ
ば、′かすれ”や′つぶれ“によるホールなどの特徴量
の消失を防ぐことができる。また、アルゴリズムも単純
であるので、閾値を用いる正規化方式や非線形正規化方
式に比べ処理時間を短縮できる。
According to such a normalization method, portions that were separated in the image before normalization remain separate images even after normalization, and thin line segments on the image before normalization are preserved even after normalization. Therefore, if applied to the normalization of character images for character recognition, it is possible to prevent features such as holes from disappearing due to ``blurring'' or ``blurring''. Furthermore, since the algorithm is simple, the processing time can be reduced compared to a normalization method using a threshold value or a nonlinear normalization method.

〔実施例〕〔Example〕

第1図は正規化装置の概略ブロック図である。 FIG. 1 is a schematic block diagram of a normalization device.

正規化前画像は画像メモリ10に格納される。対応点決
定部12は1画像メモリエ0に格納された正規化前画像
の縦横サイズと予め指定された正規化機画像の縦横サイ
ズより対応点の座標を決定し変換部14に通知する。1
6は正規化機画像を格納するための画像メモリである。
The pre-normalized image is stored in the image memory 10. The corresponding point determining unit 12 determines the coordinates of the corresponding points from the vertical and horizontal sizes of the pre-normalized image stored in the 1-image memory 0 and the vertical and horizontal sizes of the normalized image specified in advance, and notifies the converting unit 14 of the coordinates. 1
6 is an image memory for storing the normalized image.

変換部14は、対応点決定部12より通知された対応点
座標情報に従い、正規化機画素の対応点について画像メ
モリ10より画素情報を読み出し正規化機画素の色(白
、黒)を決定して画像メモリ16に“OI+または“工
″の情報を書き込む。
The conversion unit 14 reads out pixel information from the image memory 10 regarding the corresponding points of the normalized pixels according to the corresponding point coordinate information notified by the corresponding point determination unit 12, and determines the color (white, black) of the normalized pixels. Then, the information “OI+” or “Engine” is written in the image memory 16.

正規化の具体例を第2図により説明する。第2図におい
て、20は120X120画素の正規化前画像、22は
正規化前画像20の9×9画素部分、24は30X30
画素の正規化機画像、26は正規化機画像24の3×3
画素部分である。
A specific example of normalization will be explained with reference to FIG. In FIG. 2, 20 is a 120×120 pixel image before normalization, 22 is a 9×9 pixel portion of the pre-normalization image 20, and 24 is a 30×30 pixel portion.
Pixel normalized image, 26 is 3×3 of normalized image 24
This is the pixel part.

前記式(1)によって対応点を求めると数表のようにな
る。
When the corresponding points are determined using the above equation (1), the result is as shown in the numerical table.

第工表 例えば正規化機画素(0,O)の色を決める。No. 1 schedule For example, the color of the normalizer pixel (0, O) is determined.

対応点■は白画素である。隣りの画素(0,1)の対応
点■は白画素で対応点■■間に黒画素がない。また別方
向の隣接画素(1,0)の対応点■は白画素で、対応点
■■間に黒画素がない。すなわち前記a、bのいずれの
ルールにも合致しないため、前記Cのルールにより正規
化機画素(0゜O)は白画素に決定する。
The corresponding point ■ is a white pixel. The corresponding point ■ of the adjacent pixel (0, 1) is a white pixel, and there is no black pixel between the corresponding points ■■. Further, the corresponding point (■) of the adjacent pixel (1, 0) in the other direction is a white pixel, and there is no black pixel between the corresponding points (■). That is, since it does not match either rule a or b, the normalized pixel (0°O) is determined to be a white pixel according to rule C.

正規化機画素(0,l)の対応点■は白画素である。隣
の画素(0,2)の対応点■も白画素であり、対応点■
■の間に黒画素はない。別方向の隣接画素(1,L)の
対応点■は黒画素である。
The corresponding point ■ of the normalizer pixel (0, l) is a white pixel. The corresponding point ■ of the adjacent pixel (0, 2) is also a white pixel, and the corresponding point ■
There are no black pixels between ■. The corresponding point ■ of the adjacent pixel (1, L) in the other direction is a black pixel.

すなわち前記a、bのいずれのルールにも合致しないの
で、前記Cのルールに従って正規化機画素(0,↓)は
白画素に決定する。
That is, since it does not match either rule a or b, the normalizer pixel (0, ↓) is determined to be a white pixel according to rule C.

正規化機画素(1,O)の対応点■は白画素であるが、
隣接画素(1,1)の対応点■は黒画素であるため、■
と■の間で前記a、bのいずれのルールにも合致しない
。しかし隣接画素(2,O)の対応点■は白画素であり
対応点■■間に黒画素が存在するので、前記すのルール
により注目している正規化機画素(L、O)を黒画素に
決定する。
The corresponding point ■ of the normalizer pixel (1, O) is a white pixel, but
Since the corresponding point ■ of the adjacent pixel (1, 1) is a black pixel, ■
and ■ does not match either rule a or b. However, the corresponding point ■ of the adjacent pixel (2, O) is a white pixel, and there is a black pixel between the corresponding points Decide on pixels.

ただし隣接画素のほうを黒画素としてもよい。However, the adjacent pixel may be a black pixel.

正規化機画素(L、L)の対応点■は黒画素であるから
前記aのルールにより正規化機画素(1゜1)を黒画素
とする。
Since the corresponding point (2) of the normalizer pixel (L, L) is a black pixel, the normalizer pixel (1°1) is set as a black pixel according to the rule a.

〔発明の効果〕 以上の説明から明らかな如く1本発明の正規化方式は、
文字画像の重要な特徴量であるホールの消失等の原因と
なる″つぶれ″や″かすれ″が生じにくく、文字認識装
置における文字画像の正規化に好適であり、また正規化
アルゴリズムも単純で高速の正規化処理が可能となる。
[Effects of the Invention] As is clear from the above explanation, the normalization method of the present invention is as follows:
It is less likely to cause "blurring" or "blurring" that causes holes, which are important features of character images, to disappear, making it suitable for normalizing character images in character recognition devices, and the normalization algorithm is simple and fast. normalization processing becomes possible.

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

前後の画像を示す図である。 10・・・正規化前画像メモリ、 12・・・対応点決定部、 14・・・変換部、16・
・・正規化複画像メモリ、 20・・・正規化前画像、 24・・正規化機画像。 第2図
It is a figure showing images before and after. 10... Image memory before normalization, 12... Corresponding point determination section, 14... Conversion section, 16.
...Normalized double image memory, 20.. Image before normalization, 24.. Normalization machine image. Figure 2

Claims (1)

【特許請求の範囲】[Claims] (1)画像の大きさの正規化方式であって、正規化の前
後の画像の大きさの比より正規化後画像上の各画素に対
する正規化後画像上の対応点を決定し、正規化後画像上
の注目した画素に対する正規化前画像上の対応点が黒画
素であるときに該注目した画素を黒画素とし、注目した
隣接画素のそれぞれに対する正規化前画像上の対応点が
すべて白画素でありかつ該対応点間に黒画素が存在する
ときに該注目した隣接画素の中の一画素を黒画素とし、
以上のいずれの条件も満たさない正規化後画像上の画素
を白画素とすることを特徴とする画像の正規化方式。
(1) A normalization method for image size, in which a corresponding point on the normalized image for each pixel on the normalized image is determined from the ratio of the image sizes before and after normalization, and normalization is performed. When the corresponding point on the pre-normalization image to the pixel of interest on the subsequent image is a black pixel, the pixel of interest is considered a black pixel, and the corresponding points on the pre-normalization image for each of the neighboring pixels of interest are all white. pixel and there is a black pixel between the corresponding points, one pixel among the adjacent pixels of interest is designated as a black pixel,
An image normalization method characterized in that pixels on a normalized image that do not satisfy any of the above conditions are treated as white pixels.
JP2053372A 1990-03-05 1990-03-05 Image normalization method Expired - Fee Related JP2918606B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2053372A JP2918606B2 (en) 1990-03-05 1990-03-05 Image normalization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2053372A JP2918606B2 (en) 1990-03-05 1990-03-05 Image normalization method

Publications (2)

Publication Number Publication Date
JPH03253987A true JPH03253987A (en) 1991-11-13
JP2918606B2 JP2918606B2 (en) 1999-07-12

Family

ID=12940984

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2053372A Expired - Fee Related JP2918606B2 (en) 1990-03-05 1990-03-05 Image normalization method

Country Status (1)

Country Link
JP (1) JP2918606B2 (en)

Also Published As

Publication number Publication date
JP2918606B2 (en) 1999-07-12

Similar Documents

Publication Publication Date Title
JP2940936B2 (en) Tablespace identification method
US5202933A (en) Segmentation of text and graphics
JP2880572B2 (en) Method of configuring separation mask for halftone area
US5065437A (en) Identification and segmentation of finely textured and solid regions of binary images
EP0807297B1 (en) Method and apparatus for separating foreground from background in images containing text
US5434953A (en) Use of fast textured reduction for discrimination of document image components
WO2011112522A2 (en) Text enhancement of a textual image undergoing optical character recognition
CN109241973B (en) Full-automatic soft segmentation method for characters under texture background
US6983071B2 (en) Character segmentation device, character segmentation method used thereby, and program therefor
JPH03253987A (en) Picture normalizing system
Murguia Document segmentation using texture variance and low resolution images
US5960127A (en) Efficient methods of performing morphological operations
JP7402931B2 (en) METHODS, COMPUTER READABLE PROGRAMS AND SYSTEM
JP2960468B2 (en) Method and apparatus for binarizing grayscale image
JP2853510B2 (en) Image noise removal device
JP3344791B2 (en) Line segment extraction method
KR100343672B1 (en) Blocking method of document video
Mony et al. A Novel Edge Detection Method on the Effect of Illumination for Reducing Noise on a Color Image
CN115330593A (en) Super-resolution single image construction method and equipment
CN115049837A (en) Characteristic diagram interference removing method and screen shot watermark identification method comprising same
JPH09167228A (en) Method and device for transformation, method and device for reshaping picture using them and system using them
CN114926363A (en) Histogram compactness transformation-based detail-preserving image contrast enhancement method
JP3009428B2 (en) Shadow separation method
JP2875285B2 (en) Image normalization method
CN111951323A (en) Method for grid sequencing and calculating crack number and corresponding area thereof

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees