Home > ISET > vcamera > scene > sceneSPDScale.m

sceneSPDScale

PURPOSE ^

Multiply, Divide, Add or Subtract the scene radiance data

SYNOPSIS ^

function [scene,fullName] = sceneSPDScale(scene,fullName,op)

DESCRIPTION ^

Multiply, Divide, Add or Subtract the scene radiance data

 scene = sceneSPDScale(scene,fullName,op);

  The scene data are divided, multiplied, etc. using the spectral
  information in fullName.  The calculation is applied to each pixel in
  the scene SPD (photons). 
   
  If fullname is not passed in , the user is asked to select the file.  
  The parameter op is set to '/', '*','+', or '-' to specify the
  operation.  The routine name should be changed to sceneSPDOp or
  something.

  When using multiply and divide, the spd values in the file are just
  scale factors without real units.
  When using add and subtract, however, the spd values in the file must
  be in units of photons.

 Example
   [scene,fullName] = sceneSPDScale(scene,'D65','*');

 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