Source-code

Source-code that is made available on-line by the respective authors is summarized here. If you have any questions, comments, remarks or additions, please send an e-mail to the contact person of this website.

Software:

Barnard’s Software (2002)

Kobus Barnard made available the source-code to recreate the results of the 2002 IEEE Transactions on Image Processing duo paper “A Comparison of Computational Colour Constancy Algorithms” (part 1 and part 2). This software includes Barnard’s implementation of the White-Patch, the Grey-World, Color-by-Correlation and Gamut Mapping (several versions).

C.C. Through I.I.C. (2003, 2004)

Robby Tan, together with Ko Nishino and Katsushi Ikeuchi, wrote a paper for the Journal of the Optical Society of America A in 2004 (which also appeared at CVPR in 2003) titled “Color Constancy through Inverse-Intensity Chromaticity Space” (associated project page can be found here). Source-code of the method, which is written in C++, can be found here.

Grey-Edge (2007)

Joost van de Weijer, Theo Gevers and Arjan Gijsenij integrated several low-level methods, including the Grey-World, White-Patch and Grey-Edge, in one framework in their 2007 IEEE Transactions on Image Processing paper titled “Edge-based Color Constancy”. The source-code of this method, written in Matlab, can be found here.

Top-down (2007)

Another paper by Joost van de Weijer, this time in collaboration with Cordelia Schmid and Jakob Verbeek, was presented at the IEEE International Conference on Computer Vision in 2007. Source-code of the paper, titled “Using High-Level Visual Information for Color Constancy”, was recently made available.

C.C. Using N.I.S. (2007, 2011)

Arjan Gijsenij and Theo Gevers presented their work on “Color Constancy using Natural Image Statistics” in 2007 at the IEEE Computer Vision and Pattern Recognition Conference in Minneapolis, Minnesota. In 2011, the journal version of this paper will be published in IEEE Transactions on Pattern Analysis and Machine Intelligence. The journal version can be found here and the source-code can be downloaded here. Note that de Weibull-code is not distributed along with the color constancy code. See here for a version of such code.

Spatial Correlations (2008, 2011)

“Color Constancy with Spatial Correlations” is a paper written by Ayan Chakrabarti, Keigo Hirakawa and Todd Zickler, and was presented at the IEEE Computer Vision and Pattern Recognition Conference in 2008. Later, it was extended into a TPAMI-paper. Source-code for this method is available here, an online interactive demo can be found here.

Bayesian Color Constancy (2008)

Peter Gehler, during his internship at Microsoft Research Cambridge, worked on Bayesian Color Constancy resulting in a 2008 CVPR paper titled “Bayesian Color Constancy Revisited”. The source-code for this method, which is actually a re-implementation of the 2003 NIPS-paper “Bayesian Color Constancy with Non-Gaussian Models” by Charles Rosenberg et al., can be found here.

Generalized Gamut Mapping (2010)

Arjan Gijsenij, Theo Gevers and Joost van de Weijer made available the source-code of their implementation of the Gamut Mapping. This version includes the derivative-based Gamut Mapping published in a 2010 issue of the International Journal of Computer Vision. The corresponding journal paper can be found here and the software can be downloaded here.

Thin-plate Spline Interpolation (2011)

In 2011, Lilong Shi, Weihua Xiong, and Brian Funt published a paper in the Journal of the Optical Society of America A, titled “Illumination estimation via thin-plate spline interpolation”. The source-code of that paper can be found here.

Weighted Grey-Edge (2012)

The extension of the Grey-Edge incorporating weight maps (as described in their 2012 TPAMI-paper) is made available by the authors. The standard version only includes the specular weight map (the best performing weights), but all weight maps described in the article are included for the user to experiment with. The software can be downloaded here.

Edge-based Spatio-spectral (2013)

In 2013, Mehdi Rezagholizadeh and James J. Clark presented their work titled “Edge-Based and Efficient Chromaticity Spatio-spectral Models for Color Constancy” at the International Conference on Computer and Robot Vision (CRV). The authors agreed to make the source-code available on this website and the code can be downloaded here.

Image Sequences (2013)

In 2013, VĂ©ronique Prinet, Dani Lischinski and Michael Werman presented their work during the International Conference on Computer Vision on “Illuminant chromaticity from image sequences”. The authors agreed to make the source-code available and the code can be downloaded here.