An Adaptive SVM Nearest Neighbor Classifier for Remotely Sensed Imagery