![]() |
请各位高手指点错误
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; |
回复: 请各位高手指点错误
[QUOTE=z8z88;28657]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;[/QUOTE] 矩阵付值不正确 ' |
所有时间均为北京时间。现在的时间是 11:30。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.