[MINC-users] am i using mincresample correctly
Andrew Janke
a.janke at gmail.com
Sun Aug 5 08:57:34 EDT 2012
Hi Jackie,
On 5 August 2012 10:44, Jackie Leung <jackie.leung at alumni.utoronto.ca> wrote:
> I'm new to MINC and I'm not sure if my coregistration process is correct.
>
> After getting the transform file from 'register', I apply it to my volumes
> (it's a 4D dataset) with the following command:
> mincresample -transformation matrix.xfm -tfm_input_sampling data.mnc
> data_reg.mnc
>
> when i view the output data using register, it looks the same as before.
> I'm I running the tool correctly? Or does it have something to do with the
> world coordinates vs voxel coordinates thing?
My guess is that you have actually done the right thing. Just remember
that register displays volumes in "voxel space" and
-tfm_input_sampling will in general just change the voxel to world
transform in a file. If you want to resample a file like another (the
target) you probably want this:
mincresample -transformation matrix.xfm -like target.mnc data.mnc
data_reg.mnc
An explanation of what is going on is here:
http://en.wikibooks.org/wiki/MINC/Tools/mni_autoreg
This is for minctracc, but the resampling section still applies.
a
More information about the MINC-users
mailing list