Undefined function 'adaptcluster_kmeans' for input arguments of type 'uint8
1 次查看(过去 30 天)
显示 更早的评论
Hi expert,
I got this error,
Undefined function 'adaptcluster_kmeans' for input arguments of type 'uint8'.
Error in Untitled (line 21)
m=adaptcluster_kmeans(x);
this is my code:
i already check image processing toolbox and its already has licence for toolbox. Please help me,, thank you in advance
0 个评论
回答(1 个)
Walter Roberson
2022-6-29
That function is not part of MATLAB. You need to install https://www.mathworks.com/matlabcentral/fileexchange/45057-adaptive-kmeans-clustering-for-color-and-gray-image
3 个评论
Walter Roberson
2022-6-29
You should have used the Add-On Explorer to have MATLAB install that File Exchange contribution, after which you would be able to call upon it as if it had been supplied by Mathworks.
You should not have copied the code into your own script.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!