Let us see if we can model color perception using some interesting Mathematics:
We choose thin-spike neurons, because action potentials of optical neurons are more narrow compared to the others. For example, interneurons in the prefrontal cortex are thin-spike neurons.
Such a spike is basically a short electrical discharge. In Maple, it can be modelled as:
> pulse:=(width,amplitude,t)->piecewise(-width<=t and t<=0,solve(amplitude/width=(y-amplitude)/t,y),0<=t and t<=width,solve(-amplitude/width=(y-amplitude)/t,y),0);
The above is just a short triangular spike. Let's see it:
Now we transform the pulse above to a periodic signal:
> signal:=(period,width,amplitude,t)->piecewise(-width<=t and t<=width,pulse(width,amplitude,t),pulse(width,amplitude,t-round(t/period)*period));
Note that period = 1/f, where f is the frequency of neuron firing, and these frequencies can be practically taken to BE the values of the functions x(λ), y(λ) and z(λ) on the CIE 1931 Color Matching functions diagram:
Hence, any triplet x(λ), y(λ) and z(λ), immediately translates into three signals in the time domain. If we pick the three values from the color matching diagram above at λ=555nm, x(555), y(555), x(555) (which is where the eye's maximum sensitivity is at), we get:
And the combined signal will be:
The above signal is equivalent to the plain electrical impulse signal:
The above plot is a codon for the color which the eye perceives when it looks at λ=555nm on a continuous (or discrete) spectrum in a spectroscope (Note that the blue signal is almost non-existent in the time domain). Such would be the signal generated for an eye stimulus for a spectrum similar to the spectrum of Tl, for example:
Although I used the explicit mappings x(λ) -> 1/f[R], y(λ) -> 1/f[G], z(λ) -> 1/f[B], what matters in this case is their relative ratios, i.e., f[R]/f[G], f[R]/f[B], f[G]/f[B]. These ratios are exactly equal to the ratios between the actual thin-spike neuron firing frequencies.
The mathematical details of how the brain interprets the modulation of the signals and averages between them to produce the sensation of color, are used in this article to simulate color perception and to generate some Lamp Engineering applications.
Then, variations in color generate the sensation of shapes and symbols, resulting in conscious recognition. Add to that one slightly different signal from the second eye, and you have distance estimation.
The keen observer will notice that this model's most amazing characteristic is an incredible transition, the transition from discreteness (three signals in the time domain) to (perception of color) continuity. That's the miracle of Color Vision!
Back to Mathematics