Home > ISET > color > initDefaultSpectrum.m

initDefaultSpectrum

PURPOSE ^

Create a wavelength spectrum structure and attach it to an ISET object

SYNOPSIS ^

function object = initDefaultSpectrum(object,spectralType,wave)

DESCRIPTION ^

 Create a wavelength spectrum structure and attach it to an ISET object

  object = initDefaultSpectrum(object,spectralType,wave)

  The spectrum structure specifies the sample wavelengths.

  We use only three spectral types at present.  These are

  Multispectral:  400:10:700 nm
  Monochrome:     550 nm
  Custom:         The user supplies the wavelength samples

 Examples
  scene = initDefaultSpectrum(scene,'monochrome');
  scene = initDefaultSpectrum(scene,'multispectral');
  scene = initDefaultSpectrum(scene,'custom',400:50:700);

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

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