Color Constancy Algorithms (Gray World, White Patch, Modified White Patch, ETC)

The functions implements several of the color constancy techniques available.

You are now following this Submission

Techniques:
Gray World
White Patch
Modified White Patch
Progressive
Single Scale Retinex
Multi Scale Retinex
MSRCR
ACE

Example of use:
% I and J are input and output images.
J = colorConstancy(I, 'modified white patch', 200);

Cite As

Juan (2026). Color Constancy Algorithms (Gray World, White Patch, Modified White Patch, ETC) (https://www.mathworks.com/matlabcentral/fileexchange/41341-color-constancy-algorithms-gray-world-white-patch-modified-white-patch-etc), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0