<div dir="ltr">I think you should set the appropriate ImageOrigin.<br><br>Jothy<br><br><div class="gmail_quote">On Mon, May 24, 2010 at 9:52 PM, Scott Johnson <span dir="ltr">&lt;<a href="mailto:Scott.Johnson@neuwave.com">Scott.Johnson@neuwave.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal">Hi Folks,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">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.)</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">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.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">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?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">                                --
Scott</p>

<p class="MsoNormal"> </p>

</div>

</div>


<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>