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!