Building detection in high resolution remotely sensed images based on morphological operations