Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

Module: tfa.image.transform_ops

View source on GitHub

Image transform ops.


angles_to_projective_transforms(...): Returns projective transform(s) for the given angle(s).

compose_transforms(...): Composes the transforms tensors.

flat_transforms_to_matrices(...): Converts projective transforms to affine matrices.

matrices_to_flat_transforms(...): Converts affine matrices to projective transforms.

rotate(...): Rotate image(s) counterclockwise by the passed angle(s) in radians.

transform(...): Applies the given transform(s) to the image(s).