JPS58134748A - Settling system for letter data compression block - Google Patents

Settling system for letter data compression block

Info

Publication number
JPS58134748A
JPS58134748A JP57016887A JP1688782A JPS58134748A JP S58134748 A JPS58134748 A JP S58134748A JP 57016887 A JP57016887 A JP 57016887A JP 1688782 A JP1688782 A JP 1688782A JP S58134748 A JPS58134748 A JP S58134748A
Authority
JP
Japan
Prior art keywords
point
block
points
sample
sample point
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
JP57016887A
Other languages
Japanese (ja)
Other versions
JPH0613213B2 (en
Inventor
Shigeru Fuse
布施 茂
Masatake Takashima
正武 高島
Shinichiro Fukuda
真一郎 福田
Hiroyuki Shibata
博之 芝田
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 JP57016887A priority Critical patent/JPH0613213B2/en
Priority to US06/463,111 priority patent/US4542412A/en
Priority to GB08303086A priority patent/GB2114851B/en
Publication of JPS58134748A publication Critical patent/JPS58134748A/en
Priority to GB08508055A priority patent/GB2160382B/en
Priority to SG64387A priority patent/SG64387G/en
Priority to HK983/87A priority patent/HK98387A/en
Priority to HK853/88A priority patent/HK85388A/en
Publication of JPH0613213B2 publication Critical patent/JPH0613213B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/027Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems between relatively movable parts of the vehicle, e.g. between steering wheel and column
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/001Model-based coding, e.g. wire frame
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • H04N1/411Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures

Abstract

PURPOSE:To obtain the titled rettling system capable of raising the compression rate of letter data and also of reducing the number of sampling points to be set in entire letter outline by using a system in which the second dividing point is newly settled in the point where the setting density of sampling points exceeds a given threshold value and the block is divided into two sections. CONSTITUTION:Letter outline typically developed on X- and Y-coordinates are grasped as the aggregation of blocks B formed by singe-valued function with X as a variable. Letter outlines are approximated by curves passing through plural sampling points P1-1-Pi+3 set on each block. The case where the sum rhoi[i= 2-(n-3)]of the distance between the points Pi and Pi+1 and the distance between the points Pi+1 and Pi+2 becomes smaller than a threshold value rho' is extracted as a sampling point-densed section. Then, the farthest point Q in relation to the traight lines Pi-1 and Pi+3 is obtained, and when thetaq is smaller than a threshold value theta', the point Q is used as a new dividing point D and one block is diviced into two sections. Thus, the number of sampling points near the specific point is reduced and the compression rate of data is raised.

Description

【発明の詳細な説明】 本発明は、文字・画像等(以下、文字と言う)の輪郭を
、関数曲線または直線の集合で近似してデータ圧縮を実
施する際の、標本点、及び、ブロックの設定方式に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides data compression techniques for sampling points and blocks when performing data compression by approximating the contours of characters, images, etc. (hereinafter referred to as characters) with a set of function curves or straight lines. This is related to the setting method.

先ず、標本点の設定について説明する。First, setting of sample points will be explained.

文字の輪郭を標本点で分割し、各分割された輪郭セグメ
ントを、関数曲線または直線で近似するようにした文字
データ圧縮方式にあっては、文字輪郭の形状の特徴を損
なわない範囲で、可及的に小数の標本点を、高速に設定
することが重要である。
In a character data compression method that divides the outline of a character into sample points and approximates each divided outline segment with a function curve or a straight line, it is possible to It is important to set a small number of sampling points quickly.

従来、このような標本点を設定する最も簡単な方式とし
ては、X、Y座標上に展開した文字輪郭に対し、変数を
単位量づつ増加させて標本点を求める方式がある。
Conventionally, the simplest method for setting such sample points is to obtain sample points by increasing a variable by a unit amount for a character outline developed on the X and Y coordinates.

しかしこの方式は、標本点の設定を変数軸のみに依存し
ているため、近似される曲線(又は直線)と実際の文字
輪郭との園に所、定の尤度が保証されず、従って最適の
標本点を設定する事が困難であった。
However, since this method relies only on the variable axis to set the sampling points, a certain likelihood is not guaranteed between the approximated curve (or straight line) and the actual character contour, and therefore the optimal It was difficult to set sample points for

又、近似さむる曲線(又、は、直線)と実際の文字輪郭
との闇の尤度を候補、標本点に関して求めた4゜ のち、該尤度に応じて試見・:i錯誤的に候補標本点を
移動させ、所定の尤度が、得へれた時点で候補標本点を
設定標本点とする方式もあるが、この方式は、1つの標
本点を設定するために試行錯誤過程を要するため、処理
が冗長であった。
In addition, after calculating the likelihood of the difference between the approximated curve (or straight line) and the actual character outline with respect to candidates and sample points, test according to the likelihood. There is also a method that moves the candidate sample point and sets the candidate sample point as the set sample point when a predetermined likelihood is obtained, but this method requires a trial and error process to set one sample point. Therefore, the processing was redundant.

本発明に係わる標本点設定方式は、これらの同麺点を解
決するものであって、1回の尤度比較で1つの標本点を
、順次その都度、設定して行くようにした合理的方式を
提供するものである。
The sampling point setting method according to the present invention is a method for solving these same noodle points, and is a rational method that sequentially sets one sampling point for each likelihood comparison. It provides:

先ず始めに、標本点設定の前提となる文字輪郭の前処理
について説明する。
First, preprocessing of character contours, which is a prerequisite for setting sample points, will be explained.

第1図は、文字輪郭を、複数ブロック(B1.82 、
B3・・・)に分割し、各ブロックB(7)集合として
文字輪郭を把握した状態の模式的説明図であり、図中「
○」印および「・」印は、各ブロックの端点である。
Figure 1 shows the character outline in multiple blocks (B1.82,
B3...), and is a schematic explanatory diagram of a state where the character outline is understood as a set of each block B(7), and in the figure "
The "○" mark and the "•" mark are the end points of each block.

即ち、標本点設定の前処理として、X、Y座標に展開し
た文字輪郭上に適宜分割点を設定し、Xを変数とする1
価関数の区間に輪郭を分割する事によって、事前1.S
ブロックを求めておく。
That is, as a preprocessing for setting sample points, dividing points are set as appropriate on the character outline developed in X and Y coordinates, and X is set as a variable.
Preliminary 1. S
Look for blocks.

このブロック11介、割は、一連の輪郭のX座標値が、
単調に増加、又ハ:□、減少する任意区間をブロックと
して設定することによって、□一般的に処理する事がで
きる。
For this block 11, the X coordinate value of the series of contours is
By setting an arbitrary interval that monotonically increases or decreases as a block, □ can be generally processed.

更に、より適切なブロック設定法としては、第1図に示
す如く、一連の輪郭上のX座標値が極値となる位置を求
めたのち、該極値に該当する位置を初期の分割点D(図
中、「○」印)とし、更に、後述するブロック設定方式
に関連して詳しく述べる如く、該分割点りによって分割
された各輪郭ブロック上に、所定の関係に基づいて第2
の分鹸点D′(図中、「・」印′(を設定することによ
・で、各分割点(D又はDiで分割された区間を、夫々
ブロックBとして設定する。
Furthermore, as shown in Fig. 1, a more appropriate block setting method is to find the position where the X coordinate value on a series of contours has an extreme value, and then set the position corresponding to the extreme value to the initial dividing point D. (marked with a "○" in the figure), and furthermore, as will be described in detail in connection with the block setting method described later, on each contour block divided by the dividing point, a second
By setting the division point D' (in the figure, the mark ')', the section divided at each division point (D or Di) is set as a block B, respectively.

このようにして設□定゛された各ブロックBの物理的な
意味は、陰極線表示管(CRT>等のラスター走査型文
字表示装置上に文字像を再生するに際し、各ブロックB
が、Y方向に走査する輝点をターン・オン、又は、ター
ン・オフさせる点の集合に対応する意味i持つ。   
  □ 本発明になる標本点設定方式は、上記−前処理によって
設定した各シロツクBの任意1つについて、そのブロッ
クに該当する輪郭を、更に多数の輪郭セグメントに□分
割するための標本点設定方式に関するものである。
The physical meaning of each block B set in this way is that each block B is
has a meaning i corresponding to a set of points that turn on or turn off a bright spot scanning in the Y direction.
□ The sampling point setting method according to the present invention is a sampling point setting method for further dividing the contour corresponding to the block into a large number of contour segments for any one block B set by the above-mentioned preprocessing. It is related to.

第2図A−Cは、本発明になる方式に基づいて、の模式
的説明図、第3図は、本発明の標本点設定方式の一実施
例を示す構成図である。
2A to 2C are schematic explanatory diagrams based on the method of the present invention, and FIG. 3 is a configuration diagram showing an embodiment of the sample point setting method of the present invention.

第3図において、31は、第2図に実線曲線で示した任
意1つのブロックBに該当する輪郭の座標情報を記憶し
、必要に応じて□これらを出力する輪郭情報記憶部、3
2m、本発明方式によって設定された標本点の座標情報
を順次記憶し、必′要に応じてこれを出力する標本点座
標記憶部、33は、既に輪軸上に設定されている、即ち
、前記標本点座標記憶部32に記憶されている既設標本
点に関して、夫々隣接する標本点間の距離りを算出する
距離算出部、34は後述する近似曲線算出部、35は、
−接する標本点によ・て切り出された輪郭セグメントと
、既に輪郭上に設定されている各標本点を結ぶ近似曲線
とによって囲まれた面積Sを算出する面積算出部、3′
6は、前記距離算出部33で算出した距離りと、面積算
出部35で算出した面積Sに基づいて、S/Lなる評価
量ξを各セグメント毎に算出する評価量算出部、37は
最大評価量検出部、38は、評価量算出部36で算出し
た評価量の最大値ξlaXと、許容値設定部39から供
給される予め定めた許容値ξ′との大小を比較する比較
部、40は、比較部38での比較結果がξlaX >ξ
′の時、所定の関係に基づいて、新たな標本点を算出す
る新設標本点算出部であり、例えば、偏位算出部41、
最大偏位位習検出部42で構成されている。
In FIG. 3, reference numeral 31 denotes a contour information storage unit that stores the coordinate information of the contour corresponding to any one block B shown by the solid curve in FIG. 2, and outputs this as necessary.
2m, a sample point coordinate storage unit 33 which sequentially stores the coordinate information of the sample points set by the method of the present invention and outputs it as necessary; Regarding the existing sample points stored in the sample point coordinate storage unit 32, a distance calculation unit calculates the distance between adjacent sample points, 34 is an approximate curve calculation unit to be described later, 35 is,
- an area calculating unit that calculates an area S surrounded by a contour segment cut out by adjacent sample points and an approximate curve connecting each sample point already set on the contour; 3';
6 is an evaluation amount calculation unit that calculates an evaluation amount ξ of S/L for each segment based on the distance calculated by the distance calculation unit 33 and the area S calculated by the area calculation unit 35; 37 is the maximum The evaluation amount detection section 38 includes a comparison section 40 that compares the maximum value ξlaX of the evaluation amount calculated by the evaluation amount calculation section 36 with a predetermined tolerance value ξ' supplied from the tolerance value setting section 39. , the comparison result in the comparison unit 38 is ξlaX >ξ
', the newly installed sample point calculation unit calculates a new sample point based on a predetermined relationship, for example, the deviation calculation unit 41,
It is composed of a maximum deviation detection section 42.

第3図構成の動作を、第2図に関連して説明する。The operation of the configuration shown in FIG. 3 will be described in conjunction with FIG.

先ず、第2図へのブロックBの両端点P1及びP2  
(これら両端点は、上記前処理によって求めた第1図の
分割点り又はD′に相当)の座標情報を、既設標本点の
座標情報と1.て、標本点座標記憶部32に記憶させ、
動作の初期条件を設定する。
First, both end points P1 and P2 of block B in FIG.
(These end points correspond to the dividing point or D' in FIG. 1 obtained by the above preprocessing) coordinate information is combined with the coordinate information of the existing sample point and 1. and store it in the sample point coordinate storage unit 32,
Set initial conditions for operation.

上記初期条件の設定が完了す□ると、標本点座標記憶部
32から読出した既設標本点P1、P2の座標情報に基
づいて、両榔本点間の距離L(第2同点)を距離算出部
33で算出し、これを評価量算出部36に出力する。
When the setting of the above initial conditions is completed, the distance L between the two main points (second equal point) is calculated based on the coordinate information of the existing sample points P1 and P2 read from the sample point coordinate storage unit 32. The calculation unit 33 outputs this to the evaluation amount calculation unit 36.

一方これに並行して、近似曲線算出部34は、同じく標
本点座標記憶部32から読出した既設標本点PI、P2
の座標情報に基づいて、両標木魚を結ぶ近似曲線を算出
し、これを面積算出部35に出力する。
On the other hand, in parallel with this, the approximate curve calculation unit 34 also calculates the existing sample points PI, P2 read from the sample point coordinate storage unit 32.
Based on the coordinate information of , an approximate curve connecting both of the two markers is calculated, and this is output to the area calculation section 35 .

但し、初期条件から動作を開始した今の場合は、既設標
本点が2カ所であるため、前記近似曲線は、第2図Aに
示す如く直線C1となる。
However, in the present case where the operation is started from the initial conditions, there are two existing sample points, so the approximate curve becomes a straight line C1 as shown in FIG. 2A.

次に、前記近似曲線算出部34で求めた直線C1と、輪
郭情報記憶部31に記憶されている輪郭座標情報に基づ
いて、第2!!IAに示す面積3 a + 3 ## 
=3を面積算出部35で算出し、これを評価量算出部3
6へ出力する。
Next, the second! ! Area shown in IA 3 a + 3 ##
=3 is calculated by the area calculation unit 35, and this is calculated by the evaluation amount calculation unit 3.
Output to 6.

評価量算出部361は、前記距離算出部33で算出した
距離りと、面、・積算出部35で算出した面積Sに基づ
いて、S/〔1なる評価量ξを算出する。
The evaluation amount calculation unit 361 calculates an evaluation amount ξ of S/[1 based on the distance calculated by the distance calculation unit 33 and the area S calculated by the area and product calculation unit 35.

今の場合、算出される評価量゛は1つであるので、この
値が最大評価量検出部37を経て、評価量の最大値ξ−
a×として比較部3βへ供給される。
In this case, since the number of evaluation amounts to be calculated is one, this value is passed through the maximum evaluation amount detection unit 37, and the maximum evaluation amount ξ−
The signal is supplied as ax to the comparator 3β.

比較部38には、予め定められた許容値ξ−が他方の入
力として許容値設定部39より与えられており、ξ−a
X >ξ′の時、新設標本点算出部40を作動させる。
The comparison unit 38 is given a predetermined tolerance value ξ− as the other input from the tolerance value setting unit 39, and ξ−a
When X >ξ', the newly installed sample point calculation unit 40 is activated.

新設標本点算出部40を構成する偏位算出部41は、前
記近似曲線算出部34で求めた曲線(今の場合は特に直
線C1)と、輪郭情報記憶部31に記憶されている輪郭
座標情報に基づいて、第2同点に示す偏位Δを、点81
〜点P2の全区間に渡って算出し、その値が最大となる
ブロックB上の点P3の位置情報を最大偏位位習検出部
42で求める。そして該点P3が、新設標本点として標
本、点座標記憶部32に記憶設定される。
The deviation calculation section 41 configuring the newly installed sample point calculation section 40 calculates the curve obtained by the approximate curve calculation section 34 (especially the straight line C1 in this case) and the contour coordinate information stored in the contour information storage section 31. Based on the deviation Δ shown at the second tie point, point 81
The calculation is performed over the entire interval from point P2 to point P2, and the maximum deviation detection unit 42 determines the positional information of point P3 on block B where the value is the maximum. Then, the point P3 is stored and set in the sample/point coordinate storage section 32 as a newly established sample point.

このようにして、新設標本点P3がブロックBの輪郭上
に設定されると、第3図の構成は、再び上記して来た動
作を実行する。以下、この動作過程を第2図゛Bに基づ
いて説明する。尚この際、新設標本点P3は、既設標本
点に更新される。
When the new sample point P3 is thus set on the contour of block B, the configuration of FIG. 3 again performs the operations described above. This operation process will be explained below with reference to FIG. 2B. At this time, the newly installed sample point P3 is updated to the existing sample point.

即ち、この場合、先ず距離算出部33が、第2図B図示
の距離Ll、L2を算出する。又、これに並行して、ブ
ロックB上の既設標本点P 1 sP2 、P3を通過
する近似曲線C2(第2図中、点線で示す)が近似曲線
算出部34で求められる。
That is, in this case, the distance calculating section 33 first calculates the distances L1 and L2 shown in FIG. 2B. Further, in parallel with this, an approximate curve C2 (indicated by a dotted line in FIG. 2) passing through the existing sample points P 1 sP2 and P3 on block B is determined by the approximate curve calculation unit 34.

面積算出部35は、標本点によって切り出された各輪郭
セグメントと、前記近似曲線C2とによって囲まれた面
積81及び82  (第2図中、斜線で示す)を夫々個
別に算出する。
The area calculation unit 35 separately calculates areas 81 and 82 (indicated by diagonal lines in FIG. 2) surrounded by each contour segment cut out by the sample points and the approximate curve C2.

次に、夫々に対応する距離L+ 、L2及び面積Sl、
82に基づいて、S/L=ξなる評価量ξ1及びξ2が
評価量算出部36で求められる。
Next, the corresponding distances L+, L2 and areas Sl,
82, the evaluation amounts ξ1 and ξ2 where S/L=ξ are calculated by the evaluation amount calculation unit 36.

今、第2図Bの場合は、ξ1くξ2となっているので、
ξ2の値が、評価量の最大値ξ−a×として最大評価量
検出部37から比較部38へ供給される。
Now, in the case of Figure 2 B, ξ1 x ξ2, so
The value of ξ2 is supplied from the maximum evaluation amount detection section 37 to the comparison section 38 as the maximum evaluation amount ξ-ax.

そして、ξg+ax(=ξ2)〉ξ′の時、該比較部3
8からの指令によって斬設標木魚鼻出部40が再び作動
し、先に第2図Aの場合について説明して来たと同様、
ΔIaXとなる点P4が新設標本点として標本点座標記
憶部32に設定される。
Then, when ξg+ax (=ξ2)>ξ′, the comparison unit 3
In response to the command from No. 8, the cutting mark Mokugyo nose protrusion 40 is activated again, and in the same manner as described above for the case shown in Fig. 2A.
Point P4, which is ΔIaX, is set in the sample point coordinate storage section 32 as a newly established sample point.

この様にして新設標本点P4が求められた後の処理状態
は、第2図Cに示す通りであるが、その時の第3図構成
の動作自体は、既に述べて来た動作の繰り返しであるの
で、以下説明を省略する。
The processing state after the newly established sample point P4 is obtained in this way is as shown in Figure 2C, but the operation of the configuration in Figure 3 at that time itself is a repetition of the operation that has already been described. Therefore, the explanation will be omitted below.

そして、順次新設標本点PLを求めて行く過程において
、前記比較部38がξlaX≦ξ′を検知した時、任意
1つのブロックBに関する第3図構成の動作は終了する
Then, in the process of sequentially finding new sample points PL, when the comparing section 38 detects ξlaX≦ξ', the operation of the configuration shown in FIG. 3 regarding any one block B is completed.

勿論この時、標本点座標記憶部32に記憶されている標
本点P1〜PLが、ブロックBの輪郭に関する所望標本
点として設定された事になる。
Of course, at this time, the sample points P1 to PL stored in the sample point coordinate storage section 32 are set as desired sample points regarding the outline of the block B.

尚、前記距離算出部33における距離りの値は、L−J
rτx)T+ (Ay)Tの演算によって極く簡単に求
める事ができる。又、前記面積算出部35は、2つの曲
線のy方向差分をX方向に積分する事によって、比較的
簡単に所望面積Sを算出出来る。従って、前述の如(3
シ、S/Lとして与えられる評価量ξの値の算出も・、
比較的簡単である。そしてこの評価量ξは、面積Sを長
さLで除した事によって長さのディメンジョンを持つ量
であるから、面積Sを形成する2つの曲線(輪郭と近似
曲線)が、特異な凸凹を有しない限り、これら両曲線闇
の離合関係を示す指標となるものである。
Note that the distance value in the distance calculation unit 33 is L−J
It can be obtained very easily by calculating rτx)T+(Ay)T. Further, the area calculation unit 35 can calculate the desired area S relatively easily by integrating the difference in the y direction between the two curves in the X direction. Therefore, as mentioned above (3
The calculation of the value of the evaluation quantity ξ given as S/L is also...
It's relatively easy. Since this evaluation quantity ξ is a quantity that has the dimension of length by dividing the area S by the length L, the two curves (the contour and the approximate curve) forming the area S have a unique unevenness. Unless otherwise specified, these two curves serve as an indicator of the dissociation relationship between the two curves.

第4図は、上記第3図構成の動作過程を示すフロー図で
ある。
FIG. 4 is a flow diagram showing the operation process of the configuration shown in FIG. 3.

次に、文字輪郭が前記特異な凸凹を有する場合に関連し
て、第3図構成ないし第4図過程による標本点設定方式
を、更に実効性の高いものとするためのブロック設定方
式について説明する。
Next, in connection with the case where the character contour has the above-mentioned unique unevenness, a block setting method will be explained to make the sample point setting method using the configuration in FIG. 3 or the process in FIG. 4 even more effective. .

即ち、第3図構成ないし第4図過程による標本点設定方
式を実施した場合、第5図にその一例を模式的に示す如
く、文字輪郭の曲率半径が小さい部分に標本点Pが密集
する性質が見られ、これによって標本点数に依存するデ
ータ圧縮率の向上が阻まれる場合がある。
That is, when implementing the sampling point setting method according to the configuration in Figure 3 or the process in Figure 4, as shown schematically in Figure 5, there is a tendency for the sampling points P to be concentrated in parts where the radius of curvature of the character contour is small. This may prevent improvement of the data compression rate depending on the number of sample points.

従って、“以下に述べる改善されたブロック設定方式は
、上記−1,重点の密集性質に着目してこれを利用し、
標本=、、lめ設定密度が所定の閾値を越える部分に、
第2の分割点(第1図の分割点D′に相当)を新たに設
定して、ブロックを2分割するようにしたものであり、
これら分割された各10ツクに対し、再び第3図構成に
よる標本点設定を実施する事によって、文字輪郭全体に
おける標本点設定数の減少に寄与すべくなしたものであ
る。
Therefore, the improved block setting method described below focuses on the above-mentioned -1.
Sample=,,In the part where the first set density exceeds a predetermined threshold,
A second dividing point (corresponding to dividing point D' in Fig. 1) is newly set to divide the block into two.
This is intended to contribute to reducing the number of sample points set in the entire character contour by carrying out the sample point setting according to the configuration shown in FIG. 3 again for each of these 10 divided blocks.

以下、この改善されたブロック設定方式の一実施例を第
6図に基づいて説明する。
An embodiment of this improved block setting method will be described below with reference to FIG.

第6図において、Pl及びPnは任意1つのブロックの
端点であり、PL−1’〜P L+3は、ブロックBに
対して前記標本点設定方式を適用する事によって設定さ
れた標本点である。
In FIG. 6, Pl and Pn are end points of any one block, and PL-1' to PL+3 are sample points set by applying the sample point setting method to block B.

改善されたブロック設定方式の実施に当っては、例えば
、先ず、標本点の密度として、 〜(n−3)の総ての場合について算出し、夫々、閾値
ρ′と比較する。
In implementing the improved block setting method, for example, first, the density of sample points is calculated for all cases of .about.(n-3) and compared with the threshold value ρ'.

そして、ρしくρ′となる場合を標本点密集区間として
抽出する。
Then, the case where ρ is ρ' is extracted as a sample point dense interval.

次に、この標本点密集区間、即ち、ブロックBよ(F)
(Kfll [PL−1; Pt−1] Kおい工1.
,5−0、\P、。・に対して最も離れた点Qを求める
。    \成される、角(P L−1、Q、Ptや3
)−θqを求めたのち、これを閾値θ−と比較し、θq
〈ρ′となる場合の点Qを新たな分割点D′として、1
つのブロックを2分割する。
Next, this sample point dense area, that is, block B (F)
(Kfll [PL-1; Pt-1] Koiku 1.
,5-0,\P,. Find the point Q that is farthest from . \Angle formed (P L-1, Q, Pt or 3
)−θq is compared with the threshold θ−, and θq
〈ρ', the point Q is the new dividing point D', and 1
Divide one block into two.

改善されたブロック設定方式は、以上述べて来た通りで
ある。そして、この2分割された各ブロックに、再び第
3図構成の標本点設定方式を適用する事により、特に文
字輪郭の直線状交差点や所謂「ハネ」の先端部などの特
異点付近において、標本点数が減少し、これによつ′て
データ圧縮効果に寄与するものである 以上詳しく述べて来た標本点設定方式およびブロック設
定方式に基づいて、実際の文字輪郭を処理した場合の一
例を、第7図に参考として示す。
The improved block setting method has been described above. Then, by applying the sample point setting method shown in Figure 3 again to each of these two divided blocks, the sample point setting method shown in Fig. This reduces the number of points, thereby contributing to the data compression effect.An example of processing actual character contours based on the sample point setting method and block setting method described above in detail is as follows. It is shown in Figure 7 for reference.

この第7図において、「○」印は、第1図に関連して説
明した初期分割点、「・」・印は、改良されたブロック
設定方式によって求められた第2の分割点、「ス」印は
、゛前記第2の分割点を設定した後に求められた標本点
であり、図示の場合、これら各点の数は、4019 及
び99となっている。
In FIG. 7, the "○" mark is the initial dividing point explained in relation to FIG. 1, and the "・" mark is the second dividing point determined by the improved block setting method, '' marks are sample points obtained after setting the second division points, and in the case shown, the numbers of these points are 4019 and 99.

本発明は、以上詳しく述べて来た如く、X、Y座標上に
模式的に展開した文字輪郭を、Xを変数把握し、更に、
各ブロック上に設定した複数標本点を通過する曲線によ
って前記文字輪郭を近似するようにした文字デー少圧縮
方式に関して、文字輪郭の曲率半径が小さい部分に標本
点が密集する性質に着目してこれを利用たものであり、
更に具体的には、任意1つのブロック上に設定した複数
標本点の密度を各欅本点毎に算出し、次に、ム密度が所
定の閾値を越える標本点密集部を検知した時、該密集部
に新たに分割点を設定し、該分割点によって前記任意1
つのブロックを2つのブロックに分割設定するようにし
た事を特徴とするものである。そしてこの様にした事に
よって本発明は、文字輪郭全体における標本点設定方式 し、上記文字データ圧縮方式を、・更に実効性の^いも
のとするブロック設定方式を提供するものである。
As described in detail above, the present invention grasps the character outline schematically developed on the X and Y coordinates, with X as a variable, and further,
Regarding the character data reduction method in which the character contour is approximated by a curve passing through multiple sample points set on each block, this method focuses on the property that sample points are concentrated in the part of the character contour with a small radius of curvature. It uses
More specifically, the density of multiple sample points set on any one block is calculated for each keyaki main point, and then when a sample point dense area where the sample point density exceeds a predetermined threshold is detected, the corresponding Set a new division point in the dense area, and use the division point to
The feature is that one block is divided into two blocks. By doing so, the present invention provides a block setting method that makes the above character data compression method even more effective by setting sample points on the entire character contour.

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

第1図は文字輪郭を複数ブロックの集合として把握した
状態の模式的説明図、第2図は本発明になる方式に基づ
いて任意1つのブロックB上に標本点を設定する過程の
模式的説明図、第3図は本発明の標本点設定方式の一実
施例を示す構成図、第4図は第3図構成の動作過程を示
す70−図、第5図は第3図構成ないし第4図過程によ
る標本点設定方式を実施した場合の一例を模式的に氷す
図、第6図は本発明によって改善されたブロック設定方
式の一実施例を模式的に示す図、第7図は本発明になる
標本点設定方式およびブロック設定方式を併用して実際
の文字輪郭を処理した場合の一例を示す参考図である。 B・・・ブロック     C・・・近似曲線D1D′
、Q・・・分割点 P・・・標本点31・・・輪郭情報
記憶、部、、32・・・標本点座標記憶部:1 33・・・距離算出部  ′ 34・・・近似曲翰棹出
部35・・・面積算出部   36・・・評価量算出部
37・・・最大評価量検出部 38・・・比較部39・
・・許容値設定部  40・・・新設標本点算出部41
・・・偏位算出部  42・・・最大偏位位置検出部「
○」・・・初期分割点 「・」・・・第2の分割点 「Δ」・・・標本点 特許出願人 株式会社 写 研 第3図 第5図 1゛ 第6図
Fig. 1 is a schematic explanatory diagram of a state in which a character outline is understood as a set of multiple blocks, and Fig. 2 is a schematic explanatory diagram of the process of setting a sample point on any one block B based on the method of the present invention. 3 is a block diagram showing an embodiment of the sampling point setting method of the present invention, FIG. Figure 6 is a diagram schematically illustrating an example of implementing the sample point setting method based on the process, Figure 6 is a diagram schematically illustrating an example of the block setting method improved by the present invention, and Figure 7 is a diagram schematically illustrating an example of the block setting method improved by the present invention. FIG. 7 is a reference diagram showing an example of processing an actual character outline using both the sample point setting method and the block setting method according to the invention. B...Block C...Approximate curve D1D'
, Q... Division point P... Sample point 31... Contour information storage section, , 32... Sample point coordinate storage section: 1 33... Distance calculation section ' 34... Approximate curved line Drawing part 35...Area calculation part 36...Evaluation amount calculation part 37...Maximum evaluation amount detection part 38...Comparison part 39.
...Tolerance value setting section 40...New sample point calculation section 41
... Deflection calculating section 42... Maximum deviation position detecting section "
○”・・・Initial dividing point “・”・・・Second dividing point “Δ”・・・Sample point Patent applicant Shaken Co., Ltd. Figure 3 Figure 5 1゛ Figure 6

Claims (2)

【特許請求の範囲】[Claims] (1)X、Y座標上に模式的に展開した文字輪郭を、X
を変数とする1価関数で形成したブロックの集合として
把握し、更に、各ブロック上に設定した複数標本点を通
過する曲線によって前記文字輪郭、を近似するようにし
た文字データ圧縮方式一意1つのブロック上に設定した
標本点の密度を各標本点毎に棹出し、 該密度が所定の閾値を越える標本点帯一部を検知した時
、該密集部に新たに分割点を設定し、該分割点によって
、前記任意1つのブロックを2つのブロックに分割する
ようにした、文字データ圧縮用ブロック設定方式。
(1) The character outline developed schematically on the X and Y coordinates is
A unique character data compression method in which the character contour is approximated by a curve passing through a plurality of sample points set on each block. The density of the sample points set on the block is determined for each sample point, and when a part of the sample point band where the density exceeds a predetermined threshold is detected, a new division point is set in the dense area, and the division is performed. A block setting method for compressing character data, in which the arbitrary one block is divided into two blocks according to points.
(2)前記任意1つのブロック上に設定した標本点をP
L  (但し、i−1〜n、且つ、Ps及びPnはブロ
ックの始点及び終点)とした場合、P L  、P L
12 +P L+l s  P L◆25ρL(但し、
i−2〜(n−3)) なる値が、所定の閾値ρ1より小さい時、直線P L−
1、PLや3に対して最も離れた点Qを求め、る、角(
PL−1,Q N 、PL+3 )−θqが所定の値θ
1より小さい時、前記点Qを、新たに設定する所望分割
点とするようにした特許請求の範囲第1項記載の文字デ
ータ圧縮用ブロック設定方式。
(2) The sample point set on any one block is P
L (where i-1 to n, and Ps and Pn are the start and end points of the block), P L , P L
12 +P L+l s P L◆25ρL (However,
i-2~(n-3)) is smaller than a predetermined threshold ρ1, the straight line P L-
1. Find the farthest point Q from PL and 3, and find the angle (
PL-1, Q N , PL+3 )-θq is a predetermined value θ
2. The block setting method for character data compression according to claim 1, wherein when the point Q is smaller than 1, the point Q is set as a newly set desired dividing point.
JP57016887A 1982-02-04 1982-02-04 Block setting method for character image data compression Expired - Lifetime JPH0613213B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP57016887A JPH0613213B2 (en) 1982-02-04 1982-02-04 Block setting method for character image data compression
US06/463,111 US4542412A (en) 1982-02-04 1983-02-01 Method for compressing character or pictorial image data
GB08303086A GB2114851B (en) 1982-02-04 1983-02-04 A method for compressing character or pictorial image data
GB08508055A GB2160382B (en) 1982-02-04 1985-03-28 A method for compressing character or pictorial image data
SG64387A SG64387G (en) 1982-02-04 1987-08-08 A method for compressing character or pictorial image date
HK983/87A HK98387A (en) 1982-02-04 1987-12-24 A method for compressing character or pictorial image data
HK853/88A HK85388A (en) 1982-02-04 1988-10-20 A method for compressing character or pictorial image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57016887A JPH0613213B2 (en) 1982-02-04 1982-02-04 Block setting method for character image data compression

Publications (2)

Publication Number Publication Date
JPS58134748A true JPS58134748A (en) 1983-08-11
JPH0613213B2 JPH0613213B2 (en) 1994-02-23

Family

ID=11928675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57016887A Expired - Lifetime JPH0613213B2 (en) 1982-02-04 1982-02-04 Block setting method for character image data compression

Country Status (3)

Country Link
JP (1) JPH0613213B2 (en)
GB (1) GB2160382B (en)
HK (1) HK85388A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6167888A (en) * 1984-09-10 1986-04-08 ライノタイプ・カンパニー Method for generating signal set indicating curve
JPS6167887A (en) * 1984-09-10 1986-04-08 ライノタイプ・カンパニー Method and apparatus for generating signal set indicating curve
JPS6184684A (en) * 1984-09-10 1986-04-30 ライノタイプ・カンパニー Method of generating signal set for plotting curve
JPS63249193A (en) * 1987-04-06 1988-10-17 キヤノン株式会社 Image data compression system
JPS63249194A (en) * 1987-04-06 1988-10-17 キヤノン株式会社 Image data compression system
JPH01130184A (en) * 1987-11-16 1989-05-23 Photo Composing Mach Mfg Co Ltd Encoding of character

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0171151B1 (en) * 1995-03-20 1999-03-20 배순훈 Improved apparatus for approximating a control image using curvature calculation technique
GB2320386B (en) * 1996-12-16 2000-09-13 Daewoo Electronics Co Ltd Method for encoding a contour of an object in a video signal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6167888A (en) * 1984-09-10 1986-04-08 ライノタイプ・カンパニー Method for generating signal set indicating curve
JPS6167887A (en) * 1984-09-10 1986-04-08 ライノタイプ・カンパニー Method and apparatus for generating signal set indicating curve
JPS6184684A (en) * 1984-09-10 1986-04-30 ライノタイプ・カンパニー Method of generating signal set for plotting curve
JPS63249193A (en) * 1987-04-06 1988-10-17 キヤノン株式会社 Image data compression system
JPS63249194A (en) * 1987-04-06 1988-10-17 キヤノン株式会社 Image data compression system
JPH01130184A (en) * 1987-11-16 1989-05-23 Photo Composing Mach Mfg Co Ltd Encoding of character

Also Published As

Publication number Publication date
JPH0613213B2 (en) 1994-02-23
HK85388A (en) 1988-10-28
GB2160382B (en) 1986-06-04
GB8508055D0 (en) 1985-05-01
GB2160382A (en) 1985-12-18

Similar Documents

Publication Publication Date Title
WO2020107326A1 (en) Lane line detection method, device and computer readale storage medium
CN114545863B (en) Trajectory smoothing method for numerical control machining based on B spline curve fitting
JPS58134748A (en) Settling system for letter data compression block
JP2005310070A5 (en)
JPS58134747A (en) Setting system of sampling point for letter data compression
JP3884468B2 (en) Fast image search method
JP2747002B2 (en) Separation method of straight line part and curved part of shape represented by straight line short vector sequence
CN111192216A (en) Lane line smoothing method and system
CN115159216A (en) Strip steel deviation rectifying method and device, terminal equipment and storage medium
JPS61147374A (en) Method and device for detecting similar data
US6310623B1 (en) Method for manual editing of a closed contour
JP2755145B2 (en) Division point setting method
KR900002810B1 (en) Method for comperssing character or pictorial image data
JP3734605B2 (en) End point detection method and cutting apparatus for core drawing of line figure
JP3781215B2 (en) Method for detecting feature points of image data
EP1183649B1 (en) Method for manual editing of a closed contour
CN114445570A (en) Method for rapidly extracting strip-shaped local map elements from high-precision map
JPS61121177A (en) Division processing system for broken line approximation
JP2000074642A (en) Method and device for making three-dimensional visual positioning
JP3038081B2 (en) Contour division method
JPH03129485A (en) System for fitting curve to shape expressed by linear short vector train
JPH0418685A (en) Picture processing system
JP2661494B2 (en) Division point setting method
JP2000125119A5 (en)
JPH05334431A (en) Function approximating device for dot shape data