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.

Risposte (1)

Image Analyst
Image Analyst il 30 Apr 2017
Modificato: Image Analyst il 30 Apr 2017

0 voti

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 Commenti

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
OK, good luck.

Accedi per commentare.

Richiesto:

il 30 Apr 2017

Commentato:

il 30 Apr 2017

Community Treasure Hunt

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

Start Hunting!

Translated by