## Abstract

The depth of field of an infinity-corrected microscope system is greatly extended by simply applying a specially designed phase mask between the objective and the tube lens. In comparison with the method of modifying the structure of objective, it is more cost effective and provides improved flexibility for assembling the system. Instead of using an ideal optical system for simulation which was the focus of the previous research, a practical wavefront-coded infinity-corrected microscope system is designed in this paper by considering the various aberrations. Two new optimization methods, based on the commercial optical design software, are proposed to design a wavefront-coded microscope using a non-symmetric phase mask and a symmetric phase mask, respectively. We use polynomial phase mask and rational phase mask as examples of the non-symmetric and symmetric phase masks respectively. Simulation results show that both optimization methods work well for a 32 × infinity-corrected microscope system with 0.6 numerical aperture. The depth of field is extended to about 13 times of the traditional one.

©2013 Optical Society of America

## 1. Introduction

Applications of traditional light microscope systems are limited by small depth of field. Thick samples cannot be observed at one time. Usually mechanical scanning is used to achieve 3D volume information. In this way, it is impossible to use a traditional microscope system to observe the samples with dynamic changes.

Wavefront coding technology [1–3] is one of widely used methods to extend the depth of field in recent years. By applying a specially designed phase mask at the pupil plane, the whole system is insensitive to object distance. Although the image captured at the image plane is blurred, they can be restored by simple digital process because of the insensibility to the defocus. In this way, this two-step imaging system can extend the focal depth to 10 times of the traditional one. Notice that wavefront-coded technology uses phase mask instead of amplitude mask. Therefore, it does not sacrifice resolution or illumination compared to other methods such as optical pupil apodization.

In this paper, wavefront coding technology is employed to extend the depth of field of an infinity-corrected microscope system. Instead of modifying the structure of the objective [4], a specially designed phase mask is added between the infinity-corrected objective and the tube lens. In this way, the optical and mechanical structure will remain the same except adding the phase mask. It is cost effective and more flexible in comparison with the previous method which alters the structure of the objective.

Optimization of the phase mask is one of the key tasks in the design of the wavefront-coded microscope. However, most of the previous research focused on optimization of the phase mask for ideal optical systems [5–9]. In those designs, optical aberrations are ignored in order to reduce the complexity of the optimization, and that methodology needs to be greatly improved for designing practical optical systems. Here aberrations are taken into account for the design of the phase mask so that it fits a practical microscope system. For demonstration, the commercial optical design software Zemax is used to get the real analysis data of the optical system. The optical optimization methods for both non-symmetric and symmetric phase masks are proposed. Polynomial phase mask and rational phase mask [9] are used as examples for non-symmetric and symmetric phase masks respectively.

This paper is organized as follows. The structure of the wavefront-coded microscope system is introduced in Section 2. In section 3, the optimization methods for the design of the phase masks are presented and examples are given. Conclusions are given in the last section.

## 2. A wavefront-coded infinity-corrected microscope system

An infinity-corrected microscope system is composed of the infinity-corrected objective and the tube lens. The specimen locates at the front focal plane of the objective, while the detector locates at the back focal plane of the tube lens. As shown in Fig. 1(a), a phase mask is placed between the objective and the tube lens. Here, we use an infinity-corrected objective with magnification ratio $M$ = 32 × and numerical aperture NA = 0.6 as an example. An achromatic doublet AC254-200-A (Thorlabs Inc.) with focal length ${f}_{2}=\text{\hspace{0.17em}}200\text{\hspace{0.17em}}\text{mm}$ is used as the tube lens. Obviously, the focal length of the objective is ${f}_{1}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}{f}_{2}/M\text{\hspace{0.17em}}=\text{\hspace{0.17em}}6.\text{25}\text{\hspace{0.17em}}\text{mm}$. The optical structure of the objective is shown in Fig. 1(b). A CCD with a dimension of 3.6mm*4.8mm is placed in the image plane.

Without any phase mask, the depth of field (DoF) of the traditional optical system is described as [10]: $DoF=\lambda /\left(2N.A{.}^{2}\right)\approx 0.75\text{\hspace{0.17em}}\mu m,$ where $\lambda $ is the wavelength and for the visible spectral range, the central wavelength is assumed to be 550 nm. Therefore the DoF of this objective is too small for observing certain volume of a thick specimen. In this way, a specially designed phase mask is needed to extend the depth of field so that the three-dimensional (3D) volume information can be acquired at one time.

## 3. Optimization of the wavefront-coded microscope system

Design of the phase mask is the key to the optimization of the wavefront-coded microscope system with large DoF. Different from previous research which focused on ideal optical systems, here Zemax is used as an example of optical design software to design and analyze the practical microscope system where aberrations are taken into consideration. The optical design process is divided into 4 steps:

Step 1. Setup the structure of the traditional microscope system, including infinity-corrected objective and tube lens.

Step 2. Insert a phase mask between the objective and the tube lens. The initial structure of the phase mask is usually a parallel plane. Notice that sometimes the type of the surface of the phase mask is not included in the surface database of the software. In this case, the surface type needs to be defined by the user according to the expression of the phase mask.

Step 3. User-define the merit function which is suitable for the wavefront-coded microscope system with large DoF. Notice that for the system with extremely large DoF, the default merit function [11] RMS cannot be used for the design. We will discuss this in details in the following sections.

Step 4. Optimize the optical design and analyze the results.

Phase masks can be classified into two categories. One is the non-symmetric phase mask and the other is the symmetric phase mask. Here polynomial phase mask is used as an example of non-symmetric phase mask, while rational phase mask is used as an example of symmetric phase mask.

#### 3.1 Non-symmetric phase mask

In general, optical encoding and digital decoding are essential for a wavefront-coded system when non-symmetric phase mask is used. That means that it is important to use a defocus-insensitive point spread function (PSF) as the deconvolution kernel. Notice the corresponding relationship between the defocus and the object distance, as well as that between the PSF in space domain and the modulation transfer function (MTF) in frequency domain. Therefore, the consistency of the MTF at different object distances is one of the targets for optimization. Here we use the standard deviation of the MTF at certain frequencies to represent the consistency of the MTF and define it as the merit function $E:$

^{th}configuration and${N}_{o}$is the total number of configurations; $F\left(n\right)$ is the n

^{th}field and${N}_{F}$ is the total number of fields; $u\left(i\right)$ and $v\left(j\right)$ are frequencies at the i

^{th}and the j

^{th}positions respectively; $w\left(i,j\right)$ is the weight at the frequencies $u\left(i\right)$ and $v\left(j\right)$; $MTF(\cdot )$ represents the MTF value; ${N}_{u}$ and ${N}_{v}$ are the number of frequencies $u\left(i\right)$ and $v\left(j\right)$ respectively. The average value of the MTF, $\overline{MTF}\left(u\left(i\right),v\left(j\right)\right),$ is described as

In order to make the MTF curves at different object distances and different fields be consistent with each other, the merit function in Eq. (1) should be as small as possible. However, the MTF values will be reduced to zero if no penalty factors are taken into consideration. For this reason, a threshold method is used as a penalty factor. Let

Using the merit function defined by Eq. (4), we design a non-symmetric phase mask to extend the field depth of the microscope system described in section 2. As we know, cubic phase mask is regarded as one of classic phase masks in wavefront-coded system [1], and the general cubic phase mask has been presented as a better phase mask because of its good performance for large field [6, 12]. Both of them can be regarded as special cases of the polynomial phase mask, which is described as

Such a non-symmetric phase mask can be fabricated using a diamond turning machine, and more axes are needed for operation of the machine in comparison with making a rotationally symmetric phase mask. Furthermore, it has a stringent requirement on the alignment of the non-symmetric phase mask in the optical system because the optical performance is sensitive to the centering and the orientation of the mask. To fabricate and use a symmetric phase mask can be much easier in these two aspects.

#### 3.2 Symmetric phase mask

When the symmetric phase mask is used, digital process is not necessary for the wavefront-coded system [9] and the consistence of the MTF or PSF is not maintained as well as the case when the non-symmetric phase mask is used. Different merit function should be used for optimization. Considering most optical design software has its own default merit function for the traditional optical system, we will modify the default merit function so that it is suitable for the design of the symmetric optical system. In Zemax, the default merit function is calculated by tracing certain rays. Then we can get the displacement $\Delta \left({D}_{o}\left(m\right),W(n),r\left(i\right)\right)$, which is introduced by these rays relative to the chief ray at the image plane. Then the standard deviation of the displacement at the m^{th} object distance is described as

^{th}wavelength; $r\left(i\right)$ is the i

^{th}radial position in the pupil; ${N}_{w}$ and ${N}_{r}$ are the number of wavelengths and radial positions respectively, and

In order to allow the system to have a large depth of field, we need to make the following, i.e., to minimize the value E defined by the following expression:

_{0}means the diffraction-limited MTF. Let ${w}_{p}$ be the weight of the penalty factor. Then the modified merit function is defined asUsing the merit function defined by Eq. (10), we design a rational phase mask for the new wavefront-coded microscope system. The expression of the rational phase mask is taken as

## 4. Conclusions

The depth of field of an infinity-corrected microscope system is extended by applying a specially designed phase mask between the objective and the tube lens. Different from the previous research, this paper takes every optical aberration into account and focuses on the optimization method based on optical design software. Two merit functions are proposed to design non-symmetric and symmetric phase masks respectively. A polynomial phase mask and rational phase mask are used as examples. Simulation results show that the optimization methods work well for a 32 × and 0.6 NA infinity-corrected microscope system. The depth of field can be extended to about 13 times of the traditional one. The method can be used for other type of phase masks, such as sinusoidal phase mask and logarithmic phase mask. The microscope with extended depth of focus can be used in many circumstances where visualization of the three-dimensional volume information is important, and such applications may include industrial inspection, cell biology, pathology, and surgical operation. We believe that this method is not limited to the wavefront-coded system for extension of the depth of field. It can be used for the design of other special optical systems such as a range finder by modification of the merit function. Experimental results will be reported in the near future.

## Acknowledgments

G. Li would like to thank the support from the Ophthalmology Department fund, the ElectroScience Laboratory CERF fund, National Institutes of Health National Eye Institute (through grant R01 EY020641), National Institute of Biomedical Imaging and Bioengineering (through grant R21 EB008857), National Institute of General Medical Sciences (through grant R21 RR026254/R21 GM103439), and Wallace H. Coulter Foundation Career Award (through grant WCF0086TN).

## References and links

**1. **E. R. Dowski Jr and W. T. Cathey, “Extended depth of field through wave-front coding,” Appl. Opt. **34**(11), 1859–1866 (1995). [CrossRef] [PubMed]

**2. **T. Zhao and F. Yu, “Point spread function analysis of a cubic phase wavefront coding system with a circular pupil,” Opt. Express **20**(3), 2408–2419 (2012). [CrossRef] [PubMed]

**3. **S. Chen, Z. Fan, Z. Xu, B. Zuo, S. Wang, and H. Xiao, “Wavefront coding technique for controlling thermal defocus aberration in an infrared imaging system,” Opt. Lett. **36**(16), 3021–3023 (2011). [CrossRef] [PubMed]

**4. **T. Zhao, Z. Ye, W. Zhang, W. Huang, and F. Yu, “Design of objective lenses to extend the depth of field based on wavefront coding,” Proc. SPIE **6834**, 683414, 683414-8 (2007). [CrossRef]

**5. **S. Prasad, V. P. Pauca, R. J. Plemmons, T. C. Torgersen, and J. van der Gracht, “Pupil-phase optimization for extended-focus, aberration-corrected imaging systems,” Proc. SPIE **5559**, 335–345 (2004). [CrossRef]

**6. **S. Prasad, T. C. Torgersen, V. P. Pauca, R. J. Plemmons, and J. van der Gracht, “Engineering the pupil phase to improve image quality,” Proc. SPIE **5108**, 1–12 (2003). [CrossRef]

**7. **Q. Yang, L. Liu, and J. Sun, “Optimized phase pupil masks for extended depth of field,” Opt. Commun. **272**(1), 56–66 (2007). [CrossRef]

**8. **G. Carles, A. Carnicer, and S. Bosch, “Phase mask selection in wavefront coding systems: A design approach,” Opt. Commun. **48**, 779–785 (2010).

**9. **F. Zhou, R. Ye, G. Li, H. Zhang, and D. Wang, “Optimized circularly symmetric phase mask to extend the depth of focus,” J. Opt. Soc. Am. A **26**(8), 1889–1895 (2009). [CrossRef] [PubMed]

**10. **M. Born and E. Wolf, *Principles of Optics*, 6th ed. (Oxford: Pergamon Press, 1980).

**11. ***Zemax 12 Optical design program user’s manua*l (Radiant Zemax, 2012).

**12. **M. Liu, L. Dong, Y. Zhao, M. Hui, and W. Jia, “Stationary phase analysis of generalized cubic phase mask wavefront coding,” Opt. Commun. **298–299**, 67–74 (2013). [CrossRef]