[Insight-users] vtkVRMLImporter : How to convert vtkImageData to itk::Image

Luis Ibanez luis.ibanez at kitware.com
Fri Apr 20 12:33:52 EDT 2007


Hi Martijn,

Please read the Tutorials:

    http://www.itk.org/HTML/Tutorials.htm

In particular the session:

" Getting Started II: Using ITK with VTK."
http://www.itk.org/CourseWare/Training/GettingStarted-II.pdf


It will show you how to convert VTK images into ITK.

You will find examples of this use in the Application

    InsightApplications/LiverTumorSegmentation


The files:

    itkImageToVTKImageFilter
    itkVTKImageToImageFilter

are available at


     InsightApplications/Auxiliary/vtk


You may also want to look at the following paper
in the Insight Journal:


    "Seamless VTK-ITK pipeline connection for image data handling"
     http://hdl.handle.net/1926/495



    Regards,


       Luis


--------------------------------
Martijn van der Bom wrote:
> Hi All,
> 
>  
> 
> I’m trying to import .wrl (CAD) data using the vtkVRMLImporter and 
> eventually convert it into an ITK scalar imagetype.
> 
> But I’m having problems with the usage of the vtk-importer, since it 
> doesn’t have a GetOuput-function.
> 
>  
> 
> Does anybody have some example code how to use this class?
> 
>  
> 
> Thanks,
> 
>  
> 
> Martijn van der Bom
> 
> Image Sciences Institute
> 
> University Medical Centre Utrecht
> 
> Heidelberglaan 100, 3584 CX Utrecht, The Netherlands
> 
> phone: +31 (0)30 250 6711, In house pager: 1632
> fax: +31 (0)30 251 3399
> 
> martijn at isi.uu.nl <mailto:martijn at isi.uu.nl>, ht 
> <http://www.isi.uu.nl/People/?martijn>tp://www.isi.uu.nl/People/?martijn 
> <http://www.isi.uu.nl/People/Martijn>
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list