[vtkusers] Problem with upside down image (itk-vtk)
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
> 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:
> Sent from the VTK - Users mailing list archive at Nabble.com.
> 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...
More information about the vtkusers