Re: [Freesurfer] 3d Gaussian filter on volume

2012-08-20 Thread Douglas N Greve
what do you mean compute a gaussian image? doug On 08/18/2012 05:01 PM, John Papaioannou wrote: Hi Doug, Will the following compute a gaussian image? mri_fwhm --smooth-only --fwhm 2 --i brainmask.mgz --o brainmasksmoothed.mgz Thank you in advance, John ___ JohnPapaioannou Medical

[Freesurfer] 3d Gaussian filter on volume

2012-08-13 Thread John Papaioannou
Hi, I can run a 3d Gaussian spacial filter on a T1.mgz image using matlab functions, but I was wondering if there isn't already a freesurfer script that does the same (with a FWHM input). John ___ John Papaioannou Medical Imaging Sciences Digital Mammography, CAD Mammography Department of

Re: [Freesurfer] 3d Gaussian filter on volume

2012-08-13 Thread Bruce Fischl
Hi John you can use mri_nlfilter to do this (although it will be slower than it needs to be since it is applying a nonlinear filter, but disabling the nonlinear component of it): mri_nlfilter -n -gaussian gaussian sigma input vol output vol cheers Bruce On Mon, 13 Aug 2012, John

Re: [Freesurfer] 3d Gaussian filter on volume

2012-08-13 Thread Douglas N Greve
Hi John, try mri_fwhm. This was designed to measure the FWHM, but you can use it to apply a given FWHM too. doug On 08/13/2012 10:09 AM, John Papaioannou wrote: Hi, I can run a 3d Gaussian spacial filter on a T1.mgz image using matlab functions, but I was wondering if there isn't already a