[Insight-users] Connet ITK with VTK

Paulo Henrique Junqueira Amorim paulojamorim at gmail.com
Mon May 26 15:49:13 EDT 2008


Hi Luis,

Sorry to be writing again.

ConnectVTKITK not generating is not created with the ITK_WRAP (Python
wrapper), only with Swig is generating.

import itk
import vtk

read = itk.ImageFileReader.IUS3.New(FileName = "C:\\Dicom\\A0006.dcm")
read.Update()

export = itk.VTKImageExport.IUS3.New()
export.SetInput(a.GetOutput())
export.Update()

And proceed?

Take the output of itk in vtkImageData?


Tried but not the right.

viewe = vtk.vtkImageViewer()
viewe.SetInput(export.GetOutputs())
viewe.Render()

We have looked at that example that is in "..\ InsightApplications-3.6.0 \
vtkITK"  vtkITK but not understood by example.


I am Attached (itk_class.txt) is the classes are in my wrapper.


Best Regards,
Paulo Amorim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080526/2368df1a/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: itk_class.txt
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080526/2368df1a/attachment.txt>


More information about the Insight-users mailing list