imageAugmentationColor {animl}R Documentation

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)

Arguments

image

an image tensor.

label

a label tensor.

rng

a random number generator use to generate a random seed.

Value

An image and label tensor.


[Package animl version 1.1.0 Index]