The morphological pyramid and its applications to remote sensing: multiresolution data analysis and features extraction