这是我程序中的一段代码
%read in the message image and reshape it into a vector
file_name='innocence.bmp';
message=double(imread(file_name));
Mm=size(message,1); %height
Nm=size(message,2); %Width
message_vector=round(reshape(message,Mm*Nm,1)./2);
我收到此错误
??? Error using ==> reshape
TO RESHAPE the number of elements must not change.
Error in ==>dwt at 31 message_vector=round(reshape(message,Mm*Nm,1)./2);
我究竟做错了什么?