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.

Réponses (1)

Image Analyst
Image Analyst le 30 Avr 2017
Modifié(e) : Image Analyst le 30 Avr 2017

0 votes

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.
See Steve's blog for other options.

2 commentaires

Buyani Mhlongo
Buyani Mhlongo le 30 Avr 2017
I want to do what was done by Abdelali Elmoufidi in their study entitled (*Automatically Density Based Breast Segmentation for Mammograms by using Dynamic K-means Algorithm and Seed Based Region Growing*) since I am using the same database MIAS Database they used in pyhton open CV
Image Analyst
Image Analyst le 30 Avr 2017
OK, good luck.

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by