wavelets
古いコメントを表示
difference b/w the functions dwt2 and wavedec2
採用された回答
その他の回答 (1 件)
Wayne King
2011 年 9 月 10 日
From wavedec2 you obtain a C and S vector. You can then use detcoef2 and appcoef2 to extract the detail and approximation coefficients at a given level.
For example:
image = randn(16,16);
[C,S] = wavedec2(image,3,'db2');
% get level 2 detail coefficients
[H,V,D] = detcoef2('all',C,S,2);
% get level 2 approx. coefficients
A = appcoef2(C,S,'db2',2);
Wayne
カテゴリ
ヘルプ センター および File Exchange で Image Analysis についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!