augment.brightness

Description

Adjusts the brightness of an image.

class Node(config=None, **kwargs)[source]

Adjusts the brightness of an image, by adding a bias/beta parameter.

Inputs

img (numpy.ndarray): A NumPy array of shape \((height, width, channels)\) containing the image data in BGR format.

Outputs

img (numpy.ndarray): A NumPy array of shape \((height, width, channels)\) containing the image data in BGR format.

Configs

beta (int) – [-100, 100], default = 0.
Increasing the value of beta increases image brightness, and vice versa.