A segmentation approach to classification of remote sensing imagery