You can use:
fslmaths original.nii -kernel gauss 2.1233226 -fmean smoothed.nii
The gaussian kernel takes its argument as sigma in mm instead of the FWHM, but
you can see how to convert between these two values here:
http://mathworld.wolfram.com/GaussianFunction.html
Basically, divide your FWHM (in mm) by 2.3548 to get sigma.
On Monday, October 31, 2011 16:32:33 you wrote:
> Hello FSL,
>
> We are looking to apply spacial smoothing (5mm) to a 3D image. Is there a
> specific command to do this? Or do we use a flag, if so what would this be
> and with what command. I'm thinking we would use FWHM and possibly with
> fslmaths, but I could like to confirm and know the specifics.
>
> And could someone tell me is it/ when would be appropriate to use smoothing
> via a Gaussian Kernal? (fslmaths <3Dimage> -kernel gauss 5)?
>
> Thanks for your help!
>
>
> Sandra
>
>
> The information in this e-mail is intended only for the person to whom it
> is addressed. If you believe this e-mail was sent to you in error and the
> e-mail contains patient information, please contact the Partners
> Compliance HelpLine at http://www.partners.org/complianceline . If the
> e-mail was sent to you in error but does not contain patient information,
> please contact the sender and properly dispose of the e-mail.
|