![]() |
|
OneOfAugmentationContainer. More...
#include <augmentations.h>
Public Member Functions | |
template<typename ... Ts> | |
OneOfAugmentationContainer (double p, Ts &&... t) | |
OneOfAugmentationContainer (double p, std::vector< std::shared_ptr< Augmentation >> augs) | |
OneOfAugmentationContainer (std::istream &is) | |
![]() | |
void | Apply (ecvl::Image &img, const ecvl::Image >=Image()) |
Generate the random value for each parameter and call the specialized augmentation functions. More... | |
virtual | ~Augmentation ()=default |
Additional Inherited Members | |
![]() | |
std::unordered_map< std::string, AugmentationParam > | params_ |
This class represents a container for multiple augmentations from which one will be randomly chosen. The chosen augmentation will be applied with a probability that must be specified by the user.
Definition at line 295 of file augmentations.h.
|
inline |
Definition at line 313 of file augmentations.h.
|
inline |
Definition at line 318 of file augmentations.h.
|
inline |
Definition at line 323 of file augmentations.h.