Home > ISET > imgproc > vcimageMCCXYZ.m

vcimageMCCXYZ

PURPOSE ^

Estimate MCC XYZ values and white point from image processor data

SYNOPSIS ^

function [macbethXYZ, whiteXYZ] = vcimageMCCXYZ(vci,pointLoc,method)

DESCRIPTION ^

Estimate MCC XYZ values and white point from image processor data

  [macbethXYZ, whiteXYZ] = vcimageMCCXYZ(vci,pointLoc,method)

 The white patch is treated as the image white point.  
 We either assume the display is an sRGB display (method = 'sRGB'), or we
 use the model display in the processor window (method = 'custom').

 Examples:
  vci = vcGetObject('vcimage'); [macbethXYZ, whiteXYZ] = vcimageMCCXYZ(vci);
  figure(1); clf; plot3(macbethXYZ(:,1),macbethXYZ(:,2),macbethXYZ(:,3),'o')
  xy = chromaticity(macbethXYZ);
  clf; plot(xy(:,1),xy(:,2),'o'); hold on; plotSpectrumLocus; 
  grid on; axis equal

  macbethLAB = vcXYZ2lab(macbethXYZ,whiteXYZ, 1);
  clf; plot3(macbethLAB(:,1),macbethLAB(:,2), macbethLAB(:,3),'o'); 
  set(gca,'xlim',[0 105]); grid on

 Copyright ImagEval Consultants, LLC, 2005.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 20-Nov-2008 22:09:04 by m2html © 2003