[−][src]Function trk_io::orientation::inverse_orientations_affine
pub fn inverse_orientations_affine(
orientations: &Orientations,
dim: [i16; 3]
) -> Affine4
Affine transform reversing transforms implied in orientations
Imagine you have an array arr
of shape shape
, and you apply the
transforms implied by orientations
, to get tarr
. tarr
may have a
different shape shape_prime
. This routine returns the affine that will
take an array coordinate for tarr
and give you the corresponding array
coordinate in arr
.