List of my modules...

Module: Grayscale_Topology

Description:

Computes the upper or lower homotopic kernel or levelling of the image. For more explanations, see:
G. Bertrand, J. C. Everat and M. Couprie, Image segmentation through operators based upon topology, Journal of Electronic Imaging, Vol. 6, N. 4, 395-405, 1997.

Left: Input image. Right: Upper homotopic kernel.

NOTES :

Connections:

Image

[required]
The input image comes in through this port. For now, the only input type that has been implemented is HxUniformScalarField3.

Ports:

Operation


Choice between a kernel or levelling operation. I hope to one day add in the regularization and reconstruction transformations...

Type


For a lowering type, all destructible points (and peaks for the levelling) are lowered. For the other, all constructible points (and valleys) are raised.

Connectivity


Choice of the neighbourhood.

Illustration of the different connectivities. (a): 6-, (b): 18-, and (c): 26-connectivity (in case you didn't figure it out, n-connectivity means n pixels in the neighbourhood).

Action button


Push the button to start the computation.

Commands:

Additional options can be accessed when typing in the console Grayscale_Topology 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 [Grayscale_Topology create].