[Insight-users] How to set sizes of images

Dženan Zukić dzenanz at gmail.com
Thu Mar 22 11:44:06 EDT 2012


Well, aligning is called "registration", read its chapter in itk software
guide:
http://www.itk.org/ItkSoftwareGuide

2012/3/22 Hila Hiler <hilahiler at gmail.com>

> Thank you Dzenan,
>
> 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.
>
>
> The details are attached.
> please help to figure this up ...
>
>
>
> 2012/3/22 Dženan Zukić <dzenanz at gmail.com>
>
>> 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/669d6fdb/attachment.htm>


More information about the Insight-users mailing list