Label statistics
Given an input volume and a label mask, generate a table of statistics for each label in the label mask.
CLI
To get more information about the workflow and its required arguments use the following command on the CLI:
$ miracl stats lbls_stats -h
Main Inputs
Input volume and registered Allen labels.
Arguments
lbls_stats requires at least two input arguments:
Flags |
Type |
Description |
Default |
|---|---|---|---|
-i, --invol |
|
Input volume |
Required |
-l, --lbls |
|
Registered Allen lbls |
Required |
The rest of the arguments are optional:
Flags |
Type |
Description |
Default |
|---|---|---|---|
-o, --outfile |
|
Output file name |
|
-s, --sort |
|
Sort values by, options are:
Mean -> mean intensity values Count -> number of voxels |
|
-m, --hemi |
|
Labels hemi, options are:
|
|
-d, --depth |
|
Labels depth |
|
-r, --ratio |
|
Tractography (.trk) file used to generate tract ratio |
|
Main Outpus
csv file containing the label statistics per brain region (default: clarity_label_statistics.csv).