You can try the vtkImageFlip to flip the image. <br><br><div class="gmail_quote">On Fri, Sep 28, 2012 at 5:40 PM, pododdhoni <span dir="ltr">&lt;<a href="mailto:pododdhoni@gmail.com" target="_blank">pododdhoni@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am new in itk and vtk. I have built itk4.2 and vtk5.8. I successfully run<br>
the example cod given in &quot;Getting started itk+vtk II&quot;. ButI am having<br>
problem with upside down image. When I give input in the command prompt<br>
&quot;myProject.exe tux.png&quot; it gives the* output upside down*. I have searched<br>
internet for a solution. I found that itk uses upperleft corner as the<br>
origin of the image and vtk uses lower left. That is why the image is upside<br>
down. Also tried using FileLowerLeftOn() and ImageFlip. But nothing worked<br>
for me.<br>
<br>
Can anyone please help me. Thanks in advance.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Problem-with-upside-down-image-itk-vtk-tp5716361.html" target="_blank">http://vtk.1045678.n5.nabble.com/Problem-with-upside-down-image-itk-vtk-tp5716361.html</a><br>

Sent from the VTK - Users mailing list archive at Nabble.com.<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>
</blockquote></div><br>