-
Notifications
You must be signed in to change notification settings - Fork 51
Optics shift invariant
Many ISETCam calculations use a shift-invariant optical calculation. Shift invariance means that the image of a point in the scene spreads by the same amount in the image, no matter the position of the point in the scene. The spread in the image, called the point spread function (PSF), varies depending on the wavelength of the point light. The image region over which shift-invariance is a good approximation for a given lens is called its isoplanatic region.
In general, the PSF depends on the location of the point in the scene, both its location from the center of the image (field height) and most importantly the distance from the lens to the point. But the shift-invariant approximation is very useful for many scenes, for example when scenes with a modest (20 deg) field of view and with all the objects at approximately the same distance (in a plane). It is also useful when all the objects are far away, because for many lenses the PSF changes little for points beyond a certain distance. For the human eye or for the classical double Gauss lens, the distance is 10-20 focal lengths.
The PSF is a property of the optics, and thus we describe it with parameters in the optics structure. Over time, we have stored different representations. Starting in 2024, we began to rely on storing this information using wavefront aberrations. We describe the representation here. For a review of why we evolved to use this format is explained in the page on PSF representations.
The PSF is stored in the optics struct. Wavefront aberrations are described using the international standard Zernike polynomial representations, which includes aberrations with specific labels such as defocus, coma, and different types of astigmatism. The value of using these polynomials is that we can use their continuous form to create a PSF that is properly sampled in space for the resolution of the scene or optical image (BW to say more here).
In the spectral irradiance calculations, wavefront aberrations are converted into a point spread function. The PSF is convolved with the spectral radiance. The implementation requires paying attention to the details of the sampling rate for the scene spectral radiance. There are many tutorials and examples of these calculations in the ISETCam toolbox.
The diffraction-limited calculation is based on the formula for a diffraction-limited, circular aperture. The calculation is shift-invariant, applying the classic point spread uniformly across the scene to create the optical image. The point spread is wavelength-dependent, but shift-invariant.
The diffraction-limited PSF depends only on the f-number of the lens. We will explain the formula and the issues with spatial sampling here.
We will contrast this calculation with the wavefront calculation, which can also be diffraction limited. They differ in how they handle the spatial sampling. The wavefront calculation,which is a bit slower, is more accurate for very high dynamic range scenes.
ISETcam development is led by Brian Wandell's Vistalab group at Stanford University and supported by contributors from other research institutions and industry.