Recently, we reported a single input channel joint transform correlator for the color pattern recognition which decomposes the input color image into three R, G, and B gray components and adds those components into a single gray image in the input plane. This technique has the merit of a single input channel instead of three input channels. However, we found this technique has some problems with discrimination impossibility in the case of a simple primary color pattern which results in the same gray level through the addition process. Thus, we propose a modified coding technique which selectively recombines the decomposed three R, G, and B gray components instead of the simple adding process. Simulated results show that the modified coding technique can accurately discriminate a variety of kinds of color images.