From: Selvaraaju on
If you do a Wavelet decomposition of Image ( 512 *512) into 4 levels using any wavelet family,

the first detail coefficients ( also vertical & horizontal) should be of length 256 *256
and second level will be 128 *128.

But When I did in Matlab 2009b, it is giving as 263 * 263 matrix for first level coefficients.

Below is my code :
>> i=imread('lena.png');
>> img=double(i);
>> [C,S]=wavedec2(img,4,'sym8');
>> S

S =

46 46
46 46
77 77
139 139
263 263
512 512

Please help me out