![]() |
|
Augmentation wrapper for ecvl::ResizeScale. More...
#include <augmentations.h>
Public Member Functions | |
AugResizeScale (const std::vector< double > &scale, const InterpolationType &interp=InterpolationType::linear, const InterpolationType >_interp=InterpolationType::nearest) | |
AugResizeScale constructor. More... | |
AugResizeScale (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_ |
|
inline |
AugResizeScale constructor.
[in] | scale | std::vector<double> that specifies the scale to apply to each dimension. |
[in] | interp | InterpolationType to be used. Default is InterpolationType::linear. |
[in] | gt_interp | InterpolationType to be used for ground truth. Default is InterpolationType::nearest. |
Definition at line 495 of file augmentations.h.
|
inline |
Definition at line 500 of file augmentations.h.