wavelet transform for feature vector
1 次查看(过去 30 天)
显示 更早的评论
Can someone please explain what the coefficients from Discrete wavelet transform are for and how can they be used to form feature vector for classifier. I have been spending days reading journal articles on it now but still don't understand.
0 个评论
采纳的回答
Wayne King
2013-1-26
Hi Jack The 2D DWT is basically a subband filtering of the image in a combination of highpass and lowpass parts. For example, at level 1, you get 4 images: LL, LH, HL, and HH (L = lowpass, H= highpass)
So LL is lowpass in the x-direction and lowpass in the y-direction. LH is lowpass in the x-direction and highpass in the y-direction.
The wavelet transform then iterates on the LL image to obtain more narrow subbands at successive levels. Another 4 images at each level.
Because features in many real-world signals and images tend to be sparse in these subbands, the wavelet transform coefficients can localize the features of interest and do it more sparsely than other representations. Of course this depends on the type of image (signal).
As one example, images which are piecewise smooth punctuated by abrupt transitions (edges) are sparse in the wavelet domain (represented by relatively few wavelet coefficients) while not so sparsely represented in the Fourier domain (the abrupt transitions require a large number of high frequency terms to approximate).
3 个评论
Romendra
2013-1-26
Jack,
you may want to look into 2 functions appcoef2 and wavedec2. The wavedec2 does a 2d wavelet decomposition and then the appcoef2 can be used to extract the reduced approximate coefficients. If you need the detailed coefficients then u can use detcoef2. Even if you used the wavelet gui you should have been able to get the reduced coefficients Hope this helps.
Thanks
romendra
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 AI for Signals and Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!