JPS63249193A - Image data compression system - Google Patents

Image data compression system

Info

Publication number
JPS63249193A
JPS63249193A JP62083007A JP8300787A JPS63249193A JP S63249193 A JPS63249193 A JP S63249193A JP 62083007 A JP62083007 A JP 62083007A JP 8300787 A JP8300787 A JP 8300787A JP S63249193 A JPS63249193 A JP S63249193A
Authority
JP
Japan
Prior art keywords
curve
point
image data
section
contour
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
JP62083007A
Other languages
Japanese (ja)
Inventor
健 小野寺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62083007A priority Critical patent/JPS63249193A/en
Priority to GB8807783A priority patent/GB2203613B/en
Priority to DE3811396A priority patent/DE3811396A1/en
Priority to IT47822/88A priority patent/IT1219909B/en
Priority to FR8804527A priority patent/FR2613508B1/en
Publication of JPS63249193A publication Critical patent/JPS63249193A/en
Priority to US08/387,627 priority patent/US5644654A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文字等を含む画像データの圧縮方式に係り、特
に文字等の輪郭を関数曲線または直線の集合で近似し、
その輪郭特定情報によって画像データの圧縮を行う画像
データの圧縮方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a compression method for image data containing characters, etc., and in particular, a method for approximating the outline of characters, etc. with a function curve or a set of straight lines,
The present invention relates to an image data compression method that compresses image data based on the contour specifying information.

[従来の技術] 文字等の画像データをドツト分割して得られるドツトデ
ータは、データ量が極めて多くなることは周知である。
[Prior Art] It is well known that the amount of dot data obtained by dividing image data such as characters into dots is extremely large.

そこで、この多量のデータを圧縮して記憶あるいは伝送
させるため、種々のデータ圧縮法が提案されてきており
、例えば文字等の形状を輪郭で把握し、その輪郭特定情
報を記憶することによってデータ量の圧縮を図るように
した、所謂輪郭法と呼ばれるデータ圧縮方法もその1つ
である。
Therefore, various data compression methods have been proposed in order to compress and store or transmit this large amount of data. One such data compression method is the so-called contour method.

[発明が解決しようとする問題点] この輪郭法によるデータ圧縮方法としては、直線近似法
やn次曲線近似法がすでに提案されているが、前者の直
線近似法では輪郭のなめらかさが保証されず、また後者
のn次曲線近似法では曲線の発生に時間がかかるという
欠点を有していた。
[Problems to be Solved by the Invention] Linear approximation methods and n-th order curve approximation methods have already been proposed as data compression methods using the contour method, but the former linear approximation method does not guarantee contour smoothness. Furthermore, the latter n-dimensional curve approximation method has the disadvantage that it takes time to generate a curve.

そこで曲線の発生の速い3次ベジェ曲線を利用する方法
があるが、この曲線は近似が難しいという問題があった
Therefore, there is a method of using a cubic Bezier curve that generates a curve quickly, but this curve has the problem of being difficult to approximate.

本発明は上述従来例に鑑みなされたもので、文字等の画
像データの輪郭を、発生速度の速い曲線近似によって近
似して符号化する画像データの圧縮方式を提供すること
を目的とする。
The present invention has been made in view of the above-mentioned conventional example, and it is an object of the present invention to provide an image data compression method for approximating and encoding the outline of image data such as characters by curve approximation with a high generation rate.

[問題点を解決するための手段] 上記目的を達成するために本発明の画像データの圧縮方
式は以下の様な構成からなる。即ち、線画情報を表示し
、該線画情報の直線部と曲線部とを指定する手段と、前
記曲線部を分割した区間あるいは前記曲線部の両端点に
おいて前記曲線部の傾き及び座標を求める手段と、前記
区間内あるいは前記曲線部上の分割点を定める手段と、
前記分割点の座標を求める手段と、 前記曲線部の傾き及び前記両端点と分割点の座標をもと
に前記曲線部を近似する近似手段と、近似した曲線の複
数の特定点の座゛標に対応するコードを前記曲線あるい
は区間の符号化コードとする手段とを備える。
[Means for Solving the Problems] In order to achieve the above object, the image data compression method of the present invention has the following configuration. That is, means for displaying line drawing information and specifying a straight line part and a curved part of the line drawing information, and means for calculating the slope and coordinates of the curved part at sections into which the curved part is divided or at both end points of the curved part. , means for determining dividing points within the section or on the curved section;
means for determining the coordinates of the dividing point; approximation means for approximating the curved section based on the slope of the curved section and the coordinates of the end points and the dividing point; and coordinates of a plurality of specific points of the approximated curve. and means for setting a code corresponding to the curve or section as an encoding code of the curve or section.

[作用] 以上の構成において、線画情報を表示し、線画情報の直
線部と曲線部とに分けて指定する。曲線部について、曲
線部を分割した区間あるいは曲線部の両端点においては
曲線部の傾き及び座標を求め、曲線を分割した区間内あ
るいは曲線部上において分割点を定め、それら分割点の
座標を求める。次に、曲線部の傾ぎ及び曲線部の両端点
と分割点の座標をもとに曲線部を曲線式により近似し、
近似した曲線の複数の特定点の座標に対応するコードを
曲線あるいは区間の符号化コードとして、画像データを
圧縮するように動作する。
[Operation] In the above configuration, line drawing information is displayed, and the line drawing information is divided into straight parts and curved parts and specified. For a curved part, find the slope and coordinates of the curved part in the section where the curved part is divided or at both end points of the curved part, determine the dividing points within the divided section or on the curved part, and find the coordinates of those dividing points. . Next, the curved part is approximated by a curve equation based on the slope of the curved part and the coordinates of both end points and dividing points of the curved part,
It operates to compress image data by using codes corresponding to the coordinates of a plurality of specific points of the approximated curve as a curve or section encoding code.

[実施例] 以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。
[Embodiments] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[機能ブロック図の説明 (第1図)]第1図は実施例
の機能別構成を示すブロック図である。
[Description of Functional Block Diagram (Fig. 1)] Fig. 1 is a block diagram showing the functional configuration of the embodiment.

図において、10は[x、ylマトリクス状にドツト分
解された画像データを入力する画像データ入力部で、例
えばイメージスキャナから構成されている。11は画像
データ入力部10から入力されドツト分解された文字等
の画像データの輪郭を抽出する輪郭抽出部である。12
は輪郭抽出部11で抽出された文字等の輪郭をCRTデ
ィスプレイ等の表示部20に表示し、オペレータがその
輪郭を直線部と曲線部とに分ける直線部・曲線部識別部
である。これはデジタイザ21やマウスあるいはライト
ベン等により輪郭上の点を指示することにより行う。
In the figure, reference numeral 10 denotes an image data input unit that inputs image data that has been dot-decomposed into an [x, yl matrix, and is comprised of, for example, an image scanner. Reference numeral 11 denotes a contour extraction section that extracts the contours of image data such as characters inputted from the image data input section 10 and separated into dots. 12
1 is a straight/curved portion discriminating unit which displays the outline of a character or the like extracted by the outline extracting unit 11 on a display unit 20 such as a CRT display, and allows the operator to divide the outline into straight parts and curved parts. This is done by specifying a point on the outline using the digitizer 21, mouse, light ben, or the like.

直線として識別された輪郭部は関数決定部13で直線を
表すy=ax+bのような一次式に変換される。
The contour portion identified as a straight line is converted by the function determining unit 13 into a linear equation such as y=ax+b representing a straight line.

一方、曲線として識別された輪郭部は、始点、終点指示
部14でオペレータによって始点と終点が指示される。
On the other hand, for the contour portion identified as a curve, the start point and end point are designated by the operator using the start point and end point designation section 14.

この指示も前述したようにディスプレイ上の輪郭上の点
をライトベンやデジタイザ等によって指示することによ
り行われる。次に、こうして始点と終点により指示され
た曲線部を分割する所定数の輪郭点を求め、両端点(始
点及び終点)との傾きの平均値から両端点(始点、終点
)における輪郭(曲線部)の傾ぎを求める。
This instruction is also performed by pointing a point on the outline on the display using a light pen, digitizer, etc., as described above. Next, find a predetermined number of contour points that divide the curved section designated by the start point and end point, and calculate the contour (curve section) at both end points (start point, end point) from the average value of the slope with both end points (start point and end point). ) to find the slope.

点指示部15ではオペレータが始点と終点の間の適当な
1点を、前述と同様にデジタイザ21やライトベン等で
指示して選択する。
In the point specifying section 15, the operator selects an appropriate point between the starting point and the ending point by specifying it using the digitizer 21, light ben, etc., as described above.

3次のベジェ曲線算出部16は、始点と終点及びオペレ
ータによって指示された輪郭上の点をもとに、3次ベジ
ェ曲線式により曲線を求めて表示部20に表示する。オ
ペレータはその表示をみて、修正が必要なときは修正部
17で再び点の指示を行う0以上、輪郭抽出部11から
修正部17まではマイクロプロセッサによって構成され
る。
The cubic Bezier curve calculation unit 16 calculates a curve using a cubic Bezier curve equation based on the starting point, the ending point, and the points on the contour designated by the operator, and displays the curve on the display unit 20. The operator looks at the display and, if correction is necessary, instructs the correction section 17 again to specify a point.

修正部17で修正の必要がなければ、コード化部18で
ベジェ曲線により曲線を求めるのに採用された4点の座
標をコード化し、直線部の始点、終点をコード化して、
記憶部19に圧縮コードとして記憶する。
If there is no need for correction in the correction unit 17, the coding unit 18 codes the coordinates of the four points adopted to obtain the curve using the Bezier curve, and codes the start and end points of the straight line part.
It is stored in the storage unit 19 as a compressed code.

尚、復号化部22ではコード化部18でコード化された
圧縮コードを復号して、座標および直線式に変換する。
Note that the decoding section 22 decodes the compressed code encoded by the encoding section 18 and converts it into coordinates and linear equations.

この座標データをもとにベジェ曲線式により輪郭の曲線
部を得て、輪郭の直線部を合成してもとの文字等の輪郭
を求める。
Based on this coordinate data, the curved part of the outline is obtained using the Bezier curve equation, and the straight part of the outline is synthesized to obtain the original outline of the character, etc.

以下、各部のデータlA埋を詳細に説明する。The data IA filling of each part will be explained in detail below.

[画像データの特徴抽出(第2図〜第4図)]画像デー
タ人入力部0はスキャナ装置等のラスク走査によって画
像データを入力し、[x、ylマトリクス状にドツト分
解する。こうして得られた2値ドツトパターンデータが
処理対象となるオリジナル画像データとなる。
[Feature Extraction of Image Data (FIGS. 2 to 4)] The image data input unit 0 inputs image data by rask scanning using a scanner device, etc., and decomposes it into dots in the form of an [x, yl matrix. The binary dot pattern data thus obtained becomes the original image data to be processed.

輪郭抽出部11は2値ドツトパターンデータのXまたは
y方向において、0″、“1″あるいは“1”から“O
”に変化するドツト位置を輪郭点として抽出する。第2
図はこうして得られた文字「永」の輪郭データを示して
いる。
The contour extraction unit 11 extracts from 0'', 1, or 1 to 0 in the X or y direction of the binary dot pattern data.
The dot position that changes to ” is extracted as a contour point.Second
The figure shows the contour data of the character ``ei'' obtained in this way.

オペレータは表示部20に表示された、例えば第2図の
ような輪郭データの直線部と曲線部を識別し、直線部の
始点と終点をデジタイザ21等により指示する。
The operator identifies a straight line part and a curved part of the contour data displayed on the display unit 20, for example as shown in FIG. 2, and indicates the starting point and end point of the straight part using the digitizer 21 or the like.

第3図はこのように識別された輪郭データを示す図で、
実線部はオペレータが直線部と識別した部分、破線部は
曲線部と識別した部分である。直線部の両端の黒丸部分
は指示された始点あるいは終点を示している。これら実
線で示した直線部は関数決定部13で一次式に変換され
る。
Figure 3 is a diagram showing the contour data identified in this way.
The solid line portion is a portion that the operator has identified as a straight portion, and the broken line portion is a portion that the operator has identified as a curved portion. The black circles at both ends of the straight line indicate the designated starting point or ending point. The straight line portions shown by these solid lines are converted into a linear equation by the function determining unit 13.

第4図は第3図の部分30を拡大した図である。FIG. 4 is an enlarged view of portion 30 of FIG.

31は直線として識別された直線部、32.33はそれ
ぞれ直線部31の始点および終点である。始点・終点指
示部14では分割点40が入力されると、点32を始点
として40を終点とする曲線41と、点40を始点とし
て点33を終点とする曲線42とを決定する。
31 is a straight line portion identified as a straight line, and 32 and 33 are the starting point and end point of the straight line portion 31, respectively. When the dividing point 40 is input, the start point/end point indicating section 14 determines a curve 41 starting from point 32 and ending at 40, and a curve 42 starting from point 40 and ending at point 33.

[曲線の傾きの算出 (第5図〜第8図)]次に曲線部
と指定された曲線上の各点における傾きの算出を行う。
[Calculation of slope of curve (Figs. 5 to 8)] Next, the slope at each point on the curve designated as a curved portion is calculated.

これは曲線上の点の前後の点を所定数抽出し、点とその
前後の点とを結んだ線分の傾きをそれぞれ算出し、所定
の点における曲線の傾きを算出するものである。
This method extracts a predetermined number of points before and after a point on a curve, calculates the slope of each line segment connecting the point and the points before and after it, and calculates the slope of the curve at a predetermined point.

第5図は点P。が曲線50の始点であるとき、点Paに
おける傾きtoを求める場合を示した図である。
Figure 5 is point P. 5 is a diagram showing a case where the slope to at a point Pa is determined when is the starting point of a curve 50. FIG.

点Q1.Q2は傾きを求めるために輪郭上に抽出された
点であり、線分P。Q+の傾きをmo、線分Pa Q2
の傾きをmlとする。線分P。Qlの傾きmoはPoの
座標(X+ 、’/l) 、(1+の座標(x2 、y
2)とすると、 x2 −x。
Point Q1. Q2 is a point extracted on the contour to find the slope, and is a line segment P. The slope of Q+ is mo, the line segment Pa Q2
Let the slope of be ml. Line segment P. The slope mo of Ql is the coordinates of Po (X+, '/l), (1+ coordinates (x2, y
2), then x2 −x.

により傾きmoが求められる。同様にしてQ2の座標を
(x3 、 ys )とすると、x3 −x。
The slope mo is determined by Similarly, if the coordinates of Q2 are (x3, ys), then x3 -x.

となる。becomes.

それぞれの線分の傾きno 、mlが求まると、始点P
0の傾き七〇は、 により得られる。
When the slope no and ml of each line segment are determined, the starting point P
The slope of 0 is obtained by

尚、終点についても同様にして得られる。Note that the end point can also be obtained in the same manner.

第6図は曲線61と曲線62の接続点PI  (例えば
第4図の点40)における曲線の傾きt、を求める場合
を示す図である。
FIG. 6 is a diagram showing the case where the slope t of the curve at the connection point PI between the curve 61 and the curve 62 (eg, point 40 in FIG. 4) is determined.

ここでは曲線61と62のそれぞれの輪郭上の点Q−+
、Q+を求め、線分Q−+P+の傾きm−1と線分P+
Q+の傾きm、とにより、 で求められる。
Here, the point Q−+ on the contour of each of curves 61 and 62
, Q+, and calculate the slope m-1 of the line segment Q-+P+ and the line segment P+
From the slope m of Q+, it can be found as follows.

′s7図は直線71と接続している曲!j972の始点
P2における傾きt、を求める場合を示す図で、このと
きの傾きt2は直線71の傾きmoに等しく、t、=m
oで表される。
's7 diagram is a song connected to straight line 71! This is a diagram showing the case where the slope t at the starting point P2 of the line 71 is calculated.The slope t2 at this time is equal to the slope mo of the straight line 71, and t,=m
It is represented by o.

第8図は第4図の曲線41を分離して拡大した図で、第
4図と同一部分は同一記号で示している。
FIG. 8 is a separate and enlarged view of the curve 41 in FIG. 4, and the same parts as in FIG. 4 are indicated by the same symbols.

図において、点80はオペレータによって指示された点
で、その座標を(xu 、 yu )とする。
In the figure, a point 80 is a point designated by the operator, and its coordinates are (xu, yu).

曲線41に始点32の座標を(Xor’jo)1始点3
2における曲線の傾きを七〇とし、終点40の座標を(
X3.’/s)%終点40における曲線の傾きを1.と
する。点80の分割値を0.5とするとベジェ曲線を特
定する他の2点81(x+ 、 3’l )、 82 
(X2 、 y2 )3’+−jo (XI−Xo) 
”Y。
Add the coordinates of the starting point 32 to the curve 41 (Xor'jo)1 starting point 3
The slope of the curve at 2 is 70, and the coordinates of the end point 40 are (
X3. '/s)% The slope of the curve at the end point 40 is 1. shall be. If the division value of the point 80 is 0.5, the other two points 81 (x+, 3'l), 82 that specify the Bezier curve
(X2, y2)3'+-jo (XI-Xo)
“Y.

V2=t+ (X2−X、)”Vs の式で算出され、Pa (Xo、yo) l P 1(
XI 、y+) I P2(X2y2)、 P3(X3
.V3)  とすると曲線は0≦t≦1で、 P +t+ −Pa (1−t)’÷3P+ (1−t
) 2t÷3P2 (1−t)t’+Pst’で表現さ
れる。
It is calculated by the formula V2=t+ (X2-X,)"Vs, and Pa (Xo, yo) l P 1(
XI, y+) I P2(X2y2), P3(X3
.. V3) Then, the curve is 0≦t≦1, and P +t+ -Pa (1-t)'÷3P+ (1-t
) 2t÷3P2 (1-t)t'+Pst'.

このようにして、算出されたベジェ式は第8図において
破線曲線83のように表示部20に表示される。
The Bezier equation calculated in this manner is displayed on the display section 20 as a dashed curve 83 in FIG.

オペレータは上記算出された曲線83と元の曲線41と
を比較し、一致しない場合は80を曲線41上で移動さ
せベジェ式の算出、表示を繰り返し、曲線83と曲線4
1が一致するまで上記動作を繰り返し実行する。
The operator compares the curve 83 calculated above with the original curve 41, and if they do not match, moves the curve 80 on the curve 41 and repeats the Bezier calculation and display, so that the curve 83 and the curve 4 are
The above operation is repeated until the numbers 1 match.

[コード化の説明 (第9図、第10図)]i9図(A
)はコード化された輪郭情報フォーマットの一例を示す
図である。
[Explanation of coding (Figures 9 and 10)] Figure i9 (A
) is a diagram showing an example of a coded contour information format.

ここでは前述のようにして、求めた直線部及び曲線部の
各サンプル区間の始点座標、近似曲線の特定点の座標及
び終点座標をコード化し、更に各ブロック単位に編成し
たブロックデータの集合として記憶することにより、任
意の文字等の画像データの輪郭に忠実な圧縮データを得
ることができる。
Here, as described above, the starting point coordinates of each sample section of the straight line and curved sections, the coordinates of the specific point of the approximate curve, and the end point coordinates are encoded and stored as a set of block data organized into each block. By doing so, it is possible to obtain compressed data that is faithful to the outline of image data such as arbitrary characters.

ブロックヘッダ90は1ブロツクのサンプル点数を記憶
するエリア、セグメントへラダ91は直線あるいはベジ
ェ曲線を区別するフラグ、及び線分あるいは曲線の開始
及び終了を示すフラグを含んでいる。セグメント情報9
2は始点、終点及び各特定点のx、y座標値をコード化
して記憶している。
The block header 90 is an area for storing the number of sample points for one block, and the segment ladder 91 includes flags for distinguishing straight lines or Bezier curves, and flags for indicating the start and end of a line segment or curve. Segment information 9
2 encodes and stores the x and y coordinate values of the starting point, ending point, and each specific point.

第9図(B)は第8図の曲線41をコード化して記録し
た場合を示している。
FIG. 9(B) shows the case where the curve 41 of FIG. 8 is encoded and recorded.

曲線41は第3図の文字「永」の30で示した部分の一
部であり、ブロックヘッダ90には部分30のサンプル
点数がセットされる。セグメントヘッダ100には、曲
線41の始点32のフラグがセットされる。即ち、曲線
フラグF93がオン、始点フラグF94がともにオンと
なっている。セグメント情報101には始点32の座標
(xo 、 ya )をコード化したコードが格納され
る。曲線41の特定点81.82の座標はそれぞれセグ
メント情報103,105に格納され、対応するセグメ
ントヘッダ102,104では曲線フラグのみがオンと
なっている。また、曲線41の終点40は次の曲線42
の始点でもあるため、セグメントヘッダ106の曲線フ
ラグ、始点フラグがオンとなり、セグメント情報107
に(X3+ y3 )のコードが格納される。
The curve 41 is a part of the part indicated by 30 of the character "Ei" in FIG. 3, and the number of sample points of the part 30 is set in the block header 90. A flag indicating the starting point 32 of the curve 41 is set in the segment header 100 . That is, both the curve flag F93 and the starting point flag F94 are on. The segment information 101 stores a code that encodes the coordinates (xo, ya) of the starting point 32. The coordinates of specific points 81 and 82 on the curve 41 are stored in segment information 103 and 105, respectively, and only the curve flag is turned on in the corresponding segment headers 102 and 104. Also, the end point 40 of the curve 41 is the next curve 42
Since it is also the starting point of the segment header 106, the curve flag and starting point flag are turned on, and the segment information 107
The code of (X3+y3) is stored in .

上記フォーマットによるコード化された各ブロックデー
タは、各ブロック単位に第10図のように記憶される。
Each block of data encoded in the above format is stored in units of blocks as shown in FIG. 10.

これまで述べてきたことは、文字輪郭データ圧縮に関す
るものであるが、次に、このようにして圧縮された輪郭
データを元の輪郭データに復号する場合を説明する。
What has been described so far relates to character contour data compression, and next, a case will be described in which the contour data compressed in this manner is decoded into the original contour data.

第10図のように記憶された圧縮データは、ブロックデ
ータごとにセグメントヘッドとセグメント情報が読まれ
、セグメントヘッダの直線フラグがオン(直線)ものは
、複合した始点と終点を直線で結ぶことにより再現され
る。一方、セグメントヘッダの曲線フラグがオン(曲線
)のものは、復号された4特定点の座標より前述のベジ
ェ曲線式を用いてO≦t≦1で、 P +t+ =Po (1−t) ”3P1t(1−t
) ”3P2t2(1−t)”P3t’により曲線をも
とめる。この際、曲線はtを“O”と1”の間で十分細
かく分解して、それぞれの区間を直線でひくことで表現
できる。
For compressed data stored as shown in Figure 10, the segment head and segment information are read for each block data, and if the straight line flag of the segment header is on (straight line), the combined starting point and ending point are connected with a straight line. Reproduced. On the other hand, for those whose curve flag in the segment header is on (curve), O≦t≦1 using the Bezier curve formula described above from the decoded coordinates of the four specific points, P + t + = Po (1-t) ” 3P1t (1-t
) Find the curve using "3P2t2(1-t)"P3t'. At this time, the curve can be expressed by dividing t sufficiently finely between "O" and "1" and drawing each section with a straight line.

このようにして、復元した輪郭データは画像データの記
憶部のドツトパターンにより展開され、例えばレーザビ
ームプリンタ、CRT等の出力装置に供給することによ
り所望の文字あるいは画像が復元される。
In this way, the reconstructed contour data is developed by a dot pattern in the image data storage section, and is supplied to an output device such as a laser beam printer or CRT, thereby reconstructing a desired character or image.

尚、本実施例では入力した任意の点を修正するのに、元
の曲線上を移動させる方法を用いたが、入力する任意の
点は固定にして分解の係数Uを“0”から“1”の間で
変化させることによって修正することも可能である。
Note that in this example, a method of moving on the original curve was used to correct the input arbitrary point, but the input arbitrary point was fixed and the decomposition coefficient U was changed from "0" to "1". It can also be corrected by changing the value between ”.

以上説明した様に本実施例によれば、従来難しいとされ
てきたベジェ曲線による輪郭線のコード化が、始点と終
点及び輪郭線上の他の点を指示することにより高速かつ
繕度良く行えるという効果がある。
As explained above, according to this embodiment, coding of contour lines using Bezier curves, which has been considered difficult in the past, can be done quickly and with good precision by specifying the start point, end point, and other points on the contour line. effective.

[発明の効果] 以上述べたように本発明によれば、画像データの輪郭を
簡単にコード化でき、しかも高速に再生(復号)できる
という効果がある。
[Effects of the Invention] As described above, according to the present invention, the outline of image data can be easily encoded and reproduced (decoded) at high speed.

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

第1図は本実施例の機能ブロック図、 第2図は入力された文字「未」の輪郭データを示す図、 第3図は第2図の輪郭データを直線部と曲線部に分けた
場合を示す図、 第4図はN3図の1部を拡大した図、 第5図〜第7図はそれぞれ曲線上の傾きを求める方法を
示す図、 第8図は第4図の曲線の1部を拡大し、ベジェ曲線によ
る近似を説明するための図、 第9図(A)は輪郭情報のフォーマットの1例を示す図
、 第9図(B)は第8図の曲線の輪郭情報の1例を示す図
、 第10図はブロックデータのフォーマットを示す図であ
る。 図中、10・・・画像データ入力部、11・・・輪郭抽
出部、12・・・直線部・曲線部識別部、13・・・関
数決定部、14・・・始点、終点指示部、15・・・点
指示部、16・・・3次ベジェ曲線算出部、17・・・
修正部、18・・・コード化部、19・・・記憶部、2
0・・・表示部、21・・・デジタイザ、22・・・復
号化部である。 X 第2図 第3図 第4図 第8図
Figure 1 is a functional block diagram of this embodiment. Figure 2 is a diagram showing the contour data of the input character "Mi". Figure 3 is a diagram showing the contour data of Figure 2 divided into straight and curved parts. Figure 4 is an enlarged view of a part of Figure N3. Figures 5 to 7 are diagrams each showing how to find the slope on the curve. Figure 8 is a part of the curve in Figure 4. Figure 9 (A) is a diagram showing an example of the format of contour information; Figure 9 (B) is an example of the contour information of the curve in Figure 8. A diagram showing an example: FIG. 10 is a diagram showing a format of block data. In the figure, 10... Image data input section, 11... Contour extraction section, 12... Straight line/curve section identification section, 13... Function determination section, 14... Start point, end point instruction section, 15... Point instruction unit, 16... Cubic Bezier curve calculation unit, 17...
Correction section, 18... Encoding section, 19... Storage section, 2
0...Display unit, 21...Digitizer, 22...Decoding unit. X Figure 2 Figure 3 Figure 4 Figure 8

Claims (3)

【特許請求の範囲】[Claims] (1)線画情報を表示し、該線画情報の直線部と曲線部
とを指定する手段と、前記曲線部を分割した区間あるい
は前記曲線部の両端点において前記曲線部の傾き及び座
標を求める手段と、前記区間内あるいは前記曲線部上の
分割点を定める手段と、前記分割点の座標を求める手段
と、 前記曲線部の傾き及び前記両端点と分割点の座標をもと
に前記曲線部を近似する近似手段と、近似した曲線の複
数の特定点の座標に対応するコードを前記曲線あるいは
区間の符号化コードとする手段とを備えることを特徴と
する画像データの圧縮方式。
(1) Means for displaying line drawing information and specifying a straight line portion and a curved portion of the line drawing information, and means for determining the slope and coordinates of the curved portion at sections into which the curved portion is divided or at both end points of the curved portion. a means for determining a division point within the section or on the curved section; a means for determining the coordinates of the division point; 1. A compression method for image data, comprising: approximation means for approximating; and means for using codes corresponding to the coordinates of a plurality of specific points of the approximated curve as an encoding code for the curve or section.
(2)線画情報は入力された画像データの輪郭情報であ
ることを特徴とする特許請求の範囲第1項記載の画像デ
ータの圧縮方式。
(2) The image data compression method according to claim 1, wherein the line drawing information is contour information of input image data.
(3)近似手段は3次のベジエ曲線により曲線近似を行
い、前記3次のベジエ曲線の4個の特定点の輪郭データ
として記憶することを特徴とする特許請求の範囲第1項
に記載の画像データの圧縮方式。
(3) The approximation means performs curve approximation using a cubic Bezier curve, and stores the curve approximation as contour data of four specific points of the cubic Bezier curve. Image data compression method.
JP62083007A 1987-04-06 1987-04-06 Image data compression system Pending JPS63249193A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP62083007A JPS63249193A (en) 1987-04-06 1987-04-06 Image data compression system
GB8807783A GB2203613B (en) 1987-04-06 1988-03-31 Image processing apparatus
DE3811396A DE3811396A1 (en) 1987-04-06 1988-04-05 IMAGE PROCESSING DEVICE
IT47822/88A IT1219909B (en) 1987-04-06 1988-04-06 IMAGE PROCESSING MACHINE FOR COMPRESSING IMAGE DATA
FR8804527A FR2613508B1 (en) 1987-04-06 1988-04-06 IMAGE PROCESSING APPARATUS
US08/387,627 US5644654A (en) 1987-04-06 1995-02-13 Image processing apparatus capable of efficient coding of complex shape information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62083007A JPS63249193A (en) 1987-04-06 1987-04-06 Image data compression system

Publications (1)

Publication Number Publication Date
JPS63249193A true JPS63249193A (en) 1988-10-17

Family

ID=13790191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62083007A Pending JPS63249193A (en) 1987-04-06 1987-04-06 Image data compression system

Country Status (1)

Country Link
JP (1) JPS63249193A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02206884A (en) * 1989-02-07 1990-08-16 Toyo Sangyo Kk Picture processor
JPH03105573A (en) * 1989-09-20 1991-05-02 Honda Motor Co Ltd Image processor and image processing method
JPH03105574A (en) * 1989-09-20 1991-05-02 Honda Motor Co Ltd Image processor and image processing method
JPH03154177A (en) * 1989-11-10 1991-07-02 Dainippon Screen Mfg Co Ltd Curve approximating method for linear graphic
JP2009193361A (en) * 2008-02-14 2009-08-27 Canon Inc Device, method, and program for processing image, and recording medium
US11327408B2 (en) 2018-10-15 2022-05-10 Nuflare Technology, Inc. Writing data generating method and multi charged particle beam writing apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58134748A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Settling system for letter data compression block
JPS58134747A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Setting system of sampling point for letter data compression
JPS58134746A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Compression system of letter and image data
JPS58134745A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Compression system of letter and image data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58134748A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Settling system for letter data compression block
JPS58134747A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Setting system of sampling point for letter data compression
JPS58134746A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Compression system of letter and image data
JPS58134745A (en) * 1982-02-04 1983-08-11 Photo Composing Mach Mfg Co Ltd Compression system of letter and image data

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02206884A (en) * 1989-02-07 1990-08-16 Toyo Sangyo Kk Picture processor
JPH03105573A (en) * 1989-09-20 1991-05-02 Honda Motor Co Ltd Image processor and image processing method
JPH03105574A (en) * 1989-09-20 1991-05-02 Honda Motor Co Ltd Image processor and image processing method
JPH03154177A (en) * 1989-11-10 1991-07-02 Dainippon Screen Mfg Co Ltd Curve approximating method for linear graphic
JP2009193361A (en) * 2008-02-14 2009-08-27 Canon Inc Device, method, and program for processing image, and recording medium
US8238686B2 (en) 2008-02-14 2012-08-07 Canon Kabushiki Kaisha Image processing apparatus, method and recording medium
US11327408B2 (en) 2018-10-15 2022-05-10 Nuflare Technology, Inc. Writing data generating method and multi charged particle beam writing apparatus
US11789372B2 (en) 2018-10-15 2023-10-17 Nuflare Technology, Inc. Writing data generating method and multi charged particle beam writing apparatus

Similar Documents

Publication Publication Date Title
US6101280A (en) Method and apparatus for compression of electronic ink
US5644654A (en) Image processing apparatus capable of efficient coding of complex shape information
JPS63249193A (en) Image data compression system
JPH06149212A (en) Character generation method and its device
GB2203613A (en) Image processing apparatus
JPS63249194A (en) Image data compression system
EP0848350B1 (en) Method and apparatus for handwriting compression
Earnshaw Line tracking for incremental plotters
JPH0695727B2 (en) Image data compression device
JPS6075865A (en) Character data compression system
JP2646479B2 (en) Communication device for character and graphics
JPS6075977A (en) Processing method of character picture data
JPS5856872B2 (en) Expanded character pattern encoder
JP2594766B2 (en) Data compression method and data compression method
JPH01302917A (en) Data compression system
JPH07199894A (en) Method for compressing character font
JPH1169170A (en) Image communication system
JPH08123980A (en) Three-dimensional figure drawing device
JPH01213758A (en) Image data storage method
KR900002811B1 (en) Method for compressing character or pictorial image data
Sakai et al. Coding and retrieving method of stroke signals for multimedia mail
JPH07199895A (en) Method of reproducing character font
JP3648943B2 (en) Multi-color image encoding apparatus and method, and multi-color image decoding apparatus and method
JPH08292753A (en) Consecutive character synthesizer
JPH0695642A (en) Device for generating character/sign pattern