You can also get a list of the unique output values in a table
3dRank -prefix testrank -input myatlas_or_roi_dset.nii.gz
or
3dmerge -1rank -prefix testrankmerge myatlas_or_roi_dset.nii.gz
cat testrank.rankmap.1D
#Rank Map (361 unique values)
#Col. 0: Rank
#Col. 1: Input Dset Value
0 0
1 1
2 2
3 3
4 4
...
360 1180
You can also loop in a script across individual values in the range from min to max and count the number of voxels with 3dBrickStat.
Edited 1 time(s). Last edit at 10/20/2022 03:28PM by Daniel Glen.