Look at this ITK example<br>Examples/Filtering/ResampleVolumesToBeIsotropic.cxx<br><br><br><div class="gmail_quote">On Mon, Aug 8, 2011 at 2:43 PM, Anja Ende <span dir="ltr">&lt;<a href="mailto:anja.ende@googlemail.com">anja.ende@googlemail.com</a>&gt;</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;">Hello everyone,<br>
<br>
I have a nifti image and I want to resample it, so as to have<br>
isotropic pixel size. Could someone tell me what would be the best way<br>
to do that using itk and generate the resampled nifti image?<br>
<br>
I looked at the ResampleImageFilter but it is not clear to me how I<br>
can specify the voxel size.<br>
<br>
So, basically I have an image with 0.5x0.5x1.25 mm voxel size and I<br>
would like to resample it to 0.5x0.5x0.5 mm.<br>
<br>
Cheers,<br>
<br>
Anja<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>
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>
</blockquote></div><br>