![]() |
|
OneOfAugmentationContainer. More...
#include <augmentations.h>
Public Member Functions | |
| std::shared_ptr< Augmentation > | Clone () const override |
| template<typename ... Ts> | |
| OneOfAugmentationContainer (double p, Ts &&... t) | |
| OneOfAugmentationContainer (double p, std::vector< std::shared_ptr< Augmentation >> augs) | |
| OneOfAugmentationContainer (const OneOfAugmentationContainer &other) | |
| OneOfAugmentationContainer (std::istream &is) | |
Public Member Functions inherited from ecvl::Augmentation | |
| 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 | |
Public Attributes inherited from ecvl::Augmentation | |
| 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 303 of file augmentations.h.
|
inline |
Definition at line 323 of file augmentations.h.
|
inline |
Definition at line 328 of file augmentations.h.
|
inline |
Definition at line 333 of file augmentations.h.
|
inline |
Definition at line 341 of file augmentations.h.
|
inlineoverridevirtual |
Implements ecvl::Augmentation.
Definition at line 320 of file augmentations.h.
1.8.15