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
JPH0423990B2 - - Google Patents
[go: Go Back, main page]

JPH0423990B2 - - Google Patents

Info

Publication number
JPH0423990B2
JPH0423990B2 JP60104505A JP10450585A JPH0423990B2 JP H0423990 B2 JPH0423990 B2 JP H0423990B2 JP 60104505 A JP60104505 A JP 60104505A JP 10450585 A JP10450585 A JP 10450585A JP H0423990 B2 JPH0423990 B2 JP H0423990B2
Authority
JP
Japan
Prior art keywords
vector
output
input
stage
encoder
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
JP60104505A
Other languages
Japanese (ja)
Other versions
JPS61262378A (en
Inventor
Hiroaki Kikuchi
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60104505A priority Critical patent/JPS61262378A/en
Priority to DE3689796T priority patent/DE3689796T2/en
Priority to EP86100401A priority patent/EP0188269B1/en
Priority to CA000499616A priority patent/CA1282166C/en
Priority to KR1019860000205A priority patent/KR900008455B1/en
Priority to US06/819,067 priority patent/US4769826A/en
Publication of JPS61262378A publication Critical patent/JPS61262378A/en
Priority to US07/181,164 priority patent/US4837632A/en
Priority to KR1019900009292A priority patent/KR900008456B1/en
Publication of JPH0423990B2 publication Critical patent/JPH0423990B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] この発明は、例えば画像装置における入力信号
系列を複数個まとめてブロツク化し、入力信号ベ
クトルとなし、この入力信号ベクトルを多次元信
号空間で量子化するベクトル量子化装置に関する
ものである。 [従来の技術] まず、木探索ベクトル量子化について説明す
る。第4図に示すように各分岐点Rから2本の枝
が分岐している2進木を考えると、木の根はK次
元信号空間RKに、各分岐点は空間RKを段階的に
分割した空間にそれぞれ対応する。各空間には代
表点(例えば重心)が定められており、前記代表
点がk次元の出力ベクトルになる。各段の出力ベ
クトルは、入力ベクトルの分布に基づいて入出力
ベクトル間の歪の総和が最小になるように求めら
れている。 入力ベクトルが与えられた時、第1段から最終
段まで分岐する2つの分岐点に対応する出力ベク
トルとの歪を比較し、歪の小さい方の枝を選択し
ていけば終端分岐点に対応する出力ベクトルが選
択される。最終段が第n段だとすると終端分岐点
は2n個である。以上が木探索ベクトル量子化
(TSVQ:Tree Search Vector Quantization)
の説明である。第4図では、n=3の例が示され
ている。第5図はn=3の場合の従来の木探察ベ
クトル量子化器の構成例を示している。第5図に
おいて、1はK個ごとにブロツク化された入力信
号ベクトル、2は入力信号ベクトルが入力される
TSVQ符号化器第1段、3はTSVQ符号化器第
1段から出力される第1段出力ベクトルインデツ
クス、4は第1段出力ベクトルインデツクスが入
力される従来のTSVQ符号化器第2段、5は
TSVQ符号化器第2段から出力される第2段出
力ベクトルインデツクス、6は第2段出力ベクト
ルインデツクスが入力されるTSVQ符号化器第
3段、7はTSVQ符号化器第3段から出力され
る第3段出力ベクトルインデツクスである。また
第6図は、前記従来のTSVQ符号化器第2段4
の構成例をさらに詳細に示したものである。第6
図において、8は入力信号ベクトル1が入力され
る入力ベクトルレジスタ、9は第1段出力ベクト
ルインデツクス3が入力される。第2段出力ベク
トルコードテーブル、10は入力ベクトルレジス
タから出力される入力信号ベクトルと第2段出力
ベクトルコードテーブル9から出力される出力ベ
クトルとの歪を計算する歪演算回路、11は歪演
算回路10で計算された歪の最小値を求める歪比
較回路、12は歪比較回路11から出力される歪
比較結果信号、13は、歪比較結果信号12と第
1段出力ベクトルインデツクスの信号3に基づい
て第2段出力ベクトルインデツクス5を出力する
インデツクスレジスタである。 次に動作について説明する。木探索ベクトル量
子化は各段においてペアとなる2つの出力ベクト
ルと入力信号ベクトルとの歪比較を行ない、次段
で比較すべきペアとなる出力ベクトルを決定する
ことの繰り返しである。第4図に示す木の3段階
の歪演算は、第5図におけるTSVQ符号化器第
1段2、TSVQ符号化器第2段4、TSVQ符号
化器第3段6に対応づけられる。各段では前段ま
での歪比較結果によつて指定される出力ベクトル
のペアと入力ベクトルとの歪演算を行なつて歪の
小さい方を決定し、その情報を前段までの比較結
果に付加した後次段へ送る。第1段では出力ベク
トルのペアが1つしかないので、前段までの比較
結果は必要ないし存在しない。第1段における歪
比較の結果出力される出力ベクトルインデツクス
3をi1とすると、第2段ではi1によつて決定され
る出力ベクトルのペアと入力ベクトルとの歪演算
を行ない、その比較結果をi1に付加してi25を形
成する。第3段ではi2と入力信号ベクトルにより
i37を出力する。第4図において左側の枝を選択
すると0、右側の枝を選択すると1を割当てるも
のとすると、インデツクスi1,i2,i3はそれぞれ
1桁、2桁、3桁の2進数列となり、この2進数
列のインデツクスi3が最終段の出力ベクトルイン
デツクスとなる。以上が木探索ベクトル量子化器
の動作説明である。 ここで、各段における出力ベクトルコードテー
ブルは、前段の結果より指定される出力ベクトル
のペアとして、第3図に示すように第1段では
1、第2段では 00 01 10 11、第3
段では 000 001 010 011 100 101
110 111、をそれぞれの出力ベクトルとして
記憶していなければならない。 [発明が解決しようとする問題点] 従来の木探索ベクトル量子化器は以上の様に構
成されているので、出力ベクトルコードテーブル
の内容が各段に対応した符号化器で異なるのに対
し、各段に対応した符号化器の出力ベクトルコー
ドテーブルを構成するメモリ内容を共通化しよう
としても、出力ベクトルコードテーブルを構成す
るメモリのアクセスされるアドレスが各段に対応
した符号化器で重複するため不可能となり、メモ
リ内容が多品種(少なくても段数分)必要となる
などの欠点があつた。 [問題点を解決しようとするための手段] このため本発明は、この種のベクトル量子化装
置を構成する符号化器に前記複数の分岐点に対し
てそれぞれ付与され、且つ前記複数のそれぞれの
分岐点に対してそれぞれ異なる値とした出力ベク
トルインデツクスと、予め上記ベクトル空間内で
の樹系列状の分岐点に対応して出力信号ベクトル
を組として記憶しており、出力ベクトルインデツ
クスに対応する出力信号ベクトルを組として出力
するベクトルコードテーブルと、ベクトルコード
テーブルからの出力信号ベクトルの組を構成して
いる出力信号ベクトルのそれぞれと入力信号ベク
トルとを比較する比較手段と、出力信号ベクトル
の組に含まれた出力信号ベクトルのうち、入力信
号ベクトルとの比較差が小さいほうの出力信号ベ
クトルを選択し、複数の分岐点に対応するそれぞ
れの出力ベクトルインデツクスを出力するベクト
ルインデツクス出力手段とを設けたものである。 [作用] 本発明のベクトル量子化装置の符号化器は、予
め上記ベクトル空間内での樹系列状の分岐点に対
応して出力信号ベクトルを組として記憶してお
り、複数の分岐点に対してそれぞれ付与され、且
つ前記複数のそれぞれの分岐点に対してそれぞれ
異なる値とした出力ベクトルインデツクスに基づ
いて、出力信号ベクトルを組として選択して、出
力信号ベクトルのそれぞれと入力信号ベクトルと
を比較する。この比較結果に基づいて、入力信号
ベクトルとの比較差が小さいほうの出力信号ベク
トルを選択し、この選択された出力信号ベクトル
に基づいて、前記複数の分岐点に対応するそれぞ
れの出力ベクトルインデツクスを出力するもので
ある。 [発明の実施例] この発明の一実施例を説明する。この発明のベ
クトル量子化装置は、入力信号ベクトルに基づい
て出力ベクトルを決定し、この決定出力ベクトル
に対応した出力ベクトルインデツクスを出力する
符号化器を多段接続している。上記入力信号ベク
トルは予め他次元信号空間でブロツク化されてお
り、且つ上記出力ベクトルはベクトル空間内での
関係が複数の分岐点から複数の枝が上記符号化器
の接続段に対応して段階的に(n段)に分岐して
いる樹系列状になるように構成され、上記決定さ
れた出力信号ベクトルに基づき出力ベクトルイン
デツクスを出力する。尚、上記出力ベクトルイン
デツクスは、上記複数の分岐点に対してそれぞれ
付与され、且つ上記複数のそれぞれの分岐点に対
してそれぞれ異なる値とした。 以下、この発明の実施例として探索が3段目に
おける第1段目の符号化器に入力される入力ベク
トルインデツクスが“001”(BIN)の場合を第
1図ないし第3図に基づいて説明する。第1図は
この発明の一実施例である木探索ベクトル量子化
符号化器の探索段数が3段階の場合のブロツク図
で、第5図と同一部分は同一符号または対応する
符号を用いて表示している。第1図において、1
4は第1段目の符号化器に入力される入力ベクト
ルインデツクス、15は第1段目の符号化器に入
力される入力ベクトルインデツクス14と入力信
号ベクトルが入力されるこの発明によるTSVQ
符号化器第1段、16はTSVQ符号化器第1段
15から出力される第1段擬似出力ベクトルイン
デツクス、17は入力信号ベクトル1と第1段擬
似出力ベクトルインデツクス16が入力される
TSVQ符号化器第2段、18はTSVQ符号化器
第2段17から出力される第2段擬似出力ベクト
ルインデツクス、19は入力信号ベクトル1と第
2段擬似出力ベクトルインデツクス18が入力さ
れるTSVQ符号化器第3段である。 第2図は第1図におけるこの発明による
TSVQ符号化器第2段を更に詳細に示したブロ
ツク図である。第2図において、TSVQ符号化
器第2段17の出力ベクトルコードテーブル17
Aは第2段出力ベクトルコードテーブル#0と、
第2段出力ベクトルコードテーブル#1を有して
いる。 入力信号ベクトル1は入力手段である入力信号
ベクトルレジスタ8を介して歪演算回路10に入
力されていて、この歪演算回路10は前記第2段
出力ベクトルコードテーブル#0及び第2段出力
ベクトルコードテーブル#1に記憶された出力信
号ベクトルa,bと入力信号ベクトル1との歪を
計算し、この計算結果を第2段歪比較回路11に
出力している。 この第2段歪比較回路11は計算の結果により
出力信号ベクトルa,bのうち入力信号ベクトル
との比較差の小さい方の出力信号ベクトルを選択
し、0または1の歪比較結果信号12を出力して
いて、この歪比較結果信号12と、出力ベクトル
コードテーブル17に入力される第1段擬似出力
ベクトルインデツクス16とはベクトルインデツ
クス出力手段である擬似インデツクスシフトレジ
スタ22に入力されている。 この擬似インデツクスシフトレジスタ22は第
2段擬似出力ベクトルインデツクス18を出力し
ている。 ここにTSVQ符号化器第1段15、TSVQ符
号化器第2段17、TSVQ符号化器第3段19
は全体としてベクトル量子化装置20を構成して
いる。 次に上記したこの発明の一実施例の動作を初期
擬似インデツクスを2進化の“001”(BIN:2
進数)とした場合において説明する。まず、各探
索段に共通な出力ベクトルコードテーブル#0,
#1の探索が3段階の場合のアドレスマツプを第
3図の表図に示す。今、TSVQ第1段に入力さ
れた入力信号ベクトル1と第1段目の符号化器に
入力される入力ベクトルインデツクス14“001”
(BIN)により出力ベクトルコードテーブル
#0,#1から出力される出力信号ベクトル 0
1との歪が歪演算回路10で計算されている。
歪比較回路11は歪演算回路10の計算結果によ
り、最小歪となる一方の出力ベクトルを選択し、
この選択した結果に基づいて歪比較結果信号12
を出力する。擬似インデツクスシフトレジスタ2
2では、歪比較結果信号12を第1段擬似出力ベ
クトルインデツクス16の最下位の位LSBに付
加しさらに最上位の位MSBを切捨てて第2段擬
似出力ベクトルインデツクスを次段へ送る。この
ような操作を第2段、第3段と行なうと、第3段
擬似インデツクスシフトレジスタにおいて初期擬
似出力ベクトルインデツクスの最下位の位LSB
である“1”がすべて切捨てられ求めるべき第3
段出力ベクトルインデツクス7を得る事ができ
る。これを具体例で示すと、入力ベクトルに対し
てTSVQ符号器第1段では初期擬似出力ベクト
ルインデツクス“001”(BIN)により出力ベク
トルコードテーブル#0から出力信号ベクトル
、出力ベクトルコードテーブル#1から出力信
号ベクトルy1が出力され、出力ベクトルコードテ
ーブル#0の出力信号ベクトルy0が選択されたと
すると、歪比較結果信号12は“0”(BIN)と
なり擬似インデツクスシフトレジスタ21では第
1段目の符号化器に入力される入力ベクトルイン
デツクス14“001”(BIN)の最下位の位LBS
の“0”(BIN)を付加しさらに最上位の位MSB
の“0”(BIN)を切捨てる。これを式で表わす
と下記のようになる。 001(BIN)→0010(BIN)→010(BIN) TSVQ符号化器第2段では、第1段擬似出力
ベクトルインデツクス16“010”(BIN)が出
力ベクトルコードテーブル#0より出力ベクトル
00、出力ベクトルコードテーブル#1より出力
信号ベクトル 01が出力される。出力ベクトルコ
ードテーブル#1のベクトル 01が選択されたと
すると、第2段擬似出力ベクトルインデツクス1
8は 010(BIN)→0101(BIN)→101(BIN) となる。さらにTSVQ符号化器第3段では第2
段擬似出力ベクトルインデツクス18“101”
(BIN)により出力ベクトルコードテーブル
#0,#1より各々出力ベクトル 010 011
出力され出力ベクトルコードテーブル#1の出力
信号ベクトル 011が選択されると、101(BIN)
→1011(BIN)→011(BIN)となり、第1段目の
符号化器に入力される入力ベクトルインデツクス
が消え、求めるべき出力信号ベクトル 011のイ
ンデツクス“011”(BIN)が第3段出力ベクト
ルインデツクス(符号化出力)7として得られ
る。 この探索過程は、第1図におけるルートと一致
する。 [発明の効果] 本発明は上記の構成に基づき、各段に対応した
符号化器の出力ベクトルコードテーブルを構成す
るメモリ内容を共通化でき、メモリ内容を少なく
できる。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention blocks a plurality of input signal sequences in, for example, an imaging device to form an input signal vector, and quantizes this input signal vector in a multidimensional signal space. This invention relates to a vector quantization device. [Prior Art] First, tree search vector quantization will be explained. Considering a binary tree with two branches branching from each branch point R as shown in Figure 4, the root of the tree is a K-dimensional signal space R K , and each branch point divides the space R K in stages. It corresponds to each space. A representative point (for example, the center of gravity) is determined in each space, and the representative point becomes a k-dimensional output vector. The output vector of each stage is determined based on the distribution of the input vectors so that the sum of distortions between the input and output vectors is minimized. When an input vector is given, compare the distortion with the output vector corresponding to the two branch points that branch from the first stage to the final stage, and select the branch with the smaller distortion, which corresponds to the final branch point. The output vector is selected. If the final stage is the n-th stage, there are 2 n terminal branch points. The above is Tree Search Vector Quantization (TSVQ)
This is an explanation. In FIG. 4, an example where n=3 is shown. FIG. 5 shows an example of the configuration of a conventional tree search vector quantizer when n=3. In Fig. 5, 1 is the input signal vector that is blocked every K pieces, and 2 is the input signal vector that is input.
The first stage of the TSVQ encoder, 3 is the first stage output vector index output from the first stage of the TSVQ encoder, and 4 is the second stage of the conventional TSVQ encoder into which the first stage output vector index is input. Step 5 is
2nd stage output vector index output from the 2nd stage of the TSVQ encoder, 6 is the 3rd stage of the TSVQ encoder into which the 2nd stage output vector index is input, 7 is from the 3rd stage of the TSVQ encoder This is the third stage output vector index to be output. FIG. 6 also shows the second stage 4 of the conventional TSVQ encoder.
This shows an example of the configuration in more detail. 6th
In the figure, 8 is an input vector register into which input signal vector 1 is input, and 9 is into which first stage output vector index 3 is input. 2nd stage output vector code table; 10 is a distortion calculation circuit that calculates the distortion between the input signal vector output from the input vector register and the output vector output from the 2nd stage output vector code table 9; 11 is a distortion calculation circuit; 10 is a distortion comparison circuit that calculates the minimum value of the distortion calculated; 12 is a distortion comparison result signal output from the distortion comparison circuit 11; 13 is a distortion comparison result signal 12 and the first stage output vector index signal 3; This is an index register that outputs a second stage output vector index 5 based on the index. Next, the operation will be explained. Tree search vector quantization is a repetition of performing distortion comparisons between two paired output vectors and an input signal vector in each stage, and determining the paired output vectors to be compared in the next stage. The three-stage distortion calculation of the tree shown in FIG. 4 corresponds to the first stage 2 of the TSVQ encoder, the second stage 4 of the TSVQ encoder, and the third stage 6 of the TSVQ encoder in FIG. In each stage, a distortion operation is performed between the pair of output vectors specified by the distortion comparison results up to the previous stage and the input vector, the one with the smaller distortion is determined, and that information is added to the comparison results up to the previous stage. Send to the next stage. Since there is only one pair of output vectors in the first stage, the comparison results from the previous stages are not necessary or exist. If the output vector index 3 output as a result of the distortion comparison in the first stage is i1 , then in the second stage a distortion operation is performed between the pair of output vectors determined by i1 and the input vector, and the comparison is performed. Add the result to i 1 to form i 2 5. In the third stage, by i 2 and the input signal vector,
Outputs i 3 7. In Figure 4, if the left branch is selected, 0 is assigned, and the right branch is assigned 1, then the indices i 1 , i 2 , and i 3 are 1-digit, 2-digit, and 3-digit binary strings, respectively. The index i3 of this binary number string becomes the output vector index of the final stage. The above is an explanation of the operation of the tree search vector quantizer. Here, the output vector code table in each stage is a pair of output vectors specified from the results of the previous stage, as shown in FIG .
0 , y 1 , in the second stage y 00 , y 01 , y 10 , y 11 , in the third stage
In the rows, y 000 , y 001 , y 010 , y 011 , y 100 , y 101 ,
y 110 and y 111 must be stored as respective output vectors. [Problems to be Solved by the Invention] Since the conventional tree search vector quantizer is configured as described above, the contents of the output vector code table differ depending on the encoder corresponding to each stage. Even if you try to share the memory contents that make up the output vector code table of the encoder corresponding to each stage, the addresses accessed in the memory that makes up the output vector code table will be duplicated in the encoder corresponding to each stage. Therefore, it became impossible, and there were drawbacks such as the need for a wide variety of memory contents (at least as many as the number of stages). [Means for Solving the Problems] Therefore, the present invention provides an encoder constituting this kind of vector quantization device for each of the plurality of branch points, and that The output vector index, which has a different value for each branch point, and the output signal vector corresponding to the tree-like branch point in the above vector space are stored in advance as a set, and the output vector index corresponds to the output vector index. a vector code table that outputs output signal vectors as a set; a comparison means that compares each of the output signal vectors constituting the set of output signal vectors from the vector code table with an input signal vector; Vector index output means for selecting the output signal vector having a smaller comparison difference with the input signal vector from among the output signal vectors included in the set, and outputting respective output vector indices corresponding to the plurality of branch points. It has been established that [Operation] The encoder of the vector quantization device of the present invention stores in advance output signal vectors as sets corresponding to tree-like branch points in the vector space, and The output signal vectors are selected as a set based on the output vector index which is given to each of the plurality of branch points and has a different value to each of the plurality of branch points, and each of the output signal vectors and the input signal vector are selected as a set. compare. Based on this comparison result, the output signal vector with the smaller comparison difference with the input signal vector is selected, and based on this selected output signal vector, each output vector index corresponding to the plurality of branch points is determined. This outputs the following. [Embodiment of the Invention] An embodiment of the invention will be described. The vector quantization device of the present invention has encoders connected in multiple stages that determine an output vector based on an input signal vector and output an output vector index corresponding to the determined output vector. The input signal vector is previously blocked in a multi-dimensional signal space, and the output vector has a relationship in the vector space such that a plurality of branches from a plurality of branch points correspond to connection stages of the encoder. The output signal vector is configured to form a tree-like structure that branches into (n stages), and outputs an output vector index based on the determined output signal vector. The output vector index is assigned to each of the plurality of branch points, and has a different value for each of the plurality of branch points. Hereinafter, as an embodiment of the present invention, the case where the input vector index input to the first-stage encoder in the third-stage search is "001" (BIN) will be explained based on FIGS. 1 to 3. explain. FIG. 1 is a block diagram of a tree search vector quantization encoder which is an embodiment of the present invention when the number of search stages is three. The same parts as in FIG. 5 are indicated using the same or corresponding symbols. are doing. In Figure 1, 1
4 is an input vector index input to the first stage encoder, and 15 is a TSVQ according to the present invention to which the input vector index 14 and input signal vector are input to the first stage encoder.
In the first stage of the encoder, 16 is the first stage pseudo output vector index output from the first stage 15 of the TSVQ encoder, and 17 is input with the input signal vector 1 and the first stage pseudo output vector index 16.
In the second stage of the TSVQ encoder, 18 is the second stage pseudo output vector index output from the second stage 17 of the TSVQ encoder, and 19 is the second stage pseudo output vector index 18 to which the input signal vector 1 and the second stage pseudo output vector index 18 are input. This is the third stage of the TSVQ encoder. Figure 2 is based on this invention in Figure 1.
FIG. 2 is a block diagram showing the second stage of the TSVQ encoder in more detail; In FIG. 2, the output vector code table 17 of the second stage 17 of the TSVQ encoder
A is the second stage output vector code table #0,
It has a second stage output vector code table #1. The input signal vector 1 is input to the distortion calculation circuit 10 via the input signal vector register 8 which is an input means, and this distortion calculation circuit 10 inputs the second stage output vector code table #0 and the second stage output vector code. The distortion between the output signal vectors a and b stored in table #1 and the input signal vector 1 is calculated, and the calculation result is output to the second stage distortion comparison circuit 11. The second stage distortion comparison circuit 11 selects the output signal vector a and b that has a smaller comparison difference with the input signal vector based on the calculation result, and outputs a distortion comparison result signal 12 of 0 or 1. This distortion comparison result signal 12 and the first stage pseudo output vector index 16 input to the output vector code table 17 are input to a pseudo index shift register 22 which is a vector index output means. . This pseudo index shift register 22 outputs a second stage pseudo output vector index 18. Here, TSVQ encoder first stage 15, TSVQ encoder second stage 17, TSVQ encoder third stage 19
constitutes a vector quantization device 20 as a whole. Next, the operation of the embodiment of the present invention described above is explained by converting the initial pseudo index to binary "001" (BIN: 2).
The explanation will be based on the case where it is a base number). First, output vector code table #0 common to each search stage,
The address map when the #1 search is in three stages is shown in the table of FIG. Now, input signal vector 1 input to the first stage of TSVQ and input vector index 14 “001” input to the first stage encoder.
(BIN) output signal vector y 0 output from output vector code table #0, #1,
The distortion with respect to y 1 is calculated by the distortion calculation circuit 10.
The distortion comparator circuit 11 selects one of the output vectors resulting in the minimum distortion based on the calculation result of the distortion calculation circuit 10,
Based on this selected result, the distortion comparison result signal 12
Output. Pseudo index shift register 2
In step 2, the distortion comparison result signal 12 is added to the least significant LSB of the first stage pseudo output vector index 16, the most significant MSB is discarded, and the second stage pseudo output vector index is sent to the next stage. When such an operation is performed in the second and third stages, the lowest digit LSB of the initial pseudo output vector index is stored in the third stage pseudo index shift register.
All “1”s are truncated and the third value to be found is
A stage output vector index 7 can be obtained. To illustrate this with a concrete example, in the first stage of the TSVQ encoder, for an input vector, the output signal vector y is output from the output vector code table #0 using the initial pseudo output vector index “001” (BIN) .
0 , output signal vector y 1 is output from output vector code table #1, and output signal vector y 0 of output vector code table #0 is selected, the distortion comparison result signal 12 becomes “0” (BIN) and a pseudo In the index shift register 21, the lowest digit LBS of the input vector index 14 "001" (BIN) input to the first stage encoder is input.
Add “0” (BIN) and add the most significant MSB
``0'' (BIN) is truncated. This can be expressed as a formula as follows. 001 (BIN) → 0010 (BIN) → 010 (BIN) In the second stage of the TSVQ encoder, the first stage pseudo output vector index 16 “010” (BIN) is the output vector y 00 from the output vector code table #0. , output signal vector y 01 is output from output vector code table #1. If vector y 01 of output vector code table #1 is selected, second stage pseudo output vector index 1
8 becomes 010 (BIN) → 0101 (BIN) → 101 (BIN). Furthermore, in the third stage of the TSVQ encoder, the second
Stage pseudo output vector index 18 “101”
(BIN) outputs the output vectors y 010 and y 011 from the output vector code tables #0 and #1, respectively, and when the output signal vector y 011 of the output vector code table #1 is selected, 101 (BIN)
→ 1011 (BIN) → 011 (BIN), the input vector index input to the first stage encoder disappears, and the index “011” (BIN) of the output signal vector y 011 to be obtained is changed to the third stage encoder. It is obtained as an output vector index (encoded output) 7. This search process corresponds to the route in FIG. [Effects of the Invention] Based on the above configuration, the present invention can share the memory contents constituting the output vector code table of the encoder corresponding to each stage, and can reduce the memory contents.

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

第1図はこの発明による木探索ベクトル量子化
符号化器の一実施例を示す構成図、第2図はこの
発明による木探索ベクトル量子化符号化器第2段
の一実施例を示す構成図、第3図はこの発明によ
る出力ベクトルコードテーブル#0,#1のアド
レスマツプを示す表図、第4図は木探索ベクトル
量子化における探索の説明図、第5図は従来の木
探索ベクトル量子化符号化器の一実施例を示す構
成図、第6図は従来の木探索ベクトル量子化符号
化器第2段の一実施例を示す構成図である。 図において、1……入力信号系列(入力信号ベ
クトル)、2……従来のTSVQ符号化器第1段、
3……第1段出力ベクトルインデツクス、4……
従来のTSVQ符号化器第2段、5……第2段出
力ベクトルインデツクス、6……従来のTSVQ
符号化器第3段、7……第3段出力ベクトルイン
デツクス、8……入力ベクトルレジスタ、9……
従来の出力ベクトルコードテーブル、10……歪
演算回路、11……歪比較回路、12……歪比較
結果信号、13……インデツクスレジスタ、14
……第1段目の符号化器に入力する入力ベクトル
インデツクス、15……この発明によるTSVQ
符号化器第1段、16……第1段擬似出力ベクト
ルインデツクス、17……この発明による
TSVQ符号化器第2段、18……第2段擬似出
力ベクトルインデツクス、19……この発明によ
るTSVQ符号化器第3段、#0,#1……この
発明による第2段出力ベクトルコードテーブル、
20……ベクトル量子化装置、22……擬似イン
デツクスシフトレジスタである。なお、各図中、
同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram showing an embodiment of a tree search vector quantization encoder according to the present invention, and FIG. 2 is a block diagram showing an embodiment of the second stage of the tree search vector quantization encoder according to the present invention. , FIG. 3 is a table showing address maps of output vector code tables #0 and #1 according to the present invention, FIG. 4 is an explanatory diagram of the search in tree search vector quantization, and FIG. 5 is a diagram showing the conventional tree search vector quantization. FIG. 6 is a block diagram showing an embodiment of a conventional tree search vector quantization encoder at the second stage. In the figure, 1... input signal sequence (input signal vector), 2... first stage of conventional TSVQ encoder,
3...1st stage output vector index, 4...
Conventional TSVQ encoder second stage, 5...Second stage output vector index, 6...Conventional TSVQ
Encoder third stage, 7...Third stage output vector index, 8...Input vector register, 9...
Conventional output vector code table, 10...distortion calculation circuit, 11...distortion comparison circuit, 12...distortion comparison result signal, 13...index register, 14
... Input vector index input to the first stage encoder, 15 ... TSVQ according to the present invention
Encoder first stage, 16...First stage pseudo output vector index, 17... According to this invention
TSVQ encoder second stage, 18... Second stage pseudo output vector index, 19... TSVQ encoder third stage according to the present invention, #0, #1... Second stage output vector code according to the present invention table,
20...Vector quantizer, 22...Pseudo index shift register. In addition, in each figure,
The same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 1 入力信号ベクトルが入力されこの入力信号ベ
クトルに基づいて出力ベクトルを決定し、この決
定出力ベクトルに対応した出力ベクトルインデツ
クスを出力する符号化器を多段接続してなり、上
記入力信号ベクトルは予め他次元信号空間でブロ
ツク化されており、且つ上記出力ベクトルはベク
トル空間内での関係が複数の分岐点から複数の枝
が上記符号化器の接続段に対応して段階的に(n
段)に分岐している樹系列状になるように構成さ
れ、上記決定された出力信号ベクトルに基づき出
力ベクトルインデツクスを出力するベクトル量子
化装置において、 上記符号化器は 入力信号ベクトルを入力する入力手段と、 前記複数の分岐点に対してそれぞれ付与さ
れ、且つ前記複数のそれぞれの分岐点に対して
それぞれ異なる値とした出力ベクトルインデツ
クスと、 予め上記ベクトル空間内での樹系列状の分岐
点に対応して出力信号ベクトルを組として記憶
しており、入力された出力ベクトルインデツク
スに基づいて、上記出力ベクトルインデツクス
に対応する出力信号ベクトルを組として出力す
るベクトルコードテーブルと、 このベクトルコードテーブルからの出力信号
ベクトルの組と前記入力手段から入力信号ベク
トルとを入力し、入力された出力信号ベクトル
の組を構成している出力信号ベクトルのそれぞ
れと入力信号ベクトルとを比較する比較手段
と、 この比較手段の比較結果に基づいて、出力信
号ベクトルの組に含まれた出力信号ベクトルの
うち、入力信号ベクトルとの比較差が小さいほ
うの出力信号ベクトルを選択し、この選択され
た出力信号ベクトルに基づいて、前記複数の分
岐点に対応するそれぞれの出力ベクトルインデ
ツクスを出力するベクトルインデツクス出力手
段とを備えたことを特徴とするベクトル量子化
装置。 2 多断接続された符号化器において、第一段目
の符号化器に入力される入力ベクトルインデツク
スを最下位のみ“1”(BIN)で上位ビツトは必
要個数すべて“0”(BIN)とすることを特徴と
する特許請求の範囲第1項記載のベクトル量子化
装置。
[Scope of Claims] 1. An encoder that receives an input signal vector, determines an output vector based on the input signal vector, and outputs an output vector index corresponding to the determined output vector, which is connected in multiple stages, The input signal vector is previously blocked in a multi-dimensional signal space, and the output vector has a relationship in the vector space such that a plurality of branches from a plurality of branch points correspond to connection stages of the encoder. (n
In the vector quantization device, the encoder receives an input signal vector and outputs an output vector index based on the determined output signal vector. an input means; an output vector index assigned to each of the plurality of branch points and set to a different value for each of the plurality of branch points; and a tree-like branch in the vector space in advance. a vector code table that stores output signal vectors as sets corresponding to points, and outputs output signal vectors corresponding to the output vector index as a set based on the input output vector index; Comparison means for inputting a set of output signal vectors from the code table and an input signal vector from the input means, and comparing each of the output signal vectors constituting the input set of output signal vectors with the input signal vector. Based on the comparison result of this comparison means, the output signal vector that has a smaller comparison difference with the input signal vector is selected from among the output signal vectors included in the set of output signal vectors, and this selected output signal vector is selected. A vector quantization device comprising vector index output means for outputting respective output vector indices corresponding to the plurality of branch points based on the signal vector. 2 In a multi-disconnected encoder, the input vector index input to the first stage encoder is set to “1” (BIN) only at the lowest order, and all the required number of upper bits are “0” (BIN). A vector quantization device according to claim 1, characterized in that:
JP60104505A 1985-01-16 1985-05-16 Vector quantization device Granted JPS61262378A (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP60104505A JPS61262378A (en) 1985-05-16 1985-05-16 Vector quantization device
DE3689796T DE3689796T2 (en) 1985-01-16 1986-01-14 Video coding device.
EP86100401A EP0188269B1 (en) 1985-01-16 1986-01-14 Video encoding apparatus
CA000499616A CA1282166C (en) 1985-01-16 1986-01-15 Video encoding apparatus
KR1019860000205A KR900008455B1 (en) 1985-01-16 1986-01-15 Video encoding apparatus
US06/819,067 US4769826A (en) 1985-01-16 1986-01-15 Video encoding apparatus
US07/181,164 US4837632A (en) 1985-01-16 1988-04-13 Video encoding apparatus including movement compensation
KR1019900009292A KR900008456B1 (en) 1985-01-16 1990-06-22 Video encoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60104505A JPS61262378A (en) 1985-05-16 1985-05-16 Vector quantization device

Publications (2)

Publication Number Publication Date
JPS61262378A JPS61262378A (en) 1986-11-20
JPH0423990B2 true JPH0423990B2 (en) 1992-04-23

Family

ID=14382353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60104505A Granted JPS61262378A (en) 1985-01-16 1985-05-16 Vector quantization device

Country Status (1)

Country Link
JP (1) JPS61262378A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2959633B2 (en) * 1987-09-08 1999-10-06 大日本印刷株式会社 Fast vector quantum differentiation method and apparatus
KR100446595B1 (en) * 1997-04-29 2005-02-07 삼성전자주식회사 Vector quantization method of line spectrum frequency using localization characteristics, especially searching optimum code book index using calculated distortion

Also Published As

Publication number Publication date
JPS61262378A (en) 1986-11-20

Similar Documents

Publication Publication Date Title
Hu et al. Optimal computer search trees and variable-length alphabetical codes
US5021971A (en) Reflective binary encoder for vector quantization
KR100498457B1 (en) The improved method of compressing look up table for reducing memory and non-linear function generating apparatus having look up table compressed using the method and the non-linear function generating method
JPH07193509A (en) Thermometer binary encoding method
JPH03274920A (en) Signal encoder
KR0138971B1 (en) Huffman code decoder
JPH0423990B2 (en)
JPH04162830A (en) D/a converter
US10498358B2 (en) Data encoder and data encoding method
GB1597468A (en) Conversion between linear pcm representation and compressed pcm
JP2604546B2 (en) Variable length code decoding processor
JPH07120958B2 (en) Tree search vector quantizer
JP2010166552A (en) Table device, encoding device, decoding device and encoding/decoding device
JP2001251192A (en) Conjugate structure vector quantization method
JP3113765B2 (en) Variable length code decoding circuit
JPH0137047B2 (en)
KR0121945B1 (en) Method and apparatus for performing approximate arithmetic division
KR100943612B1 (en) Turbo Interleaver Device and Method for Mobile Communication System Using Turbo Code
JPH11168391A (en) Decryption device
JP3610381B2 (en) Data compression device
KR100194588B1 (en) Sorting method using bitmap and sorting device
JPH02190080A (en) Picture encoding device
JP3219213B2 (en) Analog digital conversion circuit
JP3009007B2 (en) Binary code decoding circuit
JP2025078497A (en) Successive approximation type analog-to-digital conversion circuit