tf.image.random_hue

View source on GitHub

Adjust the hue of RGB images by a random factor.

tf.image.random_hue(
    image, max_delta, seed=None
)

Equivalent to adjust_hue() but uses a delta randomly picked in the interval [-max_delta, max_delta].

max_delta must be in the interval [0, 0.5].

Args:

Returns:

Adjusted image(s), same shape and DType as image.

Raises: