Image segmentation via adaptive K-mean clustering and knowledge-based morphological operations with biomedical applications | Synapse