1. Background and Literature Review
In the medical field, optical imaging remains a vital imaging tool for many biological and physiological studies. A main issue in optical imaging is the aberration imposed on the image by the imaging system which leads to image distortion. The aberration comes from the limitations of the design of optical components, the surrounding conditions and/or the physical characteristics of the imaged objects [
1,
2]. The lens itself is an imaging system, although sophisticated systems often have many components. So, in optical imaging, the lens is generally used to refer to the imaging system.
A collimated beam has a planer wavefront that keeps its shape when it propagates through a homogeneous and uniform medium. Passing through a non-planar optical element or lens, this wavefront gets distorted by aberration. Aberration is due to the deviation of rays, departing from a single point on the object, from their expected paths. So, rays from a single point on the object reach the sensor, or the image plane, at different points with different intensities. So, a point on the object is not represented by a point on the image but rather by a shape, however, the point itself can still be observed in this shape on the image. If this is applied to all points of the object, intuitively, it leads to the formation of an image distorted by rays’ deviations [
3,
4].
The image plane is the plane on which the best image can be formed. The image is fully described by the spatial distribution of amplitude and phase. But the observable image is the spatial distribution of light intensities simulating the distribution of light intensities coming from the object. Taking into account that light intensity is given by the squared amplitude of the beam, denote the 2D object and the image functions by
and
respectively. An ideal system produces an ideal image
. As a system, the output of the optical imaging system is given by,
where
and
are respectively the system transfer function and the noise added to the image by the environment. In the frequency domain, it is given by,
The formula of the produced image in (1) comes from the fact that each point on the object sends a cone of light covering the full extent of the lens. This means that each point on the lens collects (i.e., adds) rays from all points on the object and sends them to different points on the image plane. A cone of rays emanates from one point on the object, passes the lens and is focused onto the image plane. If the system is ideal, it focuses this cone to a single point on the image plane and hence produces an ideal image. But nothing created by humans is ideal and the cone is focused to a shape (e.g., a spot) rather than a point. This happens with cones from each point on the object. So, it leads to an overall distorted image. The noise is added to the image by the surrounding conditions. This definition means that the image is the convolution of the object function and the transfer function plus the noise as described by (1).
So, the transfer function
is basically the image of a point source if no noise is added. The point source is represented by a delta or an impulse function and hence the transfer function is also called the impulse response of the system. So, for a point source,
where,
is a point object given by the delta or impulse function,
(Point Spread Function) is its observable image function given by the intensity distribution
over the space of the image. The transfer function
is the spatial distribution of light amplitude and phase. To clarify, consider a planar uniform wavefront passing through an optical element or system, it gets deformed due to the lens shape, to a non-planar wavefront that reaches the sensor with different intensities i.e. non-uniform. The shape of the lens pushes rays to pass slower or faster than each other with slightly different deviations leading to an aberrated wavefront. So, the aberration pattern is the deviation or spatial error function between the planar wavefront and its deformed wavefront. This wavefront deviation or aberration pattern is denoted by
an
in the Cartesian and polar coordinates respectively. In the frequency domain the aberration pattern is described by the phase differences between the shape of the original and the deformed wavefronts as
. Consequently, it’s easier to be studied in the frequency domain [
6]. The lens aberration is imposed to any imaged object either it is a point or any other shape and is denoted by,
where is the phase difference and are the spatial frequencies in the and directions respectively.
To decrease the lens aberration, a stop aperture is placed after the lens, as shown in
Figure 1. This allows only paraxial rays to pass to the image plane. Paraxial rays undergo less deviations than peripheral rays. The stop aperture is called the exit pupil. So, the aperture multiplies the wavefront by a zero-one function outside and inside its circumference respectively. This is just an apodization function and given by,
where
is the radius of the pupil. The aberration and consequently, the transfer function is typically measured after the exit pupil and that’s why it is called the pupil function. For a circular aperture, the pupil function is given in the polar coordinate by,
where , and are respectively the notations of the apodization function, aberration pattern and the transfer functions in the polar coordinates.
From the above analysis and as provided in [
6], the transfer function in the frequency domain is given by,
Different optical elements impose different aberration patterns. For a single lens, the point object appears as a shape in the image. For a 3D image, this shape may be a sphere, an ellipsoid, etc..... For a 2D image, the point object may appear in the image as a spot, a comma, etc.... as shown in figure 1. As an example, if the transfer function is a Gaussian spot, then the narrower the spot the sharper the PSF and the better the lens. That’s why the image of a point object is called the Point-Spread Function, PSF as it indicates how spread the image of a point is. [
5].
Figure 1.
A schematic diagram of a simple optical imaging system showing the point object, the exit pupil and the PSF.
Figure 1.
A schematic diagram of a simple optical imaging system showing the point object, the exit pupil and the PSF.
However, the mathematical foundation of aberration in the spatial domain is done starting from the fact that the aberration is the wavefront deviation. Since the exit pupil is commonly circular, the Zernike polynomials which are polynomials defined over a unit circle, are commonly used to describe the aberration wavefront
. According to the shape of the point object in the image, aberration has many types. Each type can be acceptably fitted by a term of the Zernike polynomial. Details of different Zernike polynomials and different aberration types are provided in [
7,
8,
9]. A lens or an optical imaging system imposes multiple types of aberration on the produced image [
10]. So, the wavefront aberration is given in the cartesian and polar coordinates by,
where
is the k
th Zernike term,
is the coefficient of the k
th term and
is the number of Zernike terms describe the aberration as accurate as possible. The aberration types are usually sorted in triangular figures called aberration pattern. On the apex, zeroth order which has only one pattern called piston. The first order has 2 patterns, tilt-x and tilt-y. The second order has 3 patterns, astigmatism
and defocus. The third order has 4 patterns, trefoil-x, trefoil-y, coma-x and coma-y and so on [
10].
Theoreticaaly, the number of Zernike terms
but usually few types or even one type of aberration is dominant for a lens or a system. These dominant types have the greatest coefficients and are enough to be defined for aberration correction [
10]. In [
10], the authors provide the details of 15 types of aberration representing the first 5 orders.
Table 1 presents 5 of these 15: piston, tilt or prism along the x-direction, coma in the x-direction, defocus and primary spherical with their formulae in the polar and Cartesian coordinates. Some other patterns of these 15 are used in this work and are presented in
Table 2.
From (6) and (7) and over the pupil area,
To improve the optical image, the researchers provided many techniques to remove or minimize the aberration. A single optical element or system can impose one or more aberration types on the produced image. The imposed aberration types are usually unknown and have different coefficients. This makes it too difficult to remove aberration, but the good news is that one or two types of imposed aberration are dominant according to the values of their coefficients. Trials are usually done to remove such dominant aberration types in a process called aberration correction [
3,
4,
5,
6].
From (6), the system transfer function is the exit pupil function with aberration represents the phase of such function. So, knowing the transfer function, the aberration can be removed using the inverse function. But practical handling is not always that simple because of the nonlinearity of aberration as well as the noise added to image during the capturing [
9].
A lot of research has been conducted to reduce the aberration of optical images either by digital image processing or using the adaptive optics kits aligned with the optical imaging system. The use of adaptive optics is expensive and adds complexity to the system either regarding the size or alignment.
On the field of digital image processing, many researchers introduced computational methods to estimate the original image from the aberrated image with or without knowing the imposed aberrations. The new approaches use a deconvolution algorithm to deblur the aberrated images [
11,
12,
13]. If the transfer function of the imaging system is known, the reconstructed image is simply obtained by deconvolution of the aberrated image with the transfer function. The advantage of using post-processing by digital algorithms can be extended to enhance the resolution and contrast of the image and to denoising the image with no cost. Unfortunately, the transfer system is almost not known. Using blind deconvolution approaches suggested by many studies is not guaranteed to give an accurate image reconstruction [
14].
Many modern approaches to computational aberration correction are based on deep learning (DL) methods. For example, Li trained a DL model with a set of optical lenses and their corresponding images [
15]. Their system takes as input the aberrant image and the PSF map, and outputs a corrected image. In another example of DL-based aberration correction, Eboli reported a “blind” optical aberration compensation technique in which chromatic aberrations are corrected using a convolutional neural network trained to minimize residuals between the red/green and blue/green planes [
16]. More recently, Gong reported a DL-based approach in which the physical properties of optical lenses were incorporated into an aberration correction network [
17].
While the most recent examples of aberration correction incorporate a physics-informed approach, these techniques have largely avoided differentiable optical models, or discussion of fundamental aberration theory with Zernike coefficients. Liaudat proposed such a model in which the wavefront itself is considered, not merely the pixels of the image [
18]. Another recent example that considers Zernike coefficients in aberration correction is the work of Sauniere, in which the team used a D L approach to extract Zernike coefficients from a low-resolution PSF image [
19]. These DL approaches are limiting in that they require advanced computing power. There remains a gap in the literature for advanced aberration correction methods that do not rely on DL. Such an analytical system would speed up aberration correction, a proposition that would be useful in many areas where optical imaging is employed. To test the validity of the proposed method a reference high quality image is used, a degraded version is obtained by convolving the reference image by a known aberration pattern and obtaining the restored image and the test pattern. Through visual investigation, the restored method is identical to the reference image and the induced aberration pattern is identical to the imposed testing pattern.