I wanted to look into doing a RGB2Lab conversion in skimage
but I got a bit confused with the different color spaces.
The standard method to go from RGB to Lab seems to be via XYZ.
I compared the way that RGB2XYZ is done in scikits-image, vl_feat
and the SLIC code, and they seem to be three different ways.
As I want to use Lab for the segmentation methods by the vl_feat
authors and SLIC, I feel this is a bit unfortunate.
The difference between wikipedia, skimage and vl_feat seems to be
that vl_feat does a gamma-correction of 2.2.
SLIC does something else that I don't really understand.
Could someone help me understand the differences so that I can
try and reproduce other peoples' results?