Explaining Color Evolution, Color Blindness, and Color Recognition by the Decoding Model of Color Vision

. The author proposed the decoding model of color vision in 1987. International Commission on Illumination (CIE) recommended almost the same symmetric color model for color transform in 2006. For readers to understand the decoding model better, this paper first introduces the decoding model, then uses this model to explain the opponent-process, color evolution, and color blindness pictorially. Recent references on the decoding and reconstruction of colors in the visual cortex induce a new question: what is the decoding algorithm from ganglion cells to the visual cortex? This paper also explains the decoding algorithm. The decoding model is explained as a fuzzy 3-8 decoder. The fuzzy logic used is compatible with Boolean Algebra. The model first obtains the median M of three cones’ outputs B, G , and R , and then obtain three opponent signals by B, G , and R minus M respectively. This model can unify Young and Helmholtz's tri-pig-ment theory and Hering's opponent theory more naturally than the popular zone models. It is symmetrical and compatible with the popular color transform method for computer graphics. The transform from the RGB system to HSV sys-tem according to the decoding model is introduced. Several fuzzy 3-8 or 4-16 … fuzzy decoders can be used to construct a Decoding Neural Network (DNN). The decoding algorithm from ganglion cells to the visual cortex can be explained with a two-layer DNN. The reasonability of the decoding model and the potential applications of the DNN are discussed.


Introduction
Young and Helmholtz's tri-pigment theory [1] and Hering's opponent theory [2] on color vision have been competing for a long time.A compromising viewpoint accepted widely is that color signals exist in tri-pigments at the zone of visual cones and in opponent signals at the zone of visual nerves [3].The mathematical model with this viewpoint is called the zone model [4].There are many improved versions of the zone model [5][6][7][8].However, why are color signals processed in this way?and how has color vision been evolving?The answers are still unclear.To answer these questions, the author of this paper built a model of color vision named the decoding model [9], which is new version of the zone model, and has been verified by predicting color appearance [10].
After the author explored the information conveyed by color vision, he developed a semantic information theory [11], which can be used for machine learning [12].Recently, the author learned that • international Commission on Illumination (CIE) recommended almost the same symmetric color model for color transformation [13]; • the human or macaque temporal cortex can decode and reconstruct colors [14][15][16][17][18][19][20][21].
These facts impel the author to introduce his further studies on color vision.The purpose of this paper is to help readers understand opponent-process, color evolution, color blindness, color decoding and reconstruction, and color recognition better.
The decoding model should be helpful to researchers who build the color vision mechanism of robots, and it may enlighten someone to build a neural network with the fuzzy logic [22] that is compatible with Boolean algebra for applications.
To the best of the author's knowledge, no other researchers use fuzzy logic that is compatible with Boolean Algebra for color models or neural networks, not to mention explaining color evolution, color blindness, and color decoding and reconstruction.
The main contributions of this paper are • It provides more explicit explanations of color evolution and colorblindness than the popular zone models.• It shows a simple algorithm for decoding and reconstructing colors in the human temporal cortex.• It proposes the decoding neural network for potential applications.
The following sections first introduce the decoding model and the color transform from the RGB system to the HSV system, then use this model to explain the opponentprocess, color evolution, color blindness, and color decoding and reconstruction in the visual cortex.Discussions include topics about the reasonability of the decoding model and the similarity between the decoding model and the neural network.

2
The Decoding Model of Color Vision

The Fuzzy Logic compatible with Boolean Algebra
The 3-8 decoder is frequently used in computers or numerical circuits for selecting one register or memory from eight.If B, G, and R are binary switching variables taking values from set {0,1} as three inputs to a 3-8 decoder, then eight outputs will be ] , and =0.Now, suppose that B, G, and R are continuous switching variables, i.e.B, G, and R take continuous values from set [0, 1].With the special continuous-valued logic or fuzzy logic [19], we can extend the binary 3-8 decoding into the fuzzy 3-8 decoding [9,10].The values of output codes are illustrated in Fig. 1.
The others can be calculated in like manner.

Transform from the RGB System to the HSV System
Let B, G, and R be tri-stimulus valves from cones.How do we simulate the visual system to obtain H (hue), S (saturation), and V (brightness) from B, G, and R? For any given color denoted by (B, G, R), there is which means that any color can be decomposed into the combination of white and six unique colors in different ratios.In the above equation, (0, 0, 1) stands for the most saturated red, i.e., unique red, and is the redness, and so on.It is coincident that only three items on the right of Eq. ( 2) may be non-zero for a given color, and the three cardinal vectors with 0 and 1 or unique colors must be at the three vertexes of one of six sectors in Fig. 2. Hence Eq. ( 2) can be changed into where e 1 and e 2 are two cardinal vectors or unique colors, and m 1 and m 2 are corresponding coefficients or output codes' values.
Suppose the angles at which e 1 and e 2 are located (see Fig. 2) are H 1 and H 2 .Let  Later the author found the above transform is the same as that proposed by Smith earlier [23].The differences are: • B, G, and R in Smith's transform are the signals of three primary colors lightening a pixel of a displayer instead of the tri-stimulus values of visual cones; • Smith uses "if-then" programming language rather than logical operations; • The logical expressions for the opponent-process only exist in the decoding model.

Opponent-Process
We use Venn's Diagram to show the essence of the opponent-process.Let ∩, U, and c denote three set operations: intersection, union, and complement respectively, and let B, G, and R represent the three circular fields respectively (see Fig. 4).For convenience, we also use " -" for complement operation and omit ∩.Then, the eight fields can be represented by , and From B, G, and R, we can first obtain which represents the trefoil (the intersecting fields of two or three circles).Then, we have where DeMorgan Law is used.Similarly, there are Then we obtain three opponent signals: blueness-yellowness (M BY ), greenness-magentaness (M GM ), and redness-cyanness (M RC ).The calculations are surprisingly simple: .
The opponent-process corresponding to different monochromatic lights is shown in Fig. 5, where the three response curves are assumed for convenience.We can also consider the left-upper part of Fig. 5 as a Venn's diagram.There are eight divided fields.The length of the part of a vertical line on a field is just the magnitude of the corresponding unique color signal.These fields can illustrate the changes in the color perception caused by different monochromatic lights well.

To Explain Color Evolution
According to the decoding model, we can easily explain the evolution of color vision by splitting the sensitivity curves of visual cones (see Fig. 6).We may imagine that curves R(λ) and G(λ) gradually approach one another to become one curve named Y(λ).
Then we would see the fields representing red, green, cyan, and magenta disappear gradually.Further, let curves B(λ) and Y(λ) approach one another gradually to become one curve named W(λ).Then we would see the fields representing blue and yellow disappear gradually, and only the black and white fields remain.Now, we can imagine that color vision was evolving in the opposite procedure.First, there was only one kind of visual cones in the human retina, and only two totally different colors (black and white) could be discerned.Then, with the evolution of color vision, the cones split into two kinds that had different spectral sensitivities so that blue and yellow were also perceived.After that, the cones split into three kinds so that more colors were perceived.We may conclude that n different kinds of cones can produce 2 n totally different color perceptions for n=1, 2, 3.When n=4, the conclusion seems also true.A symmetrical model of four primary colors for robots can be seen in [24].The model has 14 "unique colors", which can be symmetrically put on the surface of a ball, besides "white" (1, 1, 1, 1) and "black" (0, 0, 0, 0).We can obtain a "color" ball that has many properties very similar to those in the Newton color wheel.
The evolution of color vision might have come in a somewhat different way.For example (see Fig. 6, deuteranopia-2), the curve W(λ) first split into R(λ) and C(λ) related to cyan, instead of B(λ) and Y(λ), then C(λ) split into B(λ) and G(λ).

To Explain Color Blindness
Color blindness has been discussed by many researchers [25,26].It can also be easily explained by the sensitivity curves of cones that are too close to each other (see Fig. 7).For example, monochromatism can be explained under the assumption that the sensitivity curves B(λ), G(λ) and R(λ) have not yet separated from one curve; red-green blindness can be explained under the assumption that the curves G(λ) and R(λ) have not yet separated from one curve.
According to the decoding model, some red-green blindness can be identified as protanopia or deuteranopia only because the peak of Y(λ) has shorter or longer wavelength.Tritanopia and tetartanopia can be illustrated by the assumption that the B(λ) and G(λ) ( or B(λ) and R(λ) ) have not yet separated so that each kind of color blindness can only perceive two chromatic colors: red and cyan (or green and magenta).

Decoding and Reconstructing Colors in the Human Visual Cortex
Many neurons in the visual cortex are color selective, and color-opponent responses are evident throughout the visual cortex [14,15, ].The human visual cortex can decode and reconstruct colors from the voxel responses of cones [16,17].Many different neurons in the visual cortex respond to many specific colors [18,21].However, the relation between voxel responses and decoding outputs in the visual cortex is still unclear.Reference [16] uses a matrix to represent the decoding algorithm from voxel responses to decoding outputs; reference [21] uses Poisson distributions to describe the decoding algorithm from colors to decoding outputs.However, what we need is to explain the decoding algorithm from opponent-color signals as the outputs of ganglion cells to decoding outputs in visual cortex.Using the decoding model, we can build a two-layer neural network, with which we can easily explain the decoding algorithm.
The decoding model can be regarded as a single-layer neural network with three inputs and eight outputs.If the three outputs at every sector, such as signals of white, red, and yellow, are used as the inputs of another fuzzy 3-8 decoder (see Fig. 8), then we have a two-layer neural network.We call this neural network the Decoding Neural Network (DNN).Using a two-layer DNN, we can explain how six unique colors plus white are further decoded into more specific colors that are reconstructed in the human visual cortex, as shown in Fig. 8.For example, one output represents an orange or pink color in the visual cortex.We can also use the DNN for color recognition, not only for three primary colors, but also for four primary colors perceived by robots [24].

About the Reasonability of the Decoding Model
Several reasons make the decoding model convincible: • The model is concise, symmetrical, and without any coefficient.
• It can be used to explain the opponent-process, color evolution, color blindness more naturally than the popular zone models.• It can be used to explain the decoding and reconstruction of colors in the visual cortex more conveniently.• In the popular zone model, red plus green at the zone of visual cones become yellow; yet, red plus green at the zone of visual nerves become white.Therefore, the meanings of "red" and "green" in the popular zone model are easily misunderstood.However, the decoding model does not have this problem.• The decoding model is more compatible with the laws of color mixture that are used for the color transform of computer graphics.• We can also use the decoding model to explain the phenomenon of negative afterimage conveniently.For example, when the sensitivity of the R-cone falls down, ] [ R BG for cyanness will be over zero when white (1,1,1) is perceived so that white looks cyan.
There is a possible problem with the decoding model.In the popular zone model, there are only two pairs, instead of three pairs, of opponent colors.It seems that psychological and physiological experiments support the affirmation that only two pairs of opponent colors exist.However, we can argue that the "red and green" in the popular zone model is, in fact, a pair of opponent colors between red-cyan and green-magenta.More than four unique colors were also affirmed by others [27].
According to the decoding model, we can make two predictions.One is that there should be some fuzzy logic gates, which execute the operations of maximum, minimum, and even median, in the human retina.Another is that there should be some chromatic opponent units in visual nerves, whose response curves have a horizontal line, instead of a neutral point, between positive and negative parts (see the right part of Fig. 5).These logic gates and opponent units have not been mentioned yet (which is another problem with the decoding model) either because most experiments were made with animals whose color vision is not complete as ours, or because the guidance from appropriate theory was absent.For example, a widely used method for identifying a chromatic opponent unit is to find its neutral point [28]; however, this method is not suitable for identifying the opponent unit suggested above.The author believes that the predicted logic gates and the opponent units will be discovered soon by physiologists who pay attention to them.

About the Potential Applications of the Decoding Neural Network
Fig. 8 indicates that we can use several or many 3-8 or n-2 n decoders to construct a twolayer or multi-layer Decoding Neural Network (DNN).Compared with the popular neural network, the DNN has different characteristics: • It uses fuzzy logic without parameters.
• Every nerve cell in the next layer has inputs that are selected from one sector of the previous layer.• The number of non-zero outputs is equal to the number of inputs.
Using biologic feature vectors instead of color vectors, we may use a DNN to recognize some different living things.It is possible to combine the DNN with existing neural networks to improve machine learning in some cases.We need further studies on the DNN.

Conclusions
This paper has introduced the decoding model of color vision, including the fuzzy logic and the opponent-process for it.This model can unify Young and Helmholtz's tri-pigment theory and Hering's opponent theory more naturally than the popular zone models.And, this model is symmetrical and compatible with the popular color transform method, and hence, is also practical.The paper has used the decoding model to explain color evolution and color blindness pictorially.It has also used the DNN, which consists of two-layer fuzzy 3-8 decoders, to explain the decoding and reconstruction of colors in the visual cortex.These explanations indicate the reasonability of the decoding model.The DNN that consists of some fuzzy n-2 n decoders has some desirable characteristics for machine learning and needs further studies.

Fig. 6 .
Fig. 6.The Evolution of color vision illustrated by splitting sensitivity curves.

Fig. 7 .
Fig. 7. Different kinds of color blindness illustrated by incomplete separations of three sensitive curves.

Fig. 8 .
Fig. 8.A two-layer DNN can be used to explain the decoding algorithm from voxel responses in cones to decoding outputs in the visual cortex.