Home > ISET > vcamera > sensor > sensorROI.m

sensorROI

PURPOSE ^

Return roiLocs for a region of the sensor.

SYNOPSIS ^

function roiLocs = sensorROI(sensor,roiType);

DESCRIPTION ^

 Return roiLocs for a region of the sensor.

  roiLocs = sensorROI(sensor,[roiType='center']);

 The routine makes it easy to pull out the center locations, or various
 corners
 
  roiType is one of 'center','upperLeft','upperRight', ...

Example:
    roiLocs = sensorROI;

    sensor = vcGetObject('sensor');
    roi = sensorROI(sensor,'center');
    sensor = sensorSet(sensor,'roi',roi);
    v = sensorGet(sensor,'roivolts');

 Copyright ImagEval Consultants, LLC, 2005.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003