Conversion of RGB images into Lab images: The
image caption system captured images as RGB signals,
which are device-dependent. Therefore, to ensure
correct color reproduction, colors of images were converted
into XYZ tri-stimulus values and later to
CIE Lab color coordinates using a macro written in
Matlab 7.02