Home > ISET > vcamera > sensor > simulation > regridOI2ISA.m

regridOI2ISA

PURPOSE ^

Regrid current density in OI coordinates into ISA coordinates

SYNOPSIS ^

function [flatSCDI, newRows, newCols] = regridOI2ISA(scdi,opticalImage,ISA,spacing)

DESCRIPTION ^

 Regrid current density in OI coordinates into ISA coordinates

   [flatSCDI, newRows, newCols] = regridOI2ISA(scdi,opticalImage,ISA,spacing)

 The signal current density image (scdi) is spatially represented by
 the parameters of the optical image.  This routine converts the
 spatial representation in the optical image into a spatial
 representation consistent with the pixels in the image sensor array
 (ISA).
    
 This regridding of the representation is needed to calculate the
 overlap of the signal with the photodector, which only occupies a
 fraction of the pixel area. 

 The parameter, flatSCDI, returns the resampled signal current density
 image. The newRows and newCols values are the spatial positions, in
 meters, of the sampled values at their center, where (0,0) is the
 center of the image sensor array.

 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