Public Member Functions | List of all members
ecvl::AugMirror Class Reference

Augmentation wrapper for ecvl::Mirror2D. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugMirror:
ecvl::Augmentation

Public Member Functions

 AugMirror (double p=0.5)
 AugMirror constructor. More...
 
 AugMirror (std::istream &is)
 
- Public Member Functions inherited from ecvl::Augmentation
void Apply (ecvl::Image &img, const ecvl::Image &gt=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, AugmentationParamparams_
 

Detailed Description

Augmentation wrapper for ecvl::Mirror2D.

Examples
example_ecvl_eddl.cpp.

Definition at line 562 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugMirror() [1/2]

ecvl::AugMirror::AugMirror ( double  p = 0.5)
inline

AugMirror constructor.

Parameters
[in]pProbability of each image to get mirrored.

Definition at line 580 of file augmentations.h.

◆ AugMirror() [2/2]

ecvl::AugMirror::AugMirror ( std::istream &  is)
inline

Definition at line 585 of file augmentations.h.


The documentation for this class was generated from the following file: