Python package to find vessel or tube centerlines

ITKv5 can now wrap any user-developed module into a pip-installable package that has an intuitive, pythonic interface.

A great example is the MinimalPathExtraction module that is featured in this post.

To find centerline paths in 2D or 3D vessel or tube structures in any imaging modality, install the package with:

python -m pip install itk-minimalpathextraction

This package provides the new Pythonic interface available in ITK 5, and can be used together with the ITK Python package.

Given start and end points, this algorithm finds the a minimal path defined a Fast Marching arrival function based on the image contents.

Centerline path extracted from a vessel. From “Fast Marching Minimal Path Extraction in ITK”, Mueller D., The Insight Journal – 2008 January – June.

For more information, please see the corresponding Insight Journal article, source code repository, and Doxygen documentation.

Spread the word, and contribute to the community building your ITK module’s Python packages using the ITK Module Template project, and make them available in the Python Package Index (PyPI) !

Enjoy ITK!

Leave a Reply