ImagePreprocessor
interface ImagePreprocessor
Content copied to clipboard
Basic interface for image preprocessors. It operates on BufferedImage.
When implementing a new ImagePreprocessor it is recommended to use ImagePreprocessorBase as a base class to automatically add additional features such as saving preprocessor output with ImageSaver.
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.
Inheritors
ImagePreprocessorBase
Link copied to clipboard