Image Segementation using K means
显示 更早的评论
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.
回答(1 个)
Image Analyst
2017-4-30
编辑:Image Analyst
2017-4-30
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Feature Detection and Extraction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!