www.gusucode.com > images 案例代码 matlab源码程序 > images/ComputeMeanFilterInMRIVolumeExample.m

    %% Compute Mean Filter in MRI Volume
% 
%%
% Load 3-D image data into the workspace.

% Copyright 2015 The MathWorks, Inc.

volData = load('mri');
vol = squeeze(volData.D);
%%
% Filter the image with a 3-D box filter.
localMean = imboxfilt3(vol,[5 5 3]);