You will need a photometer in order to use that program. This file describes the gamma function and RGB gains of your video card and attenuator. It is a C header file. We recommend the latter approach, because it makes your program portable across monitors. The relevant subroutines are all in the file called Luminance.c.
Documentation is in the file Luminance.h.
Note that LuminanceRecord1.h and LuminanceRecord2.h are provided as samples in the VideoToolboxSources folder, so that the demonstration programs can be compiled even before you have calibrated your own display. However, before doing any serious experiment it is essential that you replace the example by a new LuminanceRecord file that describes your own display. The upgrade is also available from ISR, see ordering instructions above. You can make your own gender changers, or buy any brand, but those made by GC Electronics are particularly compact and inexpensive. They are sold by most electronics supply houses, e.g. Newark Electronics.