


Pad the data in an optical image with zeros, usually prior to applying OTF
oi = scenePad(oi,padSize)
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.
Yes, I know, this should be called oiPad. Will change some day.
Example:
oi = scenePad(oi,[8,8,0]);
Copyright ImagEval Consultants, LLC, 2003.