Satellite Image Classification by Using Distance Metric