deeptrack.augmentations Module#

Features that augment images.

Classes#

Affine([scale, translate, translate_px, ...])

Augmenter to apply affine transformations to images.

Augmentation([time_consistent])

Base abstract augmentation class.

Crop(*args[, crop, crop_mode, corner])

Crops a regions of an image.

CropTight([eps])

CropToMultiplesOf([multiple, corner])

Crop images down until their height/width is a multiple of a value.

ElasticTransformation([alpha, sigma, ...])

Transform images by moving pixels locally around using displacement fields.

Feature([_input])

Base feature class.

FlipDiagonal([p, augment])

Flips images along the main diagonal.

FlipLR([p, augment])

Flips images left-right.

FlipUD([p, augment])

Flips images up-down.

Image(value[, copy])

Wrapper for array-like values with property tracking.

Pad([px, mode, cval])

Pads the image.

PadToMultiplesOf([multiple])

Pad images until their height/width is a multiple of a value.

Reuse(feature[, uses, storage])

Acts like cache.