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

Augmentation wrapper for ecvl::GammaContrast. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugGammaContrast:
ecvl::Augmentation

Public Member Functions

 AugGammaContrast (const std::array< double, 2 > &gamma)
 AugGammaContrast constructor. More...
 
 AugGammaContrast (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::GammaContrast.

Examples
example_ecvl_eddl.cpp.

Definition at line 692 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugGammaContrast() [1/2]

ecvl::AugGammaContrast::AugGammaContrast ( const std::array< double, 2 > &  gamma)
inline

AugGammaContrast constructor.

Parameters
[in]gammaParameter which determines the range of values [min,max] to randomly select the exponent for the contrast adjustment. Suggested values are around 0.5 to 2.0.

Definition at line 704 of file augmentations.h.

◆ AugGammaContrast() [2/2]

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

Definition at line 709 of file augmentations.h.


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