Home
last modified time | relevance | path

Searched refs:inputImageHeight (Results 1 – 6 of 6) sorted by relevance

/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ops/
DRot90Op.java75 public int getOutputImageHeight(int inputImageHeight, int inputImageWidth) { in getOutputImageHeight() argument
76 return (numRotation % 2 == 0) ? inputImageHeight : inputImageWidth; in getOutputImageHeight()
80 public int getOutputImageWidth(int inputImageHeight, int inputImageWidth) { in getOutputImageWidth() argument
81 return (numRotation % 2 == 0) ? inputImageWidth : inputImageHeight; in getOutputImageWidth()
85 public PointF inverseTransform(PointF point, int inputImageHeight, int inputImageWidth) { in inverseTransform() argument
87 int height = getOutputImageHeight(inputImageHeight, inputImageWidth); in inverseTransform()
88 int width = getOutputImageWidth(inputImageHeight, inputImageWidth); in inverseTransform()
DTensorOperatorWrapper.java62 public int getOutputImageHeight(int inputImageHeight, int inputImageWidth) { in getOutputImageHeight() argument
63 return inputImageHeight; in getOutputImageHeight()
67 public int getOutputImageWidth(int inputImageHeight, int inputImageWidth) { in getOutputImageWidth() argument
72 public PointF inverseTransform(PointF point, int inputImageHeight, int inputImageWidth) { in inverseTransform() argument
DResizeOp.java75 public int getOutputImageHeight(int inputImageHeight, int inputImageWidth) { in getOutputImageHeight() argument
80 public int getOutputImageWidth(int inputImageHeight, int inputImageWidth) { in getOutputImageWidth() argument
85 public PointF inverseTransform(PointF point, int inputImageHeight, int inputImageWidth) { in inverseTransform() argument
87 point.x * inputImageWidth / targetWidth, point.y * inputImageHeight / targetHeight); in inverseTransform()
DResizeWithCropOrPadOp.java108 public int getOutputImageHeight(int inputImageHeight, int inputImageWidth) { in getOutputImageHeight() argument
113 public int getOutputImageWidth(int inputImageHeight, int inputImageWidth) { in getOutputImageWidth() argument
118 public PointF inverseTransform(PointF point, int inputImageHeight, int inputImageWidth) { in inverseTransform() argument
119 return transformImpl(point, targetHeight, targetWidth, inputImageHeight, inputImageWidth); in inverseTransform()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DImageOperator.java28 int getOutputImageWidth(int inputImageHeight, int inputImageWidth); in getOutputImageWidth() argument
31 int getOutputImageHeight(int inputImageHeight, int inputImageWidth); in getOutputImageHeight() argument
42 PointF inverseTransform(PointF point, int inputImageHeight, int inputImageWidth); in inverseTransform() argument
DImageProcessor.java68 public PointF inverseTransform(PointF point, int inputImageHeight, int inputImageWidth) { in inverseTransform() argument
72 int currentHeight = inputImageHeight; in inverseTransform()
103 public RectF inverseTransform(RectF rect, int inputImageHeight, int inputImageWidth) { in inverseTransform() argument
106 inverseTransform(new PointF(rect.left, rect.top), inputImageHeight, inputImageWidth); in inverseTransform()
108 inverseTransform(new PointF(rect.right, rect.bottom), inputImageHeight, inputImageWidth); in inverseTransform()