フィルターのクリア

Vector Quantization using partition and codebook

3 ビュー (過去 30 日間)
Mohab Mostafa
Mohab Mostafa 2015 年 10 月 21 日
編集済み: Davide Dias 2018 年 4 月 10 日
I have a vector range from -64 to 64, how can I quantize that vector using partition and codebook ?
  1 件のコメント
Davide Dias
Davide Dias 2018 年 4 月 10 日
編集済み: Davide Dias 2018 年 4 月 10 日
help lloyds
lloyds Optimize quantization parameters using the Lloyd algorithm.
[PARTITION, CODEBOOK] = lloyds(TRAINING_SET, INI_CODEBOOK) optimizes the
scalar quantization PARTITION and CODEBOOK based on the provided training
vector TRAINING_SET using the Lloyd algorithm. The data in the variable
TRAINING_SET should be typical data for the message source to be quantized.
INI_CODEBOOK is the initial guess of the codebook values. The optimized
CODEBOOK has the same vector size as INI_CODEBOOK. When INI_CODEBOOK is a
scalar integer instead of vector, it is the length of the desired CODEBOOK
vector. PARTITION is a vector of length equal to CODEBOOK vector length
minus 1. The optimization will be terminated if the relative distortion
is less than 10^(-7).
[PARTITION, CODEBOOK] = lloyds(TRAINING_SET, INI_CODEBOOK, TOL) provides the
tolerance in the optimization.
[PARTITION, CODEBOOK, DISTORTION] = lloyds(...) outputs the final distortion
value.
[PARTITION, CODEBOOK, DISTORTION, REL_DISTORTION] = lloyds(...) outputs the
relative distortion value in terminating the computation.
See also quantiz, dpcmopt.
Reference page for lloyds

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSource Coding についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by