<font><font face="verdana,sans-serif">Well, aligning is called &quot;registration&quot;, read its chapter in itk software guide:</font></font><div><a href="http://www.itk.org/ItkSoftwareGuide">http://www.itk.org/ItkSoftwareGuide</a> <font><font face="verdana,sans-serif"><br>

</font></font><br><div class="gmail_quote">2012/3/22 Hila Hiler <span dir="ltr">&lt;<a href="mailto:hilahiler@gmail.com">hilahiler@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Thank you Dzenan,<br><br>actually, I looked again at the image&#39;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 ...<div><div class="h5"><br><br><br><div class="gmail_quote">2012/3/22 Dženan Zukić <span dir="ltr">&lt;<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>&gt;</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>On Thu, Mar 22, 2012 at 13:16, Hila Hiler <span dir="ltr">&lt;<a href="mailto:hilahiler@gmail.com" target="_blank">hilahiler@gmail.com</a>&gt;</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>

<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&#39;d like to set their dimensions to be equals.<br>the size of one of them is: dim1=[x y z ] and I&#39;d like it to be as the other one size which is: dim2=[x+a y+b z-c] while a,b,c&gt;0 <br>





<br>so I&#39;d like the image size to be changed from im1[dim1] =&gt; 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></div></div></div></div>
</blockquote></div><br></div>