


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.
