Hi,
I have an Analyze image in world coordinates with origin (-100, -164, 106),
Avwhd shows these values too. This image is in (right, posterior, inferior)
coordinate system. I have instruction on how to build the matrix to transform
this image into (left, posterior, superior) coordinates. The matrix looks as
follows:
-1 0 0 -99.618134
0 1 0 -164.396378
0 0 -1 -110.499744
0 0 0 1
However, running
flirt -in Stack.hdr -applyxfm -init sp_T_op.mat -out Stack_sp.hdr -paddingsize
0.0 -interp trilinear -ref Stack.hdr
maps all the pixels outside the image, as it is blank. Assuming that the
instructions on how to create the matrix are correct, is there something else
I should keep in mind and do before applying the matrix using flirt?
Thanks.
Martin
|