Skip to main content

MaskStatisticsResult

Other

Results from mask statistics computation.

Import​

import ScriptingApi as api

# Access the class
# MaskStatisticsResult is available via api.MaskStatisticsResult

Properties​

mask_name​

Name of the mask object analyzed.

Type: str


volume_name​

Name of the volume object used for intensity statistics (empty if not used).

Type: str


label_statistics​

A list of api.MaskLabelStatistics() - Statistics for each label/region in the mask. Use api.MaskLabelStatistics()

Type: list


total_regions​

Total number of regions/labels.

Type: int


total_voxel_count​

Total voxel count across all regions.

Type: int


total_volume​

Total volume across all regions in cubic millimeters.

Type: float


See Also​