


Create a data structure of the Gretag/Macbeth Color Chart reflectances
macbethChartObject = macbethChartCreate([patchSize=12],[patchList=1:24],[spectrum={400:10:700});
Create a scene of spectral reflectance functions of the Macbeth chart.
The chart is coded as if you are looking at it with four rows and six
columns. The white surface is on the left, and the black surface is on
the right.
The numbering of the surfaces starts at the upper left and counts down
the first column. The white patch, therefore, is number 4. The
achromatic series is 4:4:24.
To read the surfaces in the standard ordering used in image processing
routines, like vcimageMCCLAB, use
list = [4 3 2 1 8 7 6 5 12 11 10 9 16 15 14 13 20 19 18 17 24 23 22 21]
macbethChartOther(:,list) = macbethChart;
The surface reflectance function information are contained in the slot
macbethChartObject.data. It is possible to have spectral information
between 370 to 730 nm. That is the limit of the Macbeth calibration
range.
The default patch size is 16 pixels
The default patch list is all 24 macbeth surfaces, though you may create
a partial image.
Examples:
macbethChartObject = macbethChartCreate(16);
spectrum.wave = [370:10:730];
macbethChartObject = macbethChartCreate([],[],spectrum);
Copyright ImagEval Consultants, LLC, 2003.