Apply identical random transformations to multiple images
You can use the augment
function to preview the transformations
applied to sample images.
To perform image augmentation during training, create an augmentedImageDatastore
and specify preprocessing options by using the
'DataAugmentation'
name-value pair with an imageDataAugmenter
. The augmented image datastore automatically applies random
transformations to the training data.