2009-05-27, 21:52
|
#2
|
高级会员
注册日期: 2008-09-14
年龄: 43
帖子: 351
声望力: 24
|
回复: 请各位高手指点错误
引用:
作者: z8z88
I=imread('12.bmp');
figure(1);imshow(I);
I=double(I);
J=floor(I/32);J1=floor(J/4);J2=rem(floor(J/2),2);J3=rem(J,2);
POut(:,:,1)=J1;POut(:,:,2)=J2;POut(:,:,3)=J3;
figure(2);imshow(POut);
我运行上面的程序时出现下列错误,不知道是为什么?
??? Subscripted assignment dimension mismatch.
Error in ==> Untitled6 at 5
POut(:,:,1)=J1;POut(:,:,2)=J2;POut(:,:,3)=J3;
|
矩阵付值不正确 '
__________________
qq604443022
|
|
|