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

Augmentation wrapper for ecvl::Normalize. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugNormalize:
ecvl::Augmentation

Public Member Functions

 AugNormalize (const double &mean, const double &std)
 AugNormalize constructor. More...
 
 AugNormalize (const std::vector< double > &mean, const std::vector< double > &std)
 AugNormalize constructor with separate statistics for each channel. More...
 
 AugNormalize (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::Normalize.

Examples
example_ecvl_eddl.cpp.

Definition at line 1239 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugNormalize() [1/3]

ecvl::AugNormalize::AugNormalize ( const double &  mean,
const double &  std 
)
inline

AugNormalize constructor.

Parameters
[in]meanMean to substract from all pixel.
[in]stdStandard deviation to use for normalization.

Definition at line 1263 of file augmentations.h.

◆ AugNormalize() [2/3]

ecvl::AugNormalize::AugNormalize ( const std::vector< double > &  mean,
const std::vector< double > &  std 
)
inline

AugNormalize constructor with separate statistics for each channel.

Parameters
[in]meanPer channel mean to substract from all pixel.
[in]stdPer channel standard deviation to use for normalization.

Definition at line 1270 of file augmentations.h.

◆ AugNormalize() [3/3]

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

Definition at line 1272 of file augmentations.h.


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