MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助对图像进行采样的程序请教 (https://www.labfans.com/bbs/showthread.php?t=2793)

xuexizhe 2008-05-04 11:17

[求助对图像进行采样的程序请教
 
我相对一幅图像进行50%左右采样,我有一个程序,但运行时显示出错,请高手帮忙帮忙看一下:
I=imread ('trees.tif');
Y=uint8 (ceil (2*rand (size (I))-1)).*I;
显示错误为:??? Error using ==> .*
Function '.*' is not defined for values of class 'uint8'.


所有时间均为北京时间。现在的时间是 11:15

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