How to Connect ITK and VTK Pipelines

Some things just go together well.


Mom and apple pie.


Bread and butter.


Cheese and wine.


And ITK and VTK.


What is better than just ITK and VTK?

ITK / VTK and Python!

The recent release of VTK 7.0.0 and ITK 4.9.0 now makes it possible to connect ITK / VTK pipelines in Python 3. The snippet below demonstates how easy it is to avoid code duplication and use the “best of breed” from each toolkit: visualization with VTK and image analysis with ITK.

For more information, including a downloadable version with code and data, see the full example.

3 Responses to How to Connect ITK and VTK Pipelines

  1. Matthieu Heitz says:

    Great article ! Illustrated, simple, to the point 🙂
    I might have a preference for the third combination though.

  2. Tiger Hu says:

    Many thanks to the authors. Yet, I noticed one question, is that there is no ImageToVTKImageFilter in itk library. What I found is
    but that is not quite the answer either. Is there any other possibilities to conver ITK images to VTK in python enviornment?

Questions or comments are always welcome!