Home > ISET > utility > ieConvert2XW.m

ieConvert2XW

PURPOSE ^

For conversion of data from RGB to XW (space-wavelength) format

SYNOPSIS ^

function xwData = ieConvert2XW(data,wave)

DESCRIPTION ^

For conversion of data from RGB to XW (space-wavelength) format

   xwData = ieConvert2XW(data,wave)

 Purpose:
   In some cases the data can be either XW or RGB.  We don't want to
   figure out which format it is.  So, we force RGB or XW data into XW
   format.  Thus, if the input are XW data they are left unchanged. If the
   input are RGB data, they are converted. 

 Examples:   
   xwData = ieConvert2XW(scene.data.energy,scene.spectrum.wave)

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003