File Exchange

image thumbnail


version 1.0.0 (99.4 MB) by Andrea Ballabeni
Color correction pipeline of raw images using a Macbeth colorchecker.

1 Download

Updated 19 Dec 2018

From GitHub

View license on GitHub

This Matlab pipeline uses a Macbeth colorchecker to correct the colors of an image.

In order to do that, it uses
DC_RAW or RAWTHERAPEE to read a raw file
ccFind to identify a Macbeth colorchecker target in the image.
White balance is performed in window mode in dcRaw.

Image is then color corrected using different techniques:
1) polyfit - weighted polyfit
2) spline based fitting (based on SLMtools)
3) SHAFT, that is a trial and error approach freely inspired by Adobe Camera Raw script
USAGE Launch noFrillsDevelopment.m to process a file or a folder containing raw images with detectable colorchecker

ccFind is a customized version of the code from the paper: Garcia Capel, Luis E. & Hardeberg, Jon Y.. Automatic Color Reference Target Detection. The 22nd Color and Imaging Conference (CIC), IS&T, Pages 119-124, Boston, MA, USA, Nov, 2014.

matlab-readraw (Fahri Readraw)
A dcraw wrapper for matlab

DCRAW by Dave Coffin

Shape language Modeling by John D'Errico

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2017b
Compatible with R2017b and later releases
Platform Compatibility
Windows macOS Linux

Inspired by: SLM - Shape Language Modeling


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!