1D Haar wavelet transform
3 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Wayne King
on 15 Dec 2013
Edited: Wayne King
on 15 Dec 2013
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 Comments
Walter Roberson
on 18 Dec 2013
shima commented,
I want to containing the mean value and the variance of each image's coefficients.
See Also
Categories
Find more on Continuous Wavelet Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!