Expand description
Functions for affine transformations of images.
Structs
A 2d affine transform, stored as a row major 3x3 matrix.
Enums
How to handle pixels whose pre-image lies between input pixels.
Functions
Applies an affine transformation to an image, or None if the provided
transformation is not invertible.
The output image has the same dimensions as the input. Output pixels
whose pre-image lies outside the input image are set to black.
Applies an affine transformation to an image, or None if the provided
transformation is not invertible.
The output image has the same dimensions as the input. Output pixels
whose pre-image lies outside the input image are set to default.
Rotate an image clockwise about provided center by theta radians.
The output image has the same dimensions as the input. Output pixels
whose pre-image lies outside the input image are black.
Rotate an image clockwise about its center by theta radians.
The output image has the same dimensions as the input. Output pixels
whose pre-image lies outside the input image are black.
Rotate an image clockwise about provided center by theta radians.
The output image has the same dimensions as the input. Output pixels
whose pre-image lies outside the input image are set to default.
Translates the input image by t. Note that image coordinates increase from
top left to bottom right. Output pixels whose pre-image are not in the input
image are set to the boundary pixel in the input image nearest to their pre-image.