Non-local spatially varying finite mixture models for image segmentation