when ew use k means clustering when we use imsegkmeans show that undefined
8 views (last 30 days)
Show older comments
>> I = imread('C:\Users\Arun tripathi\Desktop\Ph.d\image.jpg');
imshow(I)
title('Original Image')
>> RGB = imread('C:\Users\Arun tripathi\Desktop\Ph.d\image.jpg');
>> RGB = imresize(RGB,0.5);
>> imshow(RGB)
>> % segments image I into k clusters by performing k-means clustering and returns the segmented labeled output in L.
>> L = imsegkmeans(RGB,2);
Undefined function or variable 'imsegkmeans'.
0 Comments
Answers (1)
Arjun
on 13 Jun 2025 at 6:33
There is an existing MATLAB Answers thread that addresses a similar issue. It would be beneficial to review the suggestions provided in that discussion.
I hope this helps!
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!