Skip to main content

DynamicRegionGrowConnectivitySegmentationParams

Other

Parameters for dynamic region growing using connectivity method. The region grows based on statistical properties of the neighborhood.

Import

import ScriptingApi as api

# Create parameter instance
params = api.DynamicRegionGrowConnectivitySegmentationParams()

Properties

target_mask_name

Target mask name. If empty, a new mask will be created.

Type: str


seeds

List of seed points in world coordinates [x, y, z].

Type: list


multiplier

Multiplier to define the confidence interval for region growing.

Type: float


number_of_iterations

Number of iterations for region growing. Homogeneous regions need fewer iterations.

Type: int


initial_neighborhood_radius

Initial neighborhood radius in pixels around the seed point.

Type: int


fill_cavities

Fill cavities in the resulting mask.

Type: bool


multiple_layer

Apply region growing to all slices (3D). If False, only applies to specified slice.

Type: bool


slice_plane

Target slice plane index (0=YZ, 1=XZ, 2=XY). Only used when multipleLayer=False.

Type: int


slice_index

Slice index in the specified plane. Only used when multipleLayer=False.

Type: int


replace_result

Replace the target mask content. If False, merges with existing mask.

Type: bool


See Also