![]() |
|
Augmentation wrapper for ecvl::ResizeDim. More...
#include <augmentations.h>
Public Member Functions | |
AugResizeDim (const std::vector< int > &dims, const InterpolationType &interp=InterpolationType::linear, const InterpolationType >_interp=InterpolationType::nearest) | |
AugResizeDim constructor. More... | |
AugResizeDim (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 wrapper for ecvl::ResizeDim.
Definition at line 426 of file augmentations.h.
|
inline |
AugResizeDim constructor.
[in] | dims | std::vector<int> that specifies the new size of 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 445 of file augmentations.h.
|
inline |
Definition at line 450 of file augmentations.h.