i am working on dwt2 with mode as 'db2' problem i am facing is that size of cA is not exactly half of image used,which create problem in further part if anyone knows plz help

 Accepted Answer

Wayne King
Wayne King on 23 Mar 2012

0 votes

Hi Kush, that is because the default extension mode for the DWT is not periodic. First, set the extension mode to 'per'
dwtmode('per');
Then use dwt2()
load woman;
dwtmode('per');
[A,H,V,D] = dwt2(X,'db2');

More Answers (0)

Asked:

on 23 Mar 2012

Community Treasure Hunt

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

Start Hunting!