List of my modules...
Module: Relabel_Pixels
Description:
Given an image with the pixel greylevel corresponding to labels, relabels them such that the labels are all consecutives values starting at 1 (0 being the background).
NOTES :
- Internally the module assumes there are at most 232 different greylevels, but does not check. If there are, you're probably using it wrong.
Connections:
Image
[required]
The input image, a HxUniformScalarField3, comes in through this port.
Stat

Push this button to relabel.
Commands:
Additional options can be accessed when typing in the console Relabel_Pixels 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 [Relabel_Pixels create].