transformY method
Implementation
double transformY(double y, Size size) {
switch (rotation) {
case InputImageRotation.ROTATION_90:
case InputImageRotation.ROTATION_270:
return y * size.height / imageSize.width;
default:
return y * size.height / imageSize.height;
}
}