Rotate
class Rotate(degrees: Float, interpolation: InterpolationType, renderingSpeed: RenderingSpeed, enableAntialiasing: Boolean) : ImagePreprocessorBase
Content copied to clipboard
This image preprocessor defines the Rotate operation.
It rotates the input image on degrees.
The final image quality depends on the following tunable parameters: interpolation, renderingSpeed, enableAntialiasing.
Constructors
Rotate
Link copied to clipboard
fun Rotate(degrees: Float = 90f, interpolation: InterpolationType = InterpolationType.BICUBIC, renderingSpeed: RenderingSpeed = RenderingSpeed.MEDIUM, enableAntialiasing: Boolean = true)
Content copied to clipboard
Functions
getOutputShape
Link copied to clipboard
Computes output image shape for the provided inputShape.
Properties
enableAntialiasing
Link copied to clipboard
interpolation
Link copied to clipboard
renderingSpeed
Link copied to clipboard