[MINC-users] Save Register transform

Simon Eskildsen eskild at gmail.com
Fri Jun 21 03:58:36 EDT 2019


First you need to decide the transformation type. You select that by
hitting the 'Transform Type' button on the left hand panel in register.
After you have selected the type, say 3 translations, 3 rotations, and 1
scale parameter, you can save the transformation matrix using the button
'Save Transform' in the panel on the left. If you type in a filename in the
field just below and hit the save button, the transformation is saved as an
xfm file with that name.
Now you can transform and resample your image using the saved
transformation. You can do that using mincresample or itk_resample. Their
syntax is very similar, the main difference being that they offer different
ways for interpolation. For example, this performs transformation and
trilinear interpolation:

mincresample -like image2.mnc -transformation image1toimage2.xfm -trilinear
image1.mnc image1_transformed.mnc

The -like option provides the resampling parameters using a model. I.e. the
sampling of the transformed image1.mnc becomes the same as image2.mnc

See mincresample -help or itk_resample --help for more options.

Hope this helps.

- Simon


On Fri, Jun 21, 2019 at 7:46 AM Antoinette Deborah Martin <
ekuama at kaist.ac.kr> wrote:

> I have two images in .mnc form and a tag file.
> I used register image1.minc image2.mic landmarks.tag to view the two images
> and the transformed image.
> I will like to save the transformed image.
> Please, how do I do this?
>
> Thank you for your help in advance.
>
> Regards.
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list