Morphological Operations for Color-Coded Images