<div dir="ltr"><div>Thank you both, that's a start.<br><br></div>O.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 10:29 AM, Irina Vidal Migallon <span dir="ltr"><<a href="mailto:irina.vidal-migallon@inria.fr" target="_blank">irina.vidal-migallon@inria.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Oscar,<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Let's say I want to put the output on a reader into a GPUImage.<br>
<br>
I can't just say MyGPUImageType::Pointer image = reader->getOutput() because the output of a reader is NOT a GPU image.<br>
</blockquote>
<br>
<br></div>
If you've defined your reader as a GPUImage reader, as in:<br>
<br>
typedef itk::ImageFileReader< itk::GPUImage<MyType, 2> > GPUReaderType;<br>
<br>
you can do just that, as you would with any other type of image.<div class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Any info (or any pointer to any good info) is REALLY welcome :)<br>
<br>
</blockquote>
<br></div>
I found examples and tests in Modules/Filtering/GPU* and/or Modules/Core/GPUCommon rather helpful, they will probably get you started.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
<br>
I.</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
______________________________<u></u>_______<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/<u></u>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_<u></u>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/<u></u>mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>