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

Augmentation wrapper for ecvl::Flip2D. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugFlip:
ecvl::Augmentation

Public Member Functions

 AugFlip (double p=0.5)
 AugFlip constructor. More...
 
 AugFlip (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::Flip2D.

Examples
example_ecvl_eddl.cpp.

Definition at line 524 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugFlip() [1/2]

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

AugFlip constructor.

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

Definition at line 542 of file augmentations.h.

◆ AugFlip() [2/2]

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

Definition at line 547 of file augmentations.h.


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