clustering an image using matlab
2 views (last 30 days)
Show older comments
izyan hanum
on 24 Mar 2015
Commented: izyan hanum
on 24 Mar 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
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 Comments
Accepted Answer
Image Analyst
on 24 Mar 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?
More Answers (1)
izyan hanum
on 24 Mar 2015
2 Comments
Image Analyst
on 24 Mar 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.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!