Thank you very much for suggestions, Jofre! I will experiment with ClusteringComponents, MorphologicalComponents, ref/WatershedComponents, and DominantColors functions.