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

Augmentation wrapper for ecvl::ResizeScale. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugResizeScale:
ecvl::Augmentation

Public Member Functions

 AugResizeScale (const std::vector< double > &scale, const InterpolationType &interp=InterpolationType::linear, const InterpolationType &gt_interp=InterpolationType::nearest)
 AugResizeScale constructor. More...
 
 AugResizeScale (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::ResizeScale.

Definition at line 476 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugResizeScale() [1/2]

ecvl::AugResizeScale::AugResizeScale ( const std::vector< double > &  scale,
const InterpolationType interp = InterpolationType::linear,
const InterpolationType gt_interp = InterpolationType::nearest 
)
inline

AugResizeScale constructor.

Parameters
[in]scalestd::vector<double> that specifies the scale to apply to each dimension.
[in]interpInterpolationType to be used. Default is InterpolationType::linear.
[in]gt_interpInterpolationType to be used for ground truth. Default is InterpolationType::nearest.

Definition at line 495 of file augmentations.h.

◆ AugResizeScale() [2/2]

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

Definition at line 500 of file augmentations.h.


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