7.1.54. 3dCMΒΆ

Link to classic view

Usage: 3dCM [options] dset Output = center of mass of dataset, to stdout.

-mask mset Means to use the dataset ‘mset’ as a mask:
Only voxels with nonzero values in ‘mset’ will be averaged from ‘dataset’. Note that the mask dataset and the input dataset must have the same number of voxels.
-automask Generate the mask automatically.
-set x y z After computing the CM of the dataset, set the
origin fields in the header so that the CM will be at (x,y,z) in DICOM coords.
-roi_vals\ v0 v1 v2 ... : Compute center of mass for each blob
with voxel value of v0, v1, v2, etc. This option is handy for getting ROI centers of mass.
-all_rois Don’t bother listing the values of ROIs you want
the program will find all of them and produce a full list.

NOTE: Masking options are ignored with -roi_vals and -all_rois

++ Compile date = Dec 16 2015

Table Of Contents

This Page