VoidInclusionFilteringParams
Filtering parameters for void/inclusion analysis. Controls geometric and size-based filtering of detected defects.
Import
import ScriptingApi as api
# Create parameter instance
params = api.VoidInclusionFilteringParams()
Properties
enable_geometric_filtering
Enable geometric (compactness and sphericity) filtering; when false, only size-based filters are applied. Default is true.
Type: bool
probability_threshold
Minimum probability (0.0-1.0) for defect acceptance; components below this are rejected. Default is 0.
Type: float
min_voxel_count
Reject components with fewer voxels than this (0 to disable). Default is 8.
Type: int
max_voxel_count
Reject components with more voxels than this (0 to disable, meaning unlimited). Default is 10000000.
Type: int
min_compactness
Minimum compactness allowed for a detected component.
Type: float
max_compactness
Maximum compactness allowed for a detected component.
Type: float
min_sphericity
Minimum sphericity allowed for a detected component.
Type: float
max_sphericity
Maximum sphericity allowed for a detected component.
Type: float
min_volume_fraction_percent
Minimum volume fraction percentage allowed for a detected component.
Type: float
max_volume_fraction_percent
Maximum volume fraction percentage allowed for a detected component.
Type: float
min_equivalent_diameter
Minimum equivalent diameter allowed for a detected component.
Type: float
max_equivalent_diameter
Maximum equivalent diameter allowed for a detected component.
Type: float
max_count
Maximum number of components to retain after filtering (0 = unlimited). Default is 10000.
Type: int