I've worked with Ipl images before , if I'm not wrong the easiest way to do that is writing directly the scalars from vtkImage to Iplimage. sure I'm missing some details but the this is the idea. Sorry I can't help you more.<div>
<br></div><div><br><br><div class="gmail_quote">2012/9/12 Ignacio Avellino <span dir="ltr"><<a href="mailto:ignacioavellino@gmail.com" target="_blank">ignacioavellino@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey all,<br>
<br>
Has anyone figured out how to convert a vtkImageData to an image I can work<br>
on OpenCv.<br>
Basically I render something on the screen and I want to apply some OpenCV<br>
algorithms to it.<br>
<br>
Thanks in advance :)<br>
<br>
Nacho<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/From-vtkImageData-to-Iplimage-OpenCV-tp5716020.html" target="_blank">http://vtk.1045678.n5.nabble.com/From-vtkImageData-to-Iplimage-OpenCV-tp5716020.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></div>