I see now that you can get the basics (min, max, mean, and std) for .mgz
volumes using mris_calc.

The great thing about 'fslstats' is that you can easily specify
thresholds to exclude voxels from the calculation, apply masks, and
limit the various calculations to the non-zero voxels if you wish.  So,
if you ever had the time or desire to emulate those features, that would
be handy.  Or, go the other route and simply change all of FS to work
with .nii's natively... :)

Until then, it obviously isn't that difficult to use mri_convert to
change the .mgz's into .nii's.

cheers,
-MH

 On Mon, 2012-01-30 at 11:55 -0500, Bruce Fischl wrote:
> I don't think so, but if you write out a list we can put them into 
> mri_info (at least the easy ones for now).
> 
> On Mon, 30 Jan 2012, Michael 
> Harms wrote:
> 
> >
> > Does FS have a generic binary for natively getting simple stats from mgz
> > files -- e.g., min, max, range, percentiles, etc?  i.e., something
> > analogous to 'fslstats', but which works directly on mgz files?
> >
> > thanks,
> > -MH
> >
> >
> _______________________________________________
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
> 
> 
> 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.

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to