[MINC-users] Z-axis flipping or rotation

Jason Lerch jason at bic.mni.mcgill.ca
Thu Mar 23 13:31:39 EST 2006


I think the combination of param2xfm and mincresample is actually what 
you want. Run something like the following:

param2xfm -rotation 0 0 180 rotation.xfm
mincresample -tfm_input_sampling file.mnc -transform rotation.xfm output.mnc

You'll have to experiment with getting the right rotations for your case.

Jason

tpb1 at ualberta.ca wrote:

>I have a brain that is upside down and I need to orient it properly.  I 
>looked in conglomerate and minctools, and it looks like mincreshape 
>should do the trick, but when I try:
>mincreshape +zdirection p3.mnc p3_zflip.mnc, the following prints out:
>Copying 
>chunks:................................................................. 
>...............................................................Done.
>
>But the output file is not changed at all.  What am I doing wrong?
>
>Thanks,
>Thomas
>
>_______________________________________________
>MINC-users at bic.mni.mcgill.ca
>http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>  
>



More information about the MINC-users mailing list