| brian.m | produces brian_spd2rgb using data squishing. |
| createStandardColors.m | averages the standard colors from the balancedImages directory and saves the result in standardColors.mat |
| deduce_spd2rgb.m | produces our_spd2rgb using matlab matrix division |
| fwhosindColorErrors.m | makes histograms of the color errors in balancedImages and unbalancedImages with reference to standardColors.mat |
| getColorAt.m | returns the average color in a 5x5 region of the given image surrounding the given pixel |
| getMacbethColors.m | extracts the set of standard colors from an image |
| makeplots.m | creates some nice pictures in the plots directory |
| predict.m | predicts rgb values from spd and spd2rgb |
| predictall.m | predicts rgbs for all 113 samples, using both the spd2rgb calculated from our approach and that from Dr. Wandell's approach. |
| recalculate_all.m | unbalance all images. (~5-10 hours!) |
| unbalance_image.m | backs out color balancing for the given image based on comparison of the macbeth colors with standardColors. |
| balance | 3x3 balance matrices per image |
| balancedImages | original data from the camera |
| balancedColors | Macbeth values per original image |
| balancedRgbs | RGB values of each sample as given by the camera |
| plots | plots |
| spectral_radiometer | spds |
| unbalancedColors | Macbeth values per processed image |
| unbalancedImages | images after balancing is backed out |
| unbalancedRgbs | sample RGB values after balancing backout |