


Pad the data in an optical image with zeros, usually prior to applying OTF
oi = oiPad(oi,padSize,[sDist])
For optics calculations we need to pad the size (to avoid edge wrapping).
Here we pad the spatial dimensions and adjust the horizontal field of
view accordingly.
This is now the same as scenePad, which should be deleted.
Example:
oi = oiPad(oi,[8,8,0]);
Copyright ImagEval Consultants, LLC, 2003.