imageAugmentationColor: Perform image augmentation through random color adjustments on an image/label pair.
Description
Performs image augmentation on a image/label pair for training. Uses random brightness,contrast,saturation, and hue.
Usage
imageAugmentationColor(image, label, rng)
Value
An image and label tensor.
Arguments
- image
an image tensor.
- label
a label tensor.
- rng
a random number generator use to generate a random seed.