I need a code for Haar wavelet transform.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Atube Frank
le 7 Fév 2014
Réponse apportée : Wayne King
le 7 Fév 2014
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 commentaires
Réponse acceptée
Wayne King
le 7 Fév 2014
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 commentaires
Plus de réponses (1)
Walter Roberson
le 7 Fév 2014
http://www.mathworks.com/help/wavelet/ref/dbaux.html with N = 2. Haar is also called db2
0 commentaires
Voir également
Catégories
En savoir plus sur Image Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!