The spacing is used for both input and output.<br><br><div class="gmail_quote">On Sun, Apr 10, 2011 at 12:44 PM, Francis Girard <span dir="ltr"><<a href="mailto:francis.girard07@gmail.com">francis.girard07@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"><div>
Thank you very much,</div><div><br></div><div>I see that the transform is set to identity. Nonetheless I guess there is a resize transform simply by specifying the output size with the resampler SetSize method.</div>
<div><br></div><div>Interpolation will be executed as specified by the SetInterpolator method. So I just have to put the BSplineInterpolateImageFunction there.</div><div><br></div><div>I don't think that spacing (input or output) is used for the rescale by the resampler. It just stays at the level of meta information. Right ?</div>
<div><br></div><div>That helped very much, thank you</div><div><br></div><font color="#888888"><div>Francis Girard</div></font></span><br></div><div class="gmail_quote"><div class="im">2011/4/10 Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span><br>
</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Here is an example that resamples a dicom study:<br><a href="http://itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM" target="_blank">http://itk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM</a><br>
<br><br><div class="gmail_quote"><div><div></div><div>On Sun, Apr 10, 2011 at 12:05 PM, Francis Girard <span dir="ltr"><<a href="mailto:francis.girard07@gmail.com" target="_blank">francis.girard07@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div>Hi,<div><br></div><div>I would like to enlarge an image using a bicubic interpolation. I'm not sure how. Yes I am a beginner.</div>
<div><br></div><div>I see there is the InterpolateImagePointsFilter filter but the usage of the method SetInterpolationCoordinate which takes a complete itk::Image with special parameters types seems very strange to me.</div>
<div><br></div><div>I also see there is the ResampleImageFilter. But I am a bit loss with all you can do with this when looking at the manual.</div><div><br></div><div>And there is also the world/physical coordinates spaces.</div>
<div><br></div><div>So between all this I am bit loss. What is the simplest way to enlarge and interpolate an image in ITK? Is there an example somewhere showing _just_ this?</div><div><br></div><div>Thank you very much</div>
<div><br></div><font color="#888888"><div>Francis Girard</div><div><br></div>
</font><br></div></div>_____________________________________<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>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</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_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>
</blockquote></div></div></div><br>
</blockquote></div><br>