[vtkusers] Problem with upside down image (itk-vtk)

Darshan Pai darshanpai at gmail.com
Fri Sep 28 23:43:19 EDT 2012


You can try the vtkImageFlip to flip the image.

On Fri, Sep 28, 2012 at 5:40 PM, pododdhoni <pododdhoni at gmail.com> wrote:

> I am new in itk and vtk. I have built itk4.2 and vtk5.8. I successfully run
> the example cod given in "Getting started itk+vtk II". ButI am having
> problem with upside down image. When I give input in the command prompt
> "myProject.exe tux.png" it gives the* output upside down*. I have searched
> internet for a solution. I found that itk uses upperleft corner as the
> origin of the image and vtk uses lower left. That is why the image is
> upside
> down. Also tried using FileLowerLeftOn() and ImageFlip. But nothing worked
> for me.
>
> Can anyone please help me. Thanks in advance.
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Problem-with-upside-down-image-itk-vtk-tp5716361.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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/20120928/792cf95b/attachment.htm>


More information about the vtkusers mailing list