List of my modules...

Module: Skeleton Image To Graph

Description:

Converts a skeleton to a graph structure called HxSkeleton.

Left: Initial skeleton. Right: resulting graph structure (drawn with Draw_Skeleton ).

Connections:

Image

[required]
The input image, of type HxUniformScalarField3 comes in through this port.

Ports:

Threshold


Used to define, along with the comparison operator, which pixels are in the skeleton.

Comparison


Used to define how the threshold value is used for defining the skeleton.

Connectivity


Specifies the connectivity, either 6- or 18- or 26-connectivity.

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

Boundary_condition


Defines whether branches on the left side are connected to the right side.

Action button


Push the button to start the computation.

Commands:

Additional options can be accessed when typing in the console Skeleton_Image_To_Graph COMMAND_NAME. Typing the command again usually reverts back to original settings.

verbose

Displays timing and other 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 [Skeleton_Image_To_Graph create].