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

Dataset Augmentations. More...

#include <support_eddl.h>

Public Member Functions

 DatasetAugmentations (const std::vector< std::shared_ptr< Augmentation >> &augs)
 
 DatasetAugmentations (const DatasetAugmentations &other)
 
bool Apply (const int split, Image &img, const Image &gt=Image())
 
bool Apply (SplitType st, Image &img, const Image &gt=Image())
 
bool IsEmpty () const
 

Detailed Description

Dataset Augmentations.

This class represent the augmentations which will be applied to each split.

This is just a shallow container for the Augmentations

Examples
example_ecvl_eddl.cpp.

Definition at line 95 of file support_eddl.h.

Constructor & Destructor Documentation

◆ DatasetAugmentations() [1/2]

ecvl::DatasetAugmentations::DatasetAugmentations ( const std::vector< std::shared_ptr< Augmentation >> &  augs)
inline

Definition at line 99 of file support_eddl.h.

◆ DatasetAugmentations() [2/2]

ecvl::DatasetAugmentations::DatasetAugmentations ( const DatasetAugmentations other)
inline

Definition at line 102 of file support_eddl.h.

Member Function Documentation

◆ Apply() [1/2]

bool ecvl::DatasetAugmentations::Apply ( const int  split,
Image img,
const Image gt = Image() 
)
inline

Definition at line 111 of file support_eddl.h.

◆ Apply() [2/2]

bool ecvl::DatasetAugmentations::Apply ( SplitType  st,
Image img,
const Image gt = Image() 
)
inline

Definition at line 126 of file support_eddl.h.

◆ IsEmpty()

bool ecvl::DatasetAugmentations::IsEmpty ( ) const
inline

Definition at line 131 of file support_eddl.h.


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