Learning class-specific affinities for image labelling | IEEE Conference Publication | IEEE Xplore