List of my modules...
Module: Distance_Map
Description:
Assigns as greylevel to each pixel of the object the distance to the closest point of the background.
Left image: object; right image: distance map. These are cross-sections of 3D images.
Connections:
Image
[required]
The input image comes in through this port. For now, the only input type that has been implemented is HxUniformScalarField3.
Ports:
Distance

The type of norm used, not only Euclidean.
Threshold

Threshold used for defining the pixels of the object.
Comparison

Comparison function used for defining the pixels of the object.
X boundary condition

Boundary conditions for the X-planes.
Y boundary condition

Boundary conditions for the Y-planes.
Z boundary condition

Boundary conditions for the Z-planes.
Type

Type of the output data. Be careful for truncation.
Options

For Euclidean distance computation, the module begins by computing the square of the distance, so you have the option to not perform the square root.
With 1 or 2-byte output data types, there is the possibility of the computation to truncate upper values
Compute

Push this button to compute.
Commands:
Additional options can be accessed when typing in the console Distance_Map COMMAND_NAME. Typing the command again usually reverts back to original settings.
verbose
Displays timing information after the computation. Retype to hide info.
create
Runs the computation. Returns the name of the output, so it can be used in a script, such as set RESULT [Distance_Map create].