From: Selvaraaju on
When I decompose the image ( 512 * 512 ) into 4 levels using "db1" wavelet, I get 256 *256 for level 1 coefficients and 128 * 128 for level 2 coefficients ans so on

When I decompose the same image ( 512 *512) into 4 levels using " db8" wavelet, I get 263 *263 for level1 coefficients. HOW & WHY?

There is no explanation about this in Matlab documents as well.

Try this:

>> load woman
>> [C,S]=wavedec2(X,4,'db1');
>> S

&

>> load woman
>> [C,S]=wavedec2(X,4,'db8');
>> S

S was 128 *128 matrix and in latter code S was 135 * 135 for level 1 Coefficients