JPH0671332B2 - Vector quantizer - Google Patents

Vector quantizer

Info

Publication number
JPH0671332B2
JPH0671332B2 JP20332189A JP20332189A JPH0671332B2 JP H0671332 B2 JPH0671332 B2 JP H0671332B2 JP 20332189 A JP20332189 A JP 20332189A JP 20332189 A JP20332189 A JP 20332189A JP H0671332 B2 JPH0671332 B2 JP H0671332B2
Authority
JP
Japan
Prior art keywords
value
vector
minimum value
output
minimum
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.)
Expired - Lifetime
Application number
JP20332189A
Other languages
Japanese (ja)
Other versions
JPH0366280A (en
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP20332189A priority Critical patent/JPH0671332B2/en
Publication of JPH0366280A publication Critical patent/JPH0366280A/en
Publication of JPH0671332B2 publication Critical patent/JPH0671332B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Image Processing (AREA)
  • Color Television Systems (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は画像信号や音声信号を高能率に符号化するベク
トル量子化器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vector quantizer that encodes image signals and audio signals with high efficiency.

従来の技術 画像データは大量の情報量を有し、画像伝送においては
伝送路のコストアップ要因となる。従って、画像信号を
高能率に符号化し、低転送レートで伝送するための符号
化器及び伝送された信号をいちはやく復号する復号化器
が開発されている。
2. Description of the Related Art Image data has a large amount of information, which increases the cost of the transmission line in image transmission. Therefore, an encoder for encoding an image signal with high efficiency and transmitting at a low transfer rate and a decoder for quickly decoding the transmitted signal have been developed.

第2図は従来のベクトル量子化器のブロック図である。FIG. 2 is a block diagram of a conventional vector quantizer.

第2図において、201は信号入力端子、202は歪演算回
路、203は波形コードブックROM、204はアドレスカウン
タ、205は最小歪検出回路、206はインデックスラッチ、
207は信号出力端子である。
In FIG. 2, 201 is a signal input terminal, 202 is a distortion calculation circuit, 203 is a waveform codebook ROM, 204 is an address counter, 205 is a minimum distortion detection circuit, 206 is an index latch,
Reference numeral 207 is a signal output terminal.

以上の様に構成されたベクトル量子化器について以下そ
の動作の説明をする。信号入力端子201から入力される
ブロック化された信号は入力ベクトルとして歪演算回路
202に入力される。歪演算回路202にブロック化された入
力ベクトルが送られると、アドレスカウンタ204はカウ
ントアップしていき、その度に波形コードブックROM203
からの出力ベクトルが順次読み出される。歪演算回路20
2は波形コードブックROM203からの出力ベクトルと、信
号入力端子201からの入力ベクトルと各要素毎に差分の
絶対値を計算して、合計を求め、歪値としてインデック
スラッチに送出する。最小歪検出回路205は、波形コー
ドブックROM203に収められている出力ベクトル数内で歪
演算回路202からの歪値で最小の歪を検出したときには
最小歪認識信号をインデックスラッチ206に送る。イン
デックスラッチ206は前記最小歪認識信号が送られると
アドレスカウンタ204からのカウント数を読み込んでお
き、カウント数が波形コードブックROM203に収められて
いる出力ベクトル数を数え上げられたときに信号出力端
子207にカウント数を送出する(例えば、トリケップス
刊 『画像伝送における高能率符号化技術』第5章)。
The operation of the vector quantizer configured as described above will be described below. The block signal input from the signal input terminal 201 is a distortion calculation circuit as an input vector.
Entered in 202. When the block input vector is sent to the distortion calculation circuit 202, the address counter 204 counts up, and the waveform codebook ROM 203
The output vector from is read out sequentially. Distortion calculation circuit 20
Reference numeral 2 calculates the absolute value of the difference between the output vector from the waveform codebook ROM 203 and the input vector from the signal input terminal 201 and each element, calculates the sum, and sends it as a distortion value to the index latch. The minimum distortion detection circuit 205 sends the minimum distortion recognition signal to the index latch 206 when the minimum distortion is detected from the distortion values from the distortion calculation circuit 202 within the number of output vectors stored in the waveform codebook ROM 203. The index latch 206 reads the count number from the address counter 204 when the minimum distortion recognition signal is sent, and the signal output terminal 207 when the count number has counted up the number of output vectors stored in the waveform codebook ROM 203. The count number is sent to (for example, Chapter 5 of "High Efficiency Coding Technology in Image Transmission", published by Trikeps).

発明が解決しようとする課題 しかしながら上記の様な構成では、様々な入力信号から
作られる入力ベクトルに適用させる波形コードブックRO
M内に多くの出力ベクトルが必要である上に、そのため
から歪演算回数が増加して歪演算器に多大な負担をかけ
るという課題を有していた。
However, in the above configuration, the waveform codebook RO applied to the input vector created from various input signals is used.
In addition to the large number of output vectors required in M, the number of distortion calculations increases, which causes a large load on the distortion calculator.

本発明は上記課題を鑑み、入力ベクトル内での最小値を
分離し、最大値で正規化することにより出力ベクトル数
を大幅に減少させることができ、歪演算器の負担を減少
させるものである。
In view of the above problems, the present invention can significantly reduce the number of output vectors by separating the minimum value in the input vector and normalizing the maximum value, and reduce the load on the distortion calculator. .

課題を解決するための手段 上記課題を解決するために、本発明のベクトル量子化器
は、予めk個(kは整数)のサンプル毎にブロック化さ
れた入力信号を入力ベクトルとし、入力ベクトルの要素
の最小値を算出し、前記入力ベクトルの各要素から前記
最小値を減じることにより最小値分離処理が行なわれた
最小値分離ベクトルを出力すると共に前記最小値を出力
する最小値分離回路と、前記最小値分離ベクトルの要素
での最大値を算出し、各要素から前記最大値を振幅係数
として除算することにより正規化が行なわれた最小値分
離正規化ベクトルを出力すると共に前記最大値を出力す
る振幅正規化回路と、前記振幅正規化回路から前記最小
値分離正規化ベクトルが読み出される毎に予め決められ
た数までカウントアップするカウント値を順次出力する
アドレスカウンタと、前記最小値分離して正規化された
ベクトルの統計的性質に基づき予め最適化された複数個
の出力ベクトルを記憶し、前記カウント値がカウンタア
ップされる毎に順次出力ベクトルを読み出し、予め決め
られた数だけカウント値がカウントアップされるとリセ
ット信号を出力する波形コードブックROMと、前記最小
値分離正規化ベクトルと前記波形コードブックROMから
読み出される出力ベクトルとで歪を求めて歪値として出
力する歪演算回路と、前記波形コードブックROMからの
リセット信号を入力すると歪値を更新して、前記歪演算
回路からの歪値を順次比較し最小の歪を与えると最小歪
認識信号を出力する最小歪検出回路と、前記最小歪認識
信号を入力すると前記アドレスカウンタからのカウント
値を読み込み、前記波形コードブックROMからのリセッ
ト信号を入力すると読み込まれている値をインデックス
値として出力するインデックスラッチと、前記最小値分
離回路からの最小値と前記振幅正規化回路からの最大値
と前記インデックスラッチからのインデックス値を予め
決められた符号化を行なう符号化回路を具備する様に構
成したものである。
Means for Solving the Problems In order to solve the above problems, a vector quantizer of the present invention uses an input signal that is an input signal that is blocked in advance for each of k (k is an integer) samples, and A minimum value separation circuit that calculates the minimum value of the elements, outputs the minimum value separation vector on which the minimum value separation processing is performed by subtracting the minimum value from each element of the input vector, and outputs the minimum value, The maximum value of the elements of the minimum value separation vector is calculated, and the maximum value is output together with the minimum value separation normalized vector that is normalized by dividing the maximum value as an amplitude coefficient from each element. And an amplitude normalization circuit that sequentially counts up the count value to a predetermined number each time the minimum value separation normalization vector is read from the amplitude normalization circuit. An output address counter and a plurality of output vectors optimized in advance based on the statistical properties of the vector separated from the minimum value and normalized are stored, and the output vector is sequentially output every time the count value is counted up. And a waveform codebook ROM that outputs a reset signal when the count value is counted up by a predetermined number, and a distortion is generated between the minimum value separation normalization vector and the output vector read from the waveform codebook ROM. The distortion calculation circuit that obtains and outputs the distortion value and the reset signal from the waveform codebook ROM are input to update the distortion value, and the distortion values from the distortion calculation circuit are sequentially compared to give the minimum distortion. A minimum distortion detection circuit that outputs a distortion recognition signal, and when the minimum distortion recognition signal is input, reads the count value from the address counter, An index latch that outputs a read value as an index value when a reset signal from the waveform codebook ROM is input, a minimum value from the minimum value separation circuit, a maximum value from the amplitude normalization circuit, and the index latch It is configured so as to include an encoding circuit for performing the predetermined encoding of the index values from.

作 用 本発明は上記した構成により、入力ベクトルの最小値を
分離させ、最大値で正規化させることにより、入力ベク
トルのパターン数を減少させることで、波形コードブッ
クROM内の出力ベクトル数を減らすことができ、その結
果、歪演算器の負担を減少させることができる。
Operation The present invention reduces the number of patterns of the input vector by separating the minimum value of the input vector and normalizing the minimum value of the input vector by the above configuration, thereby reducing the number of output vectors in the waveform codebook ROM. Therefore, the strain on the distortion calculator can be reduced.

実施例 以下本発明の一実施例のベクトル量子化器について、図
面を参照しながら説明する。
Embodiment A vector quantizer according to an embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明のベクトル量子化器の一実施例を示すブ
ロック図である。第1図において、101は信号入力端
子、102は最小値分離回路、103は振幅正規化回路、104
はアドレスカウンタ、105は波形コードブックROM、106
は歪演算回路、107は最小歪検出回路、108はインデック
スラッチ、109は符号化回路、110は信号出力端子であ
る。
FIG. 1 is a block diagram showing an embodiment of the vector quantizer of the present invention. In FIG. 1, 101 is a signal input terminal, 102 is a minimum value separation circuit, 103 is an amplitude normalization circuit, 104
Is an address counter, 105 is a waveform codebook ROM, 106
Is a distortion calculation circuit, 107 is a minimum distortion detection circuit, 108 is an index latch, 109 is an encoding circuit, and 110 is a signal output terminal.

以上のように構成されたベクトル量子化器について以下
第1図を用いて動作を説明する。信号入力端子101から
9個のサンプルごとにブロック化された信号S={S1,S
2,……,S9}が入力ベクトルとして入力される。例え
ば、入力ベクトルSの要素のS2が最小値であるとき、最
小値分離回路102は、最小値S2と最小値を与えた入力ベ
クトルの要素の位置を示す最小値インデックス2とを求
め、各要素から最小値S2を減じて最小値分離ベクトルT
を(1)式に従い求める。
The operation of the vector quantizer configured as described above will be described below with reference to FIG. A signal S = {S 1 , S blocked from the signal input terminal 101 every 9 samples
2 , ..., S 9 } is input as an input vector. For example, when S 2 of the element of the input vector S is the minimum value, the minimum value separation circuit 102 obtains the minimum value S 2 and the minimum value index 2 indicating the position of the element of the input vector to which the minimum value is given, The minimum value separation vector T by subtracting the minimum value S 2 from each element
Is calculated according to the equation (1).

TL=SL−S2(L=1,2,……,9) ……(1) ただしT={T1,T2,……,T9} そこで得られた最小値S2を符号化回路109に送り、最小
値インデックス2をアドレスカウンタ104に送り、最小
値分離ベクトルTを振幅正規化回路103に送る。今、仮
に最小値分離ベクトルTの要素のT7が最大値であるとす
るとき、振幅正規化回路103では最大値T7、最大値を与
えた最小値分離ベクトルの要素の位置を示す最大値イン
デックス7とを求め、各要素から最大値T7を除算するこ
とにより、(2)式に従って最小値分離正規化ベクトル
Xを求める。
T L = S L -S 2 ( L = 1,2, ......, 9) ...... (1) provided that T = {T 1, T 2 , ......, T 9} the minimum value S 2 of the thus obtained The minimum value index 2 is sent to the encoding circuit 109, the minimum value index 2 is sent to the address counter 104, and the minimum value separation vector T is sent to the amplitude normalizing circuit 103. Now, assuming that T 7 of the element of the minimum value separation vector T is the maximum value, the amplitude normalization circuit 103 outputs the maximum value T 7 and the maximum value indicating the position of the element of the minimum value separation vector given the maximum value. The index 7 is obtained, and the maximum value T 7 is divided from each element to obtain the minimum value separated normalization vector X according to the equation (2).

XL=TL/T7(L=1,2,……,9) ……(2) ただしX={X1,X2,……,T9} そこで得られた最大値T7を波形コードブックROM105と符
号化回路109に送り、最大値インデックス7をアドレス
カウンタ104に送り、最小値分離正規化ベクトルXを歪
演算回路106に送る。
X L = T L / T 7 (L = 1,2, ..., 9) (2) where X = {X 1 , X 2 , ..., T 9 } The maximum value T 7 obtained there is The waveform codebook ROM 105 and the encoding circuit 109 are sent, the maximum value index 7 is sent to the address counter 104, and the minimum value separation normalization vector X is sent to the distortion calculation circuit 106.

第1表は、アドレスカウンタ104が出力するカウント値
に関する表である。
The first table is a table relating to the count value output by the address counter 104.

歪演算回路106に最小値分離正規化ベクトルXが送られ
ると、アドレスカウンタ104は、第1表により(B)が
選択されてグループ番号を2として、72回までカウント
アップするカウント値を順次波形コードブックROM105に
送出する。
When the minimum-value-separated normalized vector X is sent to the distortion calculation circuit 106, the address counter 104 sequentially waveforms the count value that counts up to 72 times with (B) selected in Table 1 as the group number 2. It is sent to the codebook ROM 105.

第2表は、振幅正規化回路103からの最大値により判断
される波形コードブックROM105内の制御値に関する表で
ある。
The second table is a table relating to the control values in the waveform codebook ROM 105 determined by the maximum value from the amplitude normalization circuit 103.

今、振幅正規化回路103からの最大値T7が31であったと
すると、第2表によって制御値は32に設定される。波形
コードブックROM105は、アドレスカウンタ104からのグ
ループ番号2に対応する出力ベクトルのグループを選択
して、カウント値が順次カウントアップされる毎にグル
ープ内の出力ベクトルを歪演算回路106に送出してい
く。アドレスカウンタ104からのカウント値は72回カウ
ントアップされるが、制御値が32に設定されているため
に出力ベクトルは、32回以上は出力されない。また制御
値の回数までカウント値がカウントアップされると最小
歪検出回路107とインデックスラッチ108にリセット信号
を送出する。歪演算回路106は、最小値分離正規化ベク
トルXと波形コードブックROM105から読み出される出力
ベクトルY={Y1,Y2,……,Y9}とで(3)式に従い歪
dを求める。
Now, assuming that the maximum value T 7 from the amplitude normalization circuit 103 is 31, the control value is set to 32 according to Table 2. The waveform codebook ROM 105 selects a group of output vectors corresponding to the group number 2 from the address counter 104, and outputs the output vector in the group to the distortion calculation circuit 106 every time the count value is sequentially incremented. Go. The count value from the address counter 104 is counted up 72 times, but since the control value is set to 32, the output vector is not output 32 times or more. When the count value is counted up to the number of control values, a reset signal is sent to the minimum distortion detection circuit 107 and the index latch 108. The distortion calculation circuit 106 obtains the distortion d according to the equation (3) using the minimum value separated normalization vector X and the output vector Y = {Y 1 , Y 2 , ..., Y 9 } read from the waveform codebook ROM 105.

以上により求められた歪dを最小歪検出回路107に送
る。最小歪検出回路107は、歪dがそれまでよりも小さ
い歪dが送られた場合にはその歪dを読み込み、インデ
ックスラッチ108に最小歪認識信号を送り、それ以外に
は何も行なわない。波形コードブックROM105からのリセ
ット信号を入力すると歪dを更新する。
The distortion d obtained as described above is sent to the minimum distortion detection circuit 107. The minimum distortion detection circuit 107 reads the distortion d when the distortion d is smaller than before, reads the distortion d, sends the minimum distortion recognition signal to the index latch 108, and does nothing else. When the reset signal from the waveform codebook ROM 105 is input, the distortion d is updated.

インデックスラッチ108は最小歪認識信号が送られると
アドレスカウンタ104からのカウント値を読み込み、波
形コードブックROM105からのリセット信号を入力する
と、読み込まれているカウント値をインデックス値とし
て符号化回路109に送る。
The index latch 108 reads the count value from the address counter 104 when the minimum distortion recognition signal is sent, and when the reset signal from the waveform codebook ROM 105 is input, sends the read count value as an index value to the encoding circuit 109. .

第3表は、振幅正規化回路102からの最大値により判断
される符号化回路109内の符号化のグループ分けに関す
る表である。
The third table is a table relating to the grouping of coding in the coding circuit 109 which is judged by the maximum value from the amplitude normalization circuit 102.

符号化回路109は、最小値分離回路102からの最小値、振
幅正規化回路103からの最大値規化回路103からの最大値
31によってグループ番号2が選択される。グループ番号
により分けられるグループは各々に適した可変長符号化
コードを所持しており、インデックスラッチ108からの
インデックス値をグループ番号2より判断される可変長
符号化を行ない、出力信号端子110に送り出す。
The encoding circuit 109 has the minimum value from the minimum value separation circuit 102 and the maximum value from the maximum value regulation circuit 103 from the amplitude normalization circuit 103.
Group number 2 is selected by 31. Each group divided by the group number has a variable length coding code suitable for each group, and the index value from the index latch 108 is subjected to the variable length coding judged from the group number 2 and sent to the output signal terminal 110. .

なお、本実施例においては9次元のベクトルが入力され
てくることとし、第1表の様にカウント値を設定し、第
2表の様に制御値を設定して、歪演算に差分の絶対値を
使用し、第3表の様にグループ番号を設定して符号化に
可変長符号化が使用されているが、これにのみ限定され
るものではない。
In this embodiment, it is assumed that a 9-dimensional vector is input, the count value is set as shown in Table 1, the control value is set as shown in Table 2, and the absolute value of the difference is calculated in the distortion calculation. Variable-length coding is used for coding by using a value and setting a group number as shown in Table 3, but it is not limited to this.

発明の効果 以上の様に本発明は、入力信号から作られる入力ベクト
ルを最小値で減じて最大値で正規化し、入力ベクトルの
パターン数を減少させることにより、波形コードブック
ROM内の出力ベクトル数を減少させても入力信号に適応
できるようにしたものである。
As described above, according to the present invention, the input vector created from the input signal is reduced by the minimum value and normalized by the maximum value to reduce the number of patterns of the input vector.
Even if the number of output vectors in ROM is reduced, it can adapt to the input signal.

また、分離させた最小値と最大値を与えた入力ベクトル
での要素の位置情報を用いて波形コードブックROM内の
最適出力ベクトルを高速に求めることができる。さら
に、最大値の大きさにより波形コードブックROM内の出
力ベクトル数を限定することで符号化効率を上げながら
も入力信号に適応することができる。
Further, the optimum output vector in the waveform codebook ROM can be obtained at high speed by using the position information of the elements in the input vector given the separated minimum value and maximum value. Furthermore, by limiting the number of output vectors in the waveform codebook ROM according to the size of the maximum value, it is possible to adapt to the input signal while improving the coding efficiency.

なお、以上の様に適応化を行なう手段に最小値と最大値
のみで行なっていることから余分な情報量を必要としな
いために符号化効率を低下させることはない。
Since the means for performing the adaptation is performed only with the minimum value and the maximum value as described above, an extra amount of information is not required and therefore the coding efficiency is not reduced.

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

第1図は本発明の一実施例によるベクトル量子化器の構
成を示すブロック図、第2図は従来のベクトル量子化器
の構成を示すブロック図である。 102……最小値分離回路、103……振幅正規化回路、104
……アドレスカウンタ、105……波形コードブックROM、
106……歪演算回路、107……最小歪検出回路、108……
インデックスラッチ、109……符号化回路。
FIG. 1 is a block diagram showing the configuration of a vector quantizer according to an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a conventional vector quantizer. 102 ... Minimum value separation circuit, 103 ... Amplitude normalization circuit, 104
...... Address counter, 105 …… Waveform codebook ROM,
106 …… Distortion calculation circuit, 107 …… Minimum distortion detection circuit, 108 ……
Index latch, 109 ... Encoding circuit.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】予めk個(kは整数)のサンプル毎にブロ
ック化された入力信号を入力ベクトルとし、入力ベクト
ルの要素の最小値を算出し、前記入力ベクトルの各要素
から前記最小値を減じることにより最小値分離処理が行
なわれた最小値分離ベクトルを出力すると共に前記最小
値を出力する最小値分離回路と、前記最小値分離ベクト
ルの要素での最大値を算出し、各要素から前記最大値を
振幅係数として除算することにより正規化が行なわれた
最小値分離正規化ベクトルを出力すると共に前記最大値
を出力する振幅正規化回路と、前記振幅正規化回路から
前記最小値分離正規化ベクトルが読み出される毎に予め
決められた数までカウントアップするカウント値を順次
出力するアドレスカウンタと、前記最小値分離して正規
化されたベクトルの統計的性質に基づき予め最適化され
た複数個の出力ベクトルを記憶し、前記カウント値がカ
ウントアップされる毎に順次出力ベクトルを読み出し、
予め決められた数だけカウント値がカウントアップされ
るとリセット信号を出力する波形コードブックROMと、
前記最小値分離正規化ベクトルと前記波形コードブック
ROMから読み出される出力ベクトルとで歪みを求めて歪
値として出力する歪演算回路と、前記波形コードブック
ROMからのリセット信号を入力すると歪値を更新して、
前記歪演算回路からの歪値を順次比較し最小の歪を与え
ることにより最小歪認識信号を出力する最小歪検出回路
と、前記最小歪認識信号を入力することにより前記アド
レスカウンタからのカウント値を読み込み、前記波形コ
ードブックROMからのリセット信号を入力することによ
り読み込まれている値をインデックス値として出力する
インデックスラッチと、前記最小値分離回路からの最小
値と前記振幅正規化回路からの最大値と前記インデック
スラッチからのインデックス値とを予め決められた符号
化を行なう符号化回路を具備することを特徴とするベク
トル量子化器。
1. A minimum value of the elements of the input vector is calculated by using an input vector that is a blocked input signal for each of k (k is an integer) samples in advance, and the minimum value is calculated from each element of the input vector. The minimum value separation circuit that outputs the minimum value separation vector that has been subjected to the minimum value separation process by subtracting it, and the maximum value of the elements of the minimum value separation vector are calculated, and from each element the An amplitude normalization circuit that outputs a maximum value and a minimum value separation normalization vector that is normalized by dividing the maximum value as an amplitude coefficient, and the minimum value separation normalization from the amplitude normalization circuit An address counter that sequentially outputs a count value that counts up to a predetermined number each time a vector is read out, and a vector that is normalized by separating the minimum value Storing previously optimized plurality of output vector based on statistical properties, sequentially reads out output vector each time the count value is counted up,
A waveform codebook ROM that outputs a reset signal when the count value is counted up by a predetermined number,
The minimum separation normalization vector and the waveform codebook
A distortion calculation circuit for calculating distortion with an output vector read from a ROM and outputting it as a distortion value, and the waveform codebook
When the reset signal from ROM is input, the distortion value is updated,
A minimum distortion detection circuit that outputs a minimum distortion recognition signal by sequentially comparing distortion values from the distortion calculation circuit and giving a minimum distortion, and a count value from the address counter by inputting the minimum distortion recognition signal. An index latch that reads and outputs the value being read as an index value by inputting a reset signal from the waveform codebook ROM, a minimum value from the minimum value separation circuit, and a maximum value from the amplitude normalization circuit A vector quantizer, comprising: an encoding circuit that performs predetermined encoding of the index value from the index latch.
【請求項2】最小値分離回路は、予めk個(kは整数)
のサンプル毎にブロック化された入力信号を入力ベクト
ルとし、入力ベクトルの要素の最小値を算出し、前記最
小値を与えた入力ベクトルの要素の位置を最小値インデ
ックスとして出力し、前記入力ベクトルの各要素から前
記最小値を減じることにより最小値分離処理が行なわれ
た最小値分離ベクトルを出力すると共に前記最小値を出
力し、アドレスカウンタは振幅正規化回路から最小値分
離正規化ベクトルが読み出される毎に前記最小値インデ
ックスより判断されるグループ番号と前記グループ番号
より判断される予め決められた数までカウントアップす
るカウント値を順次出力し、波形コードブックROMは最
小値分離正規化したベクトルの統計的性質に基づき予め
最適化された複数個の出力ベクトルを前記アドレスカウ
ンタが出力するグループ番号で判断されるグループ分け
をして記憶しており、前記アドレスカウンタからのグル
ープ番号に対応してグループを選択して前記カウント値
がカウントアップされる毎に順次出力ベクトルを読み出
し、前記グループ番号に対応した予め決められた数だけ
カウント値がカウントアップされるとリセット信号を出
力するように構成されていることを特徴とする請求項
(1)記載のベクトル量子化器。
2. The minimum value separation circuit is k in number (k is an integer) in advance.
, The input signal is a blocked input signal for each sample, the minimum value of the elements of the input vector is calculated, the position of the element of the input vector given the minimum value is output as the minimum value index, The minimum value separation vector subjected to the minimum value separation processing is output by subtracting the minimum value from each element and the minimum value is output, and the address counter reads the minimum value separation normalized vector from the amplitude normalization circuit. For each, the group number determined by the minimum value index and a count value that counts up to a predetermined number determined by the group number are sequentially output, and the waveform codebook ROM is the minimum value separation normalized vector statistics. Group that outputs a plurality of output vectors optimized in advance based on the physical properties of the address counter. Grouped according to the group number stored in the address counter, the group is selected corresponding to the group number from the address counter, and the output vector is sequentially read every time the count value is incremented, The vector quantizer according to claim 1, wherein the vector quantizer is configured to output a reset signal when the count value is counted up by a predetermined number corresponding to the number.
【請求項3】振幅正規化回路は、最小値分離回路から出
力された最小値分離ベクトルの要素での最大値を算出
し、前記最大値を与えたベクトルの要素の位置を最大値
インデックスとして出力し、各要素から前記最大値を振
幅係数として除算することにより正規化が行なわれた最
小値分離正規化ベクトルを出力すると共に前記最大値を
出力し、アドレスカウンタは、前記振幅幅正規化回路か
ら最小値分離正規化ベクトルが順次読み出される毎に前
記最小値分離回路から出力された最小値インデックスと
前記最大値インデックスにより判断されるグループ番号
と前記グループ番号により判断される数までカウントア
ップするカウント値を順次出力し、波形コードブックRO
Mは、最小値分離正規化されたベクトルの統計的性質に
基づき予め最適化された複数個の出力ベクトルを前記ア
ドレスカウンタが出力するグループ番号で判断されるグ
ループ分けをして記憶しており、前記アドレスカウンタ
からのグループ番号に対応するグループを選択してカウ
ント値がカウントアップされる毎に順次出力ベクトルを
読み出し、前記グループ番号に対応した予め決められた
数だけカウント値がカウントアップされるとリセット信
号を出力するように構成されていることを特徴とする請
求項(2)記載のベクトル量子化器。
3. An amplitude normalization circuit calculates the maximum value of the elements of the minimum value separation vector output from the minimum value separation circuit, and outputs the position of the element of the vector given the maximum value as the maximum value index. Then, the maximum value is output together with the minimum value separation normalization vector that is normalized by dividing the maximum value as an amplitude coefficient from each element, and the address counter outputs from the amplitude width normalization circuit. Each time the minimum value separation normalization vector is sequentially read, the minimum value index output from the minimum value separation circuit and the group number determined by the maximum value index and the count value that counts up to the number determined by the group number Waveform codebook RO
M, a plurality of output vectors that have been optimized in advance based on the statistical properties of the minimum-value-separated and normalized vectors are grouped and stored according to the group number output by the address counter, and stored. When the group corresponding to the group number from the address counter is selected and the output value is sequentially read every time the count value is counted up, the count value is counted up by a predetermined number corresponding to the group number. The vector quantizer according to claim 2, wherein the vector quantizer is configured to output a reset signal.
【請求項4】波形コードブックROMは、アドレスカウン
タが出力するカウント値がカウントアップされても振幅
正規化回路からの最大値を取り込み、前記最大値により
判断される予め決められた制御値を越えた場合には出力
ベクトルを読み出さずにリセット信号を出力し、符号化
回路は、最小値分離回路からの最小値と振幅正規化回路
からの最大値を予め決められた符号化を行ない、インデ
ックスラッチからのインデックス値を前記最大値から判
断されるグループ分けをして、前記グループ分けにより
判断される予め決められた符号化を行なうように構成さ
れていることを特徴とする請求項(1)記載のベクトル
量子化器。
4. The waveform codebook ROM fetches the maximum value from the amplitude normalization circuit even if the count value output from the address counter is counted up, and exceeds a predetermined control value judged by the maximum value. In this case, the reset signal is output without reading the output vector, and the encoding circuit performs predetermined encoding of the minimum value from the minimum value separation circuit and the maximum value from the amplitude normalization circuit, and the index latch 2. The index value from 1 is grouped according to the maximum value, and predetermined coding is performed based on the grouping. Vector quantizer.
【請求項5】歪演算回路は、最小値分離正規化された入
力ベクトルと波形コードブックROMからの出力ベクトル
との各要素の差分の絶対値を計算して前記絶対値の合計
を歪値として出力することを特徴とする請求項(1)記
載のベクトル量子化器。
5. The distortion calculation circuit calculates the absolute value of the difference between the respective elements of the minimum-value-separated and normalized input vector and the output vector from the waveform codebook ROM, and sets the sum of the absolute values as the distortion value. The vector quantizer according to claim 1, which outputs the vector quantizer.
【請求項6】最小値分離回路からの最小値と振幅正規化
回路からの最大値とインデックスラッチからのインデッ
クス値を可変長符号化することを特徴とする請求項
(1)記載のベクトル量子化器。
6. The vector quantization according to claim 1, wherein the minimum value from the minimum value separation circuit, the maximum value from the amplitude normalization circuit and the index value from the index latch are variable length coded. vessel.
JP20332189A 1989-08-04 1989-08-04 Vector quantizer Expired - Lifetime JPH0671332B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20332189A JPH0671332B2 (en) 1989-08-04 1989-08-04 Vector quantizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20332189A JPH0671332B2 (en) 1989-08-04 1989-08-04 Vector quantizer

Publications (2)

Publication Number Publication Date
JPH0366280A JPH0366280A (en) 1991-03-20
JPH0671332B2 true JPH0671332B2 (en) 1994-09-07

Family

ID=16472084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20332189A Expired - Lifetime JPH0671332B2 (en) 1989-08-04 1989-08-04 Vector quantizer

Country Status (1)

Country Link
JP (1) JPH0671332B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010057017A (en) * 2008-08-29 2010-03-11 Konica Minolta Business Technologies Inc Image processing apparatus and method

Also Published As

Publication number Publication date
JPH0366280A (en) 1991-03-20

Similar Documents

Publication Publication Date Title
US4939583A (en) Entropy-coding system
EP0193185B1 (en) Interframe adaptive vector quantization encoding apparatus
JP3017380B2 (en) Data compression method and apparatus, and data decompression method and apparatus
KR950002677B1 (en) Encoding apparatus
EP0426260A2 (en) Adaptive zonal coder
EP0300775B1 (en) Signal encoding and decoding method and device
CN101502122B (en) Encoding device and encoding method
KR101365989B1 (en) Apparatus and method and for entropy encoding and decoding based on tree structure
US5136663A (en) Vector quantization image processing apparatus
CA2012747A1 (en) Device for reducing the redundancy in blocks of digital video data in dct encoding
JPH0671332B2 (en) Vector quantizer
JP2537245B2 (en) Gain / shape vector quantization method
US20020196167A1 (en) NEO method and system for lossless compression and decompression
JPH0813134B2 (en) Blocked entropy encoder
JPS62108663A (en) Entropy recording system
JP2583089B2 (en) Adaptive vector quantization
EP0723257A2 (en) Voice signal transmission system using spectral parameter and voice parameter encoding apparatus and decoding apparatus used for the voice signal transmission system
JP3434904B2 (en) Image data encoding device
CN116018758A (en) Apparatus for encoding and decoding integer sequences, methods for encoding and decoding integer sequences and computer programs for implementing these methods
JPH0666948B2 (en) Interframe vector quantization coding / decoding device
KR100636099B1 (en) Compressing method and apparatus using arithmetic encoding
JP2590166B2 (en) Vector coding circuit
JPH0360593A (en) Encoder and decoder
TW202336639A (en) Deep neural network processing device with decompressing module, decompressing method and compressing method
JPH04298800A (en) Quantizer and inverse quantizer