MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB基础] 图像尺寸 (https://www.labfans.com/bbs/showthread.php?t=8392)

biyesheji123 2009-05-16 12:52

图像尺寸
 
[height,width]=size(I);
Size=height*width;
这样为什么得不到图像I的尺寸Size
报错为:??? Indexing can't yield multiple results.

Error in ==> lr4 at 9
[height,width]=size(I);
恳请高手指点!!!

yhcode 2009-05-16 13:37

回复: 图像尺寸
 
我试过了,这样是可以的,没有出错呀

biyesheji123 2009-05-16 13:57

回复: 图像尺寸
 
谢谢,多谢
指导!!!

未注册 2010-09-11 11:19

回复: 图像尺寸
 
看你的I是怎么得到的?


所有时间均为北京时间。现在的时间是 04:44

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.