HI..
i want to read one image in matlab and want to apply dwt function on it and then want to convert it into 1 row matrix.
me not getting how to convert it into 1 row matrix.
my code is as follows
i = imread('cameraman.tif')
for(n=1:5)
A = (dwt2(i,'haar'))
end
n = max(max(A))
A1 = A/n
A2 = round(A1)
A3 = reshape(A2,1,65536)
but me getting error in reshape command as follows:
??? Error using ==> reshape
To RESHAPE the number of elements must not change.
Error in ==> image at 14
A3 = reshape(A2,1,64)
so plz anybody help me???????