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

3 ビュー (過去 30 日間)
arun Tripathi
arun Tripathi 2021 年 3 月 26 日
回答済み: Arjun 2025 年 6 月 13 日
>> 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'.

回答 (1 件)

Arjun
Arjun 2025 年 6 月 13 日
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!

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by