I need a code for Haar wavelet transform.
조회 수: 2 (최근 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!