Skip to main content

VoidInclusionResults

Other

Results from void/inclusion analysis. Contains detection results and aggregate statistics for all found defects.

Import

import ScriptingApi as api

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

Properties

result_mask_name

Name of the output mask that stores detected components.

Type: str


total_defects_found

Total number of detected components after filtering.

Type: int


total_defect_volume

Aggregate volume of all detected components.

Type: float


porosity

Porosity expressed as a fraction of the analyzed volume.

Type: float


min_defect_volume

Smallest detected component volume.

Type: float


max_defect_volume

Largest detected component volume.

Type: float


mean_defect_volume

Mean volume of the detected components.

Type: float


requested_statistics

Statistic names that were requested when computing component-level metrics.

Type: list


label_statistics

Per-label statistic values keyed by statistic type. A list of api.VoidInclusionLabelStatistics()

Type: list


descriptive_statistics

Descriptive statistics (min/max/mean/std) across all labels for each metric. A list of api.VoidInclusionDescriptiveStatistic()

Type: list


whole_mask_statistics

Whole-mask statistic values computed for each requested metric. A list of api.VoidInclusionWholeMaskStatistic()

Type: list


See Also