Luminance correction for colored images using SHINE toolbox
28 views (last 30 days)
Rodrigo Souza on 28 Jan 2019
Edited: Rodrigo Souza on 28 Jan 2019
I have put together three scripts for calculating (mean and SD), matching or normalizing luminance of colored images (using HSV and CIE Lab color spaces).
They may be specially useful for pupillometry measures of infant research.
The scripts and their descriptions are available at my OSF page: https://osf.io/auzjy/
Hope it helps.
Image Analyst on 4 Jul 2016
Edited: Image Analyst on 19 Sep 2016
I've never heard of the SHINE toolbox. It's not one that the Mathworks sells. Do you have a reference?
To equalize luminance, convert to hsv or lab color space, then set the L or v channel to a constant, then convert back to rgb color space.