[vtkusers] Segment Import from itksnap

Jothy jothybasu at gmail.com
Mon May 24 17:19:32 EDT 2010


Will vtkTransformPolyDataFilter help? Of course, you should know the vector
to shift.

Jothy

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

>  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 PolyData.
>
>
>
> Thanks
>
>
>
>                                 -- Scott
>
>
>
> *From:* Jothy [mailto:jothybasu at gmail.com]
> *Sent:* Monday, May 24, 2010 3:56 PM
> *To:* Scott Johnson
> *Cc:* VTK
> *Subject:* Re: [vtkusers] Segment Import from itksnap
>
>
>
> I think you should set the appropriate ImageOrigin.
>
> Jothy
>
> 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?
>
>
>
> Thanks
>
>
>
>                                 -- Scott
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100524/c5b99093/attachment.htm>


More information about the vtkusers mailing list