![]() |
[求助]图像处理
最近刚开始学习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 的函数 如何进行修改?谢谢了 |
回复: [求助]图像处理
是滤波的 数据格式 不是 double型的。要把你输入的数据转成double型的。你输入的图形是不是 彩色的?
|
所有时间均为北京时间。现在的时间是 05:15。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.