other spectral classes; therefore, it is a way of describing the contextual surroundings for each individual pixel. The distance to each individual class is a dimension in multidimensional feature space,which means that all of the pixels in the image have a location in the multidimensional feature space that can be analysed using clustering techniques. The contextual feature vector can be expressed as: