https://www.mathworks.com/matlabcentral/fileexchange/50872-function-for-counting-colors-in-a-skin-lesion?s_tid=prof_contriblnk
Download and share free MATLAB code, including functions, models, apps, support packages and toolboxes
counting colorsskin lesionfile exchangefunction