


Determine physical spacing of samples in a scene or optical image
[rMicrons,cMicrons] = sample2space(rSamples,cSamples,rowDelta,colDelta)
We treat the center of the samples as (0,0) and use the sampling spacing
in microns to calculate the location of the other samples.
Example:
[rMicrons,cMicrons] = ...
sample2space(sceneGet(oi,'rows'),sceneGet(oi,'cols'), ...
sceneGet(oi,'hres'),sceneGet(oi,'wres'))
[X,Y] = meshgrid(cMicrons,rMicrons);
cSamples = [1:.2:64];
rSamples = [1:.2:64];
rowDelta = 5;
colDelta = 5;
[rMicrons,cMicrons] = sample2space(rSamples,cSamples, rowDelta,colDelta)
Copyright ImagEval Consultants, LLC, 2005.