![]()  | 
  
    | 
 
Augmentation wrapper for ecvl::OpticalDistortion. More...
#include <augmentations.h>
  
Public Member Functions | |
| std::shared_ptr< Augmentation > | Clone () const override | 
| AugOpticalDistortion (const std::array< float, 2 > &distort_limit, const std::array< float, 2 > &shift_limit, const InterpolationType &interp=InterpolationType::linear, const BorderType &border_type=BorderType::BORDER_REFLECT_101, const int &border_value=0) | |
| AugOpticalDistortion constructor.  More... | |
| AugOpticalDistortion (std::istream &is) | |
  Public Member Functions inherited from ecvl::Augmentation | |
| 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 | |
  Public Attributes inherited from ecvl::Augmentation | |
| std::unordered_map< std::string, AugmentationParam > | params_ | 
      
  | 
  inline | 
AugOpticalDistortion constructor.
| [in] | distort_limit | Parameter which determines the range of values [min,max] to randomly select the distortion steps. | 
| [in] | shift_limit | Parameter which determines the range of values [min,max] to randomly select the image shifting. | 
| [in] | interp | InterpolationType to be used. Default is InterpolationType::linear. | 
| [in] | border_type | Flag used to specify the pixel extrapolation method. Default is BorderType::BORDER_REFLECT_101. | 
| [in] | border_value | Integer padding value if border_type is BorderType::BORDER_CONSTANT. | 
Definition at line 1098 of file augmentations.h.
      
  | 
  inline | 
Definition at line 1108 of file augmentations.h.
      
  | 
  inlineoverridevirtual | 
Implements ecvl::Augmentation.
Definition at line 1088 of file augmentations.h.
 1.8.15