JimKasson wrote:.
I don't think that applies here. There are only three kernels to convolve with no AA filter, and four with an AA filter. In the case of leaving out lens aberrations, there are one less than those numbers in either case. So, consider a case with no AA filter, and a pillbox of diameter 100 um and an Airy disk with 3 um between the first zeros. My claim is that the convolution of those two is essentially a pillbox, not a Gaussian.
You are right, the convergence to Gaussian is slow, and I wouldn't expect that to work for a small number of variables.
Agreed. Regarding Jerry's CoC formula request, root sum of squares addition can work reasonably well to estimate the radius, provided you figure out what measure of radius is appropriate for distributions with completely different shapes.
Once the central limit theorem kicks in, and everything is Gaussian, RMS radius works nicely. For a slightly blurred pill-box, I would probably go for width at half maximum intensity, but I haven't checked how well that works with an Airy disk.
It can go pretty fast if all the kernels are similar. Here's how fast the 1D version of a pillbox converges to a Gaussian with repeated convolutions:
http://oscar6echo.blogspot.com/2012/10/convolve-n-square-pulses-to-gaussian.html
But, you're right, in general.
As lenses tend to be either over or under corrected, a pure disk and diffraction and AA filter seems reasonable, unless you want to also add a factor for over or under correction of spherical aberration.
What would that kernel look like?
The kernel varies with defocus plane.
For positive spherical aberration, the near (lens) side of focus has a blurred version of your pill box with a dip at the centre ("doughnut bokeh"). On the far side, the intensity peaks on-axis but spreads out farther than at an equivalent defocus distance on the short side.
One way to calculate this is to model the optical field incident on a circular aperture in a 2-D array, and Fourier (or Hankel) transform to estimate the point-spread function. Image plane amplitude squared gives the intensity. Constant amplitude and phase across the lens aperture gives you the diffraction-limited Airy disk. Phase proportional to square of radius within the aperture simulates defocus. An additional phase error proportional to fourth power of radius represents spherical aberration.
This is essentially a Fresnel diffraction calculation, simplified by omitting most of the inclination and distance factors, and corresponds to coherent monochromatic illumination. You would repeat and sum over multiple wavelengths for a realistic picture of the incoherent intensity distribution.
Arguably over the top for your blur kernel, but potentially more accurate than assuming the Airy disk diffracted intensity profile is unchanged with defocus, and a reasonable route to analysing spherical aberration, coma and other aberrations.
Cheers,