Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH088500B2 - Vector quantizer - Google Patents
[go: Go Back, main page]

JPH088500B2 - Vector quantizer - Google Patents

Vector quantizer

Info

Publication number
JPH088500B2
JPH088500B2 JP63207056A JP20705688A JPH088500B2 JP H088500 B2 JPH088500 B2 JP H088500B2 JP 63207056 A JP63207056 A JP 63207056A JP 20705688 A JP20705688 A JP 20705688A JP H088500 B2 JPH088500 B2 JP H088500B2
Authority
JP
Japan
Prior art keywords
vector
codebook
dimension
peak
reproduction
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 - Fee Related
Application number
JP63207056A
Other languages
Japanese (ja)
Other versions
JPH0255425A (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 JP63207056A priority Critical patent/JPH088500B2/en
Publication of JPH0255425A publication Critical patent/JPH0255425A/en
Publication of JPH088500B2 publication Critical patent/JPH088500B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/3082Vector coding
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/008Vector quantisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

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

従来の技術 従来、この種のベクトル量子化器は第4図に示すよう
に、入力端子1から入力する入力ベクトルと、コードブ
ック(メモリ)2からの再生ベクトルの差を算出し(減
算器3)、この差ベクトルから2乗ノルム等によりひず
み測度を算出し(ひずみ算出部4)、このひずみ測度が
最小となるときのコードブック2における再生ベクトル
のインデックスを検索し(最小値検出部5)、このイン
デックスを量子化器の出力として出力端子6から出力す
るように構成されている。
2. Description of the Related Art Conventionally, as shown in FIG. 4, this type of vector quantizer conventionally calculates the difference between the input vector input from the input terminal 1 and the reproduction vector from the codebook (memory) 2 (subtractor 3 ), A strain measure is calculated from this difference vector by a square norm or the like (strain calculation unit 4), and the index of the reproduction vector in the codebook 2 when this strain measure becomes the minimum is searched (minimum value detection unit 5). , This index is output from the output terminal 6 as the output of the quantizer.

発明が解決しようとする課題 しかしながら、上記従来のベクトル量子化器では、入
力ベクトルとコードブック2に格納された再生ベクトル
の差を求めるので、ベクトルの次元数が大きい場合に
は、各次元に応じた再生ベクトルを格納しなければなら
ず、したがって、大容量のコードブック(メモリ)2が
必要となるという問題点がある。
However, in the above-mentioned conventional vector quantizer, the difference between the input vector and the reproduction vector stored in the codebook 2 is obtained. However, there is a problem that a large-capacity codebook (memory) 2 is required.

また、ひずみ測度が最小となるときのコードブック2
のインデックスを見付けるので、ベクトルの次元数が大
きい場合には、検索するために要する計算量も大きくな
るという問題点がある。
Also, the codebook 2 when the strain measure is the minimum
However, if the number of dimensions of the vector is large, there is a problem that the amount of calculation required for searching also becomes large.

本発明は上記従来の問題点に鑑み、比較的小さな容量
のコードブックで次元数の大きな入力ベクトルを量子化
することができるベクトル量子化器を提供することを目
的とする。
In view of the above conventional problems, it is an object of the present invention to provide a vector quantizer capable of quantizing an input vector having a large number of dimensions with a codebook having a relatively small capacity.

課題を解決するための手段 本発明は上記目的の達成するために、入力ベクトルの
ピークとなる次元を検出し、このピークとなる次元が所
定の次元になるようにその入力ベクトルを回転シフト
し、この回転シフトされた入力ベクトルに対する歪みが
最小となる再生ベクトルをコードブックから検出し、検
出されたピークとなる次元と再生ベクトルのインデック
スを出力するようにしたものである。
Means for Solving the Problems In order to achieve the above object, the present invention detects a dimension of a peak of an input vector, and rotationally shifts the input vector so that the dimension of the peak becomes a predetermined dimension, A reproduction vector having the least distortion with respect to the rotationally shifted input vector is detected from the codebook, and the dimension of the detected peak and the reproduction vector index are output.

作 用 本発明は上記構成により、入力ベクトルの次元数にか
かわらず、所定の次元がピークとなる再生ベクトルをコ
ードブックに格納するのみでよいので、比較的小さな容
量のコードブックで次元数の大きな入力ベクトルを量子
化することができる。
Operation With the above configuration, the present invention only needs to store a reproduction vector having a peak in a predetermined dimension in the codebook regardless of the number of dimensions of the input vector. Therefore, a codebook with a relatively small capacity and a large number of dimensions can be used. The input vector can be quantized.

実施例 以下、図面を参照して本発明の実施例を説明する。第
1図は、本発明に係るベクトル量子化器の一実施例を示
すブロック図、第2図は、第1図のベクトル量子化器に
おける各ベクトルを示す説明図、第3図は、第1図のコ
ードブックに格納される代表ベクトルを示す説明図であ
る。
Embodiments Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a vector quantizer according to the present invention, FIG. 2 is an explanatory diagram showing each vector in the vector quantizer of FIG. 1, and FIG. It is explanatory drawing which shows the representative vector stored in the codebook of the figure.

第1図において、11は、ベクトルxが入力する端子、
12は、端子11からの入力ベクトルxのピークとなる次元
を検出するピーク検出部、13は、ピーク検出部12により
検出された次元が所定の次元になるように、端子11から
の入力ベクトルxを回転シフトする回転シフト部であ
る。
In FIG. 1, 11 is a terminal to which the vector x is input,
Reference numeral 12 denotes a peak detection unit that detects the peak dimension of the input vector x from the terminal 11, and reference numeral 13 denotes an input vector x from the terminal 11 so that the dimension detected by the peak detection unit 12 becomes a predetermined dimension. Is a rotation shift unit that rotates and shifts.

14は、再生ベクトルが格納されたコードブックであ
り、このコードブック14には例えば第3図(a)に示す
ように、第1の次元がピークとなる再生ベクトル
格納されている。
Reference numeral 14 is a codebook in which reproduction vectors are stored. In this codebook 14, for example, as shown in FIG. 3A, a reproduction vector 1 having a peak in the first dimension is stored.

15は、回転シフト部13からの入力ベクトルx1と、コー
ドブック(メモリ)14からの再生ベクトルの差をそ
れぞれ算出する減算器、16は、減算器15からの差ベクト
ルから2乗ノルム等によりひずみ測度を算出するひずみ
算出部、17は、ひずみ算出部16により算出されたひずみ
測度が最小となるときのコードブック14のインデックス
を検索する最少値検出部、18は、ピーク検出部21により
検出された次元と、最小値検出部17により検索されたイ
ンデックスを量子化器の出力として出力端子19から出力
するマルチプレクサである。
Reference numeral 15 is a subtracter that calculates the difference between the input vector x 1 from the rotation shift unit 13 and the reproduction vector 1 from the codebook (memory) 14, and 16 is the square norm or the like from the difference vector from the subtractor 15. By the strain calculation unit that calculates the strain measure, 17, the minimum value detection unit that searches the index of the codebook 14 when the strain measure calculated by the strain calculation unit 16 is minimum, 18 is the peak detection unit 21. This is a multiplexer that outputs the detected dimension and the index searched by the minimum value detection unit 17 from the output terminal 19 as the output of the quantizer.

次に、第2図及び第3図を参照して上記実施例の動作
を説明する。
Next, the operation of the above embodiment will be described with reference to FIGS. 2 and 3.

第2図(e)に示すように、例えば第5次元がピーク
となる8次元のベクトルxが入力すると、ピーク検出部
12はこの次元を検出し、回転シフト部13は、ピークが最
初の次元になるように、入力ベクトルxを左方向に4次
元分回転してシフトし、第2図(b)に示すようなベク
トルx1を出力する。
As shown in FIG. 2 (e), when an eight-dimensional vector x having a peak in the fifth dimension is input, the peak detection unit
12 detects this dimension, and the rotation shift unit 13 rotates the input vector x by four dimensions in the leftward direction and shifts it so that the peak is in the first dimension, as shown in FIG. 2 (b). Output the vector x 1 .

減算器15は、回転シフト部13からの入力ベクトルと、
コードブック(メモリ)14からの再生ベクトルの差をそ
れぞれ算出し、ひずみ算出部16は、減算器15からの差ベ
クトルから2乗ノルム等によりひずみ測度を算出し、最
小値検出部17は、ひずみ算出部16により算出されたひず
み測度が最小となるときの再生ベクトル{第2図
(c)、第3図(a)}のコードブック14のインデック
スを検索し、マルチプレクサ18は、ピーク検出部12によ
り検出された次元と、最小値検出部17により検索された
インデックスを量子化器の出力として出力端子19から出
力する。
The subtractor 15 has an input vector from the rotation shift unit 13,
The difference between the reproduction vectors from the codebook (memory) 14 is calculated, the distortion calculating unit 16 calculates the distortion measure from the difference vector from the subtractor 15 by the square norm, and the minimum value detecting unit 17 calculates the distortion. The reproduction vector 1 when the distortion measure calculated by the calculating unit 16 is the minimum is searched for the index of the codebook 14 of {Fig. 2 (c), Fig. 3 (a)}, and the multiplexer 18 detects the peak detecting unit. The dimension detected by 12 and the index searched by the minimum value detection unit 17 are output from the output terminal 19 as the output of the quantizer.

したがって、復号器側は、このピークとなる次元と再
生ベクトルのインデックスにより、第2図(d)に示す
ようなベクトルに再生することができる。
Therefore, the decoder side can reproduce the vector as shown in FIG. 2 (d) by the dimension of the peak and the index of the reproduction vector.

すなわち、上記実施例では、入力ベクトルxが8次元
であって、この入力ベクトルxの最初の次元がピークに
なるように回転シフトする場合、コードブック14には、
第3図(b)〜(h)にそれぞれ示すように、ピークが
第2〜第8次元に位置する再生ベクトルを格納する必要
がなくなり、したがってピークが最初の次元に位置する
再生ベクトルを代表ベクトルとすることができ、従来例
に比べてコードブック14の容量を1/8にすることができ
る。
That is, in the above embodiment, when the input vector x is eight-dimensional and the rotation shift is performed so that the first dimension of the input vector x becomes a peak, the codebook 14 has
As shown in FIGS. 3 (b) to 3 (h), it is not necessary to store the reproduction vector whose peak is located in the second to eighth dimensions, and thus the reproduction vector whose peak is located in the first dimension is represented as the representative vector. Therefore, the capacity of the codebook 14 can be reduced to 1/8 that of the conventional example.

発明の効果 以上説明したように、本発明は、入力ベクトルのピー
クとなる次元を検出し、このピークとなる次元が所定の
次元になるようにその入力ベクトルを回転シフトし、こ
の回転シフトされた入力ベクトルに対する歪みが最小と
なる再生ベクトルをコードブックから検出し、検出され
たピークとなる次元と再生ベクトルのインデックスを出
力するようにしたので、入力ベクトルの次元数にかかわ
らず、所定の次元がピークとなる再生ベクトルをコード
ブックに格納するのみでよくなり、したがって、比較的
小さな容量のコードブックで次元数の大きな入力ベクト
ルを量子化することができる。
As described above, according to the present invention, the peak dimension of the input vector is detected, the input vector is rotationally shifted so that the peak dimension becomes a predetermined dimension, and the rotational shift is performed. The reproduction vector that minimizes the distortion with respect to the input vector is detected from the codebook, and the detected peak dimension and the reproduction vector index are output. It is only necessary to store the peak reproduction vector in the codebook, and therefore it is possible to quantize an input vector having a large dimensionality with a codebook having a relatively small capacity.

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

第1図は、本発明に係るベクトル量子化器の一実施例を
示すブロック図、第2図は、第1図のベクトル量子化器
における各ベクトルを示す説明図、第3図は、第1図の
コードブックに格納される代表ベクトルを示す説明図、
第4図は、従来のベクトル量子化器を示すブロック図で
ある。 11……入力端子、12……ピーク検出部、13……回転シ
フト部、14……コードブック、15……減算器、16……ひ
ずみ算出部、17……最小値検出部、18……マルチプレク
サ、19……出力端子。
FIG. 1 is a block diagram showing an embodiment of a vector quantizer according to the present invention, FIG. 2 is an explanatory diagram showing each vector in the vector quantizer of FIG. 1, and FIG. Explanatory diagram showing a representative vector stored in the codebook of the figure,
FIG. 4 is a block diagram showing a conventional vector quantizer. 11 …… input terminal, 12 …… peak detector, 13 …… rotation shifter, 14 …… codebook, 15 …… subtractor, 16 …… strain calculator, 17 …… minimum detector, 18 …… Multiplexer, 19 ... Output terminal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】所定の次元がピークとなる再生ベクトルが
格納されたコードブックと、入力ベクトルのピークとな
る次元を検出する手段と、前記検出手段により検出され
た次元が前記所定の次元になるようにその入力ベクトル
を回転シフトする手段と、前記回転シフトされた入力ベ
クトルに対する歪みが最小となる再生ベクトルを前記コ
ードブックから検出する手段と、前記検出手段により検
出された次元と、前記コードブックから検出された再生
ベクトルのインデックスを出力する手段とを有するベク
トル量子化器。
1. A codebook in which a reproduction vector whose peak is a predetermined dimension is stored, a means for detecting the peak dimension of an input vector, and a dimension detected by the detecting means is the predetermined dimension. Means for rotationally shifting the input vector, means for detecting from the codebook a reproduction vector that minimizes distortion with respect to the rotationally shifted input vector, dimensions detected by the detecting means, and the codebook And a means for outputting the index of the reproduction vector detected from the vector quantizer.
JP63207056A 1988-08-19 1988-08-19 Vector quantizer Expired - Fee Related JPH088500B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63207056A JPH088500B2 (en) 1988-08-19 1988-08-19 Vector quantizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63207056A JPH088500B2 (en) 1988-08-19 1988-08-19 Vector quantizer

Publications (2)

Publication Number Publication Date
JPH0255425A JPH0255425A (en) 1990-02-23
JPH088500B2 true JPH088500B2 (en) 1996-01-29

Family

ID=16533477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63207056A Expired - Fee Related JPH088500B2 (en) 1988-08-19 1988-08-19 Vector quantizer

Country Status (1)

Country Link
JP (1) JPH088500B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2906596B2 (en) * 1990-06-28 1999-06-21 松下電器産業株式会社 Audio coding device
JP2956473B2 (en) * 1994-04-21 1999-10-04 日本電気株式会社 Vector quantizer
KR100341398B1 (en) * 2000-01-27 2002-06-22 오길록 Codebook searching method for CELP type vocoder

Also Published As

Publication number Publication date
JPH0255425A (en) 1990-02-23

Similar Documents

Publication Publication Date Title
US4710822A (en) Image processing method
US4985768A (en) Inter-frame predictive encoding system with encoded and transmitted prediction error
JP2665127B2 (en) Image data encoding / decoding method and apparatus
EP0170469A3 (en) Information storage and retrieval system
US4358852A (en) Method of modulation and demodulation of data and apparatus for carrying out the same
JPH088500B2 (en) Vector quantizer
US5396291A (en) Picture signal processing system having improved quantizer
US5051614A (en) Dropout detecting apparatus
US5365060A (en) Relative velocity sensing device
US5939714A (en) Tracking error detector employing phase difference detection method
JP3233295B2 (en) PCM data compression and decompression method
JP3517979B2 (en) Audio signal processing method and apparatus
JP3214660B2 (en) Motion vector detection device
JP3291295B2 (en) Digital signal processor
JPH0331279B2 (en)
JP2614840B2 (en) Digital audio recording and playback device
RU96111307A (en) DEVICE FOR CALCULATION OF ELEMENTARY FUNCTIONS BY TABLE-ALGORITHMIC METHOD
JP2546373B2 (en) Radar signal transmission system
JPS62183284A (en) Encoder
JP2638344B2 (en) Digital data converter
JP3882233B2 (en) Image codec, encoding control device, encoding / decoding method, and encoding method
JPS5814668A (en) Color image reading device
JPS6313379B2 (en)
JP3308955B2 (en) Data compression encoder
KR900018914A (en) Recording and playback method and recording and playback device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees