A color identification system based on class-oriented adaptive color space quantization