clustering an image using matlab
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
izyan hanum
am 24 Mär. 2015
Kommentiert: izyan hanum
am 24 Mär. 2015
i have error in coding below. can someone help me.? when i run they only calculate the area of cell but error when i want to cluster them based on area ..please help me
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148253/image.jpeg)
coding link below :)
https://word.office.live.com/wv/WordView.aspx?FBsrc=https%3A%2F%2Fwww.facebook.com%2Fattachments%2Ffile_preview.php%3Fid%3D734274853338438%26time%3D1427127122%26metadata&access_token=100003736390577%3AAVKwfhY8Bg_OXG_qYVHRh4hByGWdBCkH8QqLBSW3UOoxzQ&title=Try+thresholding+in+HSV+color+space+to+get+purple+blobs+but+not+black+blobs+or+yellow+background.docx
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 24 Mär. 2015
I showed you how to segment and measure the regions in your prior question. Please explain what "cluster them based on area" means. You can make a can chart of the blob areas. Are you saying that you, for some reason, expect the areas to be clustered into two size ranges? So that the histogram would be bimodal (with two humps)? If so, what do you based that one?
Weitere Antworten (1)
izyan hanum
am 24 Mär. 2015
2 Kommentare
Image Analyst
am 24 Mär. 2015
OK, I see from your duplicate question that you actually mean "select" or "classify" or "do size filtering" rather than "cluster" - the wrong terminology is what threw me off.
I suggest you look over my Image Segmentation Tutorial where I show how to exactly that. I get images of the two sizes of coins. I know you got your answer from the other person, but this tutorial has lots of other good stuff in it besides size filtering.
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!