This code executes adaptive illumination compensation based black value or minimum value pixel followed by Y component of YCbCr space based illumination compensation. The code is cascaded execution of section 2.A of Paper "A Faast skin Detection " by Phil Chen et al ESC divisoin research 2005 and section 2.1 of paper "Simple and accurate Color Face Detection in complex Background" by Yu-Ting Pai et al, ICME 2006
Madhava Bhat (2020). Adaptive Illumination Compensation (https://www.mathworks.com/matlabcentral/fileexchange/24853-adaptive-illumination-compensation), MATLAB Central File Exchange. Retrieved .