[Insight-users] How to set sizes of images

Dženan Zukić dzenanz at gmail.com
Thu Mar 22 09:40:56 EDT 2012


http://www.itk.org/Doxygen/html/classitk_1_1ResampleImageFilter.html
use identity transform, and at least linear interpolation (better cubic or
windowed sinc)

On Thu, Mar 22, 2012 at 13:16, Hila Hiler <hilahiler at gmail.com> wrote:

> Hi all,
>
> 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.
> 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
>
> so I'd like the image size to be changed from im1[dim1] => im1[dim2]
>
> How I should do that?
>
> Thanks in advance!
>
>
> Best,
> Hila
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120322/5e7549ac/attachment.htm>


More information about the Insight-users mailing list