k-MS: A novel clustering algorithm based on morphological reconstruction