ImagePreprocessorBase

abstract class ImagePreprocessorBase : ImagePreprocessor

Base class for ImagePreprocessor implementations.

Constructors

ImagePreprocessorBase
Link copied to clipboard
fun ImagePreprocessorBase()

Functions

apply
Link copied to clipboard
abstract fun apply(image: BufferedImage): BufferedImage

Transforms provided input image.

getOutputShape
Link copied to clipboard
open fun getOutputShape(inputShape: ImageShape?): ImageShape?

Computes output image shape for the provided inputShape.

Inheritors

Cropping
Link copied to clipboard
Resize
Link copied to clipboard
Rotate
Link copied to clipboard

Extensions

save
Link copied to clipboard
fun ImagePreprocessorBase.save(block: Save.() -> Unit)