Home > ISET > vcamera > optics > opticsCreate.m

opticsCreate

PURPOSE ^

Create an optics structure

SYNOPSIS ^

function optics = opticsCreate(opticsType,varargin)

DESCRIPTION ^

 Create an optics structure

   optics = opticsCreate(opticsType,varargin)

 The optics structure contains a variety of parameters,
 such as f-number  and focal length.

 Optics structures do not contain a spectrum structure.  Rather this is
 stored in the optical image that also holds the optics information.

 For diffraction-limited optics, the only parameter that matters really is
 the f-number.  The names of the standard types end up producing a variety
 of sizes that are only loosely connected to the names.

      {'default', standard (1/4-inch)'}
      {'standard (1/3-inch)'}
      {'standard (1/2-inch)'}
      {'standard (2/3-inch)'}
      {'standard (1-inch)'}
         
 There is one special case, human optics.  This creates an optics
 structure with human OTF data.

      {'human'}            % Uses Marimont and Wandell (Hopkins) method
      {'Ijspeert'}         % Ijspeert OTF (Not yet implemented)

 Example:
   optics = opticsCreate('standard (1/4-inch)');
   optics = opticsCreate('standard (1-inch)');

   optics = opticsCreate('human');        % 3mm diameter is default
   optics = opticsCreate('human',0.002);  % 4 mm diameter

 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