File Exchange

image thumbnail

Illumumination Compensation in RGB space

version 1.0 (1.96 KB) by

This code executes adaptive lighting compensation.

3 Downloads

Updated

View License

This is a two stage method in which at first image RGB compensated and then converted to YCbCr to normalise overall illumination of image.Its cascaded implementation of section 2.A of paper "A FAST SKIN REGION DETECTOR" by Phil Chen, Dr.Christos Greecos, 'ESC Division Research 2005,and section 2.1 of paper "Simple and Accurate Color Face Detection Algorithm in Complex Background" by YUI TING PAI et al.'ICME 2006'. Please go through those papers for more details.

Implementing this code is simple
I=imread('filename');
imag_improve_rgb(I)

Comments and Ratings (5)

Aj_ti

Aj_ti (view profile)

m1k3l

m1k3l (view profile)

@haoxiang, comment line 19 and 23.
and yes indeed it is the same file as adaptive illumination compensation.
It does get skin color well, so beware not to have objects with similar color!

haoxiang

Its awesome! but in my case, there is a error when running, ??? Undefined function or variable "minR".
Please check it out

Janayna

Can you send the paper "A FAST SKIN REGION DETECTOR"? I have searched in the web, but it isnt available.
Thanks for your help.
Janayna

MATLAB Release
MATLAB 7 (R14)

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

» Watch video