open-discussion > How to apply transformation matrix
Dec 3, 2013  05:12 PM | Marc Lalancette - Montreal Neurological Institute
How to apply transformation matrix
Hello,

I'm starting to use GIFTI in a tool I'm writing and I didn't find anywhere a description of how the transformation matrix is to be applied to point coordinates.  I assume it is meant to be like in NIFTI files, but I think it should be specified explicitly to avoid mistakes and thus incompatibilities between software.  So if p is a column vector of (x, y, z, 1), and T is the transformation matrix, is it meant to be applied as:
A) T * p
as I suspect, or
B) p' * T  
(p' being the transposed, row vector form of p) ?

Cheers,
Marc

Threaded View

TitleAuthorDate
How to apply transformation matrix
Marc Lalancette Dec 3, 2013
John Harwell Dec 3, 2013
Marc Lalancette Dec 3, 2013
John Harwell Dec 3, 2013
Marc Lalancette Dec 3, 2013
Richard Reynolds Dec 4, 2013
Richard Reynolds Dec 4, 2013
Marc Lalancette Dec 4, 2013