⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaussianblur.m

📁 snake 源代码! 源代码!! 很好的东西哦!
💻 M
字号:
function GI = gaussianBlur(I,s)
% GAUSSIANBLUR blur the image with a gaussian kernel
%     GI = gaussianBlur(I,s) 
%     I is the image, s is the standard deviation of the gaussian
%     kernel, and GI is the gaussian blurred image.

%    Chenyang Xu and Jerry L. Prince 6/17/97
%    Copyright (c) 1996-97 by Chenyang Xu and Jerry L. Prince

M = gaussianMask(1,s);
M = M/sum(sum(M));   % normalize the gaussian mask so that the sum is
                     % equal to 1
GI = xconv2(I,M);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -