Skip to main content

MaskComparisonResult

Other

Results from mask comparison (overlap statistics).

Import​

import ScriptingApi as api

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

Properties​

source_mask_name​

Name of the source mask object.

Type: str


target_mask_name​

Name of the target mask object.

Type: str


dice_coefficient​

Overall Dice coefficient.

Type: float


false_negative​

Overall false negative error rate.

Type: float


false_positive​

Overall false positive error rate.

Type: float


volume_similarity​

Overall volume similarity measure.

Type: float


label_statistics​

A list of api.MaskComparisonLabelStatistics() - Per-label comparison statistics. Use api.MaskComparisonLabelStatistics()

Type: list


See Also​