clustering an image using matlab

2 次查看(过去 30 天)
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

采纳的回答

Image Analyst
Image Analyst 2015-3-24
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?
  1 个评论
izyan hanum
izyan hanum 2015-3-24
cluster them based on area mean : after i run the coding they will show me the area or the cell. i need to cluster them as simple as i can. mean
area < 2000 is pus cell figure(4), imshow(puscell); area > 2000 is epithelial cell figure(5), imshow(cepithelial cell);
i already make and run the coding but have error. here is my coding. it make me really stress because it so difficult . are you understand now sir.?
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

请先登录,再进行评论。

更多回答(1 个)

izyan hanum
izyan hanum 2015-3-24
sir image analysis are you understand what i mean sir? i need cluster them as simple as i can like
area < 2000 is pus cell figure(4), imshow(puscell);
area > 2000 is epithelial cell figure(5), imshow(cepithelial cell);
  2 个评论
Image Analyst
Image Analyst 2015-3-24
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.
izyan hanum
izyan hanum 2015-3-24
yes sir that i mean. sorry make you confuse. i will look your tutorial and study more because i need to enhance the image. thank you for your tutorial and helping me. thanks again sir .

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by