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)

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

4.44444
4.4 | 10 ratings Rate this file 28 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)

by

Juan (view profile)

 

The functions implements several of the color constancy techniques available.

| Watch this File

File Information
Description

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);

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

excellent

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
http://www.dia.fi.upm.es/~pcr/publications/impcomm2001.pdf

ACE
http://www.ipol.im/pub/art/2012/g-ace/article.pdf

White patch
https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&ved=0CEIQFjAE&url=http%3A%2F%2Fwww.researchgate.net%2Fpublication%2F228810816_Color_correction_between_gray_world_and_white_patch%2Ffile%2F32bfe50c86eefdfba4.pdf&ei=g8oeU6LPEeia0AWhq4HICw&usg=AFQjCNGUuQodelWyPOQS9-A2TiitE2yaXw&cad=rja

Retinex
http://pdc.stanford.edu/~brian/papers/color/BrainardWandell1986.pdf

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