Balance colors🔗

Corrects RGB color balance according to the given scaling factors.

Inputs🔗

  • image: Input image.

  • scalingFactors: Scaling factors for each color channel represented as a 1-by-3 matrix. The order is red, green, blue.

Outputs🔗

  • image: Corrected output image.