ContrastTransform

class ContrastTransform(value, *, order=None)[source]

Adjust contrast of the input data.

Parameters
  • value – how much to adjust the contrast. Can be any non negative number. 0 gives the original image.

  • order – the same with VisionTransform.