MATLAB Answers

How to prepare data set from an Image to find out number of clusters automatically?

2 views (last 30 days)
monjoy on 18 Mar 2015
Commented: monjoy on 7 Apr 2015
I have images and want to use FCM for segmentation purpose.I want to count number of cluster automatically. Please suggest how to prepare data set from any image? I am planning for GAP CRITERIA for this but don't know how to make data set. Please help me. please explain using any image.
I am Newbie here.


Show 1 older comment
Michael Haderlein
Michael Haderlein on 31 Mar 2015
Doing things on any image is usually very difficult. Please show an image as example. Also, I'm not an expert in image analysis, but maybe bwlabel might help you (I don't know if this uses the FCM algorithm).

Sign in to comment.

Accepted Answer

Adam Wyatt
Adam Wyatt on 31 Mar 2015
What do you mean cluster? The image processing toolbox has functions for doing this (if you mean a cluster is when all adjacent pixels are above a threshold).


Show 1 older comment
monjoy on 31 Mar 2015
Better tell me how to use Gap criteria for automatic identification of number of cluster from any RGB image. Please tell me procedure or MATLAB code.
Image Analyst
Image Analyst on 31 Mar 2015
Why is the image still not attached, even after you saw Michael's comment? If you make us try to work "blind" then we will just not work. Make it easy for us to help you, not hard to help you.

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Translated by