主题
:
[求助对图像进行采样的程序请教
查看单个帖子
2008-05-04, 11:17
#
1
xuexizhe
初级会员
注册日期: 2008-04-03
年龄: 39
帖子: 7
声望力:
0
[求助对图像进行采样的程序请教
我相对一幅图像进行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'.
xuexizhe
查看公开信息
发送悄悄话给 xuexizhe
查找 xuexizhe 发表的更多帖子