Brain tumor detection in MR image using superpixels, principal component analysis and template based K-means clustering algorithm | Synapse