Image Segmentation and Classification

9 vues (au cours des 30 derniers jours)
Westin Messer
Westin Messer le 12 Mar 2018
Commenté : Image Analyst le 14 Mar 2018
I have recently been tasked to a project which primarily deals with image segmentation. I am supposed to read in an MR brain image and apply k-means clustering on the image with k = 5. Obtain segmented regions through pixel classification using the clustered classes. Compare the segmented regions with those obtained from the optimal gray value thresholding method.
I know k-means clustering is not too difficult but I'm not sure how to "Obtain segmented regions through pixel classification using the clustered classes" and I would like to seek some professional advice from the community to point me in the right direction on what I should be looking at or doing.
Feel free to drop me any comments. Any help rendered is deeply appreciated.
Best Regards Westin Messer

Réponse acceptée

Image Analyst
Image Analyst le 13 Mar 2018
See my attached kmeans demo for a gray scale image. Adapt as needed.
By the way, kmeans is a dumb (bad) method for tumor detection. I assume it's just for an illustrative student exercise rather than a real world situation.
  3 commentaires
Westin Messer
Westin Messer le 13 Mar 2018
I figured it out. Sorry about that.
Image Analyst
Image Analyst le 14 Mar 2018
So did it work for you? Like I said, it is not robust so it won't detect every tumor from 0% to 100% in size. Plus any pixels with that gray level will get selected, regardless if they are actually tumor pixels or not, that just happen to have the same gray levels by chance.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by