[Y,newmap] = cmunique(X,map) 从颜色图 map 中删除重复的行以生成新颜色图 newmap。该函数还会调整强度图像 X 中的索引以保持索引与颜色图之间的对应,并在 Y 中返回结果。图像 Y 和关联的颜色图 newmap 生成与 X 和 map 相同但包含尽可能小的颜色图的图像。
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.