.. _batch_processors: ================ Batch Processors ================ DeepView provides a large number of various :class:`Processors ` for batches. For instance, a processor might resize the images in a batch, perform data augmentation, remove batch fields, attach metadata, rename labels, etc. These processors are chained together in :func:`pipelines `, acting as :class:`PipelineStages `. Note that :class:`Processors ` always come after a data :ref:`Producer `, which is what generates batches to begin with. Here are most of the available batch processors and data loaders, and links to their API for more information. Batch filtering and concatenation --------------------------------- :class:`Composer ` for filtering ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.Composer :noindex: :class:`Concatenator ` for merging fields ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.Concatenator :noindex: Renaming fields and metadata ---------------------------- :class:`FieldRenamer ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.FieldRenamer :noindex: :class:`MetadataRenamer ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.MetadataRenamer :noindex: Removing fields and metadata ---------------------------- :class:`FieldRemover ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.FieldRemover :noindex: :class:`MetadataRemover ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.MetadataRemover :noindex: :class:`SnapshotRemover ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.SnapshotRemover :noindex: General data transforms ----------------------- :class:`MeanStdNormalizer ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.MeanStdNormalizer :noindex: :class:`Pooler ` (Max Pooling) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.Pooler :noindex: :class:`Transposer ` ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.Transposer :noindex: Image operations ---------------- :class:`ImageResizer ` to resize images ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.ImageResizer :noindex: :class:`ImageRotationProcessor ` to rotate images ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.ImageRotationProcessor :noindex: Augmentations ^^^^^^^^^^^^^ :class:`ImageGaussianBlurProcessor ` ************************************************************************************ .. autoclass:: deepview.processors.ImageGaussianBlurProcessor :noindex: :class:`ImageGammaContrastProcessor ` ************************************************************************************** .. autoclass:: deepview.processors.ImageGammaContrastProcessor :noindex: Utility processors ------------------ :class:`Cacher ` to cache responses from pipelines ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. autoclass:: deepview.processors.Cacher :noindex: