Matlab Functions for Vision Science by M. P. Rowe

Since I study comparative color vision, and since I focus on how differences in photopigment spectal sensitivies lead to differences in performance capabilities, most of these tools relate to that specific topic.

Functions for computing spectral sensitivity of a photopigment:

Dartnall.m
BaylorNomogram.m
Stavenga.m
Lamb.m
Govardovskii.m

Functions for adjusting spectral sensitivities based on:

Self-screening: PigmentDensityCorrection.m
Absorption by Lens: LensDensityCorrection.m
Absorption by Macular Pigment: MacularDensityCorrection.m

Ancillary files for those adjustments:

Lens data for:
Human
Human 2
Macaque
Squirrel Monkey
Marmoset
Squirrel Monkey/Tamarin
Baboon
Bushbaby

Macular pigment data for:
Human

Functions for computing human cone fundamentals (absorption with all screening already included):
Stockman & Sharpe

For most of my human cone fundamental needs, I use what’s in the Psychophysics Toolbox.

Function for Converting quantal absorptions to photoreceptor response:

visresponse.m

Let me know if you need more of an explanation for anything here.

As I mention in the Matlab functions page, I have a lot of other tools. One type of function you might find of particular interest is functions for computing coordinates in various color spaces such as Chittka’s color hexagon, or a general Maxwell’s triangle. If there’s any mathematical tool you might want for comparative color vision, feel free to ask me if I have written or would write code for solving you problem(s)...

Return to M. P. Rowe’s Matlab Functions page.

This page was last touched on January 31, 2006

© Mickey P. Rowe, 2006