![]() |
|
Augmentation ToFloat32. More...
#include <augmentations.h>
Public Member Functions | |
AugToFloat32 (const double &divisor=1., const double &divisor_gt=1.) | |
AugToFloat32 constructor. More... | |
AugToFloat32 (std::istream &is) | |
![]() | |
void | Apply (ecvl::Image &img, const ecvl::Image >=Image()) |
Generate the random value for each parameter and call the specialized augmentation functions. More... | |
virtual | ~Augmentation ()=default |
Additional Inherited Members | |
![]() | |
std::unordered_map< std::string, AugmentationParam > | params_ |
Augmentation ToFloat32.
This augmentation converts an Image (and ground truth) to DataType::float32 dividing it by divisor (or divisor_gt) parameter.
Definition at line 1341 of file augmentations.h.
|
inline |
AugToFloat32 constructor.
[in] | divisor | Value used to divide the img Image. |
[in] | divisor_gt | Value used to divide the gt Image. |
Definition at line 1361 of file augmentations.h.
|
inline |
Definition at line 1362 of file augmentations.h.