WLJS LogoWLJS Notebook

ColorBalance

ColorBalance[image] adjusts the colors in image to achieve a balance simulating neutral lighting.

ColorBalance[image, ref] adjusts colors so the reference color ref is mapped to white.

ColorBalance[image, ref -> target] maps the reference color ref to target.

Examples

Auto-balance an image:

ColorBalance[img]

Map a specific color to white:

ColorBalance[img, Yellow]

Please visit the official Wolfram Language Reference for more details.

On this page