Rot90Op class
Rotates image by multiples of 90 degree.
- Inheritance
-
- Object
- Operator<
TensorImage> - ImageOperator
- Rot90Op
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
apply(
TensorImage image) → TensorImage -
Applies the defined rotation on
image
and returns the result.override -
getOutputImageHeight(
int inputImageHeight, int inputImageWidth) → int -
Computes the height of the expected output image when input image size is given.
override
-
getOutputImageWidth(
int inputImageHeight, int inputImageWidth) → int -
Computes the width of the expected output image when input image size is given.
override
-
inverseTransform(
Point< num> point, int inputImageHeight, int inputImageWidth) → Point<num> -
Transforms a
point
from coordinates system of the result image back to the one of the input image.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transformImpl(
Point< num> point, int height, int width, int numRotation) → Point<num>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited