Multi-Class Segmentation with Relative Location Prior