EClassificationDataset::GetImageCopyWithDataAugmentation

Generates a new image from the i-th image of the dataset. For the variant where a pointer is returned, the user is responsible for clearing the memory of the returned pointer.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

EBaseROI* GetImageCopyWithDataAugmentation(
   int index,
   Euresys::Open_eVision::EasyDeepLearning::EDLDataAugmentationType generationType
)

void GetImageCopyWithDataAugmentation(
   int index,
   EBaseROI& img,
   Euresys::Open_eVision::EasyDeepLearning::EDLDataAugmentationType generationType
)

Parameters

index

The index of the image.

generationType

The type of transformation to generate (default: random).

img

Image object to copy the image into.

Remarks

If the data augmentation fails, the method will throw an exception.

EClassificationDataset.GetImageCopyWithDataAugmentation

Generates a new image from the i-th image of the dataset. For the variant where a pointer is returned, the user is responsible for clearing the memory of the returned pointer.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

Euresys.Open_eVision.EBaseROI GetImageCopyWithDataAugmentation(
   int index,
   Euresys.Open_eVision.EasyDeepLearning.EDLDataAugmentationType generationType
)

void GetImageCopyWithDataAugmentation(
   int index,
   Euresys.Open_eVision.EBaseROI img,
   Euresys.Open_eVision.EasyDeepLearning.EDLDataAugmentationType generationType
)

Parameters

index

The index of the image.

generationType

The type of transformation to generate (default: random).

img

Image object to copy the image into.

Remarks

If the data augmentation fails, the method will throw an exception.