PASTE v1.3.0
PASTE v1.3.0
stack_slices_pairwise()
and stack_slices_center()
now have the ability to return the rotation matrix by specifying input parameter matrix = True
.
Also added helper function apply_trsf()
to apply a transformation on spatial coordinates using rotation matrix.
Credit to leoguignard for the feature.