Extract centerline

Can anyone tell me the basic algorithm used to extract the centerline?

As a side note, I heard a rumour that the current implementation does not properly handle noncubic voxels (ie voxels whose length, width and height are not all equal).

Thanks

dan

This would be doubtful, centerline extraction requires a surface model, either an MRML segmentation node or an MRML model node, not a volume node (completely unrelated).

You can start from a volume node but you need to segment it. In case the structure of interest has a distinct intensity range then you can easily segment it out using simple thresholding. You can use this segmentation as input for centerline extraction.

If voxels are not cubic then that does not impact centerline extraction specifically, but it is not ideal, because it means that you have less details about the geometry along certain axes. If due to this limited resolution the diameter may be reduced to 1-2 voxels then it makes sense to oversample the volume before segmentation.

Understood. Thanks (again) Andras for explaining the situation.

dan