Cell detection and segmentation using correlation clustering