EDataAugmentation::Generate

Generates a new image from a generic EBaseROI image. The caller is responsible for calling freeing the memory of the returned image by calling delete on the image.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

EBaseROI* Generate(
   const EBaseROI* img,
   Euresys::Open_eVision::EasyDeepLearning::EDLDataAugmentationType type
)

void Generate(
   const EROIBW8& source,
   EROIBW8& dest,
   Euresys::Open_eVision::EasyDeepLearning::EDLDataAugmentationType type
)

void Generate(
   const EROIBW16& source,
   EROIBW16& dest,
   Euresys::Open_eVision::EasyDeepLearning::EDLDataAugmentationType type
)

void Generate(
   const EROIC24& source,
   EROIC24& dest,
   Euresys::Open_eVision::EasyDeepLearning::EDLDataAugmentationType type
)

Parameters

img

The image to transform.

type

The type of transformation to generate.

source

The image to transform.

dest

The transformed image.

Remarks

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

EDataAugmentation.Generate

Generates a new image from a generic EBaseROI image. The caller is responsible for calling freeing the memory of the returned image by calling delete on the image.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

Euresys.Open_eVision.EBaseROI Generate(
   Euresys.Open_eVision.EBaseROI img,
   Euresys.Open_eVision.EasyDeepLearning.EDLDataAugmentationType type
)

void Generate(
   Euresys.Open_eVision.EROIBW8 source,
   Euresys.Open_eVision.EROIBW8 dest,
   Euresys.Open_eVision.EasyDeepLearning.EDLDataAugmentationType type
)

void Generate(
   Euresys.Open_eVision.EROIBW16 source,
   Euresys.Open_eVision.EROIBW16 dest,
   Euresys.Open_eVision.EasyDeepLearning.EDLDataAugmentationType type
)

void Generate(
   Euresys.Open_eVision.EROIC24 source,
   Euresys.Open_eVision.EROIC24 dest,
   Euresys.Open_eVision.EasyDeepLearning.EDLDataAugmentationType type
)

Parameters

img

The image to transform.

type

The type of transformation to generate.

source

The image to transform.

dest

The transformed image.

Remarks

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