wavedec
2 次查看(过去 30 天)
显示 更早的评论
in function [c,s] = wavedec2(x,n.wname); can any one help me about "s" that is bookkeeping matrix? how it calculate? and if i want separate the subbands from "c" by use "s" so become approximation, vertical, diagonal, horizenital separated subbands... ??
0 个评论
采纳的回答
Wayne King
2011-12-29
Hi Aseel, You can use detcoef2 and appcoef2 along with the inputs C and S to extract the appropriate coefficients.
For example:
load woman;
[C,S] = wavedec2(X,3,'bior3.5');
% get the horizontal, vertical, and diagonal details at level 1
[H,V,D] = detcoef2('all',C,S,1);
% get the approximation coefficients at level 1
A = appcoef2(C,S,'bior3.5',1);
更多回答(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!