I am counting geese in large flocks in aerial photos using the 'detectSURFFeatures' function to identify individual geese. This gives me multiple feature centroids clustered at each goose image, which I analyze with 'kmeans'. I am currently sorting the resulting matrix of centroid values on cluster labels and using loops to calculate the mean centroid value for each cluster (see attached code).
MATLAB: What is the most efficient way to obtain the centroid of each cluster of centroids in the matrix produced by ‘kmeans’ cluster analysis
cluster analysismean of clustered centroidsStatistics and Machine Learning Toolbox
Best Answer