Image Segmentation by Advanced Morphological Filtering and Clustering