How to convert an image from rgb to lab by pixel by pixel matrix???
6 views (last 30 days)
Matt Kindig on 25 Oct 2013
You can convert rgb to L*A*B colorspace using the makecform() and applycform() functions. From the documentation:
cform = makecform('srgb2lab');
lab_IMG = applycform(IMG,cform);
Jan on 25 Oct 2013