Home > ISET > vcamera > sensor > sensorRescale.m

sensorRescale

PURPOSE ^

Adjust the pixel size to accomodate new size, fixed dye

SYNOPSIS ^

function isa = sensorRescale(isa,rowcol,sensorHeightWidth)

DESCRIPTION ^

 Adjust the pixel size to accomodate new size, fixed dye

     newISA = sensorRescale(isa,rowcol,sensorHeightWidth)

 Generally, avoid this routine. 
  
 In this method, the pixel dimensions are adjusted to accomodate the new
 sensor row/col, and pixel width/height (meters). 
   
 Current data are cleared because they are incompatible with the 
 re-scaled pixel and sensor parameters.

 Example:
  isa = vcGetObject('ISA');
  pixel = sensorGet(isa,'pixel');  pixelGet(pixel,'size','microns')
  isa = sensorRescale(isa,sensorFormats('qqcif'),sensorFormats('quarterinch'));
  pixel = sensorGet(isa,'pixel');  pixelGet(pixel,'size','microns')

 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