Contextual Approaches for Detail-Preserving Processing of Remote Sensing images