1D Haar wavelet transform

13 次查看(过去 30 天)
shima said
shima said 2013-12-15
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

回答(1 个)

Wayne King
Wayne King 2013-12-15
编辑:Wayne King 2013-12-15
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 个评论
shima said
shima said 2013-12-15
编辑:shima said 2013-12-15
I am very sorry I don't konw how did that happe :( i copied it and when i sent it looked like that
Walter Roberson
Walter Roberson 2013-12-18
shima commented,
I want to containing the mean value and the variance of each image's coefficients.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by