Code for segmentation and classification of remote sensing imagery using RSGISLIB software