I need a code for Haar wavelet transform.

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.

 Respuesta aceptada

Wayne King
Wayne King el 7 de Feb. de 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.

Categorías

Más información sobre Discrete Multiresolution Analysis en Centro de ayuda y File Exchange.

Preguntada:

el 7 de Feb. de 2014

Respondida:

el 7 de Feb. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by