![]() |
|
Abstract class which represent a generic Augmentation function. More...
#include <augmentations.h>
Public Member Functions | |
void | Apply (ecvl::Image &img, const ecvl::Image >=Image()) |
Generate the random value for each parameter and call the specialized augmentation functions. More... | |
virtual std::shared_ptr< Augmentation > | Clone () const =0 |
virtual | ~Augmentation ()=default |
Public Attributes | |
std::unordered_map< std::string, AugmentationParam > | params_ |
Abstract class which represent a generic Augmentation function.
Definition at line 206 of file augmentations.h.
|
virtualdefault |
|
inline |
Generate the random value for each parameter and call the specialized augmentation functions.
[in,out] | img | Image on which apply the augmentations. |
[in,out] | gt | Ground truth image on which apply the augmentations. |
Definition at line 215 of file augmentations.h.
|
pure virtual |
Implemented in ecvl::AugRandomCrop, ecvl::AugScaleTo, ecvl::AugDivBy255, ecvl::AugToFloat32, ecvl::AugCenterCrop, ecvl::AugNormalize, ecvl::AugSaltAndPepper, ecvl::AugPepper, ecvl::AugSalt, ecvl::AugOpticalDistortion, ecvl::AugElasticTransform, ecvl::AugGridDistortion, ecvl::AugBrightness, ecvl::AugTranspose, ecvl::AugCoarseDropout, ecvl::AugGammaContrast, ecvl::AugAdditivePoissonNoise, ecvl::AugAdditiveLaplaceNoise, ecvl::AugGaussianBlur, ecvl::AugMirror, ecvl::AugFlip, ecvl::AugResizeScale, ecvl::AugResizeDim, ecvl::AugRotate, ecvl::OneOfAugmentationContainer, and ecvl::SequentialAugmentationContainer.
std::unordered_map<std::string, AugmentationParam> ecvl::Augmentation::params_ |
Definition at line 209 of file augmentations.h.