Since the spectroradiometer only provides a coarse measurements of the objects, due to the integration of the radiation passing through the 1° aperture, we took photographs of the stimuli presented under the same conditions as in the experiment, and estimated the luminance of each pixel of the images. We used a standard digital camera (Nikon D70). The whitepoint of the camera was set to the coordinates of the illumination. The photographs were taken from the observers' point of view.
To calibrate the camera, we first took a photograph of the Macbeth ColorChecker, and measured the radiation of each patch of the ColorChecker with the spectroradiometer. The RGB values of each patch were computed by averaging the RGB values of a 100 × 100 pixel cutout from each patch.
Since here we were only interested in estimating the luminance distribution of the objects, we computed a weighted average across the
R, G, and
B values of the six gray scale patches of the ColorChecker, resulting in one intensity value
I for each of the six patches.
We fitted a 5th degree polynomial to model the functional relationship between the values of
I and the luminance measured for the six patches.
To find the optimal combination of the RGB values,
Equations 1 and
2 with
w and
p determined based on the fit to the six gray scale patches were used to predict the luminance values of all 24 patches of the ColorChecker. The weights
w that minimized the squared error between the predicted and measured luminance values of all 24 patches of the ColorChecker were determined by using the Matlab (The MathWorks, Inc., Natick, MA) function fmincon. The resulting weights were [
w R ,
w G ,
w B ] = [0.1914, 0.7906, 0.0180]. The mean absolute deviation of the predicted and measured luminance values was 2.6 cd/m
2 (range: 0.1–11.2 cd/m
2). The mean error in CIELAB was Δ
L* = 3. The weights
w were used to compute gray scale versions of the images of the objects. The luminance of each pixel of the images was then estimated by applying
Equation 2.