JPS6075976A - Processing method of character picture data - Google Patents

Processing method of character picture data

Info

Publication number
JPS6075976A
JPS6075976A JP58183072A JP18307283A JPS6075976A JP S6075976 A JPS6075976 A JP S6075976A JP 58183072 A JP58183072 A JP 58183072A JP 18307283 A JP18307283 A JP 18307283A JP S6075976 A JPS6075976 A JP S6075976A
Authority
JP
Japan
Prior art keywords
contour
section
point
data
character
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.)
Pending
Application number
JP58183072A
Other languages
Japanese (ja)
Inventor
Hiroyuki Shibata
博之 芝田
Masatake Takashima
正武 高島
Shinichiro Fukuda
真一郎 福田
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.)
Shaken Co Ltd
Photo Composing Machine Manufacturing Co Ltd
Original Assignee
Shaken Co Ltd
Photo Composing Machine Manufacturing 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 Shaken Co Ltd, Photo Composing Machine Manufacturing Co Ltd filed Critical Shaken Co Ltd
Priority to JP58183072A priority Critical patent/JPS6075976A/en
Priority to GB08406187A priority patent/GB2147474B/en
Priority to KR1019840001672A priority patent/KR890003319B1/en
Publication of JPS6075976A publication Critical patent/JPS6075976A/en
Priority to US07/057,390 priority patent/US4771474A/en
Priority to HK852/88A priority patent/HK85288A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/20Contour coding, e.g. using detection of edges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Character Input (AREA)

Abstract

PURPOSE:To reduce the compression data quantity by obtaining an n-degree polynomial which gives approximation to a prescribed section from the inclinations at both ends of a contour section of the character picture data and the coordinates of a terminal point and storing both the coefficient and the order number. CONSTITUTION:The supplied character images are decomposed 30 into dots, and a contour is extracted 31. This contour undergoes the linear approximation 32 with a vector and discriminated 33 into a linear part and a curved line part. Then the dividing points of the contour are detected 35, and an n-degree polynomial is obtained from the both-end coordinates of a section to receive approximation of curved line and the sloping of said section. The sample points are successively decided 36, and the inclination of each contour point is calculated 37 again. An n-degree polynomial which is more faithful to the contour is calculated 38 from the calculated 37 inclination and the coordinate value of each contour point. These coefficient and degree numbers are coded 39 and stored 40 as the compression data. This compression data is decoded 41 by a decoder and a desired contour signal is restored 42.

Description

【発明の詳細な説明】 [発明の技術分野1 本発明(。11、文字・画像(」メ下、文字という)デ
ータの圧縮ブノ式に1系ねり、1J[に、文字の輪郭を
関数間わ;(またはn線の集合で近似し、その輪郭特定
情報を配信りることにJ、ってデータMのfE縮を行イ
1い、該圧縮されたデータを解読して文字像を再71g
、 JるJ、うにした文字画像データの処理方法に関C
Jるbのである。
Detailed Description of the Invention [Technical Field of the Invention 1] The present invention (.11, Compression of character/image (referred to as "character") data in one system in the Buno style, 1J[, character outlines between functions (Or approximating it with a set of n lines and distributing its contour identification information.) Perform fE compression of data M, decode the compressed data, and reproduce the character image. 71g
, JuruJ, C on processing method of character image data
It's from Jurub.

j発明の背扇技術1 文字をドラ1−分解してめlこ2ゴ的データが、極めて
冗長f〕1の高いデータであること(J周知(゛ある。
Invention of Back Fan Technique 1 It is well known that the data that is created by decomposing a character into two pieces is highly redundant data.

ぞこで、従来この冗長性を軽減Jるために種々のシ1−
り圧縮方式が提案されてさ−だ。
Conventionally, various schemes have been used to reduce this redundancy.
A new compression method has been proposed.

り字の形状を輪郭で把11イシ、その輪郭特定情報をh
己憶り゛ることににつでデータh1の圧縮を言するよう
にしに所−1“1輪郭法と呼ばれるデータY「線方式も
その1つて・ある。
Determine the shape of the letter 11 by its outline, and specify the outline information by h.
As I recall, one of the methods for compressing data h1 is the data Y line method, which is called the one-contour method.

この輪!lIl彎去にJ:るデータ圧縮方式としては、
第1図の如き白線(ベクトル)近似法や、第2図の如き
n次曲線近似法b<既に提案されている。
This ring! The most recent data compression method is
A white line (vector) approximation method as shown in FIG. 1 and an n-th order curve approximation method b< as shown in FIG. 2 have already been proposed.

第1図に例示した直線近似法は、特開昭54−1495
22号公報、Ff聞p155−79154号公報等に開
示された手法であり、その概要は、点線で示した任意文
字の輪郭1を直線で示した2次元ベクI〜ル2の集合で
近似し、各ベクトルの特定情報(始点位置、長さ及び傾
さ、あるいは、水平・垂直方向成分)を記憶データどJ
ることによってデ゛−タ圧縮を可rJ1とする・しので
ある。
The straight line approximation method illustrated in Figure 1 is
This is a method disclosed in Publications No. 22, Ff-155-79154, etc., and its outline is to approximate the contour 1 of an arbitrary character indicated by a dotted line with a set of two-dimensional vectors I to 2 indicated by straight lines. , the specific information of each vector (starting point position, length and inclination, or horizontal/vertical direction components) is stored in the stored data.
This makes data compression possible.

又、第2図に例示したn次曲線近似法は、本件111g
イ(人が特+!ずlnfイ55〜116160@(特開
昭57−39963号)どして既に出願した手法(・あ
り、その概要は、任意文字の輪郭上に適宜設定した点1
群の座標を記憶プることによってデータ吊の圧縮を八す
ると共に、(T意連続J−る( n + 1 )個の点
を結ぶn次曲線要素3の集合で、所望輪郭を近似しJ、
うとJ−るものである。
In addition, the n-th order curve approximation method illustrated in Figure 2 is applicable to 111g of the present case.
There is a method that has already been applied for in A.
By memorizing the coordinates of the group, data can be compressed, and the desired contour can be approximated by a set of n-dimensional curve elements 3 connecting continuous J-(n + 1) points. ,
It's very similar to that.

これら輪郭法によるデータ圧縮方式は、その圧縮データ
を解読して文字像を再生する際、補間処理ないしベクト
ルの倍率変換処理を実施することにJ、−、> −C,
4:、n々イ1°費幹の文字像再生に対処し得るとい゛
うQb徴を右している。
These contour method-based data compression methods perform interpolation processing or vector magnification conversion processing when decoding the compressed data and reproducing character images.J, -, > -C,
4: It has a Qb characteristic that can cope with character image reproduction at a cost of 1 degree.

1背國技術の問題点] しかし、その反面これら従来方式は、例えば、第1図t
こ(1ハJる各ベクトルのl’に+i I:a P、あ
るいは、第2図におりる各r)次曲線3の接続点1) 
Cを中心どづるノ1−右の各線分の傾き角δが、いづ゛
れの場合ム不連続となつCいることからも明らかなよう
に、VaORの滑らかさく輪郭の傾きの連続性)につい
て、最適の結果が保証されないという木質的な欠陥をイ
コシ(い lこ 。
1. Problems with backward technology] However, on the other hand, these conventional methods, for example,
(+i I:a P for l' of each vector in 1), or the connection point 1 of each r)-dimensional curve 3 in Figure 2)
Regarding the continuity of the slope of the smooth contour of VaOR, as is clear from the fact that the inclination angle δ of each line segment to the right of C is discontinuous in each case. However, the woody defects that do not guarantee optimal results are ignored.

これに対して、一般的に文字の輪r71く形状は、単に
輪郭自体が連続1)でいるのみならず、更に、文字画線
の交叉部や「バネ」の先端などの特v4な点(!除いて
見た場合、その1次導関数(輪郭の傾き)か連続的に礎
化Jる!lソf徴を有している。
On the other hand, in general, the shape of a character's ring r71 not only has a continuous outline, but also has special points such as the intersection of character lines and the tip of a "spring" ( When viewed with the exception of !, its first derivative (the slope of the contour) has a continuous foundation characteristic.

従つ(、従来輪郭法にJ:るデータ圧縮方式では、文字
輪Co1tに忠実な圧縮データが得がたいばかりでイ1
く、該データに基づいて再生された文字像の不自然さく
(1pさの不連続t!I)を正確に取り除くことができ
ないという問題を有していた。
Accordingly, with the conventional data compression method based on the contour method, it is difficult to obtain compressed data that is faithful to the character wheel Co1t.
However, there was a problem in that it was not possible to accurately remove unnaturalness (discontinuity t!I of 1p) from a character image reproduced based on the data.

このようイ1問題を解決するため、本件出願人は特願昭
57−16 B 84号(特開昭58−134745号
)の方式を既に出願した。
In order to solve problem A1, the applicant has already applied for the method of Japanese Patent Application No. 57-16 B84 (Japanese Unexamined Patent Publication No. 58-134745).

しかし、ここで開示したデータ圧縮方式は、(9輪郭全
体を一爪に近似しようとしたために、直線部と曲線部が
連続づ−るような輪郭部では、その接続点で輪郭より外
れた凹凸が発生しやづ”い。
However, since the data compression method disclosed here attempts to approximate the entire contour in one nail, in a contour part where a straight line part and a curved part are continuous, unevenness that deviates from the contour at the connection point. is unlikely to occur.

まlこ、これらを回避しようとすれば、更に多くの椋木
魚を設定し、多くの多項式に分割して近似を行4「わな
1Jればならず、そのために圧縮データ世が増大してし
まうという問題点が明らかとなった。
If you try to avoid these problems, you will have to set more Mukumoku, divide it into many polynomials, and make an approximation of 4 lines, which will increase the amount of compressed data. The problem became clear.

■更に、圧縮記憶データをめるために複雑な演算を要す
るため、記憶データの作成に時間がかかるという問題点
も残っていた。
(2) Furthermore, since complex calculations are required to store the compressed storage data, there remains the problem that it takes time to create the storage data.

[発明の目的] 本発明の目的は、改良された輪郭法データ1f柑1ブつ
式を提供づ−ることであり、更に本発明の他の目的は、
圧縮データを演算してめるに際し、演算時間を短縮した
にもかかわらず、文字輪郭に忠実41月」?1データが
得られる文字画像データの処理方法を提供Jることであ
り、更に本発明の他の目的は、文字輪郭の滑らかさを忠
実に記憶りるにもかかわらり°、充分に高いデータ圧縮
率が得られる文字1Illl像データの処理方法を提供
することであり、史に本発明の他の目的は、本発明にJ
、っで圧縮され/=データを解読して文字像を丙午づる
に際し、滑らかな輪郭を持つ秒々倍率の文字像を忠実に
再ηでさるようにした文字画像データの処理方法を1早
世Jることである。
[Object of the Invention] It is an object of the invention to provide an improved contour method data 1f format;
Even though the calculation time was shortened when calculating the compressed data, the outline of the characters remained faithful. Another object of the present invention is to provide a method for processing character image data that can obtain 1 data, and it is another object of the present invention to provide a method for processing character image data that can obtain data with a sufficiently high degree of compression while faithfully storing the smoothness of character contours. It is another object of the present invention to provide a method for processing character image data that yields a
A method for processing character image data that faithfully reproduces character images with smooth contours and magnifications per second when decoding the data and displaying the character images. Is Rukoto.

[発明の幽霊1 本発明の方法が関係づるデータ処1!Ijの概要を第3
図に示す)[−1−チト−1〜に従って説明Jる。
[Ghost of the invention 1 Data processing related to the method of the present invention 1! Summary of Ij in Part 3
(shown in the figure) [-1-Cyto-1~]

人力した文字像は[k 、V]マI・リクス状にドツト
分解され(30)、該1:ツ1一分解されtこ文字像の
輪郭を抽出づる〈31)。抽出された輪郭は、輪郭との
偏位量が許容誤差以下となるよう<1ベク]〜ルぐ直線
近似する〈32)。直線近似された輪郭は、ベクトルの
長さに基づいて直線部と曲線部とに識別され(33)、
一方では、V4接するベクトルの交叉角をめながら、輪
郭の分割点をめる(34)。
The manually generated character image is decomposed into dots in the form of a [k, V] matrix (30), and the outline of the character image is extracted (31). The extracted contour is linearly approximated by <1 vector] so that the amount of deviation from the contour is less than the allowable error (32). The linearly approximated contour is classified into a straight part and a curved part based on the length of the vector (33),
On the other hand, dividing points of the contour are determined while determining the intersection angle of vectors tangent to V4 (34).

そして、直線部に対しては、該区間の輪郭形状をn次多
項式(n=1)で表わし、曲線部に対しては、該区間の
輪郭形状をn次多項式(n=2.3>で曲線近似する。
Then, for a straight section, the contour shape of the section is expressed by an n-degree polynomial (n=1), and for a curved section, the contour shape of the section is expressed by an n-degree polynomial (n=2.3>). Approximate a curve.

前記曲線近似するために、輪郭を形成する各輪郭点に、
おける傾ぎをめ(35)、曲線近似する区間の両端座標
とその(σ1ぎによりn次多項式をめる。そして、該区
間を延長しながら、該区間を近似するr)次多項式と輪
郭との偏位rが許容誤差以下に収まる範囲内で最長どな
る区間(ザンプル区間)をめ、該区間の両端点をサンプ
ル点として決定してい<(36)。このようにして、順
次り′ンプル区間をめ、各リンプル区間を近似するn次
多項式がまると、各n次多項式の1次導関数をめ、各輪
郭点の傾きを再庶篇出する(37)。そして、新たにめ
た各輪郭点の傾きと座標値に基づいて前記同様にサンプ
ル点を決定し、より輪郭に忠実なn次多項式を算出する
〈38)。このようにしてめた前記n次多項式における
係数及び次数等をコード化しく39)、更に後の文字輪
郭の復元を効率良く行4【うため、1ブ11ツクのX方
向に対づる始点・終点間距離の長いしの順に、名ブロッ
クデータを記憶するようにした(40)。ぞして記憶さ
れIζ文字輪郭の圧縮データは、複数の5?=]−ダに
て分散して解読しく41)、前記解読結末に基づいて所
望の文字輪郭を復元するJ:うにした<42)。
In order to approximate the curve, at each contour point forming the contour,
Find the slope at (35), find the coordinates of both ends of the section to be approximated by the curve, and its (n-th degree polynomial by σ1). Then, while extending the section, calculate the r-th degree polynomial and the contour to approximate the section. The longest section (sample section) within the range in which the deviation r is within the allowable error is determined, and both end points of this section are determined as sample points (36). In this way, once the ripple intervals are determined and the n-degree polynomial that approximates each ripple interval is determined, the first derivative of each n-degree polynomial is determined, and the slope of each contour point is recalculated ( 37). Then, sample points are determined in the same manner as described above based on the newly determined slope and coordinate values of each contour point, and an n-th degree polynomial that is more faithful to the contour is calculated (38). In order to encode the coefficients, degrees, etc. of the n-dimensional polynomial obtained in this way39), and to efficiently restore the character contour later, the starting point and Name block data are stored in order of distance between end points (40). The compressed data of the Iζ character contour that is stored is a plurality of 5? 41), and the desired character outline is restored based on the result of the deciphering.

1発明の実施例] 次に各部のデータ処理について詳細に説明する。1 Examples of the invention] Next, data processing in each part will be explained in detail.

[画像入力(30) ] ス−I+・す装首竹のラスタ走査によって文字・画像を
[X 、Vlマ[ヘリクス状にドツI−分解し、これに
J、ってめられたピッ1〜パターンデータが処Ig!り
・1象どなるオリシナ°ル文字データとして供給3れる
[Image input (30)] Characters/images are separated into [X, Vl] helix shape by raster scanning of S-I+, Su-shouchiku, and this is J-shaped. The pattern data is processed! It is supplied as original character data.

[輪郭抽出(31) i 分解ドラ1〜に対応づる2飴データが、XまたはX方向
において、「0」から「1」または「1」から101に
変化するドラ1〜位置(輪郭点)をめることにより輪郭
が得られる。そして請求めた輪郭に゛対し×を変数どづ
る1価関数のブロックに分割して複数ブロックの集合と
する。
[Contour extraction (31) i Determine the position (contour point) where the 2 candy data corresponding to the disassembled driver 1~ changes from ``0'' to ``1'' or from ``1'' to 101 in the X or X direction. The outline can be obtained by Then, the requested contour is divided into blocks of monovalent functions with x as a variable to form a set of blocks.

第4図は、[x 、y]ママトリクス状ドラ]へ分解さ
れた文字データに対し輪郭を抽出すると共に、該輪郭を
1価関数のブロック([○]から「○」の区間)に分割
したものである。
Figure 4 shows how the contour is extracted from the character data decomposed into [x, y] mamatrix-like dora], and the contour is divided into monovalent function blocks (interval from [○] to "○"). This is what I did.

[直線近似(32)] 輪郭上の任意1ブ[1ツクにおいて、輪郭との偏位量が
所定の許容誤差以下に収まる範囲で出来るだり艮く設定
してい(ようにした多数のベクトルにより曲線近似を行
なう。
[Line approximation (32)] Any one block on the contour [In one block, the amount of deviation from the contour can be set within a range that is within a predetermined tolerance. Make an approximation.

第5図は、任意の1ブロツク[P+、Pnlにおいて、
点線で示した文字輪郭50を2次元ベクトル51の集合
で直線近似を行なったものである。
FIG. 5 shows an arbitrary block [P+, Pnl,
A character contour 50 indicated by a dotted line is linearly approximated by a set of two-dimensional vectors 51.

各ベタ1〜ル51の接続点PI 、 P 2 、−、 
P n−r 。
Connection points PI, P2, - of each flat 1 to 51
Pn-r.

Pnは、標本点として、後述する標本点座標記憶部60
に記憶する。
Pn is a sample point stored in a sample point coordinate storage unit 60, which will be described later.
to be memorized.

[文字輪郭の直線部と曲線部の識別(33) ]前述し
た如く、一般的に文字の輪郭形状は、直線的な部分と曲
線的な部分とを持ち合わせており、従来(−+、I、輪
郭全体を一度に近似しJζうとじていに)、:めに、L
l’J 43;1部ど曲線部が連続するようイ「輪郭に
おい(は、イの接続点近傍におい−C多くの標本点を設
定し、多くの近似式に分υjして行なわなVJれり、l
:’ <Kらず、データ量が増大してしJ、い、圧縮率
がイ1(1・Jるという欠点が生じていた。
[Identification of straight and curved parts of character outline (33)] As mentioned above, character outlines generally have straight parts and curved parts, and conventionally (-+, I, Approximate the entire contour at once and use
l'J 43; Set many sample points near the connection point of A so that one curved part is continuous, and perform VJ by dividing into many approximation formulas. ri, l
:'<K, the amount of data increased, and the compression ratio increased by 1 (1.J).

イこで本ブを明は、1述した面線近似によりめたベクト
ルの長さに基づいて、輪郭形状が直線部か曲線部かを識
別するよ−うにし、11線部と曲線部とを夫々別々に処
理することで上記欠点を解消するJ、うにした、。
In this section, we will identify whether the contour shape is a straight part or a curved part based on the length of the vector determined by the surface line approximation described in 1. J, which solves the above drawbacks by processing each separately.

第6図(J、文字輪郭の直線部と曲線部の識別方法を実
現した4I+を成の一実施例を示づブロック図である。
FIG. 6 is a block diagram showing an embodiment of 4I+ which realizes a method for identifying straight and curved portions of a character outline.

図において、60は前記直線近似(32)によって41
1られIこ標本点をブ[1ツク単位に記憶づ−る標本魚
座4,1jji記憶部、61は識別ベクl〜ル長りを設
定りろ直線部識別ベク1ヘル艮設定部、62は曲線分’
+’5111t屑試別角1αθを設定J−る曲線分割点
識別角浪設定部、63は1ト1番目の標本点P LSI
の座標(x 1.+I 、 yt+1 >を保持づるた
めの次標本点座標レジスタ、64は1番目の標本点PL
の座標(Xt、。
In the figure, 60 is 41 by the linear approximation (32).
1, the sample point is stored in block units.Sample Pisces 4, 1jji storage section, 61 is the identification vector l~l length setting section, 62 is a curve segment'
+'5111t Set waste separation angle 1αθ J-ru curve dividing point identification angle wave setting section, 63 is 1st sample point P LSI
The next sample point coordinate register for holding the coordinates (x1.+I, yt+1>), 64 is the first sample point PL
The coordinates (Xt, .

yL)を保持づる丸めの現椋木点座標レジスタ、65は
i−I Tr [1の標本点j〕L−1の座4Gi (
x t、−+ 。
yL), the rounded current Muku tree point coordinate register, 65 is i-I Tr [sample point j of 1] L-1 locus 4Gi (
x t, -+.

yl、−r )を保持づ−るノごめの前椋本点座標レジ
スタ、66はIIi+記次椋木点座標レジスタ63と現
標本点座標レジスタ6/lの各座標より標本区間(xし
 。
The main point coordinate register 66 holds the sample point coordinate register 63 and the current sample point coordinate register 6/l.

X t++ ]のベベクトル長しを算出部るベクトル長
算出部、67は前記次標本点座標レジスタ63、現像氷
点座標レジスタ64及び前椋本点座標レジスタ65の各
々座標より、標本点PLでのベクトル間角度0L(aZ
終出覆るベクトル間角度算出部、68は直線部識別ベク
トル長設定部61で設定した識別ベクトル長1−どII
IJ記ベク]〜ル長樟出部締出で算出したベクトル長J
2Lとを比較するベタ1〜ル艮比較部、69は前記曲線
分割点識別角度設定部62で設定し1こ曲線分割点識別
角度θと前記ムク1〜ル間角麻綽出部67で算出したベ
クトル間角庶θLとを比較する角度比較部、70.71
は前記ベトクル長比較部68の比較結果に基づき、直線
部または曲線部の区間を夫々記憶する直線部記憶部9曲
線部記憶部、72は前記角痘比較部69にJjい(、θ
−2・θLのどき1番目の標本点1〕シを曲わ;(分割
点ど(〕で記憶する曲線分割点座標記憶部である。
A vector length calculation unit 67 calculates the vector length of the sample point PL from the coordinates of the next sample point coordinate register 63, the development freezing point coordinate register 64, and the Maegura main point coordinate register 65. Angle 0L (aZ
A final overlapping vector angle calculation section 68 indicates the identification vector length 1-d II set by the straight line section identification vector length setting section 61.
IJ record vector] ~ Vector length J calculated by locking out the long camphor
A solid 1 to 2L comparison section 69 is set by the curve division point identification angle setting section 62 and calculated by the 1st curve division point identification angle θ and the solid 1 to 2L angle hemp output section 67. An angle comparison unit that compares the angle θL between the vectors, 70.71
is a straight line part storage part 9 curved part storage part which stores the section of the straight part or the curved part, respectively, based on the comparison result of the vegetal length comparison part 68;
-2・θL 1st sample point 1〕〕〕〕〕〕〕〕〕〕〕〕〕〕〕

次に動作についC説明1−る。先ず、直線部識別l\り
1−ル長設ボ部61にJjいて識別ムク1ヘル&Lを、
llI目≦(分^]1魚識別角度設定f’fll 62
において曲線分割点識別角1良θを夫々設定する。次に
、標本点座標記憶部60より、41意1ブ[1ツクの!
/11点座標を次標木1―座標レジスタ63に送る。こ
の哨点では現(υ;貞1ノジスタ64には何も記憶され
ていイ1い//)−Q後述cJるベク1゛・ル長算出部
66においてベタ1−ル艮をめることはでさない31次
に、次標本点)1q!>、 1ノシスタ63に記憶され
た標本点沙椋(ま現標本点座標レジスタ64に記憶され
、次椋本点座標レジスタ63には新たに次標本貞肢標が
記憶される。 Iス後+、J、 、 ]J、j標本点P
Iモ椋レジスタ64の標本魚座椋を前標本魚座標レジス
タ65に、次標本点座Li+レジスタ63の標本点J!
!標を現椋本点座標レジスタ6/Ifこそれぞれシフ1
〜して記憶し、次標本点座標レジスタ63には椋木点座
株記憶部60より次標本点座標が記憶される。
Next, let's explain the operation. First, Jj to the straight part identification l\ri1-ru long button part 61 and identification mark 1 hell & L,
llIth ≦ (minute ^) 1 fish identification angle setting f'fll 62
The curve dividing point identification angle 1 and θ are respectively set in . Next, from the sample point coordinate storage unit 60, 41-1 block [1 block!
/11 Point coordinates are sent to the next marker tree 1 - coordinate register 63. At this point, it is not possible to set a solid value in the vector 1゛・le length calculation unit 66, which will be described later. Not 31, then the next sample point) 1q! >, The sample point stored in the first sample point 63 (now stored in the current sample point coordinate register 64, and the next sample point position is newly stored in the next sample point coordinate register 63.) J, , ]J, j sample point P
Specimen Pisces in the Imo register 64 is stored in the previous sample coordinates register 65, next sample point Li+sample point J in the register 63!
! Set the target to the current point coordinate register 6/If this each shift 1
.

ベタ1〜篩用粋出81(66は、前記次椋本点座標レジ
スタ63の1+1番目の標本点P LSIの座標〈×国
、y国)と現像氷点座標レジスタ6401番目の標本点
l) tの座標(xL、yc >より、ベクトル を算出づ−る。算出したベタ1〜ル長βしはバク1ール
長比較部6ε3にて、前記直線部識別ベタ1ール長設定
部61で予め設定した識別艮1−ど比較する。ここで、
!シ〉トのときは、l:x(、、x国]の区間を直線部
と判断し、該区間の始点座標及び終点座標を直線?11
(記憶部70に記憶づる。また、β( ≦1−のどさく
よ、C X L 、 X I,I+ ]の区間を白石)
部ど判断し、−■、該区間を配憶し次の区間の識別を行
なう。ここで次の区間が直線部分であれば、前記記1な
しIこ[ ×1. 、 X 1.41 ]の区間を曲線
部としてその始点座標及び終点座標を曲線部記憶部71
に記憶J−る。一方、次の区間も曲線部であれば更に次
の区間の識別を行なっていき、識別する区間が曲わi(
部か−う直線部に変ったとき、それまで曲線部の連続し
I、:区間を連続した1つの曲線部どして、その917
点座標と終点座標を曲線部記憶部71に記憶りる。
Solid 1 to sieve extractor 81 (66 is the 1+1st sample point P of the above-mentioned next point coordinate register 63, LSI coordinates (country x, country y) and development freezing point coordinate register 6401st sample point l) of t. A vector is calculated from the coordinates (xL, yc >. The calculated solid line length β is determined in advance by the straight line portion identification solid line length setting unit 61 in the back line length comparison unit 6ε3. Compare the set identification number 1.Here,
! sheet>, the section l:x (,, country
(Stored in the storage unit 70. Also, the interval β(≦1-throat, CXL, XI,I+] is blank)
-2, the section is stored, and the next section is identified. Here, if the next section is a straight section, the above-mentioned 1 is omitted. ,
I remember it. On the other hand, if the next section is also a curved section, the next section is further identified, and the section to be identified is curved i(
When the section changes to a straight section, the continuous curved section until then becomes one continuous curved section, and its 917
The point coordinates and end point coordinates are stored in the curve section storage section 71.

[輪郭の分割(34)1 −h1ベク1ヘル間角磨Q出部67では、次標木山Pl
n椋しジスタ63.現標本点座標レジスタ64゜前標本
点座標レジスタ65より、ぞれぞれ標本点Pc−+、1
つ L、1つ (+1 (1) 座 4M (Xt−+
、 Vt−+) 、 (XL 。
[Divide the contour (34) 1 - h1 vector 1 helta square mill Q output part 67, next block Mt. Pl
n Mukushi Jista 63. From the current sample point coordinate register 64° and the previous sample point coordinate register 65, sample points Pc-+ and 1, respectively.
Two L, one (+1 (1) seat 4M (Xt-+
, Vt-+), (XL.

Vt )、(X国、 y+やl)を読み出し、第5図に
示Jベク1〜ル間角亀θL 〈θしは鋭角)を算出する
Vt), (Country

(>出したムク1ヘル間角度OLは角度比較部69にて
、前記曲線分割点識別A78設定部62で予め設定した
曲線分割点識別角度θと比較づる。ここで、0)θしの
とき、標本点PLを新たに曲線分割点と()で、111
目≦1分割点座標記憶部72にその座標を記憶りる。
(> The angle OL between Muku 1 and Hel that is output is compared with the curve dividing point identification angle θ set in advance by the curve dividing point identification A78 setting unit 62 in the angle comparing section 69. Here, when 0) θ. , set the sample point PL to a new curve dividing point and (), 111
Eye≦1 The coordinates are stored in the division point coordinate storage section 72.

通7i、この曲線分割点の近傍に多くの標本点が存イ1
し請求める近似曲線の処理に時間がかかっていたが、前
記求めたこの曲線分割点で輪郭を分割リーることにより
、曲線分割点の前後で夫々別個に曲線近似するので処理
時間も速く、しかも容易に近似曲線をめることができる
7i, there are many sample points near this curve dividing point.1
However, by dividing the contour at the curve dividing points obtained above, the curves are approximated separately before and after the curve dividing points, which reduces the processing time. Approximate curves can be easily drawn.

第7図は、第1図に図示した文字輪郭データに対して、
上記した「直線近似(32)3〜[輪郭の分割(34)
’]のデータ処理を施した例を示J−。
FIG. 7 shows the character contour data shown in FIG.
Above mentioned “Line approximation (32) 3 to [Contour division (34)
'] shows an example of data processing.

図において、Oは1ブロツクの917点及び終点、△は
直線近似により得られた標本点、拳は曲線分割点である
。また、※は直線部、無印は曲線部を示づ。
In the figure, O is the 917 points and the end point of one block, Δ is a sample point obtained by linear approximation, and fist is a curve dividing point. Also, * indicates a straight part, and no mark indicates a curved part.

[各輪郭点の傾さ算出(35> ] 上記求めた曲線部の輪郭形状をr11次項式(但し、n
−1,2,3>を用いて近似するに際し、該n次多項式
は、2点の座標値及び傾きが決定すれば一意的に決定さ
れる。そこでこの場合は、先ず輪郭上の各輪郭点にa3
ける傾ぎをめる必斐がある。
[Calculating the slope of each contour point (35>)] The contour shape of the curved part obtained above is calculated using the r11th order term (where n
-1, 2, 3>, the n-th degree polynomial is uniquely determined once the coordinate values and inclinations of the two points are determined. Therefore, in this case, first, a3 is applied to each contour point on the contour.
There is a need to reduce the inclination to

本発明では、各輪郭点にJ34)る傾きは、その輪郭点
の前後の輪郭点を所定数だ(づ抽出し、傾きを算出する
輪郭点と抽出した各輪郭点とを結lυだ線分の(1f1
さをぞれぞ゛れめ、所望の輪郭点にJ> 4jる1ぽ1
きを算出りるJ、うにした。
In the present invention, the slope given to each contour point is determined by extracting a predetermined number of contour points before and after the contour point, and then connecting the contour point whose slope is to be calculated with each extracted contour point by a line segment Lυ. (1f1
Go ahead and move J> 4j to the desired contour point.
Calculate the value J, sea urchin.

本発明にJ、る各輪I;II+点におりる傾きの締出方
法を第8図に従って説明りる。
A method of controlling the inclination of each wheel I; II+ in the present invention will be explained with reference to FIG.

先覆゛、第ε3図(a)のように輪郭」の任意1ブ[」
ツク1.’P+、Pn]の始点1)1〈輪郭点C)+ 
)にa月ノる(ぼIきtlをめるには、始点1〕1の後
に存r1ツる輪郭点を(f 息数だけ抽出し、始点1〕
1 と名輪郭点とを結ぶ線分の(ず1きを()出し、各
類さJ、り始J:(IP + にお(〕る傾さtlを後
述する式より咋jH、Jる。
Any one section of the contour as shown in Figure 3(a).
Tsuk 1. 'P+, Pn] starting point 1) 1 <contour point C)+
) in a month (to set the starting point 1), extract the contour points that exist r1 after 1 (extract the number of breaths, and set the starting point 1)
1 and the famous contour point, and calculate the slope tl of each class J, start J: (IP + ) from the formula described later. .

例λ−ば、輪・11(点を25j、ξ抽出して(す〕き
をめる場合(,1、J、 リ’、線分Q1012の傾さ
−m7.線分01n可の1げ1さゴT1□をめる。
For example, λ-11 (extract points 25j, Insert 1 Sago T1□.

ワ;)分の(す°1さ「r1] は、2点の汁(票(X
+ 、Vt > 。
wa;
+, Vt>.

<x2 、y2 )から、 (求めることがでいる。尚、rTl ’aの場合も同様
にしくンj之める。
< x2 , y2 ), it can be found. Note that the same procedure can be applied to the case of rTl'a.

大々線分の傾きm 、 、 rTl 2がまると、輪郭
点Q 1ニJ5 CJルfll キ’11ハ、によりま
る3、尚、終点にa3いて−b同様にしでめることがで
さ゛る。
When the slope of the line segment m, , rTl 2 is rounded, the contour point Q1, .

次に、第8図(i)〉のように次輪郭点Q2におりる傾
きL2をめる場合は、 輪郭点Q2の前後に存在覆る輪郭点を所定数たり抽出し
、輪郭点Q2より各輪郭点とを結んだ線分の傾きをそれ
ぞれめ、輪郭点Q2にaハノるtelきt、をめる。
Next, when calculating the slope L2 that falls to the next contour point Q2 as shown in Fig. 8 (i), extract a predetermined number of contour points that exist before and after the contour point Q2, and calculate each slope from the contour point Q2. Determine the slope of each line segment connecting the contour points, and set a to the contour point Q2.

例えば、輪郭点を前後2点抽出しC傾きをめる場合、輪
91(点Q2にJ3いては前1点しか抽出できないので
、この場合前後1点を抽出することにより、傾きt2を
次式Jζりめる。
For example, when extracting two contour points in the front and rear to calculate the C slope, the ring 91 (if J3 is located at the point Q2, only the front one point can be extracted, so in this case, by extracting the front and rear points, the slope t2 can be calculated using the following formula. Jζrimel.

このJ:うに指定した数の輪郭点が存在しない場合は、
指定範囲内で最大数の輪郭点を抽出して傾きをめるよう
にJ8゜ 次に、第8図(C)のように輪郭点Q3にお()る傾ぎ
t、をめる場合、輪郭点Q3においては、前nla所定
数の輪郭点が前後に存在1°る。よって輪ν1く貞03
と各輪郭ribとを結ぶ各線分の傾さml。
If this J: does not have the specified number of contour points,
In order to extract the maximum number of contour points within the specified range and tilt J8°, then, as shown in Fig. 8 (C), if you set the slope t at contour point Q3, At the contour point Q3, there are a predetermined number of contour points 1° before and after it. Therefore, the ring ν1 is 03
and the slope ml of each line segment connecting each contour rib.

rn2 、 rTIJ、 m、を夫々求め、輪郭点Q3
にお(ブる(げ1 さ−L 1 を ・ J、りめる。そして、順次輪郭点を−J−!J’めなが
ら、同様にして各輪郭点にお【〕る傾きを算出していく
Find rn2, rTIJ, m, respectively, and find the contour point Q3.
Then, calculate the slope at each contour point in the same way while sequentially looking at the contour points. To go.

「リンプル点の決定(36)] 以−1−のように各輪郭点にJjLプる偵きがまると、
次に輪郭1−02魚の輪郭点により決定づる近似曲線を
め、該近似曲線と輪郭との偏位量を各輪ゆ1(点につい
て逐次求める。
“Determination of Rimple Points (36)] When a rectangle of JjL is drawn at each contour point as shown in below-1-,
Next, an approximate curve determined by the contour points of the contour 1-02 fish is determined, and the amount of deviation between the approximate curve and the contour is sequentially determined for each wheel Yu1 (point).

ぞして、今、問題とJ、る近似曲線区間にi15 It
)る各偏位量が許容誤差以下の場合には、輪郭点を更に
1つ前進さけて再ひ同様の処理を繰り返し、該偏位h1
が621容誤差の範囲内で最長とイfる区間(これを以
下、υ−ンブル区間という′)を決定しながら、輪郭を
υンブル区間毎に分割していく。そして、このリンプル
区間によって決定Jるr11次項式で輪91ζが近似さ
れる。
Therefore, we now have the problem and the approximation curve section i15 It
) is less than the allowable error, the contour point is moved forward one more time and the same process is repeated again, and the deviation h1
The contour is divided into υ-numble sections while determining the longest section (hereinafter referred to as υ-numble section) within a 621-dimensional error range. Then, the ring 91ζ is approximated by the r11th order term determined by this ripple interval.

以下、n次多項式の近似曲線の算出と偏位量の締出方法
について、第9図を用いて説明する。
Hereinafter, the calculation of the approximate curve of the n-th degree polynomial and the method of determining the amount of deviation will be explained using FIG. 9.

まず、直線部記憶部70棟び曲線部記憶部71に記憶し
た座標1111により、近似づる区間が直線部か曲線部
であるかを判別する。ぞして、該区間が直線部であれば
、区間の始貞座椋と該区間を示ず直線式(1次式)を締
出し、後述するコード化を行なう。
First, it is determined whether the approximate section is a straight section or a curved section, based on the coordinates 1111 stored in the straight section storage section 70 and the curve section storage section 71. Therefore, if the section is a straight section, the beginning and end of the section and the section are excluded from the linear equation (linear equation), and encoding, which will be described later, is performed.

次に、該区間が曲線部である場合について説明Jる。Next, a case where the section is a curved section will be explained.

第9図(a>にa3い−c、5L((1)l>は着目し
ている第1番目のリンプル区間の始点であり、該913
点5L(Ql)とり“ンブル候補点St÷](0丁1)
の2点間をザンプル候補区間どして順次近似曲線を−C
いく。Bは輪郭点QJ 、Cは曲線近似覆る区間を結ん
だ直線92と直交し、■つ、点B(QJ )を通る直線
[3Q 93と近似曲線91との交点、面は輪郭点QJ
にiJ3 G)る輪郭90と近似曲線91とのx7j向
における偏位量、■は輪郭90と近似曲線91との偏位
量、BDは輪郭90と)11似曲線91どのy方向にお
()る偏位量である。
Figure 9 (a>, a3-c, 5L ((1) l> is the starting point of the first rimple section of interest, and the 913
Take point 5L (Ql) and select candidate point St ÷ (0 to 1)
-C
go. B is the contour point QJ, C is perpendicular to the straight line 92 connecting the sections covered by the curve approximation;
iJ3 G) The amount of deviation in the x7j direction between the contour 90 and the approximate curve 91, ■ is the amount of deviation between the contour 90 and the approximate curve 91, BD is the amount of deviation between the contour 90 and) ) is the amount of deviation.

41、た、区間IQ+ 、Q2 ]におGノるn法条I
ff 弐4.1急に1白線と決定するので、次区間IQ
+ 、Q:] ]よりn次¥/jj’4式の近似曲線を
める。
41, section IQ+, Q2]
ff 24.1 It is suddenly decided that it is the 1st white line, so the next section IQ
+ , Q:] ] to find the approximate curve of the n-th order ¥/jj'4 equation.

以下、3次曲線の場合を例に説明Jる。既にt>出()
た始点SL (Ql )及び1ノンプル候補点Q++の
 Iw e t、L 、1. n ど 11へ (票 
イ1白 (×(、、V+、)、(Xn、Vn)を下記3
次式に代入することにより、該区間の)Li似凹曲線1
X)がまる。
The following will explain the case of a cubic curve as an example. Already t>out()
Iw e t,L,1. of the starting point SL (Ql) and one non-pull candidate point Q++. n to 11 (vote
A1 white (×(,,V+,),(Xn,Vn) as below 3
By substituting into the following equation, ) Li quasi-concave curve 1 of the section
X) is round.

r (x) −yc +bシ(x−xt )ICL (
X−X L ) 2 +(」t(x−xt、)J bl、−1( 以−1のJ、うに近似的?1lf(x)を決定づる各係
数がJ、るど、該近似曲線「(X)と輪郭との偏位量ε
をめる。
r (x) -yc +b (x-xt) ICL (
X - ``Amount of deviation ε between (X) and the contour
I put it on.

偏位量εは該区間に存在づる各輪郭点QJ (但し、2
≦j≦n−1)において夫々求める。
The deviation amount ε is calculated by each contour point QJ existing in the section (however, 2
≦j≦n-1).

図において、輪郭90ど近似曲線91の偏位量ε(=B
C)をめるに際し、本発明で1.i−付量εを疑似的に
締出覆るようにし、高速に処理できるにうにした。
In the figure, the amount of deviation ε(=B
When considering C), the present invention provides 1. The i-applied amount ε is artificially excluded and covered to enable high-speed processing.

第9図([))は、(a>にお(〕る輪郭90と近似曲
線9′1どの誤差部分を拡大したものである。
FIG. 9 ([)] is an enlarged view of the error portions of the contour 90 and the approximate curve 9'1 in (a>).

図にJ3いで、線分面は直線92に平行であると仮定し
、線分CAの傾きr口を直線92の傾きとする。イし−
C1輪91(点B((、)J)において、近似曲線91
どの×方向及びy方向に対する隔り量εえ。
At J3 in the figure, it is assumed that the line segment plane is parallel to the straight line 92, and the slope r of the line segment CA is the slope of the straight line 92. Ishi-
At C1 wheel 91 (point B((,)J), approximate curve 91
What is the distance ε for which x direction and y direction?

ε〃をめることにより、 所望の偏位b1εは、 で近似的にめることができる、。By setting ε〃, The desired deviation b1ε is It can be approximated by .

(二のJ、−)にv)lこ輪郭00と近似曲線91との
IL似的偏位尾εが許容誤差の範囲以内て゛あれば、次
の輪郭点0出、をリンゾル候補点として区間を延し、以
ト同様にして、新たに区間LQ+ 、Qnnlにおい(
近似曲線をめ、該区別内に存在する全(の輪郭+:、1
(、l Jについて、偏位mεを調べる。
If the IL-like deviation tail ε of the contour 00 and the approximate curve 91 is within the allowable error range, the next contour point 0 is set as the Linsol candidate point in the interval , and in the same manner, create new sections LQ+ and Qnnl (
Including the approximate curve, all (contours +:, 1
(, l J, examine the deviation mε.

ぞして、いずれかの輪※1(点で6′F容誤差を越えた
イ1らば、1つ前のリンプル候補点Q nを曇1ンブル
1j、L S 1.+1どし、第i ?f′r目のリン
プル区間「SL 。
Then, if any ring *1 (point exceeds 6'F tolerance error), the previous rimple candidate point Q n is changed to 1 numble 1j, L S 1.+1, etc. i?f'rth rimple section "SL.

8国1が決定りる。8 countries and 1 will be decided.

以後、該リンゾル点S国を次リンプル区間の9r′i点
どじ、萌611同様にしで、順次(J゛ンブル点決定し
なlJ(らリンプル区間を請求めていく。
Thereafter, the Rinsol point S country is set in the same way as point 9r'i of the next rimple section, and Moe 611, and the rimple section is sequentially requested from (J) without determining the rimple point.

この上うtこして、輪郭は複数の電ナンブル区間で分割
され、各サンプル区間をそれぞれ近似曲線で近似してい
くことにJ:り輪νIXが近似される。
In addition, the contour is divided into a plurality of electronic number sections, and J: ring νIX is approximated by approximating each sample section with an approximate curve.

尚、十記説明C−iJ、次のり゛ンプル候補区間[(’
) + 、 Q nu l内ニA3 ケル(la (Q
 吊E カrr容誤差1iftえlこイ1らぽ、1つ前
のリンプル候補点Q n @ ’Jンブル点としてリン
プル区間を決定するようにした。
In addition, Juki explanation C-iJ, the next simple candidate section [('
) + , Q nul in Ni A3 kel (la (Q
The rimple section is determined as the previous rimple candidate point Q n @ 'J'.

しかし、他の実施例として、許容誤差を越えたとき、そ
の時点にお(プるザンプル候補点をQ nllを制定的
に記憶しておき、更に数点先(Q n+z 、 Q n
s、・・・)までのサンプル候補区間について6ff記
偏位71εのカ1′1曲を行なっていく。
However, as another embodiment, when the allowable error is exceeded, Q nll is formally stored as a sample candidate point (Q nll) at that point (Q n + z , Q n
For the sample candidate section up to s, .

イして、所定の数点先IJ到っても許容誤差を越えるJ
:つなとさ、前記Q nをり°ンプル点として、]ノン
プル区間を決定づるようにしてもよい。
Even if the IJ reaches a predetermined number of points ahead, the J exceeds the allowable error.
:The non-pull section may be determined by using the above Qn as a sample point.

勿論この場合、数点先のυンプル候補区間にa3いて許
容誤差の条例が充足した時は、該候補区間が新たに区間
[(:)+ 、Qn ]に更新され、史にそこから1ノ
ンプル点を前進さぜながら前述の評価処理を繰り返して
実行覆る。このような先読みを実施することにより、サ
ンプル区間を更に少なくザることがでさ、データ圧縮率
が向上づる。
Of course, in this case, when a3 is in the υ sample candidate interval several points ahead and the tolerance regulation is satisfied, the candidate interval is updated to a new interval [(:) + , Qn ], and one non-mple candidate interval is added to the history from there. Repeat the above evaluation process while moving the points forward. By performing such pre-reading, the sample interval can be further reduced, and the data compression rate can be improved.

[各輪91ζ点の傾き再算出(37) ]」二記の如く
、輪郭が複数のサンプル区間にa3いてそれぞれ3次式
の近似曲線で近似されると、該リーンプル区間の始点座
標と該サンプル区間を近似する近似曲線の次数及び係数
を、輪郭データどしく i+l−j mりることにより
月−縮された二]−ドを得ることが(゛きる。(〕かし
、前記[各輪!71;貞の傾き専用(:l!+ ) 、
1 請求めた各輪QIX点の(す1さは、ぞの前後所’
tf故の輪l71X点どの+ui (¥の重均(直とし
たムのて゛あり、実際の(す°1さとは人さく異<kる
場合がある。そこで、本発明て1J1、史に輪郭を忠実
に近似するため、各リング層[区間にお(〕る近似曲線
1(×)の−次導関数1−(x)をめ、該リンプル区間
の各輸※IXノ、“、(にJい(の傾きを再1身紳出J
るようにした。
[Recalculating the slope of the 91ζ point of each ring (37)] As described in 2, when the contour is a3 in multiple sample sections and each is approximated by a cubic approximate curve, the starting point coordinates of the lean pull section and the sample By calculating the degree and coefficient of the approximating curve that approximates the section by i+l-j m according to the contour data, it is possible to obtain the contracted 2]-de. !71; Only for Sada's inclination (:l!+),
1 The QIX points for each wheel that you requested
tf because of the ring l71 In order to approximate it faithfully, we take the -th derivative 1-(x) of the approximation curve 1(x) in each ring layer [interval, I'm going to re-introduce the inclination of
It was to so.

しリンプル魚の−ttj決定<38)]1記1名輪郭貞
の知さ再算出(37)]にJ、るデータ処l!1)によ
つ請求めた各輪郭点にお(〕る傾さ゛とPト4!A伯に
J、す、前九Cシ「す、ンプル点の決定(:H4)iど
11j]様にしで、再疾リンプル点を決定しながらサン
プル区間をめる3、このJ、うにしてめたり゛ンノ°ル
点(5j1、イのリンプル区間にa5いて、J:り輪郭
に忠実な近似曲線1’ (X ) −(”近似される。
Shirimple fish -ttj decision <38)] Recalculation of intelligence of 1 person outline (37)] J, Ru data processing l! 1) For each contour point requested by Then, determine the sample section while determining the re-rimple point. 1'(X)-("Approximate.

[l−ド化(39)] 以−1のJ、うにして請求めた直線部及び曲線部にJj
 lる大々各1ノンプル区間の始点座標、近似曲線1’
(x)の係数及び次数等を=1−ド化し、更に各ブロッ
ク単位に編成したブロックデータの集合どして記憶Jる
ことにより、任意文字輪郭に忠実な圧縮データを得るこ
とができる。
[L-do conversion (39)] Below-1 J, Jj is added to the straight and curved parts that were claimed in the above way.
Starting point coordinates of each non-pull section, approximate curve 1'
By converting the coefficients and orders of (x) into =1-code and storing them as a set of block data organized in units of blocks, compressed data that is faithful to the outline of an arbitrary character can be obtained.

第10図は、以」〕の如き本発明の実施に当って適用さ
れる、任意1つのブロックデータの々Yましいデータ記
憶フォーマットの一例を示す図である。
FIG. 10 is a diagram showing an example of the most preferred data storage format for any one block data, which is applied in implementing the present invention as described below.

図のフォーマットにおいて、ブロックヘッダ〜は、1ブ
ロツクの終7′座標及び1ブロツク中に存在りるサンプ
ル区間数を記憶し、セグメントヘッダーは、1リ一ンプ
ル区間の始点のX、Y座標及び近似曲線1(×)の次数
を記憶し、セフメン1〜情報l′J、前記次数によりま
る近似曲線f(x)の各係数を記憶し/jものである。
In the format shown in the figure, the block header ~ stores the ending 7' coordinate of one block and the number of sample sections existing in one block, and the segment header stores the X, Y coordinates of the starting point of one sample section and approximate The order of the curve 1(x) is stored, and the coefficients of the approximate curve f(x) based on the information 1'J and the above order are stored.

イして、セグメントヘッダーとセグメント情報によって
1つの(ノンプル区間データが編成されており、更に、
前記リンプル区間数に応じたリンプル区間データが順次
配列され、全体で1つのブロックデータを構成している
Then, one (non-pull section data) is organized by segment header and segment information, and
Rimple section data corresponding to the number of Rimple sections are arranged in sequence and constitute one block data as a whole.

[圧縮データの記憶(,40)] 1記ノA−7ツ1揄こよりコード化された各ブロワ/7
 j−夕は、後述16文字輪郭の復元の際に効・47良
く復)1.を行なう!こめ、ブロックを単位として、各
f1−]ツクにお【ノる解読処11j時間の長い順に記
憶りる。。
[Storage of compressed data (,40)] Each blower/7 coded from 1.A-7 1.
j-yu is effective when restoring the outline of the 16 characters described below. Let's do it! Then, blocks are stored in each f1-] block in descending order of decoding time. .

例Xは第11図(a>は、文字[あ1に対し−C各)(
1ツク〈説明]−1各ブ[]ツクに1−.20の番号を
イ、l 1./ /、: ) fljにIf: 1Ji
iデータをめた場合を示づ。
Example
1 tsuku〈explanation〉-1 for each block [] tsuku 1-. 20 numbers a, l 1. / /, : ) If: 1Ji to flj
The case where i data is collected is shown below.

イしく、解読に要Jる時間の長いものく例えば、×プj
’ II’!lに対して各ブ11ツタのりr?点と終点
の距頗1の艮いムの〉から順に記憶Jるのである。第1
1図(a)において、1ブロツクの解読に要りる時間が
1番1☆いのは、ブロック12であり、以干ブ【コック
゛l O、−、I nツタ1Gと続さ、ブ[1ツク3/
J(一番知くむつ(いる。従って、最終的にめられる文
字輪νIX)1れii J′□−夕は、第11図(b)
に示すよ5 /、;−1F]ツクデータの集合として記
憶されること1、、: /、jる。
For example, if the code is difficult and takes a long time to decipher,
'II'! 11 ivy glue for each l? The distance between the point and the end point is memorized in order, starting with the distance between the two points. 1st
In Figure 1(a), the block that takes the longest time to decode one block is block 12, followed by Block 1G, followed by Block 1G. Tsuku 3/
J (I know the most. Therefore, the final character ring νIX) 1reii J'□-Yu is shown in Figure 11 (b)
As shown in 5/,;-1F], the data is stored as a set of data1, :/,j.

し分散デ=+−ド(41) ] これまぐ述べてさ−たことは、文字輪郭のデータ圧縮に
関゛りるもので・ある。次に、以上述べて来ICデータ
処理方法ににって圧縮した輪郭データを基に、元の輪郭
を臀元づる方法について説明りる。
Distributed data = + - code (41)] What I have just described is related to data compression of character contours. Next, a method for reproducing the original contour based on the contour data compressed using the IC data processing method described above will be explained.

この場合、輪郭の復元を高速に行i、>うために、1ブ
ロツク毎の前記ブ[1ツクデータを複数のデコーダに順
次転送して処理を行イfい、処理の済んだデコーダより
次のブ[1ツクデータを処理していくようにしlこ。そ
こく−1前)小した1フロツクの解読に要Jる時間が問
題と4rる。つまり、1ブロツクの解読に要する時間が
長りれば、輪郭を復元り−る際の処理時間も通常長くな
る。よって、処理時間の艮いブ[]ツクデータが後の方
にくると、そのデ:ュータだりが処理を続り、他のデー
i−ダは全て処lipを終了し一〇しまうという状態が
起こり、デ゛二]−ダの使用効率が低下J−る。
In this case, in order to restore the contour at high speed, the block data for each block is sequentially transferred to multiple decoders for processing. The block will process one block of data. (Previously) The time required to decipher one small block is a problem. In other words, the longer the time required to decode one block, the longer the processing time required to reconstruct the contour. Therefore, if the data with the longest processing time comes later, the data will continue to be processed, and all other data will finish processing, resulting in 10 days. , the efficiency of use of the device decreases.

そこで本発明は、前述した如り、11縮データを1ブ「
1ツクの解読に要部る時間の長いものより順に記憶し、
複数のデコーダで処理づることでデコーダを効率良く使
用でき、輪郭を高速に復元できるようにしlζ。
Therefore, as mentioned above, the present invention has developed a method for converting 11 compressed data into one block.
Memorize the key parts that take the longest time to decipher one tsuku,
By performing processing with multiple decoders, the decoders can be used efficiently and contours can be restored at high speed.

以1・、第′12図及び第13図を参照して説明14、
Below 1., Explanation 14 with reference to Figures '12 and 13,
.

第12図(31、本発明にお(〕る輪郭復元を、最適に
414+−うための一実施例を示すブ[1ツク図である
FIG. 12 (31) is a block diagram showing an embodiment for optimally performing contour restoration according to the present invention.

図に、1メい(,120は各ブ1−1ツクデータを1ブ
[1ツクの解J)、に東Jる14間の良い順に記憶した
圧縮I゛−り、i11憶部、121はつの1ブロツクデ
ータを1(述づる>’ =]−夕を選択して転送するセ
レクタ1.122は別途入力した所望イIX率を記憶J
る倍率記憶部、123は前hiブロックデータを4J’
l、率相当の◆Q−/Bに復元覆るn l固のデー1−
タ゛より成るデ゛:二1−タ群、12/lは前記デ]−
タ群123の内、処理の終−/ l、 /こj’ :二
+−グ4を選択し、解防1.シてめIこ輪郭側索ノ゛−
タを後述J−る1文字記憶部−に転送するセレクタ2.
125 kt:前記セレクタ2(124)J:すjzら
れIこ輪郭データを記憶部る1文字記憶部、126は前
記1文字記憶部125に記憶完了した1之字分の輪郭画
素データに基づき、文字を印字1L/;二は表示等を行
なう出力装置である。
In the figure, 1 block data is stored in 1 block (120 is the solution of 1 block), and 14 blocks are compressed in order of order. Selector 1 selects and transfers 1 block data of
The magnification storage unit 123 stores the previous hi block data 4J'
Restored to ◆Q-/B corresponding to l, rate n l hard day 1-
Data consisting of data: 21-data group, 12/l is the data]-
From the data group 123, select group 4 for the end of the process. Seat I contour side rope
Selector 2 which transfers the data to the 1-character storage unit described below.
125 kt: the selector 2 (124) J: 1 character storage unit that stores the contour data of the selected character; Printing characters 1L/; 2 is an output device for displaying, etc.

次に、動作について説明づる。Next, the operation will be explained.

圧1?iデータ記憶部120より1ノ[1ツクの解読に
要する時間の艮い順く例えば第11図において、ブ[1
ツク12.ブロック10.ブロック1(3・・・の順〉
にセレクタ1(121)に転送1−る。セレクタ1(1
21)は前記転送されたブロックデータを、デ:1−タ
群122のデコーダ1より順にデコーダを選択して転送
を行なう。ブ[Jツクデータのψ人込が終了したデコー
ダは前記ブロックデータと倍率記憶部122に別途記憶
した所望(g<率データに基づいて、輪郭の復元処Il
lを開始する。セレクタ2(121)は復元処理の完了
したデコーダを順次選択し、復元しlζ輪郭画素データ
を1文字記憶部12F)に転送していく。1ブ[1ツク
分の復元処理の完了したデコーダは、セレクタ1(12
1)に対してブロックデータの転送を要求し、次の1フ
ロツク分のプに1ツクデータが転送される。
Pressure 1? For example, in FIG.
Tsuku 12. Block 10. Block 1 (in order of 3...)
is transferred to selector 1 (121). Selector 1 (1
21) transfers the transferred block data by sequentially selecting decoders from the decoders 1 of the data group 122. The decoder that has completed the block data ψcrowding process the contour restoration process Il based on the block data and the desired (g<ratio data) separately stored in the magnification storage unit 122.
Start l. The selector 2 (121) sequentially selects the decoders that have completed the restoration process, restores them, and transfers the restored lζ contour pixel data to the one-character storage unit 12F). The decoder that has completed the restoration process for 1 block [1 block] selector 1 (12
1) is requested to transfer block data, and one block of data is transferred to the next one block of data.

第133図は第12図に示した各デコーダ+!Y 12
3の処理状fぷの例を示ザタイミングブヤ−1〜T:あ
る。
FIG. 133 shows each decoder +! shown in FIG. Y 12
An example of the processing status f of No. 3 is shown below.

図において、T+’tよセレクタ1(121)から81
′−1−クヘ/11ツクデータを転送づる時間、1.f
J、各フ゛1−グがM読した輪郭測索データをけ1ノク
タ2(12/l)を介して1文字記憶部1251\Φ1
.送づる1+iy7間Cあり、1jは各デコーダにJ’
Nフる/’IIツクj′−夕の解ピ、処理時間てあ<)
。まlこ、1、は1文字分の処理時間を承り。
In the figure, T+'t selector 1 (121) to 81
'-1-k/11 time to transfer data, 1. f
J, each character storage section 1251\Φ1 stores the contour search data read by M through 1 node 2 (12/l).
.. There is C between 1+iy7 to send, and 1j is J' to each decoder.
Nful/'IItsukj'-Evening solution, processing time <)
. Maruko, 1, accepts processing time for one character.

フ 1−グ1′〜・r)へr)ブ[−1ツク分のブに1
ツクj″−クが転送され処理が開!j(i−!Ifるど
、次にn (−1番目の711ツク1゛−夕は、処理時
間の最もシ、0かったデ二ュータ(この場合、デ=r−
ダ3)へ転送され、引続き処理を行くl一つ(いく。
F 1-g 1'~・r) to r) b[-1 ts.
The 711-th 711-th check is transferred and processing starts!j(i-!If), then the n In this case, de=r-
The data is transferred to 3) and continues processing.

しか(’ N Il’b送づる各ブ■ツク7’−タは、
前)小の通りその処理時間が次第にシ、ii <なって
いく順番に配列されCいるの−(゛、第13図に図示の
如く各デ1−り(,1、はぼ同時に1文字分の処理を終
了りる。
However, each block sent by
As shown in Figure 13, the processing time for each character is arranged in the order that the processing time gradually becomes C, ii <. The process ends.

も工: −) ”C各y=+−グはほば均剪に稼動し、
無駄/、I:遊(/ 11.’1間を1−しること41
<可及的速やかに文字データの沁イ読が終了Jる。
Moko: -) "C each y=+-g operates almost evenly,
Waste/, I: Play (/ 11. '1- to mark between 41
<Complete reading of character data as soon as possible.

[輪郭の復元(42) 1 .1述の如く、各デコーダJzり復元されIこ170ツ
クの輪郭山水データは、1文字記憶部12E5に逐次記
憶していき1文字分の輪郭測索データが完成する。そし
て、1文字記憶部12E5に記憶された1文字分の輪郭
測索データを、例えばレーザビlxプリンタ、CRT写
真植字機或いは表示共IN等どいった出力芸首12Gに
供給することにJ、す、前1’iL従来技術と同様にし
′(所望の文字が復元される。
[Contour restoration (42) 1. As mentioned above, the 170 contour landscape data restored by each decoder are sequentially stored in the character storage section 12E5, thereby completing the contour search data for one character. Then, the contour search data for one character stored in the one-character storage section 12E5 is supplied to the output device 12G, such as a laser beam printer, CRT phototypesetting machine, display IN, etc. , 1'iL as in the prior art (the desired character is restored).

[発明の効果] エラ−1−悦明し−(来た本51明になる文字画像デー
タの処J!Ijプ)法を、800 X 800 トラl
−/111ら成6明朝l4VX11仮名文′−j” l
−あ1に適用して検証した結果、所望文字画像に対する
。着古誤差を1トン1〜どして1易合、’1.21%の
データに8I?i率を11Jることかで゛さた。
[Effect of the invention] Error-1-Enjoyment-(The place of character image data that becomes clear in the book 51 J! Ijp) method is 800 x 800
-/111ra Sei 6 Mincho 14VX11 Kana sentence'-j"l
- As a result of verifying the application to A1, it was applied to the desired character image. If the wear error is 1 ton and 1 is 1, then the data is 1.21% and 8I? I decided to increase the i rate to 11J.

また、上記説明で・は「あ」を例としてM2明してさ−
たか、イれ以外にb漢字や文字以外の各種マーク+ 8
1号、線画などの画像についてbIIIJ様に扱えるこ
とは明も「である。
Also, in the above explanation, ・ is explained as M2 using “a” as an example.
In addition to Taka and Ire, various marks other than b kanji and letters + 8
No. 1, Ming also said that images such as line drawings can be handled in the same way as bIIIJ.

以上本発明により、充分に高い圧縮率で文字輪郭のd′
Iらかさを忘失に記憶するデータが高速に(巳ノー)れ
、史に復元に際し′C(1、高品質の文字像を所“11
の(i+ ””−c゛に日中に再生−づることがでさる
文字画像!−タの処1!I! /J法を提供りることが
でき″る。
As described above, according to the present invention, character contour d' can be compressed with a sufficiently high compression rate.
The data that is memorized is stored at high speed (Mi no), and when it is restored to history, it is necessary to
It is possible to provide a character image that can be reproduced during the day in (i+""-c").

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

h′11図、第2図は従来の輪郭法データ圧縮を説明り
る図、第3図は本発明fJ法に関係り−るデーク処」す
1の1駅安を示すノ[1−ブド−1〜、第4図は輪郭を
Xを変数どりる1価関数のブ1]ツクに分割した例を示
づ図、第55図は直線近似を説明する図、−′16図(
1、本発明の白線部と曲線部の識別力法の一実施例を示
すノ1]ツク図、第7図は本発明の識別fJ法にJ、る
識別結果を示J図、第8図は本発明に、」る各輪郭点に
お()る傾さのDI出方法を説明りる図、第9図は本発
明におりるザンゾル点の決定Ij法を説明りる図、第1
0図はブ[1ツクデータの記憶)A−ンツ1〜の一例を
示J図、第11図は本発明+JJ、るゾ【]ツクデータ
の記憶方式を説明する図、第12図tよ本発明によるブ
ロックデータの復元を実施した構成の一実施例を承りブ
ロック図、第13図は第12図の動作を示すタイミング
ブt= −l−Cある。 1、bO,90・・・文字の輪郭 2.51・・・2次元ベクトル 3・・・m次曲線要素 60・・・標本点座標記憶部 61・・・ロー1線部識別ベク1〜ル長設定部62・・
曲線分割点識別角1哀設定部 63・・・次標本点P1−標レジスタ ロ7′l・・・現標本点座標レジスタ 65・・・前4票本Ia I土様レジスタ6G・・ベク
)・ル艮綽出部 67・・・ベタ1〜締出角度粋出部 68・・・ベタ1ヘル艮比較部 69・・・角磨比較部 70・・・直線部記憶部 71・・・曲線部記憶部 72・・・曲線分割点座標記憶部 <)1・・・r1次法条J″シ式の近似曲線120・・
1丁オ宿f−タ記憶部 121・・・レレクタ1 122・・・イ15シト″8L!4m1l11233・
・・デ]−ダl+Y 124・−・レレクタ2 12 h・・1文字t、iシ憶部 126・出力!8.首 第3図 第9図 (0) (b) 第hO図 (a) (b) 第rill
Figures 11 and 2 are diagrams explaining conventional contour method data compression, and Figure 3 is a diagram showing data compression related to the fJ method of the present invention. -1~, Figure 4 is a diagram showing an example of dividing the contour into blocks of a single-valued function that takes X as a variable, Figure 55 is a diagram explaining linear approximation, Figure -'16 (
1. Figure 7 shows an example of the discrimination method for white line parts and curved parts of the present invention. 9 is a diagram illustrating the method of calculating the DI of the slope at each contour point according to the present invention, FIG.
Figure 0 shows an example of the block data storage A-1~, Figure 11 is a diagram illustrating the method of storing data according to the present invention + FIG. 13 is a block diagram of an embodiment of the configuration in which block data is restored by the following, and there is a timing block t=-l-C showing the operation of FIG. 1, bO, 90...Character outline 2.51...2-dimensional vector 3...m-th curve element 60...Sample point coordinate storage unit 61...Row 1 line section identification vector 1~L Length setting section 62...
Curve dividing point identification angle 1 setting unit 63...Next sample point P1-marker register 7'l...Current sample point coordinate register 65...Previous 4 votes book Ia I soil register 6G...Bec) Line drawing part 67...Flat 1 to closing angle extraction part 68...Flat 1 hell shape comparison part 69...Square polishing comparison part 70...Straight line part storage part 71...Curved part Storage unit 72...Curve division point coordinate storage unit<)1...r1-order formula J''C approximate curve 120...
1 block data storage section 121...Rector 1 122...I15 seat''8L!4ml11233・
・・De]-da l+Y 124・−・Rector 2 12 h・・1 character t, i memory section 126・Output! 8. Neck Figure 3 Figure 9 (0) (b) Figure hO (a) (b) rill

Claims (1)

【特許請求の範囲】 (+1. X、 VJ中!標1−に展開した文字画像輪
郭を特定りるための符号化データを記憶Jるど共tこ、
該1−q ′l(H化j゛−りを解読してもとの文字画
像を再生づ−るようにしIJ文字画像データの処理方法
において、曲線近似によりtjJ号化づ−べき任意の輪
郭区間が疋められ7jどき、該区間の両端点にJ−34
−jる傾さIl 、Ill及び端点P5.1つT、の座
標(×+ 。 y+ )、(Xn 、yn”)をめ、これら傾さ1゜、
 ’I +1及び座(票b’ 6前R+J所定区間を近
似り−るn次多項式MX)(但し、n−1,2,3)を
め、該求めlご111次項式の係数及び次数を前記所定
区間を特定する輪郭データとして記憶するようにした文
字画像データの処理力d1゜ (2)、前記(げ1きtl及び1nをめるに際し、前記
端点と該端点の前後所定数の輪郭点とのfげ1きの平均
値を算出し、これを前記傾きtl及び1nとしたことを
特徴とする特γ[請求の範囲第1項記載の文字画像デー
タの処理方法。 (3)、前記1(x〉を、 1’ (X ) −V + + b 1(X −X +
 )十c、(x−x、 )2 十d+ (x Xi )3 どした時、その係数を、 [)、=1゜ n−xl より算出JるJζうに1ノたことを特徴とする特許請
[Claims] (+1.
In the method for processing IJ character image data in which the original character image is reproduced by decoding the 1-q'l When the section is completed and 7j is reached, J-34 is placed at both end points of the section.
Find the coordinates (x+.
'I +1 and locus (vote b' 6) Find the n-degree polynomial MX that approximates the predetermined interval of R+J (where n-1, 2, 3), and calculate the coefficient and degree of the 111th-degree term for each of the calculated l. Processing power d1゜(2) of character image data stored as contour data specifying the predetermined section; Character image data processing method according to claim 1. (3) The above 1(x> is expressed as 1' (X) -V + + b 1(X -X +
) 10c, (x-x, )2 10d+ (x Xi )3, the coefficient is calculated from [), = 1゜n-xl. request
JP58183072A 1983-10-03 1983-10-03 Processing method of character picture data Pending JPS6075976A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP58183072A JPS6075976A (en) 1983-10-03 1983-10-03 Processing method of character picture data
GB08406187A GB2147474B (en) 1983-10-03 1984-03-09 Method of processing character or pictorial image data
KR1019840001672A KR890003319B1 (en) 1983-10-03 1984-03-30 Apparatus for processing character or pictorial image data
US07/057,390 US4771474A (en) 1983-10-03 1987-06-02 Apparatus for processing character or pictorial image data
HK852/88A HK85288A (en) 1983-10-03 1988-10-20 Method of processing character or pictorial image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58183072A JPS6075976A (en) 1983-10-03 1983-10-03 Processing method of character picture data

Publications (1)

Publication Number Publication Date
JPS6075976A true JPS6075976A (en) 1985-04-30

Family

ID=16129257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58183072A Pending JPS6075976A (en) 1983-10-03 1983-10-03 Processing method of character picture data

Country Status (2)

Country Link
JP (1) JPS6075976A (en)
KR (1) KR890003319B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58134745A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Compression system of letter and image data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58134745A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Compression system of letter and image data

Also Published As

Publication number Publication date
KR890003319B1 (en) 1989-09-16
KR850003014A (en) 1985-05-28

Similar Documents

Publication Publication Date Title
CN109903236B (en) Face image restoration method and device based on VAE-GAN and similar block search
US5594503A (en) Image information compressing method, compressed image information recording medium and compressed image information reproducing apparatus
KR890003318B1 (en) Apparatus for processing character or pictorial image data
CN112118449A (en) Method and device for compressing and decompressing image
US11908216B2 (en) Musical notation system
JPS6075976A (en) Processing method of character picture data
JP2646475B2 (en) Character data input / output device and input / output method
JP3405155B2 (en) Document search device
JPS58134746A (en) Compression system of letter and image data
KR890003320B1 (en) Apparatus for processing character or pictorial image data
JP3777649B2 (en) Image compression method and image expansion method
JPS6075865A (en) Character data compression system
JP2882327B2 (en) Line figure matching device
US7379571B2 (en) Method of encoding lines
JPH01277976A (en) Image processor
JPS58194464A (en) Processing system of character and picture data
JPH0370629B2 (en)
JP2559359B2 (en) Image structure storage method and image registration apparatus
JPS6075978A (en) Processing method of character picture data
JP2513654B2 (en) Image coding device
CN114332260A (en) Chinese font character library automatic generation method and system based on block coding and Transformer
CN116935406A (en) Chinese character style generation method with natural writing property
JP3210822B2 (en) Animation processing method and apparatus for implementing the method
JP3029765B2 (en) Thicker text generator
CN116579952A (en) Image restoration method based on DU-GAN network