when ew use k means clustering when we use imsegkmeans show that undefined

3 vues (au cours des 30 derniers jours)
arun Tripathi
arun Tripathi le 26 Mar 2021
Réponse apportée : Arjun le 13 Juin 2025
>> 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'.

Réponses (1)

Arjun
Arjun le 13 Juin 2025
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!

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by