Purpose

The module Sprawl2D generates a mask image where points are connected by a similar value.

2D sprawling of a given object based on a reference image: Around each object voxel a 2D area defined by the kernel size is searched for connected points - either other object voxels or voxels of the reference image above a given image value. For each such point identified, the given object is extended along a straight path to these points. Calculations are repeated iteratively until a stable result is achieved.

Windows

Default Panel

../../../Modules/ML/MLBeam/mhelp/Images/Screenshots/Sprawl2D._default.png

Input Fields

Both input images must have the same size.

input0

name: input0, type: Image

Object mask image.

input1

name: input1, type: Image

Reference image

Output Fields

output0

name: output0, type: Image

The extended object mask, calculations are performed only on x/y slices.

Parameter Fields

Field Index

Base Level: Double
Boundary Level: Double
Boundary Mode: Enum
Kernel X: Integer
Kernel Y: Integer

Visible Fields

Kernel X

name: kernelX, type: Integer, default: 3, minimum: 1, maximum: 999, deprecated name: KernelX

Sets the X-extend of the rectangular area used for sprawling.

Kernel Y

name: kernelY, type: Integer, default: 3, minimum: 1, maximum: 999, deprecated name: KernelY

Sets the Y-extend of the rectangular area used for sprawling.

Boundary Mode

name: boundaryMode, type: Enum, default: GlobalThreshold, deprecated name: BoundaryMode

Defines the threshold of voxels in the reference image.

Values:

Title Name Description
Global Threshold GlobalThreshold All points with values above the Boundary Level are selected.
Local Threshold LocalThreshold

All points with values above

(Base Level + (Value of reference image at object-location) * Boundary Level)

Boundary Level

name: boundaryLevel, type: Double, default: 2, deprecated name: BoundaryLevel

Sets a value used in the calculation of the threshold chosen in Boundary Mode.

Base Level

name: baseLevel, type: Double, default: 0, deprecated name: BaseLevel

Sets a value used in the calculation of the threshold chosen in Boundary Mode.