Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2827628B2 - Pattern deformation method - Google Patents
[go: Go Back, main page]

JP2827628B2 - Pattern deformation method - Google Patents

Pattern deformation method

Info

Publication number
JP2827628B2
JP2827628B2 JP3298051A JP29805191A JP2827628B2 JP 2827628 B2 JP2827628 B2 JP 2827628B2 JP 3298051 A JP3298051 A JP 3298051A JP 29805191 A JP29805191 A JP 29805191A JP 2827628 B2 JP2827628 B2 JP 2827628B2
Authority
JP
Japan
Prior art keywords
pattern
mapping
pixel
pixel value
deformation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP3298051A
Other languages
Japanese (ja)
Other versions
JPH05108881A (en
Inventor
雅彦 濱中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3298051A priority Critical patent/JP2827628B2/en
Publication of JPH05108881A publication Critical patent/JPH05108881A/en
Application granted granted Critical
Publication of JP2827628B2 publication Critical patent/JP2827628B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文字認識における方向
特徴パタンを水平方向および垂直方向の変形用写像関数
に従って変形させるパタン変形方式に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern deformation method for deforming a directional feature pattern in character recognition in accordance with a mapping function for horizontal and vertical deformation.

【0002】[0002]

【従来の技術】文字認識の特徴抽出処理では、方向特徴
の有効性が、例えば「電子通信学会論文誌(D)、Vo
l.J65−D、No.5、pp.550−557(昭
和57年5月)、斎藤、山田、山本:手書漢字の方向パ
ターン・マッチング法による解析」などに示されてい
る。このような方向特徴を用いる手法では、特徴抽出を
した後に特徴パタンの重ね合わせにより分類処理を行う
ことが多いので、文字パタンの大きさの正規化は不可欠
な処理となる。従来は線形変形する手法が用いられてい
たが、文字パタンのストロークの位置ずれを補正する非
線形正規化法が重ね合わせ的分類処理に効果的であるこ
とが示されている。このような非線形正規化法には、例
えば「電子通信学会論文誌(D)、Vol.J67−
D、No.11、pp.1379−1383(昭和59
年11月)、山田、斎藤、山本:線密度イコライゼーシ
ョン−相関法のための非線形正規化法−」や特開平1−
29988号「パタン正規化方式」などがある。この正
規化方式は、文字のストローク間隔が空間的に均一にな
るように文字パタンを変形するパタン変形方式の一つで
ある。
2. Description of the Related Art In a feature extraction process for character recognition, the validity of a directional feature is determined, for example, by referring to the IEICE Transactions (D), Vo.
l. J65-D, No. 5, pp. 550-557 (May 1982), Saito, Yamada, Yamamoto: Analysis of Handwritten Kanji by Direction Pattern Matching Method ". In such a method using directional features, classification processing is often performed by superimposing feature patterns after feature extraction, and thus normalization of character pattern size is indispensable processing. Conventionally, a method of performing linear deformation has been used, but it has been shown that a non-linear normalization method for correcting a positional displacement of a stroke of a character pattern is effective for superposition classification processing. Such a nonlinear normalization method includes, for example, “Transactions of the Institute of Electronics and Communication Engineers (D), Vol.
D, No. 11, pp. 1379-1383 (Showa 59
November), Yamada, Saito, Yamamoto: Linear density equalization-nonlinear normalization method for correlation method-
No. 29988, “Pattern normalization method” and the like. This normalization method is one of pattern deformation methods for deforming a character pattern so that the stroke intervals of the character are spatially uniform.

【0003】従来は、入力される二値パタンに対して正
規化処理を行い、正規化された二値パタンに対して方向
特徴抽出を行っていた。この場合、変形される画像は入
力二値パタンである。その正規化処理を図4および図1
2で説明する。図4は水平方向および垂直方向の写像
数による正規化を説明するための図である。図4の
(i,j)平面は原パタン上の位置情報を保持し、
(I,J)平面は変形パタン上の位置情報を保持してい
るものとする。ここでは、説明のための例として、原パ
タンを2×2画素、変形パタンを4×4画素とし、画素
の1辺の長さを1とするが、原パタン、変形パタンの画
素数はこれに限るものではない。図4の1正方小領域が
1画素に対応し、座標は実数で考える。また、(i,
I)平面上の曲線I=φ(i)と(j,J)平面上の曲
線J=ψ(j)は、水平方向および垂直方向の写像関数
である。この2つの写像関数により、(i,j)平面上
の1画素に対応する2点(0,0),(1,1)を頂点
に持つ正方小領域は(I,J)平面上の2点(0,
0),(I1,J1)を頂点に持つ長方形領域に写像され
る。しかし、この長方形領域と、(I,J)平面上のそ
れぞれの画素は1対1に対応しないので、変形パタンの
画素値は一意に決まらない。図12は入力二値パタンの
正規化を説明するための図である。図12(a)は0,
1を画素値に持つ入力二値パタン、図12(b)は変形
パタンである。この場合の変形パタンの画素値の決定法
として、(I,J)平面上のそれぞれの画素値は、その
画素を表す正方小領域の中心点を(i,j)平面上に逆
写像し、その写像点を含む(i,j)平面上の正方小領
域の画素値と等しくした。入力二値パタンを変形する場
合、文字線部である画素値1の領域の線幅が変わっても
あまり問題はなく、逆に連続性が必要であったため上記
の方式を用いていた。
Conventionally, normalization processing has been performed on an input binary pattern, and directional features have been extracted from the normalized binary pattern. In this case, the image to be transformed is an input binary pattern. FIG. 4 and FIG.
This will be described in 2. FIG. 4 is a diagram for explaining the normalization by the mapping function in the horizontal direction and the vertical direction. The (i, j) plane in FIG. 4 holds the position information on the original pattern,
It is assumed that the (I, J) plane holds position information on the deformation pattern. Here, as an example for explanation, the original pattern is 2 × 2 pixels, the modified pattern is 4 × 4 pixels, and the length of one side of the pixel is 1. However, the number of pixels of the original pattern and the modified pattern is It is not limited to. One square small area in FIG. 4 corresponds to one pixel, and the coordinates are considered as real numbers. Also, (i,
I) The curve I = φ (i) on the plane and the curve J = ψ (j) on the (j, J) plane are horizontal and vertical mapping functions. By these two mapping functions, a square small area having two points (0, 0) and (1, 1) corresponding to one pixel on the (i, j) plane as vertices is represented by a two-dimensional area on the (I, J) plane. The point (0,
0) and (I1, J1) are mapped to a rectangular area having vertices. However, since the rectangular area and each pixel on the (I, J) plane do not correspond one-to-one, the pixel value of the deformation pattern is not uniquely determined. FIG. 12 is a diagram for explaining the normalization of the input binary pattern. FIG.
An input binary pattern having 1 as a pixel value, and FIG. 12B is a modified pattern. As a method of determining the pixel value of the deformed pattern in this case, each pixel value on the (I, J) plane is inversely mapped on the (i, j) plane at the center point of the square small area representing the pixel. The pixel value was set equal to the pixel value of the square small area on the (i, j) plane including the mapping point. When the input binary pattern is deformed, there is not much problem even if the line width of the area of the pixel value 1 which is the character line portion changes, and conversely, since the continuity is required, the above method is used.

【0004】しかし、この正規化を行ってから方向特徴
抽出をする方式では、正規化処理によって文字パタンの
形状が変わり、文字パタンの方向の特徴が保存されない
という問題点が生じる。この問題を解決する方法とし
て、特開平1−111287号「特徴抽出方式」があ
る。この方式では、あらかじめ入力二値パタンから非線
形正規化のための写像関数と方向特徴を独立に求め、そ
の後に写像関数を用いて方向特徴を正規化する。これに
より、ストロークの位置ずれが補正され、かつ文字パタ
ンの方向特徴が保存される。
However, in the method of extracting the direction feature after performing the normalization, there is a problem that the shape of the character pattern is changed by the normalization process, and the feature of the direction of the character pattern is not preserved. As a method for solving this problem, there is Japanese Patent Application Laid-Open No. 1-111287 "feature extraction method". In this method, a mapping function and a directional feature for nonlinear normalization are independently obtained in advance from an input binary pattern, and then the directional feature is normalized using the mapping function. Thereby, the displacement of the stroke is corrected, and the directional characteristics of the character pattern are preserved.

【0005】[0005]

【発明が解決しようとする課題】変形される画素が入力
二値パタンである場合は、座標値の逆写像による対応画
素の画素値より変形パタンの画素値を求める方式により
パタン変形を実現していたが、入力二値パタンから非線
形正規化のための写像関数と方向特徴を独立に求め、そ
の後に写像関数を用いて方向特徴を正規化する特徴抽出
方式では、正規化されるのは方向特徴パタンであるた
め、従来と同様の変形方式では以下のような問題が生じ
る。方向特徴パタンは、文字パタンの輪郭部の局所的な
方向性により求められるため、その輪郭部にのみ特徴の
現れる線幅1の線図形である。そのパタンを上記の変形
方式により正規化すると、写像関数の傾きによって線幅
が2倍、3倍になったり、時には逆になくなってしまう
こともあり、方向特徴パタンの情報が不安定に変換され
てしまう。この変形された方向特徴パタンが分類処理に
用いられる特徴パタンに直接反映されてしまうので、結
果として認識能力は低下してしまう。
When the pixel to be transformed is an input binary pattern, the pattern transformation is realized by a method of obtaining the pixel value of the transformation pattern from the pixel value of the corresponding pixel by inverse mapping of the coordinate values. However, in the feature extraction method in which the mapping function and the directional feature for nonlinear normalization are independently obtained from the input binary pattern, and then the directional feature is normalized using the mapping function, the directional feature is normalized. Because of the pattern, the following problems occur in the same modification method as in the related art. The directional feature pattern is a line figure having a line width of 1 in which a feature appears only in the contour portion because the directional feature pattern is obtained by local directionality of the contour portion of the character pattern. If the pattern is normalized by the above-described deformation method, the line width may be doubled or tripled due to the inclination of the mapping function, and sometimes the line width may be lost. Would. Since the transformed direction feature pattern is directly reflected on the feature pattern used for the classification process, the recognition ability is reduced as a result.

【0006】本発明の目的は、方向特徴パタンの局所的
な領域における方向の度合いを表す特徴量を大きく変化
させることなく、方向特徴の位置ずれ補正を行う正規化
を実現するパタン変形方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a pattern deformation method which realizes normalization for correcting a positional shift of a directional feature without largely changing a feature amount indicating a degree of direction in a local region of the directional feature pattern. Is to do.

【0007】[0007]

【課題を解決するための手段】第1の発明は、画像の各
画素に対応する方向性を表す特徴量を成分とする多値方
向特徴パタンを、水平方向および垂直方向の変形用写像
関数に従って変形させるパタン変形方式において、方向
特徴パタンの情報を格納する方向特徴パタン情報記憶手
段と、水平方向および垂直方向の変形用写像関数を格納
する写像関数記憶手段と、前記方向特徴パタン情報記憶
手段から方向特徴パタンの情報を読み込み、各画素の中
心を通り方向特徴の方向に対して平行な中線を表す情報
を求める画素中線計算手段と、前記画素中線計算手段で
得られる各画素の中線を、前記写像関数記憶手段より得
られる水平方向および垂直方向の変形用写像関数で変形
パタン上に写像した写像線を表す情報を求める中線写像
手段と、変形パタン上で写像する前の中線の方向に対し
て垂直な線群を求め、前記中線写像手段で得られる写像
線と前記線群との交点の座標を求める交点座標計算手段
と、前記交点座標計算手段で得られる交点座標と、前記
方向特徴パタン情報記憶手段より得られる方向特徴パタ
ンの画素値より、変形パタンの画素値を決定する画素値
決定手段と、前記画素値決定手段で得られる変形パタン
を格納する変形パタン記憶手段とからなることを特徴と
する。
According to a first aspect of the present invention, a multi-valued directional feature pattern having a component representing a directional property corresponding to each pixel of an image as a component in accordance with a horizontal and vertical transformation mapping function. In the pattern deformation method for deformation, a direction feature pattern information storage unit that stores information of a direction feature pattern, a mapping function storage unit that stores a mapping function for horizontal and vertical deformation, and a direction feature pattern information storage unit. Pixel midline calculation means for reading information of the direction characteristic pattern and obtaining information representing a midline passing through the center of each pixel and parallel to the direction of the direction characteristic; A line mapping means for obtaining information representing a mapping line obtained by mapping a line on a deformation pattern by a horizontal and vertical deformation mapping function obtained from the mapping function storage means; An intersection coordinate calculating means for obtaining a line group perpendicular to the direction of the midline before mapping on the above, and obtaining coordinates of an intersection of the line group and the mapping line obtained by the midline mapping means; and A pixel value determining means for determining a pixel value of a deformed pattern from the intersection coordinates obtained by the calculating means and a pixel value of the directional characteristic pattern obtained from the directional characteristic pattern information storing means; and a deformation obtained by the pixel value determining means. And a modified pattern storage unit for storing a pattern.

【0008】第2の発明は、画像の各画素に対応する方
向性を表す特徴量を成分とする多値方向特徴パタンを、
水平方向および垂直方向の変形用写像関数に従って変形
させるパタン変形方式において、方向特徴パタンの情報
を格納する方向特徴パタン情報記憶手段と、水平方向お
よび垂直方向の変形用写像関数を格納する写像関数記憶
手段と、前記方向特徴パタン情報記憶手段から方向特徴
パタン情報を読み込み、各画素の中心点の座標を求める
画素中心点座標計算手段と、前記画素中心点座標計算手
段で得られる各画素の中心点を、前記写像関数記憶手段
より得られる水平方向および垂直方向の変形用写像関数
で変形パタン上に写像した写像点の座標を求める中心点
写像手段と、前記方向特徴パタン情報記憶手段より得ら
れる方向特徴パタンの画素値に、前記写像関数記憶手段
で得られる水平方向および垂直方向の変形用写像関数の
傾きに応じた重みを掛けた写像画素値を求める写像画素
値計算手段と、前記中心点写像手段で得られる写像点座
標と、前記写像画素値計算手段で得られる写像画素値よ
り、変形パタンの画素値を決定する画素値決定手段と、
前記画素値決定手段で得られる変形パタンを格納する変
形パタン記憶手段とからなることを特徴とする。
According to a second aspect of the present invention, there is provided a multi-valued directional feature pattern having a component representing a directional property corresponding to each pixel of an image as a component.
In a pattern deformation method for deforming according to a horizontal and vertical transformation function, a direction feature pattern information storage means for storing information of a direction feature pattern, and a mapping function storage for storing a horizontal and vertical transformation function. Means, pixel direction coordinate information calculating means for reading direction characteristic pattern information from the direction characteristic pattern information storage means, and obtaining the coordinates of the center point of each pixel; and the central point of each pixel obtained by the pixel center point coordinate calculating means. A center point mapping means for calculating coordinates of a mapping point mapped on a deformation pattern by a horizontal and vertical deformation mapping function obtained from the mapping function storage means, and a direction obtained from the direction feature pattern information storage means. Weights corresponding to the inclinations of the horizontal and vertical transformation mapping functions obtained by the mapping function storage means are assigned to the pixel values of the feature pattern. A mapping pixel value calculating means for obtaining a multiplied mapping pixel value; a mapping point coordinate obtained by the center point mapping means; and a pixel for determining a pixel value of a deformation pattern from the mapping pixel value obtained by the mapping pixel value calculating means. Value determining means;
And a modified pattern storage unit for storing the modified pattern obtained by the pixel value determining unit.

【0009】第3の発明は、画像の各画素に対応する方
向性を表す特徴量を成分とする多値方向特徴パタンを、
水平方向および垂直方向の変形用写像関数に従って変形
させるパタン変形方式において、方向特徴パタンの情報
を格納する方向特徴パタン情報記憶手段と、水平方向お
よび垂直方向の変形用写像関数を格納する写像関数記憶
手段と、前記方向特徴パタン情報記憶手段から方向特徴
パタン情報を読み込み、各画素の中心点の座標を求める
画素中心点座標計算手段と、前記画素中心点座標計算手
段で得られる各画素の中心点を、前記写像関数記憶手段
より得られる水平方向および垂直方向の変形用写像関数
で変形パタン上に写像した写像点の座標を求める中心点
写像手段と、前記中心点写像手段で得られる写像点座標
と、前記方向特徴パタン情報記憶手段より得られる方向
特徴パタンの画素値より、変形パタンの画素値を決定す
る画素値決定手段と、前記画素値決定手段で得られる変
形パタンを格納する変形パタン記憶手段とからなること
を特徴とする。
According to a third aspect of the present invention, a multi-valued directional feature pattern having a component representing a directional property corresponding to each pixel of an image as a component,
In a pattern deformation method for deforming according to a horizontal and vertical transformation function, a direction feature pattern information storage means for storing information of a direction feature pattern, and a mapping function storage for storing a horizontal and vertical transformation function. Means, pixel direction coordinate information calculating means for reading direction characteristic pattern information from the direction characteristic pattern information storage means, and obtaining the coordinates of the center point of each pixel; and the central point of each pixel obtained by the pixel center point coordinate calculating means. The center point mapping means for obtaining the coordinates of a mapping point mapped on a deformation pattern with the horizontal and vertical deformation mapping functions obtained from the mapping function storage means, and the mapping point coordinates obtained by the center point mapping means. And a pixel value determining means for determining a pixel value of a deformation pattern from a pixel value of the direction characteristic pattern obtained from the direction characteristic pattern information storage means. Characterized by comprising a deformation pattern storage means for storing a deformation pattern obtained by the pixel value determining means.

【0010】[0010]

【作用】以下に図面を参照して、本発明によるパタン変
形の処理手順について説明する。図1は第1の発明のパ
タン変形方式の処理手順を示すブロック図である。ま
た、図5は第1の発明によるパタン変形を説明するため
の図であり、水平方向成分の場合である。他の方向の場
合も、同様の手順により実現できる。
The processing procedure for pattern deformation according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a processing procedure of the pattern deformation method of the first invention. FIG. 5 is a diagram for explaining the pattern deformation according to the first invention, and is a case of a horizontal component. The same procedure can be used for other directions.

【0011】図1の方向特徴パタン情報記憶手段1は、
多値方向特徴パタンの方向の度合いを表す画素値と画素
の座標および画素の表す方向特徴の方向を格納するもの
である。図5(a)は方向特徴パタンの例であり、2画
素にそれぞれA,Bという画素値が入っており、他は0
である。方向特徴は一般に文字線の輪郭部の局所的なパ
タンより求められ、方向性に応じて多値で表される。
像関数記憶手段2は、水平方向の写像関数I=φ(i)
および垂直方向の写像関数J=ψ(j)の情報を格納す
るものである。この水平方向および垂直方向の写像関数
は、従来の技術において用いた写像関数と同一である。
The direction feature pattern information storage means 1 in FIG.
It stores the pixel value indicating the degree of the direction of the multi-valued direction feature pattern, the coordinates of the pixel, and the direction of the direction feature indicated by the pixel. FIG. 5A shows an example of a direction feature pattern, in which two pixels have pixel values of A and B, respectively,
It is. The direction feature is generally obtained from a local pattern of the outline of the character line, and is represented by multiple values according to the direction. Photo
The image function storage means 2 stores a horizontal mapping function I = φ (i)
And information of a vertical mapping function J = ψ (j) is stored.
Things. This horizontal and vertical mapping function
Is the same as the mapping function used in the prior art.

【0012】まず、図1の画素中線計算手段3で、方向
特徴パタン情報記憶手段1から方向特徴パタンの各画素
の画素値と座標および画素の表す方向特徴の方向に関す
る情報を読み込み、各画素の中心を通り方向特徴の方向
に対して平行な中線を表す情報を求める。図5(a)で
は、画素値A,Bの入っている画素について、画素の中
心を通る水平方向の中線51を引く。中線51の方程式
は、j=1.5となる。0の画素に対しては、写像して
も0なので説明を省く。
First, the pixel middle line calculation means 3 of FIG. 1 reads from the directional feature pattern information storage means 1 the pixel value and coordinates of each pixel of the directional feature pattern and information on the direction of the directional feature represented by the pixel. Is obtained, which represents a center line that passes through the center of and is parallel to the direction of the direction feature. In FIG. 5A, for a pixel having pixel values A and B, a horizontal middle line 51 passing through the center of the pixel is drawn. The equation of the middle line 51 is j = 1.5. For a pixel of 0, even if it is mapped, it will be 0, and its explanation is omitted.

【0013】次に、中線写像手段4で、画素中線計算手
段3で得られる各画素の中線を、写像関数記憶手段2よ
り得られる水平方向および垂直方向の変形用写像関数で
変形パタン上に写像した写像線を表す情報を求める。図
5(b)の点線52は、中線51を図4で表した水平方
向および垂直方向の写像関数で写像した図である。この
写像線52の方程式は、J=ψ(1.5)となる。
Next, the midline mapping means 4 transforms the midline of each pixel obtained by the pixel midline calculation means 3 with the horizontal and vertical deformation mapping functions obtained from the mapping function storage means 2. Information representing the mapping line mapped above is obtained. A dotted line 52 in FIG. 5B is a diagram obtained by mapping the middle line 51 with the horizontal and vertical mapping functions shown in FIG. The equation of the mapping line 52 is J = ψ (1.5).

【0014】そして、交点座標計算手段5で、中線写像
手段4で得られる写像線と、変形パタン上で写像する前
の中線の方向に対して垂直な線群との交点の座標を求め
る。図5(c)に示すように、変形パタン上に垂直方向
の線群53を引き、写像線52との交点54を求める。
この線群53は何本引いても構わないが、方向特徴を4
方向でサンプリングした場合の代表的な例を図8に示
す。図8(a),(b)は水平方向、図8(c),
(d)は垂直方向、図8(e),(f)は右上がり方
向、図8(g),(h)は右下がり方向に対する垂直な
方向の線群の例である。線の数が多くなれば交点を細か
く求めることができるが、逆に時間がかかるので、精度
と速さの兼ね合いになる。図5(c)では図8(a)の
線群を用い、4つの交点が得られる。線群53の方程式
はI=n+0.5(n=0,1,2,3)で表されるの
で、写像線52と交点54の座標は(n+0.5,ψ
(1.5))(n=0,1,2,3)となる。
Then, the intersection coordinate calculating means 5 calculates the midline mapping.
The mapping line obtained by means 4 and before mapping on the deformation pattern
Find the coordinates of the intersection with the line group perpendicular to the direction of the midline
You. As shown in FIG. 5 (c), the vertical direction
, And an intersection 54 with the mapping line 52 is obtained.
This line group 53 may have any number of lines,
Figure 8 shows a typical example when sampling in the direction
You. FIGS. 8A and 8B are horizontal directions, and FIGS.
(D) is a vertical direction, and FIGS. 8 (e) and (f) are right-upward directions.
8 (g) and 8 (h) are perpendicular to the right-downward direction.
It is an example of a line group of a direction. The more intersections, the finer the intersection
Can be calculated very well, but on the contrary, it takes time,
And speed. In FIG. 5 (c), FIG.
Using the line group, four intersections are obtained. Line group 53 equation
Is represented by I = n + 0.5 (n = 0, 1, 2, 3)
And the coordinates of the mapping line 52 and the intersection 54 are (n + 0.5,ψ
(1.5)) (n = 0, 1, 2, 3).

【0015】最後に、画素値決定手段6で、交点座標計
算手段5で得られる交点座標と、方向特徴パタン情報記
憶手段1より得られる方向特徴パタンの画素値より、変
形パタンの画素値を決定する。図5(d)では、それぞ
れの交点54を含む変形パタンの画素に、その交点を方
向特徴パタン上に逆写像した時にその点を含む方向特徴
パタン上の画素の画素値を入れている。図5(d)にお
いては、1画素中に交点が1つしか存在しないので、対
応する方向特徴パタンの画素値がそのまま変形パタンの
画素値になる。ただし、1画素に対して複数の交点が得
られた場合は、それぞれの交点に対応する画素値より、
平均、最大値、足し合わせ等によって最終的な変形パタ
ンの画素値を決定する。
Finally, the pixel value determination means 6 determines the pixel value of the deformation pattern from the intersection coordinates obtained by the intersection coordinate calculation means 5 and the pixel value of the direction feature pattern obtained from the direction feature pattern information storage means 1. I do. In FIG. 5D, the pixel value of the pixel on the directional feature pattern including the point when the intersection is inversely mapped on the directional feature pattern is entered in the pixel of the deformation pattern including each intersection 54. In FIG. 5D, since only one intersection exists in one pixel, the pixel value of the corresponding directional feature pattern becomes the pixel value of the deformation pattern as it is. However, when multiple intersections are obtained for one pixel, the pixel value corresponding to each intersection is
The pixel value of the final deformation pattern is determined by the average, the maximum value, the addition, and the like.

【0016】以上の手続きにより、方向特徴パタンを水
平方向および垂直方向の写像関数を用いて変形すること
ができる。この手続きでは、方向特徴パタンの1画素が
変形パタン上に幅1の線として写像されており、写像関
数の傾きに影響されず、安定して線幅1の変形された方
向特徴パタンを得ることができる。第1の発明では、画
素を線状に写像することによって、位置補正と同時に、
いろいろな入力パタンの形状のばらつきにより生じる特
徴値の片寄りもなくなるように補正している。垂直方
向、右上がり方向、右下がり方向についても同様であ
る。
According to the above procedure, the directional feature pattern can be transformed using the mapping functions in the horizontal and vertical directions. In this procedure, one pixel of the directional feature pattern is mapped as a line having a width of 1 on the deformed pattern, and the transformed directional feature pattern having a line width of 1 is stably obtained without being affected by the inclination of the mapping function. Can be. In the first invention, the pixels are linearly mapped, so that at the same time as the position correction,
The correction is made so that the deviation of the characteristic value caused by the variation of the shape of various input patterns is also eliminated. The same applies to the vertical direction, the upward direction, and the downward direction.

【0017】図2は第2の発明のパタン変形方式の処理
手順を示すブロック図である。方向特徴パタン情報記憶
手段1と、写像関数記憶手段2と、画素値決定手段6
と、変形パタン記憶手段7は、図1のパタン変形方式の
各構成要素と同一のものである。また、図6は、第2の
発明によるパタン変形を説明するための図であり、図5
と同様に水平方向成分の場合である。
FIG. 2 is a block diagram showing a processing procedure of the pattern deformation method of the second invention. Direction feature pattern information storage means 1, mapping function storage means 2, pixel value determination means 6
And the modified pattern storage means 7 are the same as the respective components of the pattern modified system of FIG. FIG. 6 is a diagram for explaining a pattern deformation according to the second invention.
Similarly to the case of the horizontal component.

【0018】まず、画素中心点座標計算手段8で、方向
特徴パタン情報記憶手段1から方向特徴パタンの各画素
の画素値と座標に関する情報を読み込み、各画素の中心
点の座標を求める。図6(a)では2画素にそれぞれ画
素値A,Bが入っており、例えば画素値Aの画素の中心
点61の座標は(0.5,1.5)である。
First, the pixel center point coordinate calculating means 8 reads information on the pixel value and coordinates of each pixel of the directional feature pattern from the directional feature pattern information storage means 1 and obtains the coordinates of the center point of each pixel. In FIG. 6A, two pixels have pixel values A and B, respectively. For example, the coordinates of the center point 61 of the pixel having the pixel value A are (0.5, 1.5).

【0019】次に、中心点写像手段9で、画素中心点座
標計算手段8で得られる各画素の中心点を、写像関数記
憶手段2より得られる水平方向および垂直方向の変形用
写像関数で変形パタン上に写像した写像点の座標を求め
る。図6(a)の中心点61を写像したのが図6(b)
の写像点62であり、その座標は(φ(0.5),ψ
(1.5))となる。
Next, the center point mapping means 9 sets the pixel center point
The center point of each pixel obtained by the target calculation means 8 is described by a mapping function notation.
For horizontal and vertical deformation obtained by storage means 2
Calculate the coordinates of the mapping point mapped on the deformation pattern using the mapping function
You. FIG. 6 (b) is a mapping of the center point 61 of FIG. 6 (a).
And its coordinates are (φ (0.5),ψ
(1.5)).

【0020】また、写像画素値計算手段10は、方向特
徴パタン情報記憶手段1より得られる方向特徴パタンの
各画素値に、写像関数記憶手段2より得られる水平方向
および垂直方向の変形用写像関数の傾きに応じた重みを
掛けた写像画素値を求めるもので、例えば、図6(b)
における写像点62に掛けられる重みは、φ(1)−φ
(0)=I1 −0=1.8となる。右上がり方向および
右下がり方向の場合の重みは、水平方向と垂直方向の写
像関数より斜め方向の傾きを表す量を計算することによ
り実現でき、例えば三平方の定理を用いたり、また単純
平均で近似してもよい。
Further, the mapping pixel value calculation means 10 adds the horizontal and vertical transformation mapping functions obtained from the mapping function storage means 2 to each pixel value of the directional feature pattern obtained from the directional feature pattern information storage means 1. Is obtained by multiplying a mapping pixel value by weighting according to the inclination of the pixel. For example, FIG.
Is the weight applied to the mapping point 62 in φ (1) −φ
(0) = I 1 −0 = 1.8. The weights in the upward and downward directions can be realized by calculating an amount representing the inclination in the oblique direction from the mapping function in the horizontal direction and the vertical direction, for example, by using the theorem of three squares, or by a simple average. It may be approximated.

【0021】最後に、画素値決定手段6で、画素中心点
座標計算手段8で得られる中心点座標と、写像画素値計
算手段10より得られる写像画素値より、変形パタンの
画素値を決定する。変形パタンは図6(c)のようにな
る。
Finally, the pixel value determining means 6 determines the pixel value of the deformation pattern from the center point coordinates obtained by the pixel center point coordinate calculating means 8 and the mapped pixel values obtained by the mapped pixel value calculating means 10. . The deformation pattern is as shown in FIG.

【0022】第1の発明では画素を線状に写像している
のに対し、第2の発明はその線を1画素に集約して近似
していることに対応する。垂直方向、右上がり方向、右
下がり方向についても同様である。
In the first invention, the pixels are mapped linearly, whereas in the second invention, the lines are gathered and approximated to one pixel. The same applies to the vertical direction, the upward direction, and the downward direction.

【0023】図3は第3の発明のパタン変形方式の処理
手順を示すブロック図である。方向特徴パタン情報記憶
手段1と、写像関数記憶手段2と、画素中心点座標計算
手段8と、中心点写像手段9と、画素値決定手段6と、
変形パタン記憶手段7は、図2のパタン変形方式の各構
成要素と同一のものである。また図7は、第3の発明に
よるパタン変形を説明するための図であり、水平方向成
分の場合である。図6と同様、図7(a)は方向特徴パ
タン、(b)は中心点の写像を示している。
FIG. 3 is a block diagram showing a processing procedure of the pattern deformation method of the third invention. Direction feature pattern information storage means 1, mapping function storage means 2, pixel center point coordinate calculation means 8, center point mapping means 9, pixel value determination means 6,
The modified pattern storage means 7 is the same as each component of the pattern modified system of FIG. FIG. 7 is a diagram for explaining the pattern deformation according to the third invention, and shows a case of a horizontal component. As in FIG. 6, FIG. 7A shows the direction feature pattern, and FIG. 7B shows the mapping of the center point.

【0024】第2の発明と異なる点は、画素値決定手段
6で入力される画素値は、方向特徴パタン情報記憶手段
1より得られる画素値であることである。従って、方向
特徴パタンの画素値に重みを掛けることなく、写像した
中心点を含む変形パタン上の画素にそのまま画素値を入
れている。結果として図7(c)に示されるパタンとな
る。
The difference from the second aspect is that the pixel value input by the pixel value determining means 6 is a pixel value obtained from the direction feature pattern information storage means 1. Therefore, the pixel value of the direction feature pattern is directly applied to the pixel on the deformation pattern including the mapped center point without weighting the pixel value of the direction feature pattern. As a result, the pattern shown in FIG.

【0025】第3の発明は、方向特徴の位置を補正する
だけで、特徴はそのまま写像していることに対応する。
また、垂直方向、右上がり方向、右下がり方向について
も同様であり、方向による処理の違いはない。
The third aspect of the present invention corresponds to the fact that only the position of the directional feature is corrected and the feature is mapped as it is.
The same applies to the vertical direction, the upward direction, and the downward direction, and there is no difference in processing depending on the direction.

【0026】[0026]

【実施例】第1の発明において、特に右上がり方向成分
と右下がり方向成分については、交点を求めるための線
群の採り方により変形パタンの性質が異なるので、次に
その具体例を二つあげる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the first invention, the characteristics of the deformation pattern of the upward-sloping component and the downward-sloping component are different depending on how to take a line group for finding the intersection. I'll give it.

【0027】一つは、図8(e),(g)に示すよう
に、線群が変形パタンの画素の中心点を通ることによ
り、写像される画素値が4連結を保つことができること
を特徴とする。図9は右上がり方向成分の場合のパタン
変形を説明するための図であり、上記線群に図8(e)
を用いている。図5と同様、図9(a)は方向特徴パタ
ン、(b)は中線の写像、(c)は交点を示している。
図8(e)の線群を用いた場合、写像された中線が画素
を少しでもかすれば必ず交点を持つので、4連結が保証
され、図9(d)のように写像される。
One is that, as shown in FIGS. 8 (e) and 8 (g), the line group passes through the center point of the pixel of the deformation pattern, so that the pixel values to be mapped can maintain 4-connection. Features. FIG. 9 is a diagram for explaining the pattern deformation in the case of the component rising in the rightward direction, and FIG.
Is used. As in FIG. 5, FIG. 9A shows the direction feature pattern, FIG. 9B shows the mapping of the middle line, and FIG. 9C shows the intersection.
When the group of lines in FIG. 8E is used, since the mapped center line always has an intersection even if the pixel is slightly touched, quadruple connection is guaranteed and the image is mapped as shown in FIG. 9D.

【0028】もう一つは、図8(f),(h)に示すよ
うに、線群が変形パタンの正方形で表される画素の4辺
の中点を通ることにより、写像される中線が直線の場合
は、その範囲で8連結を保つことができることを特徴と
する。図10は図9と同様、右上がり方向成分の場合の
パタン変形を説明するための図であるが、上記線群に図
8(f)を用いている。図9と同様、図10(a)は方
向特徴パタン、(b)は中線の写像、(c)は交点を示
している。図8(f)の線群を用いた場合、斜め方向に
隣合う画素で交点が生じた場合には、写像線が直線であ
ればその間に水平垂直方向につながる画素には交点が生
じないので、方向特徴パタンの1画素の写像に対応する
範囲では8連結が保証され、図10(d)のように写像
される。図では、1画素に複数の交点が得られた場合
は、平均を用いている。
The other is, as shown in FIGS. 8 (f) and 8 (h), a center line mapped by passing a line group through the midpoint of four sides of a pixel represented by a square of a deformed pattern. Is a straight line, it is characterized in that eight connections can be maintained in that range. FIG. 10 is a diagram for explaining the pattern deformation in the case of the component in the upward-sloping direction similarly to FIG. 9, but FIG. 8F is used for the line group. As in FIG. 9, FIG. 10A shows the direction feature pattern, FIG. 10B shows the mapping of the middle line, and FIG. 10C shows the intersection. In the case where the line group of FIG. 8F is used, if an intersection occurs at pixels obliquely adjacent to each other, if the mapping line is a straight line, no intersection occurs between pixels connected in the horizontal and vertical directions during the straight line. In the range corresponding to the mapping of one pixel of the direction feature pattern, 8-connection is guaranteed, and the mapping is performed as shown in FIG. In the figure, when a plurality of intersections are obtained for one pixel, an average is used.

【0029】次に、実際の文字パタンに適用した実施例
を図11に示す。図11(a)は入力文字パタンの例で
あり、スキャナ等の入力装置により装置メモリ上に取り
込まれた二値パタンである。黒地部が1、白地部が0で
ある。図11(b)は、(a)の入力二値パタンより各
画素に対応する水平方向、垂直方向、右上がり方向およ
び右下がり方向の特徴量を求めて方向特徴パタンを作成
したもので、例えば前述の文献「電子通信学会論文誌
(D)、Vol.J65−D、No.5、pp.550
−557(昭和57年5月)、斎藤、山田、山本:手書
漢字の方向パターン・マッチング法による解析」などで
知られている処理を実行するものである。画素値は多値
である。
Next, an embodiment applied to an actual character pattern is shown in FIG. FIG. 11A shows an example of an input character pattern, which is a binary pattern captured on a device memory by an input device such as a scanner. The black background is 1 and the white background is 0. FIG. 11B shows a direction feature pattern created by calculating feature amounts in the horizontal direction, the vertical direction, the right-up direction, and the right-down direction corresponding to each pixel from the input binary pattern of FIG. The aforementioned document “Transactions of the Institute of Electronics and Communication Engineers (D), Vol. J65-D, No. 5, pp. 550”
-557 (May 1982), Saito, Yamada, Yamamoto: Analysis of Handwritten Kanji by Direction Pattern Matching Method "and the like. The pixel value is multi-valued.

【0030】図11(c)は、従来の技術において図1
2を用い説明した入力二値パタンの正規化の方式を、そ
のまま図11(b)の方向特徴パタンの正規化に適用し
た場合である。この方式では、部分的に方向特徴の線幅
が太くなっている部分がある。同じ字種でも手書きの文
字は千差万別であり、それに伴い写像関数を変わる。従
って、方向特徴の線幅は文字によっていろいろ変わり、
この特徴を分類に用いるのは不都合である。
FIG. 11 (c) shows the conventional technique shown in FIG.
This is a case where the method of normalizing the input binary pattern described with reference to FIG. 2 is directly applied to the normalization of the direction feature pattern in FIG. In this method, there is a portion where the line width of the direction feature is partially large. Even with the same character type, handwritten characters vary widely, and the mapping function changes accordingly. Therefore, the line width of the direction feature varies depending on the character,
It is inconvenient to use this feature for classification.

【0031】図11(d)は、第1の発明を図11
(b)の方向特徴パタンの正規化に適用した場合であ
る。この方式では、線幅が1になるように変形されてい
る。手書き文字であっても、同じ字種のパタンは近いパ
タンに変形される可能性が高い。
FIG. 11D shows the first invention in FIG.
This is a case where the method is applied to the normalization of the direction feature pattern of (b). In this method, the line width is changed to 1. Even for handwritten characters, patterns of the same character type are likely to be transformed into close patterns.

【0032】図11(e)は、第2または第3の発明を
図11(b)の方向特徴パタンの正規化に適用した場合
である。第2の発明と第3の発明では、写像される位置
は同じであるが、画素値が異なる。この方式では、線が
不連続である。しかし、実際にはこの方向特徴パタンを
そのまま分類処理に用いることはなく、次元数を減らす
ために、例えば64画素程度を1要素にまとめる圧縮処
理を行うので、連続性は保たれなくても十分な結果はあ
る。
FIG. 11E shows a case where the second or third invention is applied to the normalization of the direction feature pattern shown in FIG. 11B. In the second invention and the third invention, the mapped position is the same, but the pixel value is different. In this scheme, the lines are discontinuous. However, in practice, this directional feature pattern is not used directly in the classification process, and a compression process of, for example, combining about 64 pixels into one element is performed to reduce the number of dimensions, so that sufficient continuity is not maintained. There are good results.

【0033】[0033]

【発明の効果】従来法(図11(c)を求めた方式)と
本第1から第3の発明をそれぞれ適用した簡単な分類実
験結果を示す。それぞれの方式を用いて方向特徴パタン
を変形した後、8×8画素を1要素にまとめ、ぼかし処
理とベクトル正規化処理を施し、分類に用いる特徴ベク
トルとした。分類では、シティブロック距離を計算し、
一番近いパタンを結果とした。データには、電子技術総
合研究所より提供されているJIS第一水準手書き漢字
データベースを用い、3036字種に対し、奇数番10
0セットによる特徴ベクトルを平均して辞書となる参照
パタンを作成し、偶数番から10セットを選んで分類実
験を行った。30360字の平均分類率を表に示す。
The results of simple classification experiments using the conventional method (the method for obtaining FIG. 11 (c)) and the first to third inventions are shown below. After transforming the directional feature pattern using each method, 8 × 8 pixels were combined into one element and subjected to a blurring process and a vector normalization process to obtain a feature vector used for classification. In the classification, calculate the city block distance,
The closest pattern was the result. For the data, we used the JIS first-level handwritten kanji database provided by the Electronic Technology Research Institute,
A reference pattern serving as a dictionary was created by averaging the feature vectors of 0 sets, and 10 sets were selected from even numbers to perform a classification experiment. The table shows the average classification rate of 30,360 characters.

【表1】 [Table 1]

【0034】表の結果より、本第1から第3の発明が従
来法に比べ非常に効果的であることがわかる。また、第
3、第2、第1の発明の順で認識性能は向上している。
第2の発明は、第1の発明に比べると精度は多少落ちる
反面、処理が簡潔であるので高速に実行できる特長を持
つ。また、第1の発明は線状に写像する、第2の発明は
重みを付けて写像することによって、それぞれ入力パタ
ンの形状のばらつきにより生じる特徴値の片寄りもなく
なるように補正されていたが、第3の発明は入力パタン
から求められた方向特徴をそのまま写像している。従っ
て、第3の発明は、第1および第2の発明に比べると精
度は多少落ちるが、処理がさらに高速に実行できること
が特長である。
From the results shown in the table, it can be seen that the first to third inventions are much more effective than the conventional method. The recognition performance is improved in the order of the third, second, and first inventions.
The second aspect of the present invention has a feature that it can be executed at a high speed because the processing is simpler, though the accuracy is slightly lower than that of the first aspect. Also, the first invention maps linearly, and the second invention maps by weighting so that the deviation of the characteristic values caused by the variation of the shape of the input pattern is corrected. In the third invention, the direction feature obtained from the input pattern is mapped as it is. Therefore, the third aspect of the present invention is characterized in that although the accuracy is slightly lower than those of the first and second aspects, the processing can be executed at a higher speed.

【0035】以上のように本発明のパタン変形方式は、
文字認識における方向特徴パタンの正規化に適用でき、
さらに、方向特徴パタンの局所的な領域における方向の
度合いを表す特徴量を大きく変化させることなく、方向
特徴の位置ずれ補正を行う正規化を実現することがで
き、文字認識の性能向上に大いに役立つ。
As described above, the pattern deformation method of the present invention
It can be applied to the normalization of direction feature patterns in character recognition,
Furthermore, it is possible to realize normalization for correcting misregistration of directional features without greatly changing the feature amount indicating the degree of direction in a local region of the directional feature pattern, which is greatly useful for improving the performance of character recognition. .

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

【図1】第1の発明のパタン変形方式の処理手順を示す
ブロック図。
FIG. 1 is a block diagram showing a processing procedure of a pattern deformation method according to the first invention.

【図2】第2の発明のパタン変形方式の処理手順を示す
ブロック図。
FIG. 2 is a block diagram showing a processing procedure of a pattern deformation method according to the second invention.

【図3】第3の発明のパタン変形方式の処理手順を示す
ブロック図。
FIG. 3 is a block diagram showing a processing procedure of a pattern deformation method according to a third invention.

【図4】水平方向および垂直方向の写像関数による正規
化を説明するための図。
FIG. 4 is a diagram for explaining normalization by a mapping function in a horizontal direction and a vertical direction.

【図5】第1の発明によるパタン変形を説明するための
図。
FIG. 5 is a view for explaining pattern deformation according to the first invention.

【図6】第2の発明によるパタン変形を説明するための
図。
FIG. 6 is a view for explaining pattern deformation according to the second invention.

【図7】第3の発明によるパタン変形を説明するための
図。
FIG. 7 is a view for explaining pattern deformation according to the third invention.

【図8】第1の発明における交点を求めるための線群の
例を示す図。
FIG. 8 is a diagram showing an example of a group of lines for obtaining an intersection in the first invention.

【図9】第1の発明による右上がり方向成分のパタン変
形を説明するための図。
FIG. 9 is a diagram for explaining a pattern deformation of a rightward upward component according to the first invention.

【図10】第1の発明による右上がり方向成分のパタン
変形を説明するための図。
FIG. 10 is a diagram for explaining a pattern deformation of a rightward upward component according to the first invention.

【図11】具体的な文字に対して従来法および本発明を
適用した例を示す図。
FIG. 11 is a diagram showing an example in which the conventional method and the present invention are applied to specific characters.

【図12】入力二値パタンのパタン変形を説明するため
の図。
FIG. 12 is a view for explaining pattern deformation of an input binary pattern.

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

1 方向特徴パタン情報記憶手段 2 写像関数記憶手段 3 画素中線計算手段 4 中線写像手段 5 交点座標計算手段 6 画素値決定手段 7 変形パタン記憶手段 8 画素中心点座標計算手段 9 中心点写像手段 10 写像画素値計算手段 51 中線 52 中線の写像線 53 中線の方向に対して垂直な線群 54 交点 61 中心点 62 中心点の写像点 Reference Signs List 1 direction feature pattern information storage means 2 mapping function storage means 3 pixel midline calculation means 4 midline mapping means 5 intersection coordinate calculation means 6 pixel value determination means 7 modified pattern storage means 8 pixel center point coordinate calculation means 9 center point mapping means DESCRIPTION OF SYMBOLS 10 Mapping pixel value calculation means 51 Middle line 52 Middle line mapping line 53 Line group perpendicular to the direction of the middle line 54 Intersection 61 Center point 62 Center point mapping point

フロントページの続き (56)参考文献 特開 昭64−29988(JP,A) 特開 平3−85686(JP,A) 「正規化と特徴抽出の並列化による手 書き漢字認識」、電子情報通信学会秋季 大会講演論文集(6),D−235,p. 6−237,1991年8月15日発行 「手書き漢字認識における非線形正規 化と特徴抽出の整合性について」、電子 情報通信学会技術研究報告、Vol. 91,No.317,PRU91−85,p.55 −62,1991年11月14日発行 (58)調査した分野(Int.Cl.6,DB名) G06K 9/62 640 JICSTファイル(JOIS) 特許ファイル(PATOLIS)Continuation of front page (56) References JP-A-64-29988 (JP, A) JP-A-3-85686 (JP, A) "Handwritten Kanji Recognition by Parallelization of Normalization and Feature Extraction", Electronic Information Communication Proc. Of the JSCE Autumn Meeting (6), D-235, pp. 6-237, published on August 15, 1991 "On the consistency between nonlinear normalization and feature extraction in handwritten kanji recognition", IEICE Technical Research Report, Vol. 91, No. 317, PRU91-85, p. 55-62, issued on November 14, 1991 (58) Fields investigated (Int. Cl. 6 , DB name) G06K 9/62 640 JICST file (JOIS) Patent file (PATOLIS)

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像の各画素に対応する方向性を表す特
徴量を成分とする多値方向特徴パタンを、水平方向およ
び垂直方向の変形用写像関数に従って変形させるパタン
変形方式において、 方向特徴パタンの情報を格納する方向特徴パタン情報記
憶手段と、 水平方向および垂直方向の変形用写像関数を格納する写
像関数記憶手段と、 前記方向特徴パタン情報記憶手段から方向特徴パタンの
情報を読み込み、各画素の中心を通り方向特徴の方向に
対して平行な中線を表す情報を求める画素中線計算手段
と、 前記画素中線計算手段で得られる各画素の中線を、前記
写像関数記憶手段より得られる水平方向および垂直方向
の変形用写像関数で変形パタン上に写像した写像線を表
す情報を求める中線写像手段と、 変形パタン上で写像する前の中線の方向に対して垂直な
線群を求め、前記中線写像手段で得られる写像線と前記
線群との交点の座標を求める交点座標計算手段と、 前記交点座標計算手段で得られる交点座標と、前記方向
特徴パタン情報記憶手段より得られる方向特徴パタンの
画素値より、変形パタンの画素値を決定する画素値決定
手段と、 前記画素値決定手段で得られる変形パタンを格納する変
形パタン記憶手段とからなることを特徴とするパタン変
形方式。
1. A pattern deformation method for deforming a multi-valued directional feature pattern having a feature amount representing a directional property corresponding to each pixel of an image in accordance with a horizontal and vertical deformation mapping function. Directional feature pattern information storage means for storing the information of the directional feature pattern, and a mapping function storage means for storing the mapping function for horizontal and vertical deformation, reading information of the directional feature pattern from the directional feature pattern information storage means, Pixel midline calculation means for obtaining information representing a midline parallel to the direction of the direction feature passing through the center of the pixel, and obtaining the midline of each pixel obtained by the pixel midline calculation means from the mapping function storage means. A midline mapping means for obtaining information representing a mapping line mapped on the deformation pattern by a horizontal and vertical deformation mapping function, and a middle line before mapping on the deformation pattern. Intersection coordinate calculation means for obtaining a line group perpendicular to the intersection line, and obtaining the coordinates of the intersection of the line group and the line group obtained by the midline mapping means, Intersection coordinates obtained by the intersection coordinate calculation means, A pixel value determining unit that determines a pixel value of the modified pattern from a pixel value of the directional characteristic pattern obtained from the directional characteristic pattern information storing unit; and a modified pattern storage unit that stores the modified pattern obtained by the pixel value determining unit. A pattern deformation method characterized by becoming.
【請求項2】 画像の各画素に対応する方向性を表す特
徴量を成分とする多値方向特徴パタンを、水平方向およ
び垂直方向の変形用写像関数に従って変形させるパタン
変形方式において、 方向特徴パタンの情報を格納する方向特徴パタン情報記
憶手段と、 水平方向および垂直方向の変形用写像関数を格納する写
像関数記憶手段と、 前記方向特徴パタン情報記憶手段から方向特徴パタン情
報を読み込み、各画素の中心点の座標を求める画素中心
点座標計算手段と、 前記画素中心点座標計算手段で得られる各画素の中心点
を、前記写像関数記憶手段より得られる水平方向および
垂直方向の変形用写像関数で変形パタン上に写像した写
像点の座標を求める中心点写像手段と、 前記方向特徴パタン情報記憶手段より得られる方向特徴
パタンの画素値に、前記写像関数記憶手段で得られる水
平方向および垂直方向の変形用写像関数の傾きに応じた
重みを掛けた写像画素値を求める写像画素値計算手段
と、 前記中心点写像手段で得られる写像点座標と、前記写像
画素値計算手段で得られる写像画素値より、変形パタン
の画素値を決定する画素値決定手段と、 前記画素値決定手段で得られる変形パタンを格納する変
形パタン記憶手段とからなることを特徴とするパタン変
形方式。
2. A pattern deformation method for deforming a multi-valued directional feature pattern having a feature amount representing a directional property corresponding to each pixel of an image in accordance with a horizontal and vertical transformation mapping function. Direction feature pattern information storage means for storing the information of the horizontal direction and the vertical direction, and a mapping function storage means for storing the mapping function for transformation in the horizontal direction and the vertical direction; and reading the direction feature pattern information from the direction feature pattern information storage means, Pixel center point coordinate calculation means for obtaining the coordinates of the center point, and the center point of each pixel obtained by the pixel center point coordinate calculation means is calculated by a horizontal and vertical transformation mapping function obtained from the mapping function storage means. A center point mapping means for obtaining coordinates of a mapping point mapped on a deformation pattern; and a pixel value of a direction feature pattern obtained from the direction feature pattern information storage means. Mapping pixel value calculation means for obtaining a mapping pixel value weighted according to the inclination of the horizontal and vertical transformation mapping functions obtained by the mapping function storage means; and a mapping point obtained by the center point mapping means. From the coordinates and the mapped pixel value obtained by the mapped pixel value calculating means, a pixel value determining means for determining the pixel value of the deformed pattern, and a deformed pattern storage means for storing the deformed pattern obtained by the pixel value determining means. A pattern deformation method characterized by becoming.
【請求項3】 画像の各画素に対応する方向性を表す特
徴量を成分とする多値方向特徴パタンを、水平方向およ
び垂直方向の変形用写像関数に従って変形させるパタン
変形方式において、 方向特徴パタンの情報を格納する方向特徴パタン情報記
憶手段と、 水平方向および垂直方向の変形用写像関数を格納する写
像関数記憶手段と、 前記方向特徴パタン情報記憶手段から方向特徴パタン情
報を読み込み、各画素の中心点の座標を求める画素中心
点座標計算手段と、 前記画素中心点座標計算手段で得られる各画素の中心点
を、前記写像関数記憶手段より得られる水平方向および
垂直方向の変形用写像関数で変形パタン上に写像した写
像点の座標を求める中心点写像手段と、 前記中心点写像手段で得られる写像点座標と、前記方向
特徴パタン情報記憶手段より得られる方向特徴パタンの
画素値より、変形パタンの画素値を決定する画素値決定
手段と、 前記画素値決定手段で得られる変形パタンを格納する変
形パタン記憶手段とからなることを特徴とするパタン変
形方式。
3. A pattern deformation method for deforming a multi-valued directional feature pattern having a feature amount representing a directionality corresponding to each pixel of an image in accordance with a horizontal and vertical transformation mapping function. Direction feature pattern information storage means for storing the information of the horizontal direction and the vertical direction, and a mapping function storage means for storing the mapping function for transformation in the horizontal direction and the vertical direction; and reading the direction feature pattern information from the direction feature pattern information storage means, Pixel center point coordinate calculation means for obtaining the coordinates of the center point, and the center point of each pixel obtained by the pixel center point coordinate calculation means is calculated by a horizontal and vertical transformation mapping function obtained from the mapping function storage means. Center point mapping means for obtaining coordinates of a mapping point mapped on a deformed pattern; mapping point coordinates obtained by the center point mapping means; and directional feature pattern information. A pixel value determining unit that determines a pixel value of the deformation pattern from a pixel value of the direction feature pattern obtained by the storage unit; and a deformation pattern storage unit that stores the deformation pattern obtained by the pixel value determination unit. Pattern deformation method.
JP3298051A 1991-10-17 1991-10-17 Pattern deformation method Expired - Fee Related JP2827628B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3298051A JP2827628B2 (en) 1991-10-17 1991-10-17 Pattern deformation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3298051A JP2827628B2 (en) 1991-10-17 1991-10-17 Pattern deformation method

Publications (2)

Publication Number Publication Date
JPH05108881A JPH05108881A (en) 1993-04-30
JP2827628B2 true JP2827628B2 (en) 1998-11-25

Family

ID=17854499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3298051A Expired - Fee Related JP2827628B2 (en) 1991-10-17 1991-10-17 Pattern deformation method

Country Status (1)

Country Link
JP (1) JP2827628B2 (en)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
「手書き漢字認識における非線形正規化と特徴抽出の整合性について」、電子情報通信学会技術研究報告、Vol.91,No.317,PRU91−85,p.55−62,1991年11月14日発行
「正規化と特徴抽出の並列化による手書き漢字認識」、電子情報通信学会秋季大会講演論文集(6),D−235,p.6−237,1991年8月15日発行

Also Published As

Publication number Publication date
JPH05108881A (en) 1993-04-30

Similar Documents

Publication Publication Date Title
EP1276074B1 (en) Method and apparatus for resolving perspective distortion in a document image and for calculating line sums in images
US8867866B2 (en) Image matching system using topologically equivalent correspondences
EP0338677B1 (en) Image processing method for shape recognition
KR0133949B1 (en) Apparatus and method for nonlinear normalization of image
CN102084378B (en) Camera-based document imaging
JP5082637B2 (en) Image processing program, image processing method, and image processing apparatus
JPH07192086A (en) Image skew detection method
KR20110057536A (en) Character Recognition Device and Control Method
CN115471682A (en) Image matching method based on SIFT fusion ResNet50
CN115100658A (en) A method, system and storage medium for correcting paper in an image
Bukhari et al. Segmentation of curled textlines using active contours
JPH06274619A (en) Image processor
CN114926668B (en) Deformation target positioning algorithm based on SIFT
JP2827628B2 (en) Pattern deformation method
CN119090926B (en) Difference graph registration method based on feature point matching
CN115147389A (en) Image processing method, device, and computer-readable storage medium
JP7297720B2 (en) Camera calibration method, apparatus and program
CN114663927B (en) Fingerprint image processing method and device, storage medium and electronic equipment
CN111860608B (en) Invoice image registration method, invoice image registration equipment and computer storage medium
JP4869364B2 (en) Image processing apparatus and image processing method
JP2859067B2 (en) Edge detection method
CN114037638A (en) Image matching method based on spatial ordered gradient histogram
JP2943404B2 (en) Feature extraction device
JP2006023976A (en) Parameter setting method, image pattern extraction method, parameter setting device, image pattern extraction device, and program for these methods
JPS6037955B2 (en) Character/symbol recognition method

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980818

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

Free format text: PAYMENT UNTIL: 20080918

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080918

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090918

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090918

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100918

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees