I have some .png images which can be imread as 266*466*3 unit8

I need for clustering segmentation to perform rgb2lab for them.

However there is an eror as( undefined function 'rgb2lab' for input arguments of type 'unit8'.

What should I do for solve this problem and preventing such error to go through other part of the code running?

It would be appreciated to let me know the best solutions.

Similar questions and discussions