Performing 2D Wavelet decomposition
이전 댓글 표시
I am performing 2D wavelet decomposition of a color image using this code. Is the ok or i need to perform 1D decomposition too ?
X= imread('hi.jpg');
[c,s]=wavedec2(X,2,'haar');
[H2,V2,D2] = detcoef2('all',c,s,2);
A2 = appcoef2(c,s,'haar',2);
figure,imshow(H2);figure,imshow(V2);figure,imshow(D2);
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!