Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2008-10-20
年龄: 37
帖子: 1
声望力: 0 ![]() |
![]()
最近刚开始学习Matlab 根据例题以及程序自带的图片进行处理时没有任何问题。但是使用我自己的图片时,就会出现很多问题(首先我和例题给的格式是一样的):
I=imread('w.tif'); J=uint8(filter2(fspecial('gaussian'),I)); ??? Function 'conv2' is not defined for values of class 'double' and attributes 'full 3d real'. Error in ==> filter2 at 73 y = conv2(hcol, hrow, x, shape); 是不是由于我使用的图片的数据是Double类型的 不能符合 filter2 的函数 如何进行修改?谢谢了 |
![]() |
![]() |