'''Index''' <> = Name = mri_segstats = Description = This program will compute statistics on segmented volumes. In its simplest invocation, it will report on the number of voxels and volume in each segmentation. However, it can also compute statistics on the segmentation based on the values from another volume. This includes computing waveforms averaged inside each segmentation. = Synopsis = mri_segstats --seg --annot --slabel --sum = Arguments = == Required Flagged Arguments == || --seg segvol || input segmentation volume || || --annot subject hemi parc || create a segmentation from hemi.parc.annot || || --slabel subject hemi label || create a segmentation from a given surface label. The points in the label are given a value of 1; 0 for outside || || --sum file || ASCII file in which summary statistics are saved || == Optional Flagged Arguments == || --pv pvvol || Use pvvol to compenstate for partial voluming. This should result in more accurate volumes. Usually, this is only done when computing anatomical statistics. Usually the mri/norm.mgz volume is used. Not with --annot|| || --i invol || Input volume from which to compute more statistics, including min, max, range, average, and standard deviation as measured spatially across each segmentation. The input volume must be the same size and dimension as the segmentation volume.|| || --seg-erode Nerodes || Erode segmentation boundaries by Nerodes|| || --frame frame || Report statistics of the input volume at the 0-based frame number. Frame is 0 by default. || || --robust percent || Compute statistics after excluding percent from high and low values (volume reported is still full volume) || || --sqr || Compute the square of the input prior to computing statistics || || --sqrt || Compute the square root of the input prior to computing statistics || || --mul val || Multiply input by value || || --div val || Divide input by value || || --snr || Save mean/std as extra column in output table || || --abs || Compute absolute value of input before spatial average || || --accumulate || Save mean*nvoxels instead of the mean || || --ctab ctabfile || Freesurfer color table file. Thi s the file used by !FreeSurfer to specify how each segmentation index is mapped to a segmentation name and color. The ctab can be used to specify the segmentation to report on or simply to supply human-readable names to segmentations chosen with --id. || || --ctab-default || Same as --ctab || || --ctab-gca gcafile || Get color table from the given GCA file. Eg, $FREESURFER_HOME/average/RB_all_YYYY-MM-DD.gca This can be convenient when the seg file is that produced by mri_ca_label (ie, aseg.mgz) as it will only report on those segmentations that were actually considered during mri_ca_label. Note that there can still be some labels do not have any voxels in the report. || || --id segid