how to Decompose query image using Haar Wavelet
transformation at 1st level
then I want to Calculate mean and standard deviation of each coefficient and form one dimensional feature vector.
I don't know how to use wavelet Toolbox

Antworten (1)

Wayne King
Wayne King am 15 Dez. 2013
Bearbeitet: Wayne King am 15 Dez. 2013

0 Stimmen

If you are sure you just want the 1st-level (and no further), you can use dwt2.
If you need multiple levels, use wavedec2().
However, your statement " mean and standard deviation of each coefficient and form one dimensional feature vector." does not make sense.
Do mean the mean and standard deviation of each subband image?
You can easily obtain the subband images
load woman;
dwtmode('per');
[CA,CH,CV,CD] = dwt2(X,'haar');
CH, CV, and CD are the wavelet subband images. Now can you point me to some text which describes how to find your feature vector from those matrices?

6 Kommentare

shima said
shima said am 15 Dez. 2013

Decompose query image using Haar Wavelet transformation at 1st level to get approximate coefficient and vertical, horizontal and diagonal detail coefficients.

After a one-level wavelet transform, the wavelet coefficients is ci, j at the point (i, j), then the mean and standard deviation of any band are calculated as:μ =1/
Wayne King
Wayne King am 15 Dez. 2013
The above is incomplete: "then the mean and standard deviation of any band are calculated as:μ =1/ "
shima said
shima said am 15 Dez. 2013
Bearbeitet: shima said am 15 Dez. 2013

I am sorry I sent it incomplete y mistake

After a one-level wavelet transform, the wavelet coefficients is ci, j at the point (i, j), then the mean and standard deviation of any band are calculated as:μ =1/
Wayne King
Wayne King am 15 Dez. 2013
It is still not complete. What you posted is no different than your previous incomplete post.
shima said
shima said am 15 Dez. 2013
Bearbeitet: shima said am 15 Dez. 2013
I am very sorry I don't konw how did that happe :( i copied it and when i sent it looked like that
shima commented,
I want to containing the mean value and the variance of each image's coefficients.

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 15 Dez. 2013

Kommentiert:

am 18 Dez. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by