Package org.jetbrains.kotlinx.dl.dataset.preprocessor.image
Types
ImagePreprocessing
Link copied to clipboard
class ImagePreprocessing
Content copied to clipboard
The whole image preprocessing pipeline DSL.
ImagePreprocessor
Link copied to clipboard
interface ImagePreprocessor
Content copied to clipboard
Basic interface for image preprocessors. It operates on BufferedImage.
ImagePreprocessorBase
Link copied to clipboard
Base class for ImagePreprocessor implementations.
ImageSaver
Link copied to clipboard
interface ImageSaver
Content copied to clipboard
Interface for saving image preprocessing output result.
InterpolationType
Link copied to clipboard
When an image is resized, we need an interpolation algorithm to draw newly created pixels between old pixels.
Loading
Link copied to clipboard
class Loading(pathToData: File?, imageShape: ImageShape?, labelGenerator: LabelGenerator?, colorMode: ColorOrder)
Content copied to clipboard
This class defines the Loading operation.
RenderingSpeed
Link copied to clipboard
The speed of single file preprocessing could be tuned via this setting.
Resize
Link copied to clipboard
class Resize(outputWidth: Int, outputHeight: Int, interpolation: InterpolationType, renderingSpeed: RenderingSpeed, enableAntialiasing: Boolean) : ImagePreprocessorBase
Content copied to clipboard
This image preprocessor defines the Resize operation.
Rotate
Link copied to clipboard
class Rotate(degrees: Float, interpolation: InterpolationType, renderingSpeed: RenderingSpeed, enableAntialiasing: Boolean) : ImagePreprocessorBase
Content copied to clipboard
This image preprocessor defines the Rotate operation.
Save
Link copied to clipboard
This ImageSaver allows saving image preprocessing result to file or directory in jpg format.