Quantization of wavelet coefficients

2 Ansichten (letzte 30 Tage)
Pat
Pat am 19 Dez. 2012
I have performed the code
input_image1=imread('rice.png');
n=2
[Lo_D,Hi_D,Lo_R,Hi_R] = wfilters('haar');
[c,s]=wavedec2(input_image,n,Lo_D,Hi_D);
now i want to perform quantization on c and s ,quantization must be performed on both c and s ,not separately
please help

Antworten (1)

Wayne King
Wayne King am 19 Dez. 2012
Please be specific on what you mean by quantization here? If you mean something like an integer-to-integer wavelet transform, then the toolbox provides that with lifting. Or are you saying you want to represent the double coefficient output of wavedec2 as a certain data type?
If it is the latter, you have a number of options depending on what MathWorks products you have installed.
  1 Kommentar
Pat
Pat am 20 Dez. 2012
in the image
please can you tell which quantization method can be applied,because i have to recover at the decoding side

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Denoising and Compression finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by