JPH07320056A - Vector image encoding device - Google Patents

Vector image encoding device

Info

Publication number
JPH07320056A
JPH07320056A JP10698794A JP10698794A JPH07320056A JP H07320056 A JPH07320056 A JP H07320056A JP 10698794 A JP10698794 A JP 10698794A JP 10698794 A JP10698794 A JP 10698794A JP H07320056 A JPH07320056 A JP H07320056A
Authority
JP
Japan
Prior art keywords
vector
input
difference
block
unit
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
JP10698794A
Other languages
Japanese (ja)
Other versions
JP2606583B2 (en
Inventor
Toshiyuki Kamiya
俊之 神谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10698794A priority Critical patent/JP2606583B2/en
Publication of JPH07320056A publication Critical patent/JPH07320056A/en
Application granted granted Critical
Publication of JP2606583B2 publication Critical patent/JP2606583B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/008Vector quantisation

Abstract

PURPOSE:To provide a vector image encoding device which is more efficient for an encoding system when vector data obtained by handwriting input are transmitted and stored, specially, for an encoding system which compresses the data by using a difference encoding method. CONSTITUTION:A numerical value to be encoded is inputted from an input part 401. A difference arithmetic part 402 finds the difference from a last input value. A vector size prediction part 403 predicts the size of subsequent vectors from a past input sequence and a code table selection part 40 selects a proper code table according to the predicted size of the vectors. A block relative coordinate arithmetic part 405 transforms vector data into a block number, a quadrant number, and relative coordinates. A block difference arithmetic part 406 finds the differences from a last block number and a last quadrant number. A difference encoding part 407 selects a code word according to the difference between the block numbers and the difference between quadrant numbers. A code word selection part 408 selects which of the code word and inputted numerical value itself is outputted to an output part 409.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、タブレット等による手
書き入力を通信回線を介して伝送するための画像符号化
装置、あるいは入力された座標系列によって構成される
画像データをディスクに記録するための装置等に使用す
るベクトル画像符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding apparatus for transmitting handwriting input by a tablet or the like via a communication line, or for recording image data composed of an input coordinate series on a disc. The present invention relates to a vector image coding device used for a device or the like.

【0002】[0002]

【従来の技術】一般に、タブレットなどによる手書き入
力座標系列によって構成される画像情報を伝送する場
合、あるいは画像を記録しておく場合においては、画像
の情報量が膨大であるのに対して、伝送に用いる回線の
回線速度やコストまた、記録媒体の容量やコスト等の点
から、画像情報を圧縮符号化して伝送したり記録したり
しなければならない。
2. Description of the Related Art Generally, when transmitting image information composed of a handwritten input coordinate sequence by a tablet or recording an image, the amount of image information is enormous, whereas In view of the line speed and cost of the line used for the above, the capacity and cost of the recording medium, and the like, it is necessary to compress and encode the image information for transmission and recording.

【0003】その場合の圧縮率の高い画像情報の符号化
装置として、入力される座標系列をベクトルとして扱っ
たときの連続するベクトルの差分を用い、一般に手書き
等の入力では連続した入力ベクトル間の差分を取ること
によって得られる差分ベクトルの値が元のベクトルに比
べて絶対値が小さく、また連続するベクトル間では方向
がそれほど変化しないという性質を持つことを用いて符
号語を割り当てることで圧縮を行うことができる。この
ような手法を用いた符号化方式の例として例えばCCI
TT勧告T.150、日本国内におけるJT−T150
規格による符号化方式などが知られている。
In such a case, as a coding apparatus for image information having a high compression rate, the difference between successive vectors when an input coordinate series is treated as a vector is used, and generally in the case of input such as handwriting, between consecutive input vectors. The difference vector value obtained by taking the difference has a smaller absolute value than the original vector, and it has the property that the direction does not change so much between consecutive vectors. It can be carried out. As an example of an encoding method using such a method, for example, CCI
TT Recommendation T. 150, JT-T150 in Japan
A coding method according to the standard is known.

【0004】図1を用いて従来手法について説明する。
入力部101、例えば手書き入力端末のタブレットなど
からの入力は連続した座標データとして入力される。連
続した座標データは、差分演算部102において次式の
ような演算によりベクトルデータに変換される。
A conventional method will be described with reference to FIG.
Input from the input unit 101, such as a tablet of a handwriting input terminal, is input as continuous coordinate data. The continuous coordinate data is converted into vector data in the difference calculation unit 102 by a calculation such as the following equation.

【0005】Di =Pi −Pi-1 ここで、Pi はi番目の座標データ、Di はi番目のベ
クトルデータであり、iは整数である。得られたベクト
ルデータはブロック・相対座標演算部103に送られ、
ブロック番号、象限番号、及び相対座標の組による表現
に変換される。
D i = P i -P i -1 where P i is the i-th coordinate data, D i is the i-th vector data, and i is an integer. The obtained vector data is sent to the block / relative coordinate calculation unit 103,
It is converted into a representation of a set of block number, quadrant number, and relative coordinate.

【0006】図2は、ベクトルデータからブロック番
号、象限番号、相対座標への変換を説明する図である。
ベクトルデータは、まず図2の(a)に示す様な第1〜
第4象限のどれに含まれるかを判定する。象限の判定
後、ベクトルデータのX,Y各成分の絶対値について
は、図2(b)に示すようにベクトルの絶対値の属する
空間を距離と共に大きくなるように分けたブロックのう
ち、どのベクトルの先端がどのブロックに含まれるかを
求める。さらにブロック内のX,Yのそれぞれの座標が
最も小さい点、すなわちブロックの左下の点を原点とし
てベクトルの先端が含まれるブロック内でのベクトルの
先端の座標値を求め、相対座標とする。例えばベクトル
(7,3)は象限番号1、ブロック番号5、相対座標
(3,3)で表される。
FIG. 2 is a diagram for explaining the conversion of vector data into block numbers, quadrant numbers and relative coordinates.
First, the vector data includes the first to the first as shown in FIG.
It is determined which one of the fourth quadrants is included. After the quadrant is determined, regarding the absolute value of each of the X and Y components of the vector data, which vector among the blocks is divided into the space to which the absolute value of the vector belongs increases as shown in FIG. 2B. Find which block contains the tip of. Further, the coordinate value of the tip of the vector in the block including the tip of the vector is determined with the point having the smallest X and Y coordinates in the block, that is, the point at the lower left of the block as the origin, and set as the relative coordinate. For example, the vector (7, 3) is represented by quadrant number 1, block number 5, and relative coordinates (3, 3).

【0007】得られた象限番号、ブロック番号、相対座
標は、ブロック差分演算部104に送られる。ブロック
差分演算部104では、下に示すような式によりブロッ
ク番号・象限番号の差分を求める。
The obtained quadrant number, block number, and relative coordinates are sent to the block difference calculation unit 104. The block difference calculation unit 104 obtains the difference between the block number and the quadrant number by the formula shown below.

【0008】BDi =Bi −Bi-1 QDi =Qi −Qi-1 ここでBDi はi番目のブロック番号の差分、Bi はi
番目のブロック番号、QDi はi番目の象限番号の差
分、Qi はi番目の象限番号であり、iは整数である。
得られたブロック番号の差分、象限番号の差分及び相対
座標は、差分符号化部105に送られる。
BDi= Bi-Bi-1 QDi= Qi-Qi-1  BD hereiIs the difference of the i-th block number, BiIs i
Th block number, QDiIs the difference of the i-th quadrant number
Minutes, QiIs the i-th quadrant number, and i is an integer.
Obtained block number difference, quadrant number difference and relative
The coordinates are sent to the difference encoding unit 105.

【0009】差分符号化部105では、ブロック番号の
差分と象限番号の差分の組み合わせに対する符号語を図
3に示すような符号語表から求め、符号語選択部106
に出力する。組み合わせが符号語表に含まれない場合
は、符号語表に含まれないことを示す特別な値を符号語
選択部106に出力する。
The difference encoding unit 105 obtains a code word for a combination of the block number difference and the quadrant number difference from the code word table as shown in FIG. 3, and the code word selecting unit 106.
Output to. If the combination is not included in the codeword table, a special value indicating that the combination is not included in the codeword table is output to the codeword selection unit 106.

【0010】符号語選択部106においては、差分符号
化部105で符号語が存在した場合には、その符号語と
相対座標を出力部107に出力し、符号語が存在しない
場合は符号語の代わりに符号語が存在しないことを示す
符号系列を付加して入力部101における座標値をその
まま出力部107に出力する。
In the code word selecting unit 106, when the code word is present in the differential encoding unit 105, the code word and relative coordinates are output to the output unit 107, and when the code word is not present, the code word is output. Instead, a code sequence indicating that there is no code word is added and the coordinate value in the input unit 101 is output to the output unit 107 as it is.

【0011】[0011]

【発明が解決しようとする課題】差分符号化が対象とす
る手書きタブレットからの入力のような場合には、個人
によって入力の速度が異なることにより、手書きタブレ
ットから入力される座標点間の平均の距離も異なる。ま
た、入力に用いる手書き入力デバイスの種類や、入力座
標値を通信、保存に用いる場合に、その最終的な用途に
よって必要とされる精度が異なる。
In the case of input from a handwriting tablet which is the target of differential encoding, the speed of input varies depending on the individual, so that the average between coordinate points input from the handwriting tablet is different. The distance is also different. Further, when the type of the handwriting input device used for input and the input coordinate values are used for communication and storage, the required accuracy varies depending on the final use.

【0012】前述の従来例では、座標値の入力に用いた
入力デバイスのサンプリングレートや入力の速度、また
必要とされる出力の精度にかかわらず単に固定的な符号
語の組によって符号化するにすぎず、入力点の精度によ
ってより高い圧縮が可能となるような符号語の組を選択
し、伝送効率を高めることができないという問題があっ
た。
In the above-mentioned conventional example, a fixed set of code words is used for encoding regardless of the sampling rate of the input device used for inputting coordinate values, the input speed, and the required output accuracy. However, there is a problem in that it is not possible to increase the transmission efficiency by selecting a set of code words that enables higher compression depending on the accuracy of the input point.

【0013】また、入力デバイスと表示用デバイスの表
示精度が異なる場合に、入力された時と同じ大きさで表
示するための情報が含まれていないという問題があっ
た。
Further, when the display accuracy of the input device is different from that of the display device, there is a problem in that information for displaying in the same size as when input is not included.

【0014】そこで本発明では簡単な構成で、従来の符
号化方式よりも圧縮率が高くなるよう、入力されるデー
タによって符号表を変更し、符号化を行い、復号側で
は、符号化されたデータに含まれる情報と出力デバイス
に関する情報により適切な復号化を行えるベクトル画像
符号化装置を提供することを目的としている。
Therefore, in the present invention, the code table is changed and encoded by the input data so that the compression rate is higher than that of the conventional encoding method with the simple structure, and the encoding is performed on the decoding side. It is an object of the present invention to provide a vector image encoding device that can perform appropriate decoding based on information contained in data and information about an output device.

【0015】[0015]

【課題を解決するための手段】上記の目的を達成するた
めに本発明は、入力される座標系列を画像中の連続した
ベクトルとして扱うベクトル画像の符号化装置におい
て、入力されるベクトルの平均の大きさを予測するベク
トルサイズ予測手段と、前記ベクトルサイズ予測手段に
よって予測されたベクトルの平均の大きさに基づき符号
化に用いる表を決定する符号表決定手段と、前記符号表
決定手段によって決定された表に基づき符号化を行う符
号化手段とを有することを特徴とするベクトル画像符号
化装置である。
In order to achieve the above object, the present invention provides a vector image coding apparatus which treats an input coordinate sequence as a continuous vector in an image, and calculates the average of the input vectors. Vector size predicting means for predicting the size, code table determining means for determining a table to be used for encoding based on the average size of the vector predicted by the vector size predicting means, and the code table determining means. And a coding unit that performs coding based on the above table.

【0016】[0016]

【作用】ベクトルサイズ予測手段は、過去の入力列を蓄
積し、過去の入力列から以降に発生するベクトルの平均
的な距離を予想する。符号表決定手段は、ベクトルサイ
ズ予想手段の出力を受け取り、ベクトルサイズに応じて
定められた表から符号表として用いる表を決定する。
The vector size predicting means accumulates past input sequences and predicts an average distance of vectors generated thereafter from the past input sequences. The code table determining means receives the output of the vector size predicting means and determines a table to be used as a code table from the table determined according to the vector size.

【0017】[0017]

【実施例】以下に、本発明の実施例について図面に基づ
いて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】図4は本発明のベクトル画像符号化装置を
テレライティング端末装置に適用した場合の一実施例の
符号化部のブロック構成図である。この符号化部は、入
力部401と、差分演算部402と、ベクトルサイズ予
測部403と、符号表選択部404と、ブロック・相対
座標演算部405と、ブロック差分演算部406と、差
分符号化部407と、符号語選択部408と、出力部4
09とから構成される。
FIG. 4 is a block diagram of a coding unit of an embodiment in which the vector image coding apparatus of the present invention is applied to a telewriting terminal device. The encoding unit includes an input unit 401, a difference calculation unit 402, a vector size prediction unit 403, a code table selection unit 404, a block / relative coordinate calculation unit 405, a block difference calculation unit 406, and difference encoding. Unit 407, codeword selection unit 408, and output unit 4
And 09.

【0019】この符号化部において、入力部401から
入力された手書き入力座標は、差分演算部402におい
て直前の座標との差分をとり、ベクトル座標列に変換さ
れる。ベクトル座標列はベクトルサイズ予測部403に
送られ、以降のベクトルの大きさの予測に用いられる。
In this encoding section, the handwritten input coordinates input from the input section 401 are converted into a vector coordinate sequence by taking the difference from the immediately preceding coordinates in the difference calculation section 402. The vector coordinate sequence is sent to the vector size prediction unit 403 and used for subsequent prediction of vector size.

【0020】ベクトルサイズ予測部403では、過去の
入力ベクトル系列を保存しており、過去の値と現在の入
力から適当な補間演算、例えば線形補間を行うことによ
り、以降入力されるベクトルの大きさの予測を行い、予
測されるベクトルのサイズを符号表選択部404に出力
する。
The vector size prediction unit 403 stores the past input vector series, and performs an appropriate interpolation operation, for example, linear interpolation, from the past value and the current input to determine the size of the vector to be subsequently input. And the size of the vector to be predicted is output to the code table selection unit 404.

【0021】符号表選択部404では、ベクトルサイズ
予測部403の予測を用いて、あらかじめ固定的に決定
されている複数の表、もしくはあらかじめ通信の最初に
送信側が受信側に送ることにより決定される複数の表の
中から、例えば図5のような基準に従って選択すること
により符号表を決定する。
The code table selecting unit 404 uses the prediction of the vector size predicting unit 403 to determine a plurality of tables that are fixedly fixed in advance, or that the transmitting side sends to the receiving side in advance at the beginning of communication. The code table is determined by selecting from a plurality of tables in accordance with the standard as shown in FIG. 5, for example.

【0022】図5において、表No.はベクトルの絶対
値からブロック番号決定に用いる表の番号であり、ベク
トルの大きさの範囲により図6のような従来例において
固定であったブロックサイズを可変とした場合の最小ブ
ロックサイズNを決定し、それに従って作成されたベク
トル絶対値からブロック番号への変換に用いる符号表を
選択する。図5の例では、平均のベクトルが大きい場合
に最終的に短い符号語長に変換されるブロック番号が小
さい領域の範囲を広げた表を選択する設定となってい
る。
In FIG. 5, the table No. Is the number of the table used for determining the block number from the absolute value of the vector, and determines the minimum block size N when the block size that was fixed in the conventional example as shown in FIG. Then, the code table used to convert the vector absolute value created in accordance with the block number is selected. In the example of FIG. 5, when the average vector is large, it is set to select a table in which the range of the area having a small block number finally converted to a short codeword length is widened.

【0023】選択された表が現在使用している表と異な
る場合には、ブロック・相対座標演算部405に対して
新たな表を通知し、また出力部409において符号表の
変更を示す符号を出力後、選択された表の番号が出力さ
れる。
If the selected table is different from the currently used table, the block / relative coordinate calculation unit 405 is notified of the new table, and the output unit 409 outputs a code indicating the change of the code table. After the output, the number of the selected table is output.

【0024】ブロック・相対座標演算部405は、差分
演算部402から送られてくるベクトルデータを、符号
語選択部404により選択された符号表を用いてブロッ
ク番号、象限番号及びブロック内での相対座標値に変換
し、ブロック差分演算部406に出力する。
The block / relative coordinate calculation unit 405 uses the code table selected by the codeword selection unit 404 to convert the vector data sent from the difference calculation unit 402 to the block number, quadrant number, and relative within the block. It is converted into coordinate values and output to the block difference calculation unit 406.

【0025】ブロック差分演算部406では、直前のブ
ロック番号、象限番号と新たに得られたブロック番号、
象限番号を用いてブロック番号の差分、及び象限番号の
差分を求める。求められたブロック番号は、差分符号化
部407に送られる。
In the block difference calculation unit 406, the immediately preceding block number, the quadrant number and the newly obtained block number,
The block number difference and the quadrant number difference are obtained using the quadrant numbers. The obtained block number is sent to the differential encoding unit 407.

【0026】差分符号化部407では、ブロック番号の
差分及び象限番号の差分の組に対して一つの符号語を選
択し符号選択部408に出力する。該当するブロック番
号の差分の値と象限番号の差分の組み合わせによる符号
語が定義されている場合には、その符号語を符号語選択
部408に送出するとともに、相対座標値をその後に続
けて送出する。該当する符号語が定義されていない場合
には、符号語が存在しないことを示す特別な符号列を符
号語選択部408に送出する。
The differential encoding unit 407 selects one codeword for the set of the block number difference and the quadrant number difference, and outputs it to the code selection unit 408. When a codeword is defined by a combination of the difference value of the corresponding block number and the quadrant number difference, the codeword is transmitted to the codeword selecting unit 408, and the relative coordinate value is subsequently transmitted. To do. When the corresponding codeword is not defined, a special code string indicating that the codeword does not exist is sent to the codeword selecting unit 408.

【0027】符号語選択部408では、差分符号化部4
07の出力が符号語と相対座標から構成されるときは、
そのデータをそのまま出力部409に送出する。差分符
号化部408の出力が符号語が存在しないことを示す符
号列であった場合には、絶対座標を送出することを示す
符号列を出力部409に送出し、入力部401から得ら
れる絶対座標をその後に続けて送出する。
In the code word selection unit 408, the differential encoding unit 4
If the output of 07 consists of codewords and relative coordinates,
The data is sent to the output unit 409 as it is. When the output of the differential encoding unit 408 is a code string indicating that no codeword exists, a code string indicating that absolute coordinates are to be transmitted is transmitted to the output unit 409, and the absolute value obtained from the input unit 401 is obtained. Coordinates are subsequently sent.

【0028】図7は、本発明のベクトル画像符号化装置
に基づくテレライティング端末装置の復号化部の一実施
例のブロック構成図である。この復号化部は、入力部7
01と、符号判定部702と、符号抽出部703と、象
限・ブロック算出部704と、ベクトル座標算出部70
5と、符号表選択部706と、絶対座標算出部707
と、出力部708とから構成されている。
FIG. 7 is a block diagram of an embodiment of a decoding unit of a telewriting terminal device based on the vector image coding device of the present invention. The decoding unit is the input unit 7
01, a code determination unit 702, a code extraction unit 703, a quadrant / block calculation unit 704, and a vector coordinate calculation unit 70.
5, a code table selection unit 706, and an absolute coordinate calculation unit 707.
And an output unit 708.

【0029】この復号化部において、入力部701から
入力された符号列は、符号表判定部702において符号
化に用いられている符号表の判定を行う。符号表判定部
702では、入力部701からの符号列中に符号表の変
化を示す符号列が現れた場合、次に続く符号列から以降
の符号化に用いる符号表の番号を得る。得られた符号表
の番号は、符号表選択部705に送出する。符号表の変
更以外の符号列は、変更を行わず符号抽出部703に送
出する。
In this decoding section, the code string inputted from the input section 701 is judged in the code table judging section 702 as to the code table used for coding. In the code table determination unit 702, when a code string indicating a change in the code table appears in the code string from the input unit 701, the code table number used for the subsequent coding is obtained from the code string that follows. The obtained code table number is sent to the code table selecting unit 705. Code strings other than the code table changes are sent to the code extraction unit 703 without any changes.

【0030】符号表選択部705では、符号判定部70
2から送られてくる符号表の番号と自端末の表示可能な
精度をもとに適当なブロックサイズを決定し、符号表を
選択する。
The code table selecting unit 705 includes a code determining unit 70.
An appropriate block size is determined based on the code table number sent from the terminal 2 and the displayable accuracy of the terminal itself, and the code table is selected.

【0031】符号抽出部703では、入力符号列を順に
読み込み、まずデータの先頭の符号列から絶対座標によ
るデータであるか差分符号化による符号語であるかの判
定を行う。絶対座標によるデータである場合には、絶対
座標の算出を行い得られた結果を出力部708に送出す
る。差分符号化による符号語である場合は、符号語に対
する表を用いて象限番号の差分、ブロック番号の差分、
及び相対座標を算出し、象限・ブロック算出部704に
送出する。
The code extraction unit 703 reads the input code sequence in order, and first determines from the first code sequence of the data whether the data is based on absolute coordinates or a code word based on differential encoding. When the data is based on absolute coordinates, the absolute coordinates are calculated and the obtained result is sent to the output unit 708. In the case of a code word by differential encoding, a quadrant number difference, a block number difference,
And the relative coordinates are calculated and sent to the quadrant / block calculation unit 704.

【0032】象限・ブロック算出部704においては、
直前の象限番号・ブロック番号に符号抽出部703にお
いて算出した象限番号の差分、ブロック番号の差分をそ
れぞれ加えることによって新しい象限番号、ブロック番
号を求め、相対座標とともにベクトル座標算出部706
に送出する。
In the quadrant / block calculation unit 704,
A new quadrant number and a block number are obtained by adding the difference in the quadrant number and the difference in the block number calculated in the code extracting unit 703 to the immediately preceding quadrant number and block number, respectively, and the vector coordinate calculating unit 706 together with the relative coordinates.
Send to.

【0033】ベクトル座標算出部706では、象限・ブ
ロック算出部704から送られてくる値を符号表選択部
705において選択された符号表を用いて基準座標系に
おけるベクトル座標に変換する。
The vector coordinate calculation unit 706 converts the values sent from the quadrant / block calculation unit 704 into vector coordinates in the reference coordinate system using the code table selected by the code table selection unit 705.

【0034】絶対座標算出部707では、ベクトル座標
算出部706によって得られたベクトルを直前の座標値
に加えることで新たな座標値を求め出力部710に出力
する。
The absolute coordinate calculation unit 707 obtains a new coordinate value by adding the vector obtained by the vector coordinate calculation unit 706 to the immediately preceding coordinate value and outputs it to the output unit 710.

【0035】[0035]

【発明の効果】本発明によるベクトル画像符号化装置で
は、入力されるベクトルデータの変化量に応じて符号化
に用いる符号を切り替えることにより、固定的な符号に
よる符号化に比べてより柔軟に符号化中に高い圧縮率を
得ることができる符号語の組を選択することができる。
In the vector image coding apparatus according to the present invention, the code used for coding is switched according to the change amount of the input vector data, so that the code is more flexible than the coding by the fixed code. It is possible to select a set of code words that can obtain a high compression rate during conversion.

【0036】また本発明を利用したベクトル画像符号化
装置をタブレット等を入力手段として用いる手書き入力
データ保存装置、手書き入力データの通信装置に適用す
ることにより端末の能力等に応じた適切な圧縮を行うこ
とができ効率のよい保存、通信が可能となる。
Further, by applying the vector image coding apparatus utilizing the present invention to a handwriting input data storage device using a tablet or the like as an input means and a handwriting input data communication device, an appropriate compression according to the capability of the terminal is performed. It is possible to perform efficient storage and communication.

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

【図1】従来のベクトル画像の符号化装置の構成例の説
明図である。
FIG. 1 is an explanatory diagram of a configuration example of a conventional vector image encoding device.

【図2】ブロック番号・象限番号の説明図である。FIG. 2 is an explanatory diagram of block numbers / quadrant numbers.

【図3】符号化に用いる符号表の例の説明図である。FIG. 3 is an explanatory diagram of an example of a code table used for encoding.

【図4】本発明における一実施例の符号化装置のブロッ
ク構成図である。
FIG. 4 is a block configuration diagram of an encoding device according to an embodiment of the present invention.

【図5】ベクトルの大きさからブロックサイズを決定す
るための表である。
FIG. 5 is a table for determining a block size from the size of a vector.

【図6】図5における最小ブロックサイズの説明図であ
る。
6 is an explanatory diagram of a minimum block size in FIG.

【図7】本発明における一実施例の復号化装置のブロッ
ク構成図である。
FIG. 7 is a block configuration diagram of a decoding device according to an embodiment of the present invention.

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

101 入力部 102 差分演算部 103 ブロック・相対座標演算部 104 ブロック差分演算部 105 差分符号化部 106 符号語選択部 107 出力部 401 入力部 402 差分演算部 403 ベクトルサイズ予測部 404 符号表選択部 405 ブロック・相対座標演算部 406 ブロック差分演算部 407 差分符号化部 408 符号語選択部 409 出力部 701 入力部 702 符号判定部 703 符号抽出部 704 象限・ブロック算出部 705 ベクトル座標算出部 706 符号表選択部 707 絶対座標算出部 708 出力部 Reference numeral 101 input unit 102 difference calculation unit 103 block / relative coordinate calculation unit 104 block difference calculation unit 105 difference encoding unit 106 codeword selection unit 107 output unit 401 input unit 402 difference calculation unit 403 vector size prediction unit 404 code table selection unit 405 Block / relative coordinate calculation unit 406 Block difference calculation unit 407 Difference encoding unit 408 Code word selection unit 409 Output unit 701 Input unit 702 Code determination unit 703 Code extraction unit 704 Quadrant / block calculation unit 705 Vector coordinate calculation unit 706 Code table selection Part 707 Absolute coordinate calculation part 708 Output part

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/92 7/24 H04N 7/13 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location H04N 5/92 7/24 H04N 7/13 Z

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】入力される座標系列を画像中の連続したベ
クトル系列として扱うベクトル画像の符号化装置におい
て、 入力されるベクトルの平均の大きさを予測するベクトル
サイズ予測手段と、 前記ベクトルサイズ予測手段によって予測されたベクト
ルの平均の大きさに基づき符号化に用いる表を決定する
符号表決定手段と、 前記符号表決定手段によって決定された表に基づき符号
化を行う符号化手段と、を有することを特徴とするベク
トル画像符号化装置。
1. A vector image encoding apparatus for treating an input coordinate sequence as a continuous vector sequence in an image, a vector size prediction unit for predicting an average size of an input vector, and the vector size prediction. Code table determining means for determining a table to be used for encoding based on the average magnitude of the vector predicted by the means, and encoding means for performing encoding based on the table determined by the code table determining means. A vector image encoding device characterized by the above.
【請求項2】前記ベクトルサイズ予測手段は、過去の入
力ベクトル系列を保存しており、過去の値と現在の入力
から適当な補間演算を行うことにより、以降入力される
ベクトルの大きさの予測を行うことを特徴とする請求項
1記載のベクトル画像符号化装置。
2. The vector size predicting means stores a past input vector series, and predicts the size of a vector to be subsequently input by performing an appropriate interpolation operation from past values and the present input. The vector image coding apparatus according to claim 1, wherein
【請求項3】入力される座標系列を画像中の連続したベ
クトル系列として扱うベクトル画像の符号化装置におい
て、 符号化する数値を入力する入力部と、 前記入力部からの入力値と直前の入力値との差分をと
り、ベクトル座標列に変換する差分演算部と、 過去のベクトル座標入力列からベクトルのサイズを予測
するベクトルサイズ予測部と、 予測されたベクトルのサイズから適当な符号表を選択す
る符号表選択部と、 前記差分演算部から送られてくるベクトル座標列を、前
記符号語選択部により選択された符号表を用いてブロッ
ク番号、象限番号及びブロック内での相対座標値に変換
するブロック・相対座標演算部と、 直前のブロック番号、象限番号と新たに得られたブロッ
ク番号、象限番号を用いてブロック番号の差分、および
象限番号の差分を求めるブロック差分演算部と、 前記ブロック番号の差分、象限番号の差分から符号語を
選択する差分符号化部と、 前記選択された符号語と、入力された前記数値自体のい
ずれを出力するかを選択する符号選択部と、を有するこ
とを特徴とするベクトル画像符号化装置。
3. A vector image encoding apparatus for treating an input coordinate sequence as a continuous vector sequence in an image, an input unit for inputting a numerical value to be encoded, an input value from the input unit and a previous input. Difference calculation unit that takes the difference from the value and converts it to a vector coordinate sequence, vector size prediction unit that predicts the size of the vector from the past vector coordinate input sequence, and an appropriate code table from the predicted vector size And a vector coordinate sequence sent from the difference calculation unit to a block number, a quadrant number, and a relative coordinate value within the block, using the code table selected by the codeword selection unit. Block / relative coordinate calculation unit, the immediately preceding block number, the quadrant number and the newly obtained block number, the block number difference using the quadrant number, and the quadrant number A block difference calculation unit for obtaining the difference between the block number difference and the quadrant number difference for selecting a code word, the selected code word, and outputs any of the input numerical value itself A vector image encoding device, comprising: a code selecting unit that selects whether to perform.
JP10698794A 1994-05-20 1994-05-20 Vector image coding device Expired - Lifetime JP2606583B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10698794A JP2606583B2 (en) 1994-05-20 1994-05-20 Vector image coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10698794A JP2606583B2 (en) 1994-05-20 1994-05-20 Vector image coding device

Publications (2)

Publication Number Publication Date
JPH07320056A true JPH07320056A (en) 1995-12-08
JP2606583B2 JP2606583B2 (en) 1997-05-07

Family

ID=14447611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10698794A Expired - Lifetime JP2606583B2 (en) 1994-05-20 1994-05-20 Vector image coding device

Country Status (1)

Country Link
JP (1) JP2606583B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6618072B2 (en) 2000-10-30 2003-09-09 Nec Corporation Moving picture coding apparatus and TV phone using the same
KR100493504B1 (en) * 1997-06-13 2005-09-12 마쯔시다덴기산교 가부시키가이샤 Mobile pixel distortion elimination method and apparatus for plasma display panel using minimum mobile pixel distortion distance code
WO2019239535A1 (en) * 2018-06-13 2019-12-19 富士通株式会社 Acquisition method, generation method, acquisition program, generation program, and information processing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100493504B1 (en) * 1997-06-13 2005-09-12 마쯔시다덴기산교 가부시키가이샤 Mobile pixel distortion elimination method and apparatus for plasma display panel using minimum mobile pixel distortion distance code
US6618072B2 (en) 2000-10-30 2003-09-09 Nec Corporation Moving picture coding apparatus and TV phone using the same
WO2019239535A1 (en) * 2018-06-13 2019-12-19 富士通株式会社 Acquisition method, generation method, acquisition program, generation program, and information processing device
JPWO2019239535A1 (en) * 2018-06-13 2021-06-24 富士通株式会社 Acquisition method, generation method, acquisition program, generation program and information processing device
US11461909B2 (en) 2018-06-13 2022-10-04 Fujitsu Limited Method, medium, and apparatus for specifying object included in image utilizing inverted index

Also Published As

Publication number Publication date
JP2606583B2 (en) 1997-05-07

Similar Documents

Publication Publication Date Title
JP3464075B2 (en) System and method for compression and decompression of digital images
JP3017380B2 (en) Data compression method and apparatus, and data decompression method and apparatus
US5374916A (en) Automatic electronic data type identification process
JPH0695645B2 (en) Encoding device, encoding method, decoding device, and decoding method
JP2007020208A (en) Compression and decompression of image data by block unit
US5933105A (en) Context-based arithmetic encoding/decoding method and apparatus
KR101365989B1 (en) Apparatus and method and for entropy encoding and decoding based on tree structure
WO1997035422A1 (en) Encoder, decoder and methods used therefor
JP3466164B2 (en) Image encoding device, image decoding device, image encoding method, image decoding method, and medium
JP2606583B2 (en) Vector image coding device
KR100739110B1 (en) Method for compressing binary image rapidly
JP3969790B2 (en) Outline coding device
KR0169662B1 (en) A classified pts vq encoder
JPH0537916A (en) Image transmission equipment
JPH08298599A (en) Image encoding method and device therefor
JPH07249995A (en) Data encoding device
JP3420389B2 (en) Image encoding method and apparatus
JP3263218B2 (en) Image information data compression and playback device
JPH0936749A (en) Coding decoding device and coding method used for it
JPS5814674A (en) Image coding system
JPH0311883A (en) Decoding system for variable length code, and facsimile equipment and still picture transmission system
JPH02194772A (en) Method and device for encoding
JP3209259B2 (en) Image signal encoding / decoding method and apparatus
JP2633683B2 (en) Vector quantizer
JP3316414B2 (en) Image encoding method and apparatus, image decoding method and apparatus

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961217