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

📄 blur.m

📁 Nearest neighbors is a semi deconvolution algorithm. I m a newbie in matlab but I hope this helps so
💻 M
字号:
function j = blur(filename, sigma)%      Blur is a function that given an image as input, it will blur %      a copy of it using a gaussian function with parameters%      determined by the user - radius and sigma.%      %      BLUR('filename.xxx', radius, sigma);% if sigma < 1, radius = [2 2];else radius = [2*sigma 2*sigma];endfname = imread(filename);temp = fspecial('gaussian', radius, sigma);j = imfilter(imresize(fname, 0.35), temp, 'same', 'conv'); 

⌨️ 快捷键说明

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