%LAB2RGB Convert an image from CIELAB to RGB % % function [R, G, B] = Lab2RGB(L, a, b) % function [R, G, B] = Lab2RGB(I) % function I = Lab2RGB(...) % % Lab2RGB takes L, a, and b double matrices, or an M x N x 3 double % image, and returns an image
基于CIElab空间颜色K均值聚类的彩色图像分割。
如果运行不通,可尝试不直接点击“运行”,而是点击“运行并前进”按钮。
具体步骤如下:
i. Read image file data;
ii. Transform color image from RGB to lab color space;
iii. Format conversion;
iv. Segmentation of image into n regions by K-mean clustering;
v. Take