


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.