This package consists of 3 files: rgb2hsl.m, hsl2rgb.m, and hsltest.m. The first two perform color conversion between HSL and RGB color spaces for 1d and 2d arrays(images). The last file includes unit tests for conversion.
The command rgb2hsl doesnt work in matlab 2016. One member has put a comment that it needs to be converted to double instead of uint8. But how can I do this. please help me.
Thanks but this does not work in Matlab2016
rgb2hsl is not working
then what should i do sir.?
rgb2hsl is not working properly. It needs to convert the results of some operations to double format instead of uint8
Works as advertised