how to obtain pixel values of cluster

3 views (last 30 days)
raj kumar
raj kumar on 28 Jun 2014
Commented: Image Analyst on 29 Jun 2014
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?

Answers (1)

Image Analyst
Image Analyst on 28 Jun 2014
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 Comments
raj kumar
raj kumar on 29 Jun 2014
sir, do any matlab code avilable to form two clusters of an image using k means algorithm.please provide..
Image Analyst
Image Analyst on 29 Jun 2014
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.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!