I have a fairly easy problem but I can not find any algorithm for it. I have this kmeans classification of a windspeed pattern from a model output:
What I want now is to count the pixels in each patch of the classification. Basically meaning I want to count the coherent pixels of each instance. It would be furthermore awesome to have an algorithm to describe the shape of the instances.
What I have found so far is a CNN which does an instance segmentation.
OpenCV instance segmentation
Now I wonder if there is something out there which does the job easier than a NN. Any algorithm/language is welcome!
Here is the dataset which is plotted: Dropbox Link to .npy file