Rot90Op

public class Rot90Op

Rotates image counter-clockwise.

Public Constructors

Rot90Op()
Creates a Rot90 Op which will rotate image by 90 degree counter-clockwise.
Rot90Op(int k)
Creates a Rot90 Op which will rotate image by 90 degree for k times counter-clockwise.

Public Methods

TensorImage
apply(TensorImage image)
Applies the defined rotation on given image and returns the result.
int
getOutputImageHeight(int inputImageHeight, int inputImageWidth)
Computes the height of the expected output image when input image size is given.
int
getOutputImageWidth(int inputImageHeight, int inputImageWidth)
Computes the width of the expected output image when input image size is given.
PointF
inverseTransform(PointF point, int inputImageHeight, int inputImageWidth)
Transforms a point from coordinates system of the result image back to the one of the input image.

Inherited Methods