Image Segementation using K means
12 views (last 30 days)
Show older comments
Can anyone help me.I want to segment a breast or white part from the black background and anything else in an image using K means clustering.
0 Comments
Answers (1)
Image Analyst
on 30 Apr 2017
Edited: Image Analyst
on 30 Apr 2017
Not sure it's better than any other method, like imbinarize() or graythresh(), but I'm attaching a kmeans demo. It's for color so you'll have to delete the stuff for the other two color channels and make it work for just a gray scale image. Post your code and image if you have any problem.
2 Comments
See Also
Categories
Find more on Feature Detection and Extraction 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!