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.