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

Augmentation wrapper for ecvl::CoarseDropout. More...

#include <augmentations.h>

Inheritance diagram for ecvl::AugCoarseDropout:
ecvl::Augmentation

Public Member Functions

 AugCoarseDropout (const std::array< double, 2 > &p, const std::array< double, 2 > &drop_size, const double &per_channel)
 AugCoarseDropout constructor. More...
 
 AugCoarseDropout (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::CoarseDropout.

Examples
example_ecvl_eddl.cpp.

Definition at line 723 of file augmentations.h.

Constructor & Destructor Documentation

◆ AugCoarseDropout() [1/2]

ecvl::AugCoarseDropout::AugCoarseDropout ( const std::array< double, 2 > &  p,
const std::array< double, 2 > &  drop_size,
const double &  per_channel 
)
inline

AugCoarseDropout constructor.

Parameters
[in]pParameter which determines the range of values [min,max] to randomly select the probability of any rectangle being set to zero.
[in]drop_sizeParameter which determines the range of values [min,max] to randomly select the size of rectangles in percentage of the input Image.
[in]per_channelProbability of each image to use the same value for all channels of a pixel or not.

Definition at line 739 of file augmentations.h.

◆ AugCoarseDropout() [2/2]

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

Definition at line 746 of file augmentations.h.


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