<a href="http://www.itk.org/Doxygen/html/classitk_1_1ResampleImageFilter.html">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">On Thu, Mar 22, 2012 at 13:16, Hila Hiler <span dir="ltr">&lt;<a href="mailto:hilahiler@gmail.com">hilahiler@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<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>_____________________________________<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>