• No results found

Chapter III Beam shaping using phase-only SLMs

III. 1 Conventional encoding techniques

Computer-generated holography

Thanks to holography, it is possible to record and later reconstruct a certain irradiance distribution or even the complex field of a light beam by the interference of two coherent light beams. One of the biggest advantages of holography is that it is capable of capturing the 3D geometry of a scene and reconstruct it as a 3D image. For this reason, it has become one of the most used techniques when desired distributions of light are requested.

Computer-generated holography is a technique based on holography. Instead of optically capturing the hologram, a computer is used to numerically calculate it. The calculated hologram can be encoded in a digital device to reconstruct the desired distribution. Therefore, the idea is quite easy: define a target complex field and then apply the two-dimensional Fourier transform. Nevertheless, the full complex field is required to perform this task because the two-dimensional Fourier transform is complex. To overcome above limitation several encoding methods have been proposed. Among those techniques, some of them perform transformations before the generation of the hologram. The idea is to encode the original pattern with only one phase element. This is the case, for instance, of a technique known as one step phase retrieval [65]. It is based on the addition of a phase term to the source image before the generation of the hologram to obtain a hologram formed by a single phase term. Similarly, the sampled phase-only hologram method [66], employs

a lattice to down-sample an image to obtain a hologram with uniform amplitude. Therefore, only the phase component contains information about the image and can be directly encoded into a phase-only SLM. Although these methods offer acceptable results, the transformations performed to the original image make them not optimal, but an approximation. Something similar occurs with one of the classic methods to solve this problem: iterative Fourier transform algorithms (IFTA).

Iterative Fourier transform algorithms

Beam propagation is affected by the phase modulation of the SLM, since the interference of the different parts of the beam influences the intensity profile at a certain distance. The main issue is that only one phase modulation is not enough to obtain an exact beam shaping. So iterative algorithms employ inverse Fourier transforms to calculate the best phase pattern at the SLM that reproduces the desired target intensity at the sample plane.

Among the most relevant algorithms for beam shaping are the classical Gerchberg-Saxton [18] and Yang-Gu [19] algorithms. The GSA and similar ones work in an iterative procedure; that is, they start with a certain phase πœ‘0,

which is Fourier transformed to get a complex field |𝐴0|π‘’π‘–πœƒ0. The amplitude

|𝐴0| is compared with the target amplitude |𝐡|. If the difference between both is less than the defined error, the algorithm ends. Otherwise, |𝐴0| is replaced

by |𝐡|, getting the complex field |𝐡|π‘’π‘–πœƒ0. This result is inversely transformed, obtaining the complex field |π‘Ž1|π‘’π‘–πœ‘1. Then, the input beam function |𝑏| is

imposed at the result, resulting in |𝑏|π‘’π‘–πœ‘1. At that point, the algorithm repeats the steps already discussed. This loop is repeated 𝑛 times, until the algorithm converges or the maximum number of iterations 𝑁 defined by the user is reached. This limit prevents the algorithm to be blocked when convergence is not reached, possibly because the algorithm tends to fall in local minimums or due to a too strict convergence threshold. Another classical iterative algorithm is known as direct binary search [67]. This approach employs an IFTA-based algorithm to minimize the mean squared error between a binary hologram and the reconstructed image.

The GSA was originated in the 70's and has some drawbacks that have led researchers to develop improved versions of it. One of the biggest disadvantages of this technique is precisely that convergence is not guaranteed [68]. One way to prevent the algorithm from falling into a local minimum lies in varying the starting point since the result depends, to a large extent, on the initial phase πœ‘0. In fact, the most advisable thing is to try to

approximate that value as much as possible to the final value. This is only possible from an approximate solution or from a solution to a similar problem. Otherwise, an estimation or insertion of a random value should be carried out. Another drawback of this technique is that, in principle, only the desired intensity can be defined at the output plane and, therefore, the obtained phase is random. This deficit of phase control generates speckle noise due to the destructive interaction of contiguous patterns with different phases, forming high contrast regions and degrading the quality of the projected pattern. This is negative for most applications but is especially harmful in certain cases such as multiphoton microscopy, where two-photon excitation depends on the square of the light intensity and, therefore, these irregularities may cause image blurring.

Fig. III.1 – Schematic of an IFTA. The squares represent the states while the arrows mean transitions. The double-lined state is the starting point.

Another problem generally associated with the GSA is its inability to generate multiple intensity levels within the different parts of the pattern due to the impossibility of manipulating the amount of energy put into them. Due to the above-mentioned drawbacks, numerous improvements have been made to the original algorithm. For example, the Yang-Gu algorithm is a generalization of the GSA. While GSA is able to solve the amplitude-phase retrieval problem using linear unitary transform systems. Yang-Gu includes a non-unitary optical system remaining identical for a unitary transform system. Hence, the former algorithm is able to converge in cases in which the GSA is not capable, and is more stable in the presence of random noise [19].

Other examples include the weighted Gerchberg-Saxton (WGS) [69], which introduces a new parameter referred as weight, that allows to reduce the amplitude deviations from the average amplitude of the electric field. Additionally, some techniques have been developed to add phase control to WGS, resulting in an algorithm known as weighted Gerchberg-Saxton with phase control (WGS-PC) [70]. This algorithm has been probed to simultaneously control both the phase and amplitude of the generated patterns with almost perfect uniformity over the amplitude of the field. Previous algorithms typically constraint only the amplitude whereas WGS-PC also constraints the phase of the projected pattern. The main limitation of this technique lies in the ability of generate only 1-D curved patterns dropping dramatically its efficiency when 2-D patterns are employed. In addition, techniques able of generating multiple energy levels have been reported [71]. By adding a weighting parameter to define an objective intensity to the GS algorithm, it is possible to obtain a hologram with different relative intensities that allows, for example, generating a uniform light distribution on the irradiance pattern regardless of the distribution of the light source or the position-dependent diffraction efficiency of the LC-SLM. Finally, it is possible to independently manipulate multiple incoherent light beams with different wavelength by using a single phase element [72]. In this method, each 2Ο€ hologram is calculated separately and, by using an SLM with a high modulation range (β‰ˆ10Ο€), these holograms are combined on a multi-level hologram. In that way, the final multi-level hologram reconstructs the original patterns at preselected wavelengths, at the cost of losing diffraction efficiency.

Generalized-phase contrast

To measure the intensity of light it is enough to use wavelength sensitive detectors that are capable of quantifying the amount of energy received. A CCD sensor would be an example of one of these devices. However, measuring the spatial phase of an incident light beam is more complicated. CCD detectors are not sensitive to phase variations so it is necessary to employ techniques that generate phase-dependent intensity variations. For example, by using interferometric methods to measure unknown phase distributions [73]. The Zernike phase contrast technique is a method to measure phase perturbations based on the use of a Fourier plane phase-shifting filter.

Generalized phase contrast is the generalization of the Zernike’s method. It is a similar technique, also based on interferometry, but not limited by the operational constraints of Zernike's method which provides an extended range of phase contrast [20]. In short, GPC generates an amplitude pattern that is

sensitive to the phase distortions given at the input plane of an optical imaging system. Hence, it can be used to measure these phase distortions by recording irradiance patterns at the output plane. Also, for beam shaping purposes: instead of measuring a phase from an irradiance pattern, encoding a phase mask on a spatial light modulator will produce an arbitrary intensity distribution at the output plane. In particular, an on-axis spatial filtering operation in the Fourier plane of a 4f imaging system is employed to convert a phase disturbance at the input of the system into an irradiance distribution at the output plane.

Fig. III.2 – Typical GPC setup. At the input plane (IP) an SLM is placed encoding an input phase mask. L1 and L2 form a 4f imaging system. At the output

plane (OP) an intensity pattern formed by the interference of the non- diffracted light and the image of the object placed at the IP.

A typical system used in this method is shown in Fig. III.2. Basically two lenses (L1 and L2) form a 4f optical system. At the input plane of the system, an SLM

is placed. At the Fourier plane, a phase contrast filter (PCF) is introduced. The PCF introduces a phase shift within a radius located in its central part, while in the rest of its surface it allows the passage of light without being modified. The phase mask encoded into the SLM is employed to control the distribution of light among the surface of the PCF. Light is focused by the first lens (L1) at the

on-axis (central) region of the PCF is considered as focused light. Light distributed along the rest of the surface of the filter is considered as scattered light. The focused light acts as the reference wave of a common-path interferometer (CPI), coherently mixed with the scattered light to generate the arbitrary amplitude distribution at the output plane of the imaging system [74].

Unlike the aforementioned CGHs, where each point of the hologram receives contributions from the entire input pattern, here the output image is formed by point-to-point mapping, commonly reducing the efficiency of the method.

This technique is suitable for CPI due to the capacity of this type of systems to increase tolerance to vibrations and air turbulences with respect to systems in which both arms travel in different ways. From a general point of view, GPC has several applications besides synthesizing gray-level light patterns [75], including the generation of multiple optical tweezers [76] or optical security [77].

III.2 - Shaping techniques for focusing diffractive elements