JPH01286677A - Picture data compressing system - Google Patents

Picture data compressing system

Info

Publication number
JPH01286677A
JPH01286677A JP63116281A JP11628188A JPH01286677A JP H01286677 A JPH01286677 A JP H01286677A JP 63116281 A JP63116281 A JP 63116281A JP 11628188 A JP11628188 A JP 11628188A JP H01286677 A JPH01286677 A JP H01286677A
Authority
JP
Japan
Prior art keywords
index
vector
variable length
output
order bit
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
JP63116281A
Other languages
Japanese (ja)
Inventor
Shigeru Yoshida
茂 吉田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63116281A priority Critical patent/JPH01286677A/en
Publication of JPH01286677A publication Critical patent/JPH01286677A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To lower redundancy with an adjacent element and to improve an encoding efficiency by dividing an index into a high-order bit and a low-order bit and executing the forecasting sequence encoding of the high-order bit with the index of the block of the circumference. CONSTITUTION:Out of two compressing signals distributed from a code distributer 50, one of them is inputted to a variable length decoder 53 and other one is inputted to a variable length decoder 54 respectively, and the signal decoded here is sent converted to forecasting inverse converting circuits 56 and 57 and inversely converted. Next, the high-order bit of the index is decoded by a variable length decoder 51, the forecasting sequence of the signal is inputted to a forecasting sequence inverse converting circuit 55 and the index high-order bit of the noticed block is restored. Based on the deviation to occur thereafter, the distributer 50 is switched to a variable length decoder 52 and the low-order bit of the index is decoded. Next, the bits of the high-order and the low-order are addressed to a code table 58 and outputted through a picture reproducing circuit 59 from a terminal 5 as a picture signal.

Description

【発明の詳細な説明】 [概要] 画像データを圧縮して伝送し、伝送されたデータを受信
して再生する画像データ圧縮方式に関し、画像データを
効率よくしかも高画質で伝送することを目的とし、 多値中間調画像を所定の複数画素からなるブロックに分
割し、分割した各ブロック毎の画素データから入力ベク
トルを作成してベクトル量子化し1、出力ベクトルのイ
ンデックスを符号化する場合に、該インデックスを上位
ビットと下位ビットに分割し、前記上位ビットをその周
囲のブロックのインデックスより予測順位符号化するよ
うに構成する。
[Detailed Description of the Invention] [Summary] This invention relates to an image data compression method that compresses and transmits image data, receives and reproduces the transmitted data, and aims to transmit image data efficiently and with high image quality. , divides a multilevel halftone image into blocks consisting of a predetermined plurality of pixels, creates an input vector from the pixel data of each divided block, performs vector quantization1, and encodes the index of the output vector. The index is divided into high-order bits and low-order bits, and the high-order bits are configured to be encoded in a prediction order based on the indexes of surrounding blocks.

[産業上の利用分野] 本発明は画像データを圧縮して伝送し、伝送されたデー
タを受信して再生する画像データ圧縮方式に関する。
[Field of Industrial Application] The present invention relates to an image data compression method for compressing and transmitting image data, and receiving and reproducing the transmitted data.

画像データを表わすために必要な情報量は、数値データ
に比べて桁違いに増大する。この情報量の増大は画像デ
ータの中でも特に多値中間調画像やカラー画像で著しい
。このような画像データを蓄積し、或いは高速、高品質
で伝送するためには、画像毎の階調情報を高能率に符号
化(つまり圧縮)する必要がある。
The amount of information required to represent image data increases by an order of magnitude compared to numerical data. This increase in the amount of information is remarkable among image data, especially in multi-value halftone images and color images. In order to accumulate such image data or transmit it at high speed and with high quality, it is necessary to encode (that is, compress) the gradation information for each image with high efficiency.

[従来の技術] 画像データの圧縮符号化方式としては、従来よりブロッ
ク符号化方式とベクトル量子化方式がよく用いられてい
る。これらの方式は、更に改良方式が研究されており、
以下に示すようなベクトル吊子化符号化方式(例えばテ
レビジョン学会誌。
[Prior Art] As compression encoding methods for image data, block encoding methods and vector quantization methods have been commonly used. Improvements to these methods are being researched,
A vector dangling coding method as shown below (for example, Journal of the Society of Television Engineers).

Vo138.No、5.1984年 r画m信Mのベク
トル吊子化」)が提案されている。ここで、ベクトル量
子化方式とは、画像信号を複数画素毎にまとめたものを
、多次元のベクトルと見て、多次元空間において入力ベ
クトルを最短距離にある出力ベクトル(有限個の代表点
の1つ)に写像することで、多次元の量子化を行う方法
である。
Vo138. No. 5. 1984 "Vector suspension of r picture m letter M") has been proposed. Here, the vector quantization method considers the image signal grouped into multiple pixels as a multidimensional vector, and converts the input vector into the output vector (of a finite number of representative points) at the shortest distance in the multidimensional space. This method performs multidimensional quantization by mapping to (1).

多値中間調画像のベクトル量子化法としては、平均値分
離正規化ベクトル陽子化符号化方式(Mean  5e
parated  VectorQuant i ze
r)がよく知られている。
As a vector quantization method for multilevel halftone images, the mean value separation normalized vector proton coding method (Mean 5e
Parated VectorQuantize
r) is well known.

この方式は、画像をNxN (−k)画素からなるブロ
ックに分割し、ブロック毎の画素5i(i=1.2.・
・・k)の入力ベクトルS−[St 。
This method divides the image into blocks consisting of NxN (-k) pixels, and each block has 5i pixels (i=1.2.
. . k) input vector S-[St.

S2 +・・・83 ]から平均値μを差し引いて分離
し、偏差σで正規化した平均値分離正規化入力ベクトル
X ” [X 1 + ×2 +・・・Xド1を構成す
る。Xはに次元信号空間上の1点を指すベクトルとなる
S2 +...83] is separated by subtracting the average value μ, and normalized by the deviation σ to form an average value separated normalized input vector X'' [X1+×2+...Xdo1.X This is a vector pointing to one point on the 2-dimensional signal space.

そこで、RをN個の部分空間に分割し、部分空間R1を
代表点のベクトルYi  = [’171* V;z 
、     ’・・・Vik ]で表わすようにする。
Therefore, R is divided into N subspaces, and subspace R1 is represented by a vector of representative points Yi = ['171*V;z
, '...Vik].

そして、Yl  の集合をY−(Yt 、Y2・・・Y
N)とし、yl  のインデックスの集合を1−(1,
2,・・・N)とすると、ベクトル量子化VQは次式で
表わされる。
Then, the set of Yl is defined as Y−(Yt, Y2...Y
N), and the set of indices of yl is 1-(1,
2,...N), vector quantization VQ is expressed by the following equation.

S = [St e  S 2 、・・・s、]   
  (1)μ=(1/k)2.s、      (2)
x #−(s H−μ)、/σ      (4)X−
[Xt  、X、、−、X)、]     (5)上記
Xのベクトル量子化VQ(X)−Yid (X、Y’+
  ) <d (X、Y、>   < 7)但しi a
−Pj ベクトル吊子化による符号化C1復号化りは、次の写像
の操作を表わす。
S = [St e S 2 ,...s,]
(1)μ=(1/k)2. s, (2)
x #-(s H-μ), /σ (4)X-
[Xt, X,, -, X),] (5) Vector quantization of the above
) <d (X, Y, >< 7) However, i a
-Pj Encoding by vector hanging C1 decoding represents the following mapping operation.

C:X−*i、    D:i−+Y1従って、VQ−
D −C 前記d(X、Yi)は歪み測度で、入出力間の距離を表
わし、 2乗歪測度 d(X、Yi)= !(X;  −y;Hl   (8) 絶対値歪ミlll1度d(X、Yi)−等で定義される
。平均値分離正規化ベクトル量子化では、符号化情報は
ブロック毎の平均値μ、幅偏差及び出力ベクトルのイン
デックスiとなる。
C:X-*i, D:i-+Y1 Therefore, VQ-
D −C The above d(X, Yi) is a distortion measure and represents the distance between input and output, and the squared distortion measure d(X, Yi)=! (X; −y; Hl (8) Absolute value distortion is defined as d(X, Yi)−, etc. In mean value separation normalized vector quantization, the encoded information is the mean value μ for each block, It becomes the width deviation and the index i of the output vector.

第6図は平均値分離ベクトル量子化器の従来構成例を示
す図である・。図中(a)は符号器を、(b)は復号器
をそれぞれ示す。先ず、(a)に示す符号器について説
明する。ここでは、画像信号を4×4画素のブロックと
し、平均値と偏差で正規化して入力ベクトルを作り、絶
対値歪温度を用いてベクトル量子化する。4×4画素の
画像信号を8!  −[S 1 + 82 +・・・S
、6]とすると、正規化した入力ベクトルX−[Xt 
、X2 、・・・x+bEは分離・正規化回路1により
次のようにして作成される。
FIG. 6 is a diagram showing an example of a conventional configuration of a mean value separation vector quantizer. In the figure, (a) shows an encoder, and (b) shows a decoder. First, the encoder shown in (a) will be explained. Here, the image signal is made into a 4×4 pixel block, normalized using the average value and deviation to create an input vector, and vector quantized using the absolute value distortion temperature. 8 4x4 pixel image signals! −[S 1 + 82 +...S
, 6], then the normalized input vector X−[Xt
, X2, . . . x+bE are created by the separation/normalization circuit 1 as follows.

X 1  = (8iup  ) / (jp    
  (10)μl′″(1/16)F、、Si    
 (11)上記変換により、入力ベクトルXは平均値O
1要素の絶対値和が1に正規化される。そして、正規化
された入力ベクトルXはレジスタ2に一時的に保持され
る。
X 1 = (8iup) / (jp
(10)μl′″(1/16)F,,Si
(11) Through the above conversion, the input vector X has an average value O
The sum of absolute values of one element is normalized to one. The normalized input vector X is then temporarily held in register 2.

一方、出力ベクトルコードテーブル3から順次出力ベク
トルYi  を読出して、レジスタ4に−時的に保持す
る。そして、図に示す符号化器は入力ベクトルXと出力
ベクトルY1  との差分(歪)d(X、Yi)を減算
器5で計算し、最少歪となる出力ベクトルのインデック
スiを正規化定数μl。
On the other hand, output vectors Yi are sequentially read from the output vector code table 3 and temporarily held in the register 4. Then, the encoder shown in the figure calculates the difference (distortion) d(X, Yi) between the input vector .

σ1 と共に符号化する。つまり減算器5で減算した結
果を絶対値回路6に入力して絶対値化する。
Encoded together with σ1. That is, the result of subtraction by the subtracter 5 is input to the absolute value circuit 6 and converted into an absolute value.

そして、これら絶対値回路6の出力を累算回路7に入力
する。
Then, the outputs of these absolute value circuits 6 are input to an accumulation circuit 7.

累算回路7は(9)式で示す絶対値型測度dを累口する
。該累算回路7の出力は、最少歪検出回路8に入り、今
まで求めている出力ベクトルの歪より小さいかどうか比
較され、小さければ、コードテーブル・インデックスカ
ウンタ10よりインデックスがインデックススラッチ9
に入ってラッチされる。次にコードデープルインデック
スカウンタ10を1つカウントアツプし、次に歪を検査
するインデックスIを出力する。このインデックス■は
出力ベクトルコードテーブル3に入って対応する次の出
力ベクトルYr  を出力する。コードテーブルインデ
ックスカウンタ10が逐次カウントアツプして、全イン
デックスを走査すると、インデックスラッチ9には最小
歪のインデックスが求まることになる。この結果、イン
デックスi。
The accumulating circuit 7 accumulates the absolute value type measure d shown by equation (9). The output of the accumulator circuit 7 enters the minimum distortion detection circuit 8 and is compared to see if it is smaller than the distortion of the output vector sought so far.
is entered and latched. Next, the code table index counter 10 is counted up by one, and then an index I for checking distortion is output. This index ■ enters the output vector code table 3 and outputs the corresponding next output vector Yr. When the code table index counter 10 sequentially counts up and scans all the indexes, the index with the minimum distortion will be found in the index latch 9. As a result, index i.

正規化定数μノ及び偏差σノが出力される。The normalization constant μ and the deviation σ are output.

次に(b)に示す復号器の動作について説明する。(a
)に示す符号器から伝送されてきた圧縮データの内、イ
ンデックスiはインデックスラッチ11にラッチされる
。ラッチされたインブックスミデータは、出力ベクトル
コードテーブル12に入り、該出力ベクトルコードテー
ブル12はインデックスiをアドレスとして、対応する
番地に格納されている出力ベクトルYi  を読み出す
。読み出された出力ベクトルYi  は、再生回路14
に入る。該再生回路14には、入力データの内の正規化
定数μノ及び偏差σノも入力されており、出力ベクトル
Yi  にμノ及びσノとを演算させて復元画像信号と
している。
Next, the operation of the decoder shown in (b) will be explained. (a
Of the compressed data transmitted from the encoder shown in ), the index i is latched in the index latch 11. The latched in-books data enters the output vector code table 12, and the output vector code table 12 uses index i as an address to read out the output vector Yi stored at the corresponding address. The read output vector Yi is transmitted to the reproducing circuit 14
to go into. The reproduction circuit 14 also receives the normalization constant μ and the deviation σ of the input data, and calculates μ and σ on the output vector Yi to obtain a restored image signal.

第6図に示すベクトル量子化器は、入力ベクトルに対し
て出力ベクトルを1つずつ比較して最少歪となる出力ベ
クト、ルを選択するもので、全探索型と呼ばれている。
The vector quantizer shown in FIG. 6 compares the output vectors one by one with respect to the input vectors and selects the output vector that causes the least distortion, and is called a full search type.

この全探索型ベクトル量子化器では、入力ベクトルと最
少歪となる出力ベクトルを検出プる部分の演Rffiが
大きくなるため、処理に時間がかかる。そこで、高速の
ベクトル量子化を行う方法として出力ベクトルのセット
に一定の構造を持たせる木探索ベクトル量子化がある。
In this full search type vector quantizer, the operation Rffi of detecting the input vector and the output vector that has the minimum distortion becomes large, so the processing takes time. Therefore, as a method for performing high-speed vector quantization, there is tree search vector quantization that gives a set of output vectors a certain structure.

本探索恒子化の内、多く用いられている2進木探索ベク
トル量子化について説明する。
Binary tree search vector quantization, which is often used in this search constantization, will be explained.

2進木探索ベクトル量子化では、正規化した入力ベクト
ルのトレーニング系列を段階的に分割し、第7図に示す
ような本構造をもつ出力ベクトルのセットを作成する。
In binary tree search vector quantization, a training sequence of normalized input vectors is divided in stages to create a set of output vectors having the structure shown in FIG.

同図で、木の根はに次元空間Rに対応し、各節点はRを
順次2分割した空間に対応する。各節点に仮の出力ベク
トルが置かれ、入力ベクトルはこれらの出力ベクトルと
比較され、l og2 k回の歪演算で最終の出力ベク
トルを選ぶことができる。
In the figure, the root of the tree corresponds to a dimensional space R, and each node corresponds to a space obtained by sequentially dividing R into two. A temporary output vector is placed at each node, the input vectors are compared with these output vectors, and the final output vector can be selected with log2 k distortion operations.

第8図は2進本探索ベクトル量子化の符号器の構成例を
示すブロック図である。図に示す例は、各節点の処理を
パイプライン化して高速化するもので、第n+1段につ
いて示している。図中、b(n)は2進n桁のインデッ
クスであり、第n段までの2進水の経路を承り。入力ベ
クトルXは、先ず入力ベクトルレジスタ21に入り一時
的に保持される。一方、前段からの2進n桁のインデッ
クスb (n)は、出力ベクトルコードテーブル22に
入る。そして、図に示すn+1段目で入力ベクトルXと
、仮の出力ベクトル譬bcn)oと1Fb(n)+との
歪計算を続く歪計算回路23.24で行い、これら計算
結果を比較器25で行って、n+1桁目におけるO/1
を決定し、インデックスレジスタ26に入力する。そし
て、該インデックスレジスタ26からインデックスb(
n)O/1を出力する。
FIG. 8 is a block diagram showing an example of the configuration of an encoder for binary search vector quantization. The example shown in the figure speeds up processing at each node by pipeline processing, and shows the (n+1)th stage. In the figure, b(n) is an n-digit binary index, which indicates the binary launch route up to the n-th stage. The input vector X first enters the input vector register 21 and is temporarily held there. On the other hand, the n-digit binary index b (n) from the previous stage is entered into the output vector code table 22. Then, at the (n+1)th stage shown in the figure, distortion calculations are performed on the input vector O/1 at the n+1st digit
is determined and input to the index register 26. Then, the index b(
n) Output O/1.

第9図は従来技術のベクトル量子化の可変長符号化回路
の構成例を示す図である。この図は従来技術の平均値分
離正規化ベクトル量子化・可変長符号化によるデータ圧
縮器の構成例を示している。
FIG. 9 is a diagram showing an example of the configuration of a conventional vector quantization variable length encoding circuit. This figure shows an example of the configuration of a data compressor using mean value separation normalized vector quantization and variable length coding in the prior art.

図において、1は画像信号の入力端子、30は第6図に
示したものと同様の正規化回路であり、プロック毎の画
像信号から平均値μ1.及び標準偏差σメ を分離して
出力すると共に、平均値0.標準偏差1に正規化した入
力ベクトルXを出力する。
In the figure, 1 is an input terminal for an image signal, 30 is a normalization circuit similar to that shown in FIG. 6, and the average value μ1. and standard deviation σme are separated and output, and the average value 0. Outputs the input vector X normalized to a standard deviation of 1.

31は2連木探索ベクトル量子化符号器であり、第8図
の2進水探索ベクトル量子化器をl og2 k段分、
パイプラインに接続したものである。2連木探索ベクト
ル量子化符号か器31からはl 002 kピットのイ
ンデックスが出力される。正規化回路30から出力され
る平均値μl及び標準偏差σメ (正規化係数)は、D
PCM符号化によりデータ圧縮する。そこで、μl及び
σlは、それぞれ予測陽子化器33.34に入力され、
予測値との差分が量子化され出力される。
31 is a binary search vector quantization encoder, which converts the binary search vector quantizer shown in FIG. 8 by l og2 k stages,
It is connected to a pipeline. The binary tree search vector quantization coder 31 outputs an index of l 002 k pits. The average value μl and standard deviation σ (normalization coefficient) output from the normalization circuit 30 are D
Data is compressed by PCM encoding. Therefore, μl and σl are respectively input to predictive protonizers 33 and 34,
The difference from the predicted value is quantized and output.

例えば、平均値μlについて考えると、予測値へ μl (X)は、第10図に示すような予測器を用いる
ものとすると、隣接ブロックA、B、Cの平均値μ、(
A>、μt  (B)、μl (C)を参照することに
より、次式のように求めることができる。
For example, considering the average value μl, the predicted value μl (X) is calculated by using the predictor shown in FIG. 10, the average value μ, (
By referring to A>, μt (B), and μl (C), it can be determined as shown in the following equation.

へ μt (X)  −μl (A>  +μ) (B)−
μe  (C)       (13)これから予測誤
差ε力 (X)は、 ε力 (X)  −μl (X)  −μl (X) 
 (14)のように表される。
toμt (X) −μl (A> +μ) (B) −
μe (C) (13) From now on, the prediction error ε force (X) is ε force (X) − μl (X) − μl (X)
It is expressed as (14).

ここで、画像信号が256階調であり、O〜255で表
されるものとすると、予測誤差εμは、−255から2
55までの値をとり得る。そこで、512レベルの予測
誤差を63レベル程度に量子化器、量子化した値εAを
出力する。標準偏差σノについても同様で、予測量子化
器33で予測吊子化し、εσを出力する。
Here, assuming that the image signal has 256 gradations and is represented by O to 255, the prediction error εμ is from -255 to 2
It can take values up to 55. Therefore, a quantizer outputs the quantized value εA from the 512-level prediction error to about 63 levels. The same applies to the standard deviation σ, and the predictive quantizer 33 performs predictive quantization and outputs εσ.

次に、インデックスiは吊子化後の標準偏差を用い、適
応量子化器32で実際のインデックス長を適応的に切り
つめたi を出力する。これは、偏差が小さい場合、入
力ブロックの階調変化が穏やかと考えられるため、2進
木の上位の出力ベクトルでも十分表現できるからである
。そして、最斧  4f     片 襖にこれらεA、εσ及び1 は可変長符号化器35で
可変長符号化され、圧縮符号として出力される。
Next, the standard deviation after hanging is used as the index i, and the adaptive quantizer 32 outputs i by adaptively truncating the actual index length. This is because when the deviation is small, the gradation change of the input block is considered to be gentle, so that it can be sufficiently expressed by an output vector higher in the binary tree. Then, these εA, εσ, and 1 are variable-length encoded by a variable-length encoder 35 and output as a compressed code.

[発明が解決しようとする課題] 上述した従来技術においては、正規化係数μl。[Problem to be solved by the invention] In the prior art described above, the normalization coefficient μl.

σLは予測符号化するため、隣接ブロックとの相関によ
る冗長性を低くできる。しかしながら、インデックスi
については、隣接ブロックとの相関が残り、このため符
号化効率を十分に上げることができないという不具合が
あった。
Since σL is predictively encoded, redundancy due to correlation with adjacent blocks can be reduced. However, index i
However, there remains a correlation with adjacent blocks, and as a result, there is a problem in that the encoding efficiency cannot be sufficiently increased.

本発明はこのような課題に鑑みてなされたものであって
、インデックスを含めて画像データを効率よくしかも高
画質で伝送することができる画像データ圧縮方式を提供
することを目的としている。
The present invention has been made in view of these problems, and an object of the present invention is to provide an image data compression method that can efficiently transmit image data including an index with high image quality.

[課題を解決するための手段] 第1図は本発明方式の原理を示ずフローチャートである
。本発明は、多値中間調画像を所定の複数画素からなる
プロ、ツクに分割しくステップ[1])、分割した各ブ
ロック毎の画素データから入力ベクトルを作成してベク
トル量子化しくステップ[2])出力ベクトルのインデ
ックスを符号化する場合に、該インデックスを上位ピッ
トと下位ビットに分割しくステップ[3])、 前記上位ピットをその周囲のブロックのインデックスよ
り予測順位符号化する(ステップ[4])ようにしたこ
とを特徴としている。
[Means for Solving the Problems] FIG. 1 is a flowchart without showing the principle of the system of the present invention. The present invention divides a multilevel halftone image into blocks each consisting of a predetermined plurality of pixels (Step [1]), creates an input vector from pixel data for each divided block, and performs vector quantization (Step [2]). ]) When encoding the index of the output vector, the index is divided into upper pits and lower bits (step [3]), and the upper pit is encoded in prediction order from the indexes of the surrounding blocks (step [4]). ]).

[作用1 出力ベクトルのインデックスを符号化する場合に、該イ
ンデックスを上位ピットと下位ピットに分割し、前記上
位ピットをその周囲のブロックのインデックスより予測
順位符号化するようにした。
[Operation 1] When encoding the index of an output vector, the index is divided into upper pits and lower pits, and the upper pit is encoded in a predictive order from the indexes of the surrounding blocks.

これにより、インデックスiについても相関がとれるの
で、隣接要素との冗長性を低くでき、従って符号化効率
を上げることができる。
As a result, a correlation can also be taken with respect to the index i, so redundancy with adjacent elements can be reduced, and therefore encoding efficiency can be increased.

[実施例J 以下、図面を参照して本発明の実施例を詳細に説明する
[Embodiment J] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

本発明は、ベクトルm子化した出力ベクトルのインデッ
クスの内、上位ピットを隣接ブロックのインデックスよ
り予測順位符号化し、インデックスの隣接ブロック間の
相関を低減させるようにしたものである。
In the present invention, among the indexes of output vectors that have been converted into m-child vectors, the upper pits are encoded in a prediction order based on the indexes of adjacent blocks, thereby reducing the correlation between adjacent blocks of the indexes.

出力ベクトルのインデックス(以下、単にインデックス
と呼ぶ)の隣接ブロック閤の相関を低減させるには、正
規化係数の符号化と同時に、予測符号化を用いる方法が
考えられる。しかしながら、インデックスは多次元空間
を2進水分割した部分空間に付したWj@であるので、
距離が定義されていない。従って、2つのインデックス
の差分の大小は歪m度の大小とは対応しないため、DP
CM符号化を適用しても冗長性の除去は期待できない。
In order to reduce the correlation between adjacent blocks of an index of an output vector (hereinafter simply referred to as an index), a method of using predictive encoding at the same time as encoding the normalization coefficient can be considered. However, since the index is Wj@ attached to the subspace obtained by dividing the multidimensional space into binary water,
Distance is not defined. Therefore, since the magnitude of the difference between the two indexes does not correspond to the magnitude of the distortion m degree, DP
Even if CM encoding is applied, redundancy cannot be expected to be removed.

本発明方式では、予測符号化を適用することで、周囲の
ブロックのインデックスからみた注目ブロックの出現の
しやすさの順番を符号化するように、冗長性を除去しよ
う、とするものである。しかるに、インデックスは通常
8〜12ピツトに選ばれるため、予測順位符号化をその
まま用いると、2ブロツク参照でも予測状態数が非常に
大きくなり(例3メ嘗    jy+1 えば2〜2 )、そのままでは予測器を構成するのは不
可能である。しかしながら、インデックスは2進水構成
であり、上位ビット程予測が当たりやすいことから、本
発明ではインデックスの上位ピットのみ予測符号化する
ようにしたものである。
The method of the present invention attempts to remove redundancy by applying predictive coding to encode the order in which the block of interest is likely to appear based on the indices of surrounding blocks. However, since the index is usually selected between 8 and 12 pits, if prediction order coding is used as is, the number of prediction states will become very large even with two block references (e.g. 3, jy+1 = 2 to 2), and prediction will fail if it is used as is. It is impossible to construct a vessel. However, since the index has a binary configuration and the higher bits are more likely to be predicted correctly, in the present invention only the upper pits of the index are predictively encoded.

第2図は本発明に用いる符号器の一実施例を示す構成ブ
ロック図、第3図は本発明に用いる復号器の一実施例を
示ず構成ブロック図である。先ず、第3図に示す符号器
について説明する。同図に示す符号器が、第9図に示す
符号器と異なる点は、予測順位発生器40及び可変長符
号器41.42が付加されていることである。正規化回
路30より平均値分離正規化入力ベクトルXを入力した
2進本探索ベクトル量子化器31は、インデックスiを
上位ピットi′と下位ピットi=′とに分けて出力する
。上位ビ、ットi′は予測順位発生器40に入力されて
、予測順位が出力される。
FIG. 2 is a block diagram showing an embodiment of an encoder used in the present invention, and FIG. 3 is a block diagram showing an embodiment of a decoder used in the present invention. First, the encoder shown in FIG. 3 will be explained. The encoder shown in the figure differs from the encoder shown in FIG. 9 in that a prediction rank generator 40 and variable length encoders 41 and 42 are added. The binary main search vector quantizer 31, which receives the mean value separation normalized input vector X from the normalization circuit 30, divides the index i into an upper pit i' and a lower pit i=' and outputs them. The upper bits i' are input to a predicted rank generator 40, and a predicted rank is output.

この予測順位発生器40は、例えば第4図に示すように
その直前ブロックと真上ブロックのインデックスを参照
するようにすると、その構成は第5図に示すようなもの
となる。即ち、インデックス上位ピットを1ブロックラ
イン分蓄積できるシフトレジスタ40bを持ち、注目イ
ンデックス40aを入力するたび毎に1ブロック分シフ
ト動作を行う。そして、シフトレジスタ40bよりA。
If the prediction rank generator 40 refers to the indexes of the immediately preceding block and the block directly above it, as shown in FIG. 4, for example, the configuration will be as shown in FIG. 5. That is, it has a shift register 40b that can store index upper pits for one block line, and performs a shift operation for one block each time the index of interest 40a is input. Then, A from the shift register 40b.

B、Xのブロックに対応するインデックスを予測器40
cに入力する。この予測器40cはROMで構成されて
おり、インデックスの上位ピットを6ビツトとすると、
該予測器40cの容量は2J%b (−2)kWx6ピツトとなる。予測540Cは、A、
Bの位置にあるインデックスからみて、注目ブロックの
インデックスの出現しやすさの順序を出力する。
The predictor 40 determines the index corresponding to the blocks B and
Enter c. This predictor 40c is composed of a ROM, and assuming that the upper pit of the index is 6 bits,
The capacity of the predictor 40c is 2J%b (-2) kW x 6 pits. The prediction 540C is A,
From the index at position B, the order in which the indexes of the block of interest are more likely to appear is output.

可変長符号器41は、この予測順位を可変長符号化する
。また、可変長符号器42は、インデックスの下位ピッ
ト1″を従来技術と同様にして偏差σlの大きさにより
適応的に切りつめてから符号化する。σ! 、μlにつ
いての符号化は、第9図と同じであるので、その説明は
省略する。そして、これら可変長符号器35.41.4
2の出力は、マルチプレクサ43により順次切換えられ
て出力端子2から出力される。
The variable length encoder 41 performs variable length encoding on this prediction rank. Further, the variable length encoder 42 adaptively truncates the lower pit 1'' of the index according to the magnitude of the deviation σl in the same way as in the prior art, and then encodes it. Since it is the same as the figure, its explanation will be omitted.These variable length encoders 35.41.4
The outputs of 2 are sequentially switched by the multiplexer 43 and output from the output terminal 2.

次に第3図に示す復号器について説明する。符号器より
送られてくる順に、従来技術と同様にしτμ、及びσl
 を可変長復号化する。つまり、符号分配器50から分
配された圧縮信号の内、εG及びε々は可変長復号器5
3.54に入り、復号される。復号された信号εσ及び
εlは、それぞれ続く予測逆変換回路56.57に入っ
て逆変換され、σl 、μlに変換される。
Next, the decoder shown in FIG. 3 will be explained. Similarly to the prior art, τμ and σl are sent in the order sent from the encoder.
variable length decoding. That is, among the compressed signals distributed from the code distributor 50, εG and ε are transmitted to the variable length decoder 5.
3.54 and is decrypted. The decoded signals εσ and εl are respectively input to the following predictive inverse transform circuits 56 and 57 and inversely transformed into σl and μl.

その慢、インデックスの上位ビットi′を可変長復号器
51で復号する。その後、信号された予測順位を予測順
位逆変換回路55に入力し、前述した第4図のA、Bブ
ロックのインデックスを参照し、注目ブロックXのイン
デックスの上位ビットi′を復元する。次に、求まって
いるII差σノにより符号分配器50を可変長復号器5
2に切換え、インデックスの下位ビットi=−を復号す
る。
Then, the upper bit i' of the index is decoded by a variable length decoder 51. Thereafter, the signaled prediction order is input to the prediction order inverse conversion circuit 55, and the high-order bit i' of the index of the target block X is restored with reference to the indices of blocks A and B in FIG. 4 mentioned above. Next, the code distributor 50 is changed to the variable length decoder 5 according to the II difference σ which has been found.
2 and decode the lower bit i=- of the index.

そして、求まったインデックスの上位、下位ビットを合
わせて出力ベクトルコードテーブル58をアドレスし、
対応する番地に格納されている出力ベクトルY1  を
読出す。以陪は、従来技術と同様忙    ゲ であり、μノ、σl 及びYl  を画像再生回路59
に入力し、出力ベクトルの正規化を解き、平均値のオフ
セットを加えて端子4に画像信号として出力す、る。
Then, address the output vector code table 58 by combining the upper and lower bits of the determined index,
Read the output vector Y1 stored at the corresponding address. The process is similar to the conventional technology, and μ, σl, and Yl are determined by the image reproducing circuit 59.
, normalize the output vector, add an offset of the average value, and output it to terminal 4 as an image signal.

[発明の効果] 以上詳細に説明したように、本発明によれば出力ベクト
ルの隣接ブロック間の相関が低減されるので、符号化効
率を上げることができる画像データ圧縮方式を提供する
ことができる。
[Effects of the Invention] As explained in detail above, according to the present invention, the correlation between adjacent blocks of output vectors is reduced, so it is possible to provide an image data compression method that can improve encoding efficiency. .

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

第1図は本発明方式の原理を示すフローチャート、 第2図は本発明に用いる符号器の一実施例を示す構成ブ
ロック図、 第3図は本発明に用いる復号器の一実施例を示す構成ブ
ロック図、 第4図は予測順位符号化の隣接インデックスの配置を示
す図、 第5図は予測順位符号化の予測器のブロック図、第6図
は平均値分離正規化ベクトル量子化器の従来構成例を示
す図、 第7図は2進水の部分空間分割を示す図、第8図は2連
木探索ベクトル量子化器号器の構成例を示すブロック図
、 第9図は従来技術のベクトル量子化の可変長符号化回路
の構成例を示す図、 第10図は予測器の構成例を示す図である。 第2図、第3図において、 1.3は入力端子、 2.4は出力端子、 30は正規化回路、 31は2進水探索ベクトル間子化器、 33.34は予測邑子化器、 35は可変長符号器、 40は予測順位発生器、 41.42は可変長符号器、 43はマルチプレクサ、 50は符号分配器、 51〜54は可変長復号器、 55は予測順位逆変換器、 56.57は予測逆変換回路、 58は出力ベクトルコードテーブル、 59は画像再生回路である。 特許出願人  富 士 通 株 式 会 社代  理 
 人     弁理士   井  島  藤  治外1
名 、本発明方式の原理を示すフローチャート第1図
Fig. 1 is a flowchart showing the principle of the method of the present invention, Fig. 2 is a block diagram showing an embodiment of the encoder used in the invention, and Fig. 3 is a configuration showing an embodiment of the decoder used in the invention. Block diagram: Figure 4 is a diagram showing the arrangement of adjacent indices for predictive rank encoding; Figure 5 is a block diagram of a predictor for predictive rank encoding; Figure 6 is a conventional mean value separation normalization vector quantizer. Figure 7 is a diagram showing a subspace division of binary water; Figure 8 is a block diagram showing an example configuration of a two-tree search vector quantizer encoder; Figure 9 is a diagram showing a configuration example of a binary search vector quantizer; FIG. 10 is a diagram showing an example of the configuration of a variable length encoding circuit for vector quantization. FIG. 10 is a diagram showing an example of the configuration of a predictor. In FIGS. 2 and 3, 1.3 is an input terminal, 2.4 is an output terminal, 30 is a normalization circuit, 31 is a binary search vector interpolator, 33.34 is a prediction interpolator, 35 is a variable length encoder, 40 is a prediction rank generator, 41.42 is a variable length encoder, 43 is a multiplexer, 50 is a code distributor, 51 to 54 are variable length decoders, 55 is a prediction rank inverse converter, 56 and 57 are predictive inverse transform circuits, 58 are output vector code tables, and 59 are image reproduction circuits. Patent applicant Fujitsu Ltd. Company representative
Person Patent Attorney Fuji Ijima Jigai 1
Figure 1 is a flowchart showing the principle of the method of the present invention.

Claims (1)

【特許請求の範囲】 多値中間調画像を所定の複数画素からなるブロックに分
割し(ステップ[1])、 分割した各ブロック毎の画素データから入力ベクトルを
作成してベクトル量子化し(ステップ[2])出力ベク
トルのインデックスを符号化する場合に、該インデック
スを上位ビットと下位ビットに分割し(ステップ[3]
)、 前記上位ビットをその周囲のブロックのインデックスよ
り予測順位符号化する(ステップ[4])ようにしたこ
とを特徴とする画像データ圧縮方式。
[Claims] A multilevel halftone image is divided into blocks each consisting of a predetermined plurality of pixels (step [1]), an input vector is created from pixel data for each divided block, and vector quantization is performed (step [1]). 2]) When encoding the index of the output vector, divide the index into upper bits and lower bits (step [3]
), an image data compression method characterized in that the high-order bits are encoded in prediction order based on the indexes of surrounding blocks (step [4]).
JP63116281A 1988-05-13 1988-05-13 Picture data compressing system Pending JPH01286677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63116281A JPH01286677A (en) 1988-05-13 1988-05-13 Picture data compressing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63116281A JPH01286677A (en) 1988-05-13 1988-05-13 Picture data compressing system

Publications (1)

Publication Number Publication Date
JPH01286677A true JPH01286677A (en) 1989-11-17

Family

ID=14683189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63116281A Pending JPH01286677A (en) 1988-05-13 1988-05-13 Picture data compressing system

Country Status (1)

Country Link
JP (1) JPH01286677A (en)

Similar Documents

Publication Publication Date Title
JP3716931B2 (en) Adaptive decoding device for continuous images
KR910000707B1 (en) Method and apparatus for encoding transmitting
JP2746749B2 (en) System, encoding method, and decoding system and decoding method for fields of interlaced video sequence
US6950040B2 (en) Coding apparatus, program and data processing method
US7026960B2 (en) Method and apparatus for encoding and decoding key data
US4366506A (en) Picture transfer method and apparatus therefor
JP2911682B2 (en) Motion compensation using the minimum number of bits per motion block as a criterion for block matching
JP3231674B2 (en) Signal encoding method
JPH046289B2 (en)
US8502708B2 (en) Encoding method and decoding method, and devices, program and recording medium for the same
JP2765268B2 (en) High efficiency coding method and high efficiency code decoding method
AU606816B2 (en) Method for encoding/transmitting images
JP4415651B2 (en) Image encoding apparatus and image decoding apparatus
JPH08307835A (en) Class classification adaptive processing apparatus and method
KR100216600B1 (en) Multiple Codeword Transmission Method for Video Signal Vector Quantizer
JPH09200778A (en) Video signal coding method and video signal coding device
KR0134358B1 (en) Coding and Decoding System Using Variable Scan Method
KR100204468B1 (en) An image encoder and decoder
JPH0229276B2 (en)
KR0185846B1 (en) Classification vector quantizer
JP2561292B2 (en) Image data compression device
Liang et al. Comparison between adaptive search and bit allocation algorithms for image compression using vector quantization
JPH01286676A (en) Picture data compressing system
JPS6337776A (en) Compression system for image data
US8818121B2 (en) Motion detector, image processing device, and image processing system