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

Augmentation wrapper for brightness adjustment. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugBrightness:
ecvl::Augmentation

Public Member Functions

 AugBrightness (const std::array< double, 2 > &beta)
 AugBrightness constructor. More...
 
 AugBrightness (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 brightness adjustment.

Definition at line 805 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugBrightness() [1/2]

ecvl::AugBrightness::AugBrightness ( const std::array< double, 2 > &  beta)
inline

AugBrightness constructor.

Parameters
[in]betaParameter which determines the range of values [min,max] to randomly select the value for the brightness adjustment. Suggested values are around 0 to 100.

Definition at line 817 of file augmentations.h.

◆ AugBrightness() [2/2]

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

Definition at line 822 of file augmentations.h.


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