![]() |
为什么用conv2的时候提示出错?
??? Undefined function or method 'conv2' for input arguments of type 'double' and attributes 'full 3d real'.
程序如下: img = double((imread('Sample.jpg'))); x = [floor(-3.0*sigma+0.5):floor(3.0*sigma+0.5)]; G = exp(-x.^2/(2*sigma^2)); G = G/sum(sum(G)); D = -2*(x.*exp(-x.^2/(2*sigma^2)))/(sqrt(2*pi)*sigma^3); img1 = conv2(img,D,'same'); |
所有时间均为北京时间。现在的时间是 12:46。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.