lwt
4 次查看(过去 30 天)
显示 更早的评论
if I use lwt2()for multi level as:
X_InPlace = lwt2(X,W,LEVEL,'typeDEC',typeDEC)
What refers to the 'typeDEC',typeDEC?
and how separate the subbands as cA,cH,cV,cD for each level?
0 个评论
采纳的回答
Wayne King
2011-12-31
Hi Aseel, Glad to see you are using the lifting utilities in the Wavelet Toolbox, they're definitely powerful.
'typeDEC' takes the value 'w' or 'wp'. 'w' gives you a wavelet subband filtering, while 'wp' gives you a wavelet packet tree.
If you use X_InPlace, you can separate the coefficients as follows.
CA = X_InPlace(1:2:end,1:2:end)
CH = X_InPlace(2:2:end,1:2:end)
CV = X_InPlace(1:2:end,2:2:end)
CD = X_InPlace(2:2:end,2:2:end)
For example:
load woman;
X_InPlace = lwt2(X,'bior3.5',1,'typeDEC','w');
CA = X_InPlace(1:2:end,1:2:end);
CH = X_InPlace(2:2:end,1:2:end);
CV = X_InPlace(1:2:end,2:2:end);
CD = X_InPlace(2:2:end,2:2:end);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!