how to use kmeans function to transform grayscale image to binary
Show older comments
Answers (2)
Hello,
Please check the link below. Maybe this helps. Also, I would like you to know that this is a part of the image processing toolbox in MATLAB.
Steps 5 onwards are of more relevance to your problem I suppose.
2 Comments
gurleen ghuman
on 3 Jul 2016
this segmentation is not working on gray image..can u plz help?
Image Analyst
on 3 Jul 2016
No, I don't think you can do it. What are the two or more features such that you can define two clusters? All I know for sure that you have is gray level. What is/are the other feature(s)?
moahaimen talib
on 4 Apr 2017
0 votes
does k mean clustering works on binary image 0 1 thanks
Categories
Find more on k-Means and k-Medoids Clustering 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!