Initialization of imsegkmeans function
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Koen Franse
am 15 Feb. 2021
Beantwortet: Aditya Patil
am 18 Feb. 2021
Hi everyone,
I'm using the imsegkmeans function to segment images. I know that the kmeans function has the possibility to give initial centroids as an input; I would like to initialize the imsegkmeans function too in some way (e.g. give the predicted cluster pixel intensities as the initial value for the segmentation), but I can't find anything on how to do this. Any suggestions?
Thanks in advance!
0 Kommentare
Akzeptierte Antwort
Aditya Patil
am 18 Feb. 2021
Currently, there is no support for setting explicit values for the centroids.
However, you can set the 'NumAttempts' name value pair to a high value. The algorithm tries random set of centroid multiple times, and chooses the best of them.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!