A class-wise spatial-contextual approach based on a free discontinuity model for change detection in multispectral images