View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

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

4.4 | 10 ratings Rate this file 32 Downloads (last 30 days) File Size: 2.55 KB File ID: #41341 Version: 1.0
image thumbnail

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


Juan (view profile)


The functions implements several of the color constancy techniques available.

| Watch this File

File Information

Gray World
White Patch
Modified White Patch
Single Scale Retinex
Multi Scale Retinex

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

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (15)
23 Sep 2016 Mecurier

thanks,help me a lot.

20 Jul 2016 irfan Ullah

Great work, help me a lot, can you please tell me how to use MSRCR? I have difficulties in setting alpha b an G values

14 Jun 2016 K M Ibrahim Khalilullah

thanks , but documentation should be improved

Comment only
08 Oct 2015 ahmed ismail


12 Dec 2014 xu rui

xu rui (view profile)

Hi Juan Could you tell me the algorithm "progressive" from which pepper?

13 Nov 2014 mike

mike (view profile)

MSR is not correct

11 Mar 2014 Juan

Juan (view profile)

Some literature
Gray World


White patch


Comment only
19 Dec 2013 Fu

Fu (view profile)

Thank you very much, I just look for it.

Comment only
14 Nov 2013 Emre Ozan Alkan

Thank you so much!

03 Oct 2013 xuan le

Sorry Juan, do you have the literature for those algorithms? For example, which algorithm "progressive" mean?

Comment only
02 Sep 2013 xuan le

Thank you Juan, it should be the reason. There is a new version of "fast implementation" which the author published on his own site. However, this is a great code.

13 Aug 2013 Juan

Juan (view profile)

Hey Xuan, my implementation of the ACE algorithm is super slow, but It's guaranteed to finish. Maybe you should try with much smaller images.

Comment only
13 Aug 2013 xuan le

The 'ACE'algorithm seem not correct. I run it and fall into a "life time" loop with Ciclos: 30000 and so on.

03 May 2013 Smart

Smart (view profile)

17 Apr 2013 Gangyi

Gangyi (view profile)

Contact us