I need a code for Haar wavelet transform.
3 ビュー (過去 30 日間)
古いコメントを表示
Am currently working on image processing, am using Haar Wavelet transform for the feature extraction, i need a good working code on for it.
Thank you.
0 件のコメント
採用された回答
Wayne King
2014 年 2 月 7 日
You can use wavedec2() with either wavelet name 'haar', or 'db1'
load woman;
J = 4; % level of the MRA
[C,S] = wavedec2(X,J,'haar');
See the help for appcoef2() and detcoef2() for how to pull out the approximation and detail coefficients.
0 件のコメント
その他の回答 (1 件)
Walter Roberson
2014 年 2 月 7 日
http://www.mathworks.com/help/wavelet/ref/dbaux.html with N = 2. Haar is also called db2
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!