GainFilter

This filter changes the contrast of an image. More precisely, it allows you to change the gain and bias of the colors in the image. Changing the bias biases colors towards lighter or darker. changing the gain alters the contrast.

Hibiscus Image
GainFilter

Parameters:
  • float gain - The gain
  • float bias - The bias