Augmentation#
- class deeptrack.augmentations.Augmentation(time_consistent: bool = False, **kwargs)#
Bases:
FeatureBase abstract augmentation class.
This class provides the template for the other augmentation classes to inherit from, and is primarily used to handle the input cases of either Image objects or list[Image] objects via the _image_wrapped_process_and_get and _no_wrap_process_and_get methods respectively.
Parameters#
- time_consistent: boolean
Whether to augment all images in a sequence equally.
Methods#
- _image_wrapped_process_and_get(image_list: list[Image] | list[np.ndarray], time_consistent: PropertyLike[bool], **kwargs) -> list[list]
Augments a list of images and returns a wrapped output.
- _no_wrap_process_and_get(image_list: list[Image] | list[np.ndarray], time_consistent: PropertyLike[bool], **kwargs) -> list[list]
Augments a list of images and returns the raw output.
- update_properties(*args, **kwargs)
Abstract method to update the properties of the image.
Methods Summary
update_properties(*args, **kwargs)Methods Documentation
- update_properties(*args, **kwargs)#