An active learning heuristic using spectral and spatial information for MRF-based classification