how to obtain pixel values of cluster

5 次查看(过去 30 天)
sir, i have done k means clustering on an image.By using imagesc command ,i can view he image and see 3 clusters. i used adaptivecluster function from mathworks.it works well.What i want is that i want to delete the one set of cluster or want the pixel values in each cluster.please help?

回答(1 个)

Image Analyst
Image Analyst 2014-6-28
What toolbox is the "adaptivecluster" function in? Please list it in the Products section. A search of the entire Mathworks web site didn't show it anywhere except in your question. And your question does not provide us with enough details to answer. You gave no original image, no clustered image, no code, nothing - so how are we supposed to help, I mean other than referring you to this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer?
  7 个评论
raj kumar
raj kumar 2014-6-29
sir, do any matlab code avilable to form two clusters of an image using k means algorithm.please provide..
Image Analyst
Image Analyst 2014-6-29
Here's an example using an image and kmeans() from the Mathworks: http://www.mathworks.com/products/demos/image/color_seg_k/ipexhistology.html
Even though you say you got the answer already , it might be instructive to look over their example.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by