[vtkusers] Segment Import from itksnap

Scott Johnson Scott.Johnson at neuwave.com
Mon May 24 17:00:47 EDT 2010

It seems that my image origin is fine, but the exported segmentation
origin is not.  If the image origin was incorrect I would have expected
a different result in Paraview.


I'm just looking for something to shift the PolyData.  The issue is by
how much?  Right now I'm looking at shifting the vtkActor for the




                                -- Scott


From: Jothy [mailto:jothybasu at gmail.com] 
Sent: Monday, May 24, 2010 3:56 PM
To: Scott Johnson
Subject: Re: [vtkusers] Segment Import from itksnap


I think you should set the appropriate ImageOrigin.


On Mon, May 24, 2010 at 9:52 PM, Scott Johnson
<Scott.Johnson at neuwave.com> wrote:

Hi Folks,


I segmented a volume in itksnap, exported it to a VTK Mesh, and
attempted to import it into my VTK application using vtkPolyDataReader.
The shape seems to import correctly, but it is located outside my image
volume.  (To the left and down.)


I've tried converting the vtp file to an XML file and imported using
vtkXMLPolyDataReader, with the same result.  It's also the same if I
import to Paraview.


Is this the difference between the ITK and VTK coordinate systems?  If
so, is this only a translation issue?  What is the mathematical
relationship between the ITK and VTK coordinate systems?




                                -- Scott


Powered by www.kitware.com

Visit other Kitware open-source projects at

Please keep messages on-topic and check the VTK FAQ at:

Follow this link to subscribe/unsubscribe:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100524/b6769ba0/attachment.htm>

More information about the vtkusers mailing list