Lighting#

class Lighting(scale, *, order=None)[source]#

Apply AlexNet-Style “lighting” augmentation to input data.

Input images are assumed to have ‘RGB’ channel order.

The degree of color jittering is randomly sampled via a normal distribution, with standard deviation given by the scale parameter.