Written in Java, the partially automated contrast calculator aims to simplify the process of finding the high and low values needed to calculate contrast. It runs faster than the IMAQ Vision Builder program because it is dedicated to one purpose and therefore does not have all of the overhead like the other program.

It places the histogram, data output, and image selection all on one screen so multiple readings can be taken more rapidly. The histogram has also been improved by making it larger and easier to read with a zoom function which expands the x-axis. It also includes a feature which allows the user to enter high and low values into two different forms to computer Michelson contrast for both monochrome and color screens. Currently the program only supports JPEG image files, but a less stable, experimental version also supports TIFFs. There is almost no variation between the outputs using the two different image files. The problem with loading TIFFs is the immense amount of memory required to load the image. JPEGs require approximately 56 MB of memory while TIFFs require anywhere from 300-700 MB of memory. To circumvent some of the overhead, the program currently loads a JPEG into the display and allows the user to select the area of the image to be measured, and once the selection has been made, it takes the measurements from a TIFF version of the image. This method runs faster, but not as fast as using just the JPEG. Another problem with this is the file must be available in both TIFF and JPEG for the program to read, so the .CR2 files must be converted into both and held within the same folder.


The original system is composed (R-to-L in the picture to the left) of a Canon EOS D30 Digital SLR camera, a Leica Z6 APO long-distance microscope zoom lens, an iris diaphragm to control the field of view, and an in-line integrating sphere with a 3-watt lamp as a uniform light source - all horizontally mounted on a vibration-free optics table.