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?

 채택된 답변

Wayne King
Wayne King 2011년 12월 31일

0 개 추천

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);

댓글 수: 2

Aseel H
Aseel H 2011년 12월 31일
thank you very much
Aseel H
Aseel H 2011년 12월 31일
but it if I use one level, what about using more one leve?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Denoising and Compression에 대해 자세히 알아보기

질문:

2011년 12월 31일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by