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

Augmentation CenterCrop wrapper for ecvl::CenterCrop. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugCenterCrop:
ecvl::Augmentation

Public Member Functions

 AugCenterCrop (const std::vector< int > &size)
 AugCenterCrop constructor. More...
 
 AugCenterCrop (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 CenterCrop wrapper for ecvl::CenterCrop.

Examples
example_ecvl_eddl.cpp.

Definition at line 1305 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugCenterCrop() [1/2]

ecvl::AugCenterCrop::AugCenterCrop ( const std::vector< int > &  size)
inline

AugCenterCrop constructor.

Parameters
[in]sizestd::vector<int> that specifies the new size of each dimension [w,h].

Definition at line 1321 of file augmentations.h.

◆ AugCenterCrop() [2/2]

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

Definition at line 1323 of file augmentations.h.


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