JPS58123176A - Generating system of deformed pattern - Google Patents

Generating system of deformed pattern

Info

Publication number
JPS58123176A
JPS58123176A JP57005207A JP520782A JPS58123176A JP S58123176 A JPS58123176 A JP S58123176A JP 57005207 A JP57005207 A JP 57005207A JP 520782 A JP520782 A JP 520782A JP S58123176 A JPS58123176 A JP S58123176A
Authority
JP
Japan
Prior art keywords
circuit
perturbation
deformation
character
values
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
JP57005207A
Other languages
Japanese (ja)
Other versions
JPH039507B2 (en
Inventor
Kenichiro Ishii
健一郎 石井
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP57005207A priority Critical patent/JPS58123176A/en
Publication of JPS58123176A publication Critical patent/JPS58123176A/en
Publication of JPH039507B2 publication Critical patent/JPH039507B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/16Image preprocessing
    • G06V30/166Normalisation of pattern dimensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Discrimination (AREA)

Abstract

PURPOSE:To show the deformation of characters with a small number of parameters and to attain the quantization for the degree of character deformation, by taking a simple constitution in which the irregular perturbation to the standard character form to generate a deformed character. CONSTITUTION:A signal for initialization is fed to a smoothing circuit 220, a deformation degree arithmetic circuit 250, a rounding circuit 270 and a deformed pattern memory 280 respectively from a control part 290. Then a random number generating circuit 210 produces a single unit of the uniform random number with a timing signal sent through a connection 2901 and sends it to the circuit 220. Further, the timing signal is sent to a perturbation arithmetic circuit 240 through a radio 2902, and the circuit 240 reads the coordinate value of a standard character form and the angle of the normal direction out of a standard character form storing memory 230. The circuit 270 performs a rounding process on the basis of the coordinate value given from the circuit 240 and writes the result of the rounding process to the memory 280. The circuit 250 gives the replacement to the degree of deformation of characters.

Description

【発明の詳細な説明】 (1)  発明の職する分野の説明 本発明は、単純な構成で、変形パターンを高速、かつ大
量に発生させる方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Description of the Field of the Invention The present invention relates to a method of generating deformed patterns in large quantities at high speed with a simple configuration.

(匂 従来の技術の説明 文字読取装置の識別辞書設計には、通常大量の学習用デ
ータを用いているが、データ収集の代替手段として、人
工的に発生させた変形文字バター/を用いる方法がある
。変形文字パターンの人工的発生方法に関しては、従来
標準字形に対し種々の変形要因即ち、線形、非線形な変
形、あるいは大局的、局所的な変形などを組み合わせて
与える方法、人間の筆記運動を解析し、それを模したフ
ィードバック系によって文字生成モデルを構成する方法
などが知られている。
(O) Description of the conventional technology A large amount of learning data is usually used to design the identification dictionary of a character reading device, but as an alternative means of data collection, there is a method using artificially generated deformed characters. Regarding methods of artificially generating deformed character patterns, there have been conventional methods that combine various deformation factors, such as linear and non-linear deformation, global and local deformation, etc. to standard glyphs, and methods that combine human writing movements. A method is known in which a character generation model is constructed using a feedback system based on the analysis.

前者の方法に於ては、線形な変形は2次元マトリックス
による回転、伸縮、などによって実現し、非線形な変形
は高次の多項式や、その他の特殊な関係によって実現し
ている。
In the former method, linear transformation is realized by rotation, expansion and contraction, etc. using a two-dimensional matrix, and nonlinear transformation is realized by high-order polynomials and other special relationships.

また、後者の方法に於ては、人間の筆記運動を第1図に
示す如く微小ストローク110の系列として捉え、ある
時点でのストロークを標準字形と比較し、その結果をフ
ィードバックすることにより、次の時点でのストローク
の長さ、方向を決定するという方法を用いている。
In addition, in the latter method, the human writing movement is understood as a series of minute strokes 110 as shown in Figure 1, the stroke at a certain point is compared with a standard character shape, and the result is fed back to the next step. A method is used to determine the length and direction of the stroke at the point in time.

これら従来方法は、 α)パラメータの数が多く、変形を制御するのが困難で
ある、 h)変形文字発生に必要な処理量が多くなる、C)変形
の度合を定量的に表わすのが困難である、 などの欠点があった。
These conventional methods have the following problems: α) The number of parameters is large, making it difficult to control deformation; h) The amount of processing required to generate deformed characters is large; and C) It is difficult to quantitatively express the degree of deformation. There were drawbacks such as.

C) 発明の目的 本発明社、これらの欠点を解決する九め、標準字形に不
規則な摂動を加え、変形文字を発生するという単純な構
成をとることにより、文字変形を少数のパラメータで懺
わすとともに、文字変形量の定量化を可能にしたもので
、以下図面について詳細に説明する。
C) Purpose of the Invention In order to solve these drawbacks, the present inventor has created a simple structure in which irregular perturbations are added to standard character shapes to generate deformed characters, thereby reducing character deformation with a small number of parameters. In addition, it is possible to quantify the amount of character deformation, and the drawings will be described in detail below.

(4発明の構成および作用の説明 第2図は本発明の実施例であって、21Oは乱数発生回
路、220は平滑化回路、230a橡準字形格納メモI
J、240は摂動演算回路、250は変形量演算回路、
260は変形量出力端子、270は太め回路、280は
変形パターンメモリ、290は制御部であ、る。
(4) Explanation of the structure and operation of the invention FIG.
J, 240 is a perturbation calculation circuit, 250 is a deformation calculation circuit,
260 is a deformation amount output terminal, 270 is a thick circuit, 280 is a deformation pattern memory, and 290 is a control section.

これを動作するには、制御部290から初期化のための
信号を平滑化回路220、変形量演算回路250、太め
回路270、変形パターンメモリ280に送り、次に結
線2901を通して送られてくるタイミング信号により
、乱数発生回路210が(−111の値の一様乱数をl
f[発生し、それを平滑化回路220に送る。またこの
タイミング信号は無線2902を通して摂動演算回路2
40にも送られ、 摂動演算回路はこの信号を受けて標準字形格納メモリ2
30より標準字形上の1点の座標値、及び法線方向角度
を読み出してくる。
To operate this, a signal for initialization is sent from the control unit 290 to the smoothing circuit 220, the deformation amount calculation circuit 250, the thickening circuit 270, and the deformation pattern memory 280, and then the timing signal is sent through the connection 2901. The signal causes the random number generation circuit 210 to generate a uniform random number with a value of (-111).
f[ is generated and sent to the smoothing circuit 220. Also, this timing signal is transmitted to the perturbation calculation circuit 2 through the radio 2902.
40, and the perturbation calculation circuit receives this signal and stores it in the standard shape storage memory 2.
30, the coordinate value of one point on the standard character shape and the normal direction angle are read out.

平滑化回路220では、乱数発生回路210から新たに
送られてきた乱数と、すでに格納されている乱数とをも
とに平滑化の演算を行ない、その結果摂動値1個を発生
し、摂動演算回路240、及び変形量演算回路250に
送る。
The smoothing circuit 220 performs a smoothing operation based on the random numbers newly sent from the random number generation circuit 210 and the already stored random numbers, generates one perturbation value as a result, and performs the perturbation calculation. It is sent to the circuit 240 and the deformation amount calculation circuit 250.

摂動演算回路240は、送られてきた摂動値とあらかじ
め標準字形格納メモリ230より読み出されていた座標
値及び法線角度とから新たな座標値を計算し、太め回路
270に送る。
The perturbation calculation circuit 240 calculates new coordinate values from the sent perturbation value and the coordinate values and normal angles that have been read out in advance from the standard shape storage memory 230, and sends them to the thickening circuit 270.

変形量演算回路250では平滑化回路220より送られ
てきた摂動値を用い、文字変形量の更新を行なう。一方
、太め回路270は、摂動演算回路240より送られて
き九座標値をもとに太め処理を行ない、その結果を変形
パターンメモリ280に書き込む。以上の処理が終ると
、次のタイミング信号により再度乱数を発生させ、同様
な処理をくり返す。
The deformation amount calculation circuit 250 uses the perturbation value sent from the smoothing circuit 220 to update the character deformation amount. On the other hand, the thickening circuit 270 performs thickening processing based on the nine coordinate values sent from the perturbation calculation circuit 240, and writes the result into the deformation pattern memory 280. When the above processing is completed, random numbers are generated again using the next timing signal, and the same processing is repeated.

標準字形格納メモリ230中に、読み出すべき座標値及
び法線方向角度が無くなった時、制御部290は終了信
号を、乱数発生回路210、平滑化回路220、摂動演
算回路240、変形量演算回路250、太め回路270
に送る。変形量演算回路250は、この信号を受けて変
形量を出力端子260に出力し、他の回路では以後の処
理を停止する。
When there are no more coordinate values and normal angles to be read out in the standard glyph storage memory 230, the control unit 290 sends a termination signal to the random number generation circuit 210, smoothing circuit 220, perturbation calculation circuit 240, and deformation amount calculation circuit 250. , thick circuit 270
send to The deformation amount calculation circuit 250 receives this signal and outputs the deformation amount to the output terminal 260, and other circuits stop subsequent processing.

この時点で、変形パターンメモリ280には、端子26
0に出力される文字変形量に相当する変形文字パターン
が格納されている。引き続き変形文字パターンを発生さ
せるに杜、制御部290より初期化信号を送り、上述し
たものと同様な処理をくり返す。
At this point, the deformed pattern memory 280 has the terminal 26
A modified character pattern corresponding to the amount of character modification output to 0 is stored. After continuing to generate a modified character pattern, an initialization signal is sent from the control section 290, and the same process as described above is repeated.

本発明で用いられる乱数発生回路、平滑化回路、摂動演
算回路、変形量演算回路、太め回路は、いずれも単純な
構成で実現でき、そのため、種々の変形文字を、高速か
つ大量に発生させることが可能である。
The random number generation circuit, smoothing circuit, perturbation calculation circuit, deformation amount calculation circuit, and thickening circuit used in the present invention can all be realized with a simple configuration, and therefore, various deformed characters can be generated in large quantities at high speed. is possible.

第3図は、平滑化回路220の構成図である。FIG. 3 is a block diagram of the smoothing circuit 220.

この部分の動作の目的は、乱数発生回路210より11
次送られてくる乱数の系列を、平滑化し、摂動値の系列
に変換して、摂動演算回路240及び変形量演算回路2
50に送出することである0平滑化回路220は、変形
パラメータ格納メモリ2211平滑化係数発生回路22
2、平滑化係数格納メモリ223、乱数系列格納メそり
224、乗算器225、加算器226、摂動値レジスタ
227、アドレスレジスタ228、加算器229より成
る。
The purpose of this part of the operation is to generate 11 from the random number generation circuit 210.
Next, the series of random numbers sent is smoothed and converted into a series of perturbation values, and the perturbation calculation circuit 240 and the deformation amount calculation circuit 2
50, the 0 smoothing circuit 220 outputs data to the deformation parameter storage memory 2211 and the smoothing coefficient generation circuit 22.
2, a smoothing coefficient storage memory 223, a random number sequence storage memory 224, a multiplier 225, an adder 226, a perturbation value register 227, an address register 228, and an adder 229.

変形パラメータ格納メモす221に社予め外部より2つ
の変形パラメータA、Wを格納しておくOAはA≧Oな
る実数値、Wは正の整数でかつ奇数である。変形パター
ン発生処理に先立ち、平滑化係数発生回路222は、変
形パラメータ格納メモIJ 221に格納されているパ
ラメータA、Wを参照し、W個の平滑化係数ft 、I
h・・・・pwを発生する。平滑化係数fKは、平滑化
係数格納メモリ223にアドレスK(K=1,2、・・
・・、W)をもって順次格納される。
Two deformation parameters A and W are stored in the deformation parameter storage memo 221 from outside in advance.OA is a real value such that A≧O, and W is a positive integer and an odd number. Prior to the deformation pattern generation process, the smoothing coefficient generation circuit 222 refers to the parameters A and W stored in the deformation parameter storage memo IJ 221, and generates W smoothing coefficients ft, I.
h...Generates pw. The smoothing coefficient fK is stored in the smoothing coefficient storage memory 223 at address K (K=1, 2, . . .
..., W) are sequentially stored.

バ(K=1,2、・・・・、W)の値は、次のようなW
ウス関数の関数値を用いる。
The value of the bar (K=1, 2,..., W) is the following W
We use the function value of the Mouss function.

lx = CA gxpC−18(K−−+1)2/(
W−1)2〕・”・(υ但し W+12    2 C=Σ(−36(K−−)/ (W−1) )  ・・
・・・・(至)肚12 (K=L2、・・・・、W) また乱数発生回路には予め乱数発生のための初期値を設
定しておく。
lx = CA gxpC-18(K--+1)2/(
W-1)2〕・”・(υHowever, W+12 2 C=Σ(-36(K--)/(W-1)) ・・
...(to) 肚12 (K=L2,...,W) In addition, initial values for random number generation are set in advance in the random number generation circuit.

乱数発生回路210が結@2901を介して制御部29
0より初期化信号を受は取ると、乱数発生回路210は
、Wlliの乱数を発生し、それらを結線210を介し
て、□乱数系列格納メモリ224のアドレスlからアド
レスwlでに順次格納する。
The random number generation circuit 210 is connected to the control unit 29 via the connection @2901.
Upon receiving the initialization signal from 0, the random number generation circuit 210 generates Wlli random numbers and sequentially stores them via the connection 210 from address l to address wl in the random number sequence storage memory 224.

以後、乱数系列格納メモリ224のアドレスLのメモリ
内容を、fL(L=l、2、・・・・、W)で表わす。
Hereinafter, the memory contents at address L of the random number sequence storage memory 224 will be expressed as fL (L=l, 2, . . . , W).

次に、制御部290から結線2903を介して送られて
くるタイミング信号により、摂動値レジスタ227及び
アドレスレジスタ228はそれぞれリセットされ、値0
が設定されるOまた同タイミング信号により、乱数発生
回路21011、結線2101を介して乱数1fliを
乱数系列格納メモリ224に送る0 乱数系列格納メモリ224は、fW−1をアドレスWに
、fw−2をアドレスW−1に、・・・・、f。
Next, the perturbation value register 227 and address register 228 are each reset by a timing signal sent from the control unit 290 via the connection 2903, and the value is 0.
O is also set by the same timing signal, and the random number 1fli is sent to the random number sequence storage memory 224 via the random number generation circuit 21011 and the connection 2101. to address W-1, ..., f.

をアドレス2に移した後、送られてきた上記乱数ll1
lllを、アドレスlに格納する0加算1229は、ア
ドレスレジスタ22Bの内容を、タイミング2291に
より1ずつカウントアンプし、当該レジスタの内容で示
される乱数系列格納メモリ224、及び平滑化係数格納
メモリ223の内容を、1−0乗算器225に送る。乗
算器225は、両者の積を算出し、結果を加算器226
に111g次送る0加算器226は、この結果を摂動値
レジスタ227に順次加算して行く0アドレスレジスタ
228の内容がW+1K7Thつた時点で、これらの加
算、乗算は停止される。この時点で、摂動値レジスタ2
27には、次式で示す摂動値rが格納されているO 摂動値rは、結@2201を介して、摂動演算回路24
0、変形量演算回路250に送られる。
After moving the above to address 2, the above random number ll1 sent
The zero addition 1229 that stores ll at address l counts and amplifies the contents of the address register 22B one by one at timing 2291, and stores the random number sequence storage memory 224 and smoothing coefficient storage memory 223 indicated by the contents of the register. The contents are sent to 1-0 multiplier 225. Multiplier 225 calculates the product of both, and sends the result to adder 226.
The 0 adder 226 that sends 111g to 111g sequentially adds this result to the perturbation value register 227, and when the contents of the 0 address register 228 reach W+1K7Th, these additions and multiplications are stopped. At this point, perturbation value register 2
27 stores a perturbation value r expressed by the following formula.
0, which is sent to the deformation amount calculation circuit 250.

以後、タイミング信号を受は取る度に、上述したことと
同様にして、乱数の発生、乱数系列格納メモリ内容のシ
フト、(8)式による積和演算、摂動値の送出をくり返
し、制御部290からの終了信号によって、当該処理は
停止する0 結線2201を介して平滑化回路220より出力される
摂動値rの系列は、結線2101を介して送られてくる
乱数系列を(1)式で嵌わされる関数によってたたみ込
み、平滑化し喪ものとなっており、平滑化の度合がノ(
ラメータWで、また摂動値rの振幅がパラメータAで制
御されている。従って、摂動値rの系列は、変形I(ラ
メータ格納メモリ内のA、Wの値を書き換えるという単
純な操作で制御できる。
Thereafter, every time a timing signal is received, the control unit 290 repeats the generation of random numbers, shifting the contents of the random number sequence storage memory, the sum-of-products calculation using equation (8), and sending out the perturbation value in the same manner as described above. The process is stopped by the end signal from 0. The series of perturbation values r output from the smoothing circuit 220 via the connection 2201 is obtained by fitting the random number series sent via the connection 2101 using equation (1). It is convolved and smoothed by the function that is passed, and the degree of smoothing is
The amplitude of the perturbation value r is controlled by the parameter A. Therefore, the series of perturbation values r can be controlled by a simple operation of modification I (rewriting the values of A and W in the parameter storage memory).

第4図は、摂動演算回路240の構成図である○この回
路の動作の目的り、平滑化回路220より送られてくる
摂動値をもとに1.標準字形に摂動を与え、変形を生せ
しめることである。摂動演算回路240は、摂動演算部
241、アドレスレジスタ242、加算器243、より
成る。
FIG. 4 is a block diagram of the perturbation calculation circuit 240. For the purpose of operation of this circuit, 1. It perturbs the standard glyph shape and causes it to deform. The perturbation calculation circuit 240 includes a perturbation calculation section 241, an address register 242, and an adder 243.

第5図は、第4図の動作を説明するための、標準字形″
′5”を例にとった実施例説明図である。
Figure 5 shows the standard character form "
FIG. 5 is an explanatory diagram of an embodiment using '5'' as an example.

第5図に於て、標準字形510は、NII!ilの文字
点によって構成されているものとする。標準字形格納メ
モリ230には、第5図で示される8個の文字点のJ、
?座標並びに法線方向が、予め格納されている。法線方
向は法線とX軸とがなす角度で表わす。座標値、及び法
線方向は、実際に人間が文字を書く順、即ち第5図の側
では、ABCそ17てA l)の順にアドレスlから・
アドレスNまでに格納される。アドレスj(l≦j≦N
)に格納されているx1ν座標値、法線方向を、それぞ
れX/、制御部290からの初期化信号を受けて、アド
レスレジスタ242はリセットされ、該レジスタに値0
が入る。以後は、制御部290からのタイミング信号を
受は取る毎に、加算器243は、アドレスレジスタ24
2を1ずつカウントアツプする。今、j番目のタイミン
グ信号を受は取っ九場合を例にとると、加算器243が
アドレスレジスタ242を1だけカウントアツプした後
、当該レジスタの内容で示される標準字形格納メモリの
アドレスが参照され、座標値X7.Yi及び法線方向θ
jが結線2301を介し、摂動演算部241に送られる
In FIG. 5, the standard glyph 510 is NII! It is assumed that it is composed of character points of il. The standard glyph storage memory 230 stores eight character points J, as shown in FIG.
? Coordinates and normal directions are stored in advance. The normal direction is expressed by the angle between the normal and the X axis. The coordinate values and normal direction are in the order in which characters are actually written by humans, that is, on the side of Figure 5, from address l to
Stored up to address N. Address j (l≦j≦N
), the x1ν coordinate value and the normal direction are respectively set to
enters. Thereafter, every time a timing signal is received from the control unit 290, the adder 243 adds the address register 24 to the address register 24.
Count up 2 by 1. Now, taking the case where the j-th timing signal is received and received as an example, after the adder 243 counts up the address register 242 by 1, the address of the standard glyph storage memory indicated by the contents of the register is referenced. , coordinate value X7. Yi and normal direction θ
j is sent to the perturbation calculation section 241 via the connection 2301.

摂動演算部241は、同じタイミング信号によって、平
滑化回路220から結線2201を介して送られてくる
摂動値ri と上記x7.y八りを用い、次式により摂
動を加えた後の座標値Xti1:1 Yl /を算出し、結果を結線2401を介し、太め回
路270に送出するO X’7 = x7 + r7 as6/・(4)Y’/
 = Y/ + rj自al            
  (0式(4)、(5)は、第5図に於て、標準字形
上の点(XへY/)がr/だけの摂動を受けて移った点
(X’7XY’71  を求めていることに相当する。
The perturbation calculation unit 241 receives the perturbation value ri sent from the smoothing circuit 220 via the connection 2201 and the x7. Using y8, calculate the coordinate value Xti1:1 Yl / after adding perturbation according to the following formula, and send the result to the thick circuit 270 via the connection 2401 O X'7 = x7 + r7 as6/・(4)Y'/
= Y/ + rj self al
(0 Equations (4) and (5) calculate the point (X'7XY'71) where the point on the standard glyph (Y/ to This corresponds to

太め1す1路270へX li SY/)  の送出が
終了すると、制御部290からの7+1番目のタイミン
グ信号により、上述したことと同じ処理をくり返し、太
め回路270へ”/ + 1 、”/+ 1  の値が
送られる。
When the sending of X li SY / +1 value is sent.

そして、アドレスレジスタ242の内容がNを越えた時
、制御部290から停止信号が送出され、ト記の処理は
停止する。
Then, when the contents of the address register 242 exceed N, a stop signal is sent from the control section 290, and the processing described above is stopped.

このように、摂動演算回路240は、平滑化回路220
から順次送られてくる摂動値を用い、標準字形上の各点
に摂動を与えて変形文字を生成する機能を有している。
In this way, the perturbation calculation circuit 240 is connected to the smoothing circuit 220
It has a function to generate deformed characters by applying perturbations to each point on a standard character shape using perturbation values sequentially sent from .

(1)式のパラメータAは、摂動の大きさ、即ち、標準
字形からの平均的なずれの大きさ、を表わしており、A
が大きい程、標準字形からのずれは大きくなる。また、
(1)式のパラメータWけ、摂動を受けた文字線の標準
字形の回りの変化の度合を表わしており、Wが大きい程
滑らかな変化を示すようになる0 第6図は、変形量演算回路250の構成図である。この
回路の動作の目的は、平滑化回路220より順次送られ
てくる摂動値をもとに文字変形量を算出することであり
、加算器2511変形量レジスタ252、除算器253
より成っている。
The parameter A in equation (1) represents the magnitude of perturbation, that is, the magnitude of the average deviation from the standard character shape, and A
The larger the value, the greater the deviation from the standard character shape. Also,
The parameter W in equation (1) represents the degree of change around the standard character shape of the perturbed character line, and the larger W is, the smoother the change is. Figure 6 shows the amount of deformation calculation. 2 is a configuration diagram of a circuit 250. FIG. The purpose of the operation of this circuit is to calculate the amount of character deformation based on the perturbation values sequentially sent from the smoothing circuit 220.
It consists of

制御部290より結線2904を介して送られてくる初
期化信号により、変形量レジスタ252aIJセツトさ
れ、値Oが設定される。加算器251は結線2201を
介して平滑化回路220より送られてくる摂動値の絶対
値と変形量レジスタ252の内容とを加算し、結果を書
き込むことにより、変形量レジスタ252の内容を書き
換える。制御部290からのタイミング信号によって平
滑化回路より摂動値が送られている間、上記の動作をく
り返し、制御部290より終了信号を受信した時点で、
当該動作を停止し、変形量レジスタ252除算を受け、
文字変形量として出力端子260に出力される。
An initialization signal sent from the control section 290 via the connection 2904 sets the deformation amount register 252aIJ and sets the value O. The adder 251 adds the absolute value of the perturbation value sent from the smoothing circuit 220 via the connection 2201 to the contents of the deformation amount register 252, and writes the result to rewrite the contents of the deformation amount register 252. While the perturbation value is being sent from the smoothing circuit in response to the timing signal from the control unit 290, the above operation is repeated, and when the end signal is received from the control unit 290,
Stop the operation, receive division by the deformation amount register 252,
The amount of character deformation is output to the output terminal 260.

端子260に出力される値は、 となっており、これは文字変形量を標準字形上の各点に
加えられる摂動の大きさの平均値として表わしたもので
ある。このような構成になっているから文字変形量を単
純な処理で高速に算出できる。
The value output to the terminal 260 is as follows, which represents the amount of character deformation as the average value of the magnitude of perturbation applied to each point on the standard character shape. With this configuration, the amount of character deformation can be calculated quickly with simple processing.

第7図は、太め回路270及び変形パターンメモリ28
0の構成図である。この回路の動作の目的は、摂動演算
回路240より送られてくる座標値をもとに、太め処理
を行ない、結果を変形バタンメモリに書き込むことであ
る。
FIG. 7 shows a thick circuit 270 and a modified pattern memory 28.
0 is a configuration diagram. The purpose of this circuit's operation is to perform thickening processing based on the coordinate values sent from the perturbation calculation circuit 240, and to write the results into the modified button memory.

太め回路270は座標レジスタ2711加算器272、
太め領域格納メモリ273、アドレスレジスタ274、
加算器275より成っている。
The thick circuit 270 includes a coordinate register 2711, an adder 272,
Thick area storage memory 273, address register 274,
It consists of an adder 275.

変形パターンメモリ280は、パターンの各点を1ビツ
ト、即ち、文字線上の点を11それ以外の点をOで表わ
している。
In the modified pattern memory 280, each point of the pattern is represented by 1 bit, that is, points on the character line are represented by 11, and other points are represented by O.

太め領域格納メモリ273には次式を満たす(ul v
)の対(Uz、Vt)(z=l、2、・・・・、L )
がアドレスlからアドレスLiでに格納されている。
The thick area storage memory 273 satisfies the following formula (ul v
) pair (Uz, Vt) (z=l, 2,...,L)
are stored from address l to address Li.

μ2+ν2≦11(− ここでLは(μ、υ)の対の数、Hは太めの度合を示す
パラメータで、外部より指定する。
μ2+ν2≦11(− Here, L is the number of pairs of (μ, υ), and H is a parameter indicating the degree of thickness, which is specified from the outside.

制御1is290j抄Mmm2905及び2906を介
して送られてくる初期化信号により、座標レジスタ27
1及び変形パターンメモリ280がそれぞれリセットさ
れ、値0が入る。次に、摂動演算回路240より座標値
が結線2401を介して送られてくると、それらは座標
レジスタ271に格納される。
The coordinate register 27 is controlled by the initialization signal sent through the control 1is290jex
1 and the deformed pattern memory 280 are each reset and contain the value 0. Next, when coordinate values are sent from the perturbation calculation circuit 240 via the connection 2401, they are stored in the coordinate register 271.

格納が終了すると、タイミング27bが作動状態となり
、以後一定間隔で加算器275にタイミング信号を送り
始める。加算器275は、タイミング信号276を受は
取ると、アドレスレジスタ274の内容を1だけカウン
トアツプし、その値で示される太め領域格納メモリ27
3のアドレスが参照される。
When the storage is completed, the timing 27b becomes active and starts sending timing signals to the adder 275 at regular intervals thereafter. When the adder 275 receives the timing signal 276, the adder 275 counts up the contents of the address register 274 by 1, and stores the thick area storage memory 27 indicated by the value.
Address No. 3 is referenced.

摂動演算回路240より送られてくる座標値がX/i、
Yl八へ照された太め領域格納メモリ273のアドレス
の内容がUt 、 Vtの場合を例にとると、加算器2
72は X”7 = X’/ + Uj           
 (6)Y”7 = Y/7 + VL       
     (至)を酎算し、新たな座標@ (X”) 
、 Y’7)を結線2701を介して変形パターンメモ
リ280に送り、当該座標に対応するメモリ上の所定の
ビットを1にする。以後、タイミング信号276を受信
する度に、同様な処理をくり返す。加算器275の内容
がL+lになると、タイミング276は信号の送出を停
止する。
The coordinate values sent from the perturbation calculation circuit 240 are X/i,
For example, if the contents of the address of the thick area storage memory 273 pointed to Yl8 are Ut and Vt, adder 2
72 is X”7 = X’/ + Uj
(6) Y”7 = Y/7 + VL
Calculate (to) and create new coordinates @ (X”)
, Y'7) to the deformed pattern memory 280 via the connection 2701, and sets a predetermined bit on the memory corresponding to the coordinate to 1. Thereafter, the same process is repeated every time the timing signal 276 is received. When the content of adder 275 becomes L+l, timing 276 stops sending the signal.

次に摂動演算回路240より新たな座標値が送られてく
ると、座標レジスタ271に当該座標値が格納されると
ともに、タイミング276が作動状態となり、上記と同
様な処理をくり返す0制御部290からの終了信号を受
信すると太め[01路270の処理は停止する。この時
点で変形)くターンメモリ280には、文字線幅2Hを
有する変形文字パターンが格納されている。従って、H
を用いて文字線幅を制御することができる0(6)  
効果の説明 以上説明したように、本発明による変形ノくターン発生
は、乱数発生回路、平滑化回路、摂動演算回路、太め回
路を基本として構成されており、各部の処理はメモリを
参照しながらの加算、積和演算、のみで可能であり非線
形変換などの複雑な処理を必要としない。また変形の制
御は2つのノ(ラメータによってのみ可能である。
Next, when a new coordinate value is sent from the perturbation calculation circuit 240, the coordinate value is stored in the coordinate register 271, and the timing 276 is activated, and the 0 control unit 290 repeats the same process as above. When the end signal is received from the thick [01 path 270, the processing is stopped. At this point, the deformed pattern memory 280 stores a deformed character pattern having a character line width of 2H. Therefore, H
The character line width can be controlled using 0(6)
Description of Effects As explained above, the deformed turn generation according to the present invention is basically composed of a random number generation circuit, a smoothing circuit, a perturbation calculation circuit, and a thick circuit, and the processing of each part is performed while referring to the memory. It is possible to perform only addition and product-sum operations, and does not require complex processing such as nonlinear transformation. Furthermore, the deformation can only be controlled by two parameters.

そのため単純な装置構成で種々の変形文字I(ターンを
高速かつ大量に発生できる利点がある。
Therefore, there is an advantage that various modified characters I (turns) can be generated in large quantities at high speed with a simple device configuration.

また変形量演算回路の出力である文字変形量を変形文字
パターンと併用し、文字認識装置の認識試験に適用すれ
ば、文字変形と認識性能の関係が明らかとなり、文字変
形に対する文字認識装置の安定性をチェックすることが
できる。
In addition, if the character deformation amount output from the deformation calculation circuit is used together with the deformed character pattern and applied to the recognition test of a character recognition device, the relationship between character deformation and recognition performance will become clear, and the character recognition device will stabilize against character deformation. You can check the gender.

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

第1図は従来の変形パターン発生法を説明するための説
明図、第2図は本発明方式の1実施例構成図、第3図は
第2図の平滑化回路の1実施例プロック図、第4図は第
2図の摂動演算回路の1実施例ブロック図、第5図は第
4図の動作を説明するための説明図、第6図は第2図の
変形量演算回路の1実施例ブロック図、第7図は第2図
の太め回路の一実施例ブロック図である。 図において、110は微小ストローク、210は乱数発
生回路、220は平滑化回路、230は標準字形格納メ
モリ、240は摂動演算回路、250は変形演算回路、
270は太め回路、280は変形パターンメモリ、29
0は制御部、510は標準字形を示す。 特許出願人 日本電信電話公社 代理人弁理士 森  1)  寛 ↓→→→→ トl/D 第1図 $4目 χ 第5図
FIG. 1 is an explanatory diagram for explaining the conventional deformed pattern generation method, FIG. 2 is a block diagram of one embodiment of the method of the present invention, and FIG. 3 is a block diagram of one embodiment of the smoothing circuit of FIG. 2. 4 is a block diagram of one embodiment of the perturbation calculation circuit in FIG. 2, FIG. 5 is an explanatory diagram for explaining the operation of FIG. 4, and FIG. 6 is an implementation of the deformation amount calculation circuit in FIG. 2. Example Block Diagram FIG. 7 is a block diagram of an embodiment of the thick circuit shown in FIG. 2. In the figure, 110 is a minute stroke, 210 is a random number generation circuit, 220 is a smoothing circuit, 230 is a standard shape storage memory, 240 is a perturbation calculation circuit, 250 is a modification calculation circuit,
270 is a thick circuit, 280 is a modified pattern memory, 29
0 indicates a control unit, and 510 indicates a standard character shape. Patent applicant Mori, patent attorney representing Nippon Telegraph and Telephone Public Corporation 1) Hiroshi↓→→→→ Tol/D Figure 1 $4 item χ Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)  一様乱数の系列を平滑化し、摂動値の系列を
算出する処理と、摂動値を用いて標準字形上の各点に筆
記順と同順序で摂動を与え、摂動後の文字の各点の座標
値を算出する処理と、摂動値の系列から文字変形量を算
出する処理と、摂動後の文字の各点の座標値をもとに、
文字線の太め処理とを行なうことを特徴とする変形パタ
ーン発生方式。
(1) A process of smoothing a series of uniform random numbers and calculating a series of perturbation values, and using the perturbation values to apply perturbations to each point on a standard character shape in the same order as the writing order. Based on the process of calculating the coordinate value of the point, the process of calculating the amount of character deformation from the series of perturbation values, and the coordinate value of each point of the character after perturbation,
A deformed pattern generation method characterized by thickening character lines.
(2) 初期値を与えることによって一様乱数を順次発
生する乱数発生回路と、発生された乱数系列を変形制御
用のパラメータを有する関数でたたみ込むことによって
平滑化し摂動値の系列を出力する゛ト滑化回路と、標準
字形上の各点の座標値及び法一方向の角度を筆記順に格
納した標準字形格納メモリと、摂動値及び標準字形格納
メモリから読み出した座標値、法線方向角度をもとに新
たな座標値を算出する摂動演算回iと、摂動値の系列を
平均することにより文字変形量を算出する変形量演算回
路と、上記摂動演算回路から出力される座標値をもとに
、指定された量だけの太め処理を文字線に施す太め回路
と、生成された変形パターンを格納する変形パターンメ
モリと、それぞれの回路に必要な制御信号を送出する制
御部とを具備したことを特徴とする特許請求の範囲第(
1)項記載の変形パターン発生方式。
(2) A random number generation circuit that sequentially generates uniform random numbers by giving an initial value, and a series of perturbation values that is smoothed by convolving the generated random number series with a function that has parameters for controlling deformation and outputs a series of perturbation values. The standard glyph storage memory stores the coordinate values and normal direction angles of each point on the standard glyph in writing order, and the perturbation values and the coordinate values and normal direction angles read from the standard glyph storage memory. A perturbation calculation circuit i that calculates new coordinate values based on the perturbation calculation circuit, a deformation amount calculation circuit that calculates the amount of character deformation by averaging a series of perturbation values, and a perturbation calculation circuit that calculates new coordinate values based on the coordinate values output from the perturbation calculation circuit. The present invention further includes a thickening circuit that applies thickening processing to a character line by a specified amount, a deformation pattern memory that stores the generated deformation pattern, and a control section that sends necessary control signals to each circuit. Claim No. 1 characterized in (
Deformed pattern generation method described in section 1).
JP57005207A 1982-01-14 1982-01-14 Generating system of deformed pattern Granted JPS58123176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57005207A JPS58123176A (en) 1982-01-14 1982-01-14 Generating system of deformed pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57005207A JPS58123176A (en) 1982-01-14 1982-01-14 Generating system of deformed pattern

Publications (2)

Publication Number Publication Date
JPS58123176A true JPS58123176A (en) 1983-07-22
JPH039507B2 JPH039507B2 (en) 1991-02-08

Family

ID=11604740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57005207A Granted JPS58123176A (en) 1982-01-14 1982-01-14 Generating system of deformed pattern

Country Status (1)

Country Link
JP (1) JPS58123176A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6037084A (en) * 1983-08-09 1985-02-26 Fujitsu Ltd Character recognizing device
JP2008077621A (en) * 2006-09-23 2008-04-03 Koji Miyake Method for making up for learning character sample of character recognition system
WO2017141802A1 (en) * 2016-02-15 2017-08-24 日本電気株式会社 Image processing device, character recognition device, image processing method, and program recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6037084A (en) * 1983-08-09 1985-02-26 Fujitsu Ltd Character recognizing device
JP2008077621A (en) * 2006-09-23 2008-04-03 Koji Miyake Method for making up for learning character sample of character recognition system
WO2017141802A1 (en) * 2016-02-15 2017-08-24 日本電気株式会社 Image processing device, character recognition device, image processing method, and program recording medium
US11341739B2 (en) 2016-02-15 2022-05-24 Nec Corporation Image processing device, image processing method, and program recording medium

Also Published As

Publication number Publication date
JPH039507B2 (en) 1991-02-08

Similar Documents

Publication Publication Date Title
Chen A rapid supervised learning neural network for function interpolation and approximation
Weinstein et al. Classical solutions of the quantum Yang-Baxter equation
TW493143B (en) Correction for perspective distortion image and method for artificial perspective distortion image
CN101253493A (en) Training convolutional neural networks on graphics processing units
CN108171244A (en) Object identifying method and system
JPS6367680A (en) Curved line generating method
JPS58123176A (en) Generating system of deformed pattern
CN107241608A (en) A kind of hardware fault-tolerant method and apparatus decompressed for frame buffer
US20070239413A1 (en) Local/local and mixed local/global interpolations with switch logic
CN108596959A (en) A kind of extracting method of video image space-time characteristic point
Mesnard The asynchronous Leontief model
YAMAMURA et al. A piecewise-linear homotopy method with the use of the Newton homotopy and a polyhedral subdivision
Lavery Capturing contact discontinuities in steady-state conservation laws
JPH0258182A (en) Pattern identification system
Martinez Esturo et al. Continuous deformations by isometry preserving shape integration
JPS5895392A (en) Character pattern generator
JPH0696223A (en) Tree structure drawing plotter
Lee et al. Adaptive algorithms for maximizing overall stock return
EP0155183A2 (en) Geometric processing apparatus
Brakhage et al. CAGD tools for high quality grid generation and sparse representation
JP2689815B2 (en) Vector font fill information generator
JPS60144788A (en) Cursor display system
CN108196919A (en) Shifting towards big data limits Turing machine method and system
JPH03250270A (en) Elliptical drawing system
Wells Lagrange Interpolation