inverseTransform method
Transforms a point
from coordinates system of the result image back to the one of the input
image.
Implementation
@override
Point inverseTransform(
Point point, int inputImageHeight, int inputImageWidth) {
int inverseNumRotation = (4 - _numRotation) % 4;
int height = getOutputImageHeight(inputImageHeight, inputImageWidth);
int width = getOutputImageWidth(inputImageHeight, inputImageWidth);
return transformImpl(point, height, width, inverseNumRotation);
}