[Insight-users] Connect ITK with VTK : from Python Wrapping.

Luis Ibanez luis.ibanez at kitware.com
Fri May 23 16:34:04 EDT 2008



Hi Paulo,

I believe there is a way of connecting ITK and VTK through
the python wrapping of WrapITK, but I have not done it myself  :-/


Please look at:

    Insight/Wrapping/WrapITK/ExternalProjects/ItkVtkGlue



    Regards,


        Luis


----------------------------------------
Paulo Henrique Junqueira Amorim wrote:
> Hi Luiz,
> 
> I am using itk with python 3.6.0 (WRAP_ITK_PYTHON Option) and not have 
> these classes itkVTKImageExport, itkImageToVTKImageFilter and 
> itkVTKImageToImageFilter.
> 
> 
> Regards,
> Paulo
> 
> 
> 
> 2008/5/23 Luis Ibanez <luis.ibanez at kitware.com 
> <mailto:luis.ibanez at kitware.com>>:
> 
> 
>     Hi Paulo,
> 
> 
>        Yes,
>        You can use the itkVTKImageExport.
> 
> 
>     You will find examples under
> 
>       InsightApplications/Auxiliary/vtk/
> 
>     in particular:
> 
>         itkReadITKImage3DSegmentShowVTK.cxx
>         itkReadITKImageSegmentShowVTK.cxx
>         itkReadITKImageShowSplineVTK.cxx
>         itkReadITKImageShowVTK.cxx
> 
>     you will also find there two helper classes:
> 
>         itkImageToVTKImageFilter.h
>         itkVTKImageToImageFilter.h
> 
> 
>     You will find a description on the Tutorials
> 
>      http://www.itk.org/HTML/Tutorials.htm
> 
>     in particular in:
> 
>     "Getting Started II: Using ITK with VTK"
>     http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf
> 
> 
>     You may also find interesting the following
>     paper in the Insight Journal:
> 
>     http://insight-journal.org/midas/handle.php?handle=1926/495
> 
>     It provides ready-to-use modules that can read any
>     of the ITK fileformat and convert them to vtkImageData.
> 
> 
> 
>       Regards,
> 
> 
>           Luis
> 
> 
>     --------------------------------------
> 
>     Paulo Henrique Junqueira Amorim wrote:
> 
>         Hi,
> 
>         how do I export images of itk for vtk (vtkImageData) in the ITK 3.6?
>         It is with the itk.vtkImageExport, someone has some small example ?.
> 
>         Best Regards,
>         Paulo Amorim
> 
> 
>         ------------------------------------------------------------------------
> 
>         _______________________________________________
>         Insight-users mailing list
>         Insight-users at itk.org <mailto:Insight-users at itk.org>
>         http://www.itk.org/mailman/listinfo/insight-users
> 
> 


More information about the Insight-users mailing list