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

📄 avw_smooth.m

📁 mri_toolbox是一个工具用来MRI. 来自于SourceForge, 我上传这个软件,希望能结识对医疗软件感兴趣的兄弟.
💻 M
字号:
function avw = avw_smooth(avw,fwhm)

% avw_smooth - Guassian smoothing
%
% Usage: avw = avw_smooth(avw,fwhm)
%
% avw is the Analyze struct returned by avw_read
% fwhm is an integer indicating the voxels to convolve with the Gaussian kernel
% (default = 3, a 3x3x3 convolution)
%

if ~exist('fwhm','var'), fwhm = 3; end
if isempty(fwhm), fwhm = 3; end

fprintf('...gaussian smoothing...'); tic;

avw.img = smooth3(avw.img,'gaussian',fwhm);

t = toc; fprintf('done (%5.2f sec)\n',t);

return

⌨️ 快捷键说明

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