AimsRoiFeatures: Compute scalar features (mean, volume ...) from regions of interest.

HELP: command help for AimsRoiFeatures

DATA: data_for_anatomist/objects/roi/anat_demo_roi.ima and AimsRoiFeatures/masque_thalamus_gauche.ima

Here is an example using a binary mask (so all voxels are set to 1, in other words there is a label called 1) and a volume:

prompt% AimsRoiFeatures -i masque_thalamus_gauche.ima --imageStatistics 1:anat_demo_roi.ima -o roi_features.txt
prompt% more features.txt
attributes = {
'format': 'features_1.0',
'content_type': 'roi_features',
'1': {
'point_count': 6502,
'volume': 6857.58,
'1': {
'mean': 48.797,
'stddev': 8.32696,
'min': 21.0003,
'max': 69.9999,
'median': 50,
},
},
}