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

Augmentation ToFloat32. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugToFloat32:
ecvl::Augmentation

Public Member Functions

 AugToFloat32 (const double &divisor=1., const double &divisor_gt=1.)
 AugToFloat32 constructor. More...
 
 AugToFloat32 (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 ToFloat32.

This augmentation converts an Image (and ground truth) to DataType::float32 dividing it by divisor (or divisor_gt) parameter.

Examples
example_ecvl_eddl.cpp.

Definition at line 1341 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugToFloat32() [1/2]

ecvl::AugToFloat32::AugToFloat32 ( const double &  divisor = 1.,
const double &  divisor_gt = 1. 
)
inline

AugToFloat32 constructor.

Parameters
[in]divisorValue used to divide the img Image.
[in]divisor_gtValue used to divide the gt Image.

Definition at line 1361 of file augmentations.h.

◆ AugToFloat32() [2/2]

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

Definition at line 1362 of file augmentations.h.


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