函数输入: - filter_size: 过滤器的大小- 西格玛:标准偏差函数输出: - 二维高斯滤波器矩阵在 3D 中绘制滤波器矩阵的示例: g1=Gaussian_filter(50,2); g2=Gaussian_filter(50,7); g3=Gaussian_filter(50,11); 图1); subplot(1,3,1);surf(g1);title('filter size = 50, sigma = 2'); subplot(1,3,2);surf(g2);title('filter size = 50, sigma = 7'); subplot(1,3,3);surf(g3);title('filter size = 50, sigma = 11');
2022-06-21 10:57:45
1KB
matlab
1