Hello,
I am running mri_segstats to get the intensity mean of a custom image volume, but I do not want zeroes to be included in the calculation of the mean. Is there an option to remove zeroes from this calculation or another potential workaround?
Thanks very much! Bimal
You can include a mask, eg mri_segstats --i input.nii.gz --mask input.nii.gz --maskthresh .00000001
On 6/10/16 11:59 AM, Lakhani, Bimal wrote:
Hello,
I am running mri_segstats to get the intensity mean of a custom image volume, but I do not want zeroes to be included in the calculation of the mean. Is there an option to remove zeroes from this calculation or another potential workaround?
Thanks very much! Bimal
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu