Improved tree-structured segmentation of remote sensing images