<div dir="ltr">Thank you Dzenan,<br><br>actually, I looked again at the image's details. It seems that the alignment process might be more complex than I thought because not just the dimension are different but also the spacing, origin etc.<br>
<br><br>The details are attached.<br>please help to figure this up ...<br><br><br><div class="gmail_quote">2012/3/22 Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="http://www.itk.org/Doxygen/html/classitk_1_1ResampleImageFilter.html" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1ResampleImageFilter.html</a> <div>
<font>use identity transform, and at least linear interpolation (better cubic or windowed sinc)<br>
</font><br><div class="gmail_quote"><div><div class="h5">On Thu, Mar 22, 2012 at 13:16, Hila Hiler <span dir="ltr"><<a href="mailto:hilahiler@gmail.com" target="_blank">hilahiler@gmail.com</a>></span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hi all,<br><br>I have two itk images in 3D which are alined to each other bit have a different size, and I'd like to set their dimensions to be equals.<br>the size of one of them is: dim1=[x y z ] and I'd like it to be as the other one size which is: dim2=[x+a y+b z-c] while a,b,c>0 <br>
<br>so I'd like the image size to be changed from im1[dim1] => im1[dim2]<br><br>How I should do that?<br><br>Thanks in advance!<br><br> <br>Best,<br>Hila<br><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div><div></div><div></div><div></div><div></div><div>
</div><div></div></div>
<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.php" target="_blank">http://www.kitware.com/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_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></div>
</blockquote></div><br><div style id="avg_ls_inline_popup"></div></div>