Home > ISET > imgproc > vcimageISOMTF.m

vcimageISOMTF

PURPOSE ^

Evaluate MTF for current object settings

SYNOPSIS ^

function vcimageISOMTF

DESCRIPTION ^

 Evaluate MTF for current object settings

   vcimageISOMTF;

 The function creates a slanted bar scene.  Then, it uses the existing
 (selected) optics, sensor and image processing parameters to compute
 the vcimage.  

 The routine invokes the ISO 12233 routine from within the vcimage
 window to produce the MTF figure.  The frequency and mtf data can be
 retrieved from the figure via 

  data = get(gcf,'userdata');

 Comment (and to check)
   Frequency is specified in cycles/mm at the sensor surface.  This can be
   converted into cycles per degree by calculating the sensor field of view and sensor
   size (horizontal).  This gives deg/mm.
     deg = sensorGet(isa,'fov')
     mm = sensorGet(isa,'width')*1000;
     freqInCpd = data.freq*(mm/deg);
     plot(freqInCpd,data.mtf)

 Copyright ImagEval Consultants, LLC, 2005.

CROSS-REFERENCE INFORMATION ^

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