Module affine Copy item path Source AffineTransform a linear transform of an image represented by either size 2x2
or 3x3 ( right column is a translation and projection ) matrix applied to the image index
coordinates Axes describes the Axes to use in rotation_3d
X and Y correspond to the image index coordinates and
Z is perpendicular out of the image plane rotate_around_centre generates a 2d matrix describing a rotation around a 2d coordinate rotation_2d generates a matrix describing 2d rotation around origin rotation_3d generates a 3x3 matrix describing a rotation around either the index coordinate axes
(X,Y) or in the perpendicular axes to the image (Z) scale generates a matrix describing scaling in image index space shear generates a matrix describing shear in image index space transform_from_2dmatrix converts a matrix into an equivalent AffineTransform
translation generates a matrix describing translation in the image index space