<br>Hi Hussein,<br><br>Please find attached an example that will take points from a list,<br>and use them to interpolate values from a 3D image.<br><br>If you actually convert this to a filter, it will be great is you<br>contribute it back to the Insight Journal :-)<br>
<a href="http://www.insight-journal.org/">http://www.insight-journal.org/</a><br><br><br> Thanks<br><br> Luis<br><br><br>----------------------------------------------------<br><div class="gmail_quote">On Mon, Feb 9, 2009 at 2:28 PM, Hussein Sharafeddin <span dir="ltr"><<a href="mailto:sharah@rpi.edu">sharah@rpi.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<a href="http://www.itk.org/Doxygen/html/classitk_1_1InterpolateImagePointsFilter.html" target="_blank">Hi
all,</a><br>
this is my first email here.<br>
I need an example on how to use<br>
<a href="http://www.itk.org/Doxygen/html/classitk_1_1InterpolateImagePointsFilter.html" target="_blank">InterpolateImagePointsFilter</a><br>
I am trying to use an equivalent of matlab's<br>
interp3(img, xcoords, ycoords, zcoords, 'method')<br>
So img would be a 3D image, and each of [xyz]coords<br>
is a list of floating point coordinate values. The output<br>
should be the grayscale intensity values in the image.<br>
Thanks<br>
<br>
</div>
<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<br>
<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 ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>