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. Note that some input dimensions could equal to null
, which means that they are undefined. This is useful for the operations with fixed output size not dependent on the input size.
Properties
enableAntialiasing
Link copied to clipboard
interpolation
Link copied to clipboard
renderingSpeed
Link copied to clipboard