# Patent

## Title
Wavefront coded imaging systems

## Abstract

The present invention provides improved Wavefront Coding imaging apparatus and methods composed of optics, a detector, and processing of the detected image. The optics are constructed and arranged to have the characteristic that the transverse ray intercept curves form substantially straight, sloped lines. The wavefront coding corrects for known or unknown amounts of “misfocus-like” aberrations by altering the optical transfer function of the imaging apparatus in such a way that the altered optical transfer function is substantially insensitive to aberrations. Post processing then removes the effect of the coding, except for the invariance with regard to aberrations, thereby producing clear images.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This patent application is a continuation of commonly-owned and U.S. patent application Ser. No. 09/747,788, now abandoned, filed Dec. 22, 2000 and incorporated herein by reference. This patent application is also a continuation-in-part of commonly-owned and U.S. patent application Ser. No. 09/070,969, filed May 1, 1998 now abandoned and incorporated herein by reference. U.S. patent application Ser. No. 09/070,969 is a continuation-in-part of U.S. patent application Ser. No. 08/823,894, filed Mar. 17, 1997, now U.S. Pat. No. 5,748,371, issued May 5, 1998 and incorporated herein by reference. U.S. patent application Ser. No. 08/823,894 is a continuation of U.S. patent application Ser. No. 08/384,257, filed Feb. 3, 1995, now abandoned. U.S. application Ser. No. 09/875,435, filed Jun. 6, 2001, now U.S. Pat. No. 6,525,302, and pending U.S. application Ser. No. 09/875,766, filed Jun. 6, 2001, and U.S. application Ser. No. 09/766,325 filed Jan. 19, 2001 are each incorporated herein by reference.


BACKGROUND
Traditional optical design is based on the premise that the only major components of the imaging system are the optics and detector. The detector can be analog (e.g. film) or a digital detector (e.g., CCD, CMOS, etc.). Traditional image processing techniques performed on an image are performed after the image is formed. Examples of traditional image processing include edge sharpening and color filter array (CFA) color interpolation. Traditional optics are therefore designed to form images at the detector that are sharp and clear over a range of field angles, illumination wavelengths, temperatures, and focus positions. Consequently, a trade off is made between forming good images, which requires optical designs that are larger, heavier, and contain more optical elements than are desirable, and modifying the design in order to reduce size, weight, or the number of optical elements, which results in loss of image quality.
A need remains in the art for improved optical designs which produce good images with systems that are smaller, lighter, and contain fewer elements than those based on traditional optics.
SUMMARY
Optical design based on Wavefront Coding enables systems such that they can be smaller, lighter, and contain fewer optical elements than those based on traditional optics. Wavefront Coding systems share the task of image formation between optics and digital processing. Instead of the imaging system being primarily composed of optics and the detector, Wavefront Coding imaging systems are composed of optics, the detector, and processing of the detected image. The detector can in general be analog, such as film, or a digital detector. Since processing of the detected image is an integral part of the total system, the optics of Wavefront Coded imaging systems do not need to form sharp and clear images at the plane of the detector. It is only the images after processing that need to be sharp and clear.
Wavefront Coding, in general, corrects for known or unknown amounts of “misfocus-like” aberrations. These aberrations include misfocus, spherical aberration, petzval curvature, astigmatism, and chromatic aberration. System sensitivities to environmental parameters such as temperature and pressure induced aberrations, and mechanical focus related aberrations from fabrication error, assembly error, drift, wear, etc., are also reduced with Wavefront Coding. Optical designs based on Wavefront Coding can reduce the effects of these aberrations and result in simpler designs that produce good images.
Optical system designs according to the present invention are improved in that they have the characteristic that the transverse ray intercept curves are substantially straight lines. Unlike traditional optical designs, the transverse ray intercept curves for wavefront coded systems need not have a near zero slope; the slope, which indicates misfocus, may be substantial, because wavefront coding allows the effects due to misfocus to be removed. In actual systems, the transverse ray intercept curves should vary mainly in slope over wavelength, field angles, temperature, etc., but need not be exactly straight lines; some ripple is acceptable. With wavefront coding optical surfaces and post processing, good images can be produced.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a single-lens miniature imaging system according to the present invention.
FIG. 2 illustrates a series of transverse ray intercept curves illustrating aberrations at various wavelengths for the system of FIG. 1 with wavefront coding removed.
FIG. 3 illustrates distortion curves for the system of FIG. 1 with wavefront coding removed.
FIG. 4 illustrates modulation transfer functions (MTF) for the system of FIG. 1 with wavefront coding removed.
FIG. 5 illustrates MTFs for the system of FIG. 1 with wavefront coding, but without post processing.
FIG. 6 illustrates MTFs for the system of FIG. 1 with wavefront coding, before and after filtering.
FIGS. 7a and 7b illustrate sampled point spread functions (PSF) for the system of FIG. 1 with wavefront coding and after filtering for two object distances.
FIG. 8 shows a low cost microscope objective according to the present invention.
FIG. 9 illustrates a series of transverse ray intercept curves illustrating aberrations at various wavelengths for the system of FIG. 8 with wavefront coding removed.
FIG. 10 illustrates MTFs for the system of FIG. 8 with wavefront coding, without wavefront coding, and with wavefront coding and filtering.
FIG. 11 shows a passive athermalized IR imaging system according to the present invention.
FIG. 12 illustrates a series of transverse ray intercept curves illustrating aberrations at various wavelengths for the system of FIG. 11 without wavefront coding.
FIG. 13 illustrates MTFs for the system of FIG. 11 without wavefront coding.
FIG. 14 illustrates MTFs for the system of FIG. 11 with wavefront coding, with and without filtering.
FIG. 15a illustrates transverse ray intercept curves as typically implemented in traditional imaging systems.
FIG. 15b shows MTFs for the system of FIG. 15a. 
FIG. 16 illustrates an example of a one dimensional separable filter for use as a post processing element in the present invention.
FIG. 17 illustrates the magnitude of the transfer function of the filter of FIG. 16.



DETAILED DESCRIPTION OF THE DRAWINGS
FIG. 1 shows a single-lens miniature imaging system 100 according to the present invention. Lens 102 includes wavefront coding element 104 formed on its second surface. Detector 106 is preceded by an infrared (IR) filter 108 and cover glass 110. Post processing filter 112 performs processing on the images captured by detector 106.
The exemplary single-lens imaging system (singlet) 100 is designed to meet the following specifications:

    
    
        f=2.5 mm
        F/#=2.6
        Length<4.5 mm
        Material: Polymethylmethacrylate (PMMA)
        FOV=50°
        Focus: ∞−30 cm
        pixel size=6 μm
        Bayer CFA/100% fill factor
        MTF>40% at 40 lp/mm.
    
    


The exemplary singlet 100, without Wavefront Coding element 104, was designed so that the aberrations that are not corrected by the optical surfaces, namely petzval curvature and axial chromatic aberration, are a type of misfocus. Specifically, petzval curvature is a type of misfocus with field angle, and axial chromatic aberration is misfocus with illumination wavelength. The effect of these aberrations could hypothetically be corrected within small regions of the image plane by changing the focus position. By adding a Wavefront Coding surface, the resulting MTFs and PSFs will be insensitive to the focus-like aberrations. However, the MTFs and PSFs will not be the same as an ideal in-focus MTF or PSF from a traditional imaging system. Image processing is required to restore the spatial character of the image and produce a sharp and clear image.
The form of the Wavefront Coding surface used in this example is 



  
    
      
        
          
            S
            ⁡
            
              (
              
                x
                ,
                y
              
              )
            
          
          =
          
            
              ∑
              
                
                  a
                  i
                
                ⁢
                
                  sign
                  ⁡
                  
                    (
                    x
                    )
                  
                
                ⁢
                
                  
                    
                    
                      x
                      
                        r
                        n
                      
                    
                    
                  
                  
                    b
                    i
                  
                
              
            
            +
            
              
                a
                i
              
              ⁢
              
                sign
                ⁡
                
                  (
                  y
                  )
                
              
              ⁢
              
                
                  
                  
                    y
                    
                      r
                      n
                    
                  
                  
                
                
                  b
                  i
                
              
            
          
        
        ,
        where
      
    
    
      
        (
        
          Eq
          .
          
             
          
          ⁢
          1
        
        )
      
    
  




the sum is over the index i. Sign(x)=−1 for x<0, +1 for x≧0.

The parameter rn is a normalized radius value. This particular Wavefront Coding surface is rectangularly separable and allows for fast software processing. Other forms of Wavefront Coding surfaces are nonseparable and are the sum of rectangularly separable forms. One non-separable form is defined as:

S(r,θ)=Σαirai cos(biθ+φi),   (Eq. 2)

where the sum is again over the subscript i.

There are an infinite number of Wavefront Coding surface forms. The Wavefront Coding surface for singlet 100 in this example is placed at the stop surface (e.g., Wavefront Coding element 104) and has the parameterized equation: 



  
    
      
        
          S
          ⁡
          
            (
            
              x
              ,
              y
            
            )
          
        
        =
        
          
            ∑
            
              
                a
                i
              
              ⁢
              
                sign
                ⁡
                
                  (
                  x
                  )
                
              
              ⁢
              
                
                  
                  
                    x
                    
                      r
                      n
                    
                  
                  
                
                
                  b
                  i
                
              
            
          
          +
          
            
              a
              i
            
            ⁢
            
              sign
              ⁡
              
                (
                y
                )
              
            
            ⁢
            
              
                
                
                  y
                  
                    r
                    n
                  
                
                
              
              
                b
                i
              
            
          
        
      
    
    
      
        (
        
          Eq
          .
          
             
          
          ⁢
          3
        
        )
      
    
  




and the parameter values for i=1, 2, 3 are:

a1=17.4171, b1=2.9911

a2=10.8895, b2=6

a3=3.8845, b3=20.1909

rn=0.459.

FIGS. 2-4 illustrate the performance of system 100 with wavefront coding element 104 removed, in order to illustrate design requirements and performance. FIG. 5 illustrates the performance of system 100 with wavefront coding element 104 in place, but without post processing filter 112. FIG. 6 illustrates the performance improvement with post processing 112. FIGS. 7a and 7b show PSFs for system 100 with both wavefront coding and post processing.
FIG. 2 illustrates a series of transverse ray intercept curves illustrating aberrations at various wavelengths, for the system of FIG. 1 with wavefront coding element 104 removed for illustrative purposes. Curves are shown for system 100 at half field angles of 0°, 10°, 20° and 25° off axis, and for illumination wavelengths of 450 nm, 550 nm, and 650 nm. A slope of zero indicates an in-focus condition. Thus on-axis rays are nearly in focus. But, for off axis field angles, the slopes of the transverse ray intercept curves increase dramatically.
There are numerous traditional methods of designing lenses. Most methods try to balance aberrations in order to improve the off-axis imaging at the expense of on-axis imaging or system simplicity. Traditional design methodologies do not attempt to make the transverse ray intercept curves straight lines. Instead, the traditional goal is to try to minimize the distance of a substantial portion of the transverse ray intercept curves from the horizontal axis. In most traditional systems the ray intercept curves are very different from straight lines, but in general lie closer to the horizontal axis than the off-axis curves shown in FIG. 2. In other words, in traditional systems the variation from a straight horizontal line is mainly in the straightness of the line, rather than in its slope.
FIG. 15a (prior art) illustrates traditional transverse ray plots. These plots are taken from “Practical Computer Aided Lens Design”, Gregory Hallick Smith, William Bell, Inc., Richmond 1998. Note that the plot for near on axis rays do look similar to straight horizontal lines, and thus produce an in focus image. Refer also to FIG. 15b which shows associated MTFs for this system. The MTFs for near on axis rays are good. But as the rays move further off axis, the plots in FIG. 15a quickly deviate from being straight lines. Their associated MTFs in 15b also quickly degrade.
The transverse ray intercept curves of FIG. 2 are essentially straight lines, both on and off axis. This is a deliberate design goal, because the use of wavefront coding element 104 and post processing filter 112 can bring the captured images into focus, so long as the curves without wavefront coding are essentially straight lines through the origin, even if the lines are significantly sloped. The effect of the slope is removed by adding wavefront coding and post processing.
The aberration petzval curvature gives rise to transverse ray intercept curves, with slopes that are a function of field angle. Axial chromatic aberration gives rise to ray intercept curves with slopes that are a function of illumination wavelength. From FIG. 2, both of these features are part of the transverse ray intercept curves in this exemplary design.
FIG. 3 illustrates distortion curves for system 100 of FIG. 1, with wavefront coding element 104 removed. The distortion is less than 0.2%. If distortion was large enough then additional digital processing might be required to reposition image points into a non-distorted image. Table 1 lists the optical prescription of this lens, again without the Wavefront Coding surface. Units are in mm, and the total length is 4.1 mm. Aspheric terms describe rotationally symmetric forms of rorder with order equal to 4, 6, 8, etc.











TABLE 1







Surface
Radius
Thickness
Material
Diameter





Obj
Inf
Inf

0


1
2.077
1.7133
PMMA
2


Stop
−2.236
0.6498

1.4


3
Inf
1.1
BK7
3.4


4
Inf
0.55
BK7
3.4


Img

0.1

3.4





Surface
Conic
4th Asph.
6th Asph.
8th Asph.





Obj
0


1
−1.299
−.000375
−.010932
−.00603


Stop
−3.140
−.01049


3
0


4
0


Img









FIG. 4 illustrates MTFs for system 100 of FIG. 1, without wavefront coding element 104. These MTFs correspond to the transverse ray aberration curves of FIG. 2. The MTFs are for half field angles 0, 15, and 25 degrees with wavelengths of 550 nm. The MTFs include the pixel MTF due to the Bayer color filter array detector with six micron pixels and 100% fill factor. The on-axis MTF is essentially diffraction limited. The large drop in MTF off-axis is due to the large amount of petzval curvature that is unavoidable in traditional single lens designs with a large field of view. This singlet without wavefront coding 104 does not meet the MTF specification of greater than 40% modulation at 40 lp/mm for all field angles. But, due to its design for Wavefront Coding, modifying the second surface with a Wavefront Coding surface on element 104 will lead to acceptable MTF modulation values when combined with digital processing. By changing the wavefront coding element 104 either more or less sensitivity to misfocus aberrations can be formed.
FIG. 5 illustrates MTFs for system 100 of FIG. 1 with wavefront coding element 104 in place but without post processing filter 112. The system is focused at infinity. The half field angles shown are 0, 15, and 25 degrees. The wavelength is 550 nm. These MTFs have very little variation with field angle due to the addition of the Wavefront Coding surface, as compared to FIG. 4. Pixel MTF due to the Bayer CFA has again been included. The Bayer CFA with 6 μm 100% fill factor pixels has a Nyquist spatial frequency of about 42 lp/mm. Note that there are purposely no zeros in the MTFs below the detector's Nyquist spatial frequency.
FIG. 6 illustrates MTFs for system 100 of FIG. 1, with wavefront coding element 104 and after processing filter 112. Applying a single digital filter in processing block 112 gives the optical/digital MTFs shown in FIG. 6. The MTFs before filtering are as shown in FIG. 5. The MTFs after processing filter 112 at the spatial frequency of 40 lp/mm are all above 40% as specified by the design specifications. The level of the MTFs after processing could further be increased beyond that of the traditional diffraction-limited case, but possibly at the expense of a lower signal to noise ratio of the final image.
FIGS. 7a and 7b illustrate sampled two-dimensional PSFs for system 100 of FIG. 1, with wavefront coding element 104 and after processing filter 112. FIG. 7a shows the processed PSFs when the object is at infinity. FIG. 7b shows the processed PSFs when the object is at 30 cm. These PSFs are for 550 nm wavelength and half field angles of 0, 15, and 25 degrees. After filtering, these PSFs have nearly ideal shapes. This singlet 100 when combined with wavefront coding and digital filtering thus easily meets the system specifications.
In one preferred embodiment, processing filter 112 is a rectangularly separable digital filter. Rectangularly separable filters are more computationally efficient (counting the number of multiplications and additions) than full 2D kernel filters. Separable filtering consists of filtering each row of the image with the 1D row filter and forming an intermediate image. The columns of the intermediate image are then filtered with the 1D column filter to provide the final in-focus image. The separable filter used for this exemplary singlet has the same filters for rows and columns.
FIG. 16 illustrates an example of a one dimensional separable filter as used as processing filter 112. Coefficients are represented as real values, but can be quantified into integer values for fixed point computations. The sum of the filter coefficients equals approximately 1. The coefficients were determined with a least squares algorithm by minimizing the squared difference between the filtered wavefront coded optical transfer functions (OTF) and a desired MTF with a value greater than 40% at 40 lp/mm. The width of the filtered PSFs of FIGS. 7a and 7b are also minimized with the least squares algorithm. Changes in the filtered PSFs are minimized in regions away from their central peaks. FIG. 17 illustrates the magnitude of the transfer function of the filter of FIG. 16. The zero spatial frequency value is 1.
Wavefront coding microscope objective 800 is designed to meet the following objectives:

    
    
        magnification=10×
        N.A.=0.15
        Distortion<1%
        7 micron square pixels with 100% fill factor
        VGA grayscale detector
        Optical material: PMMA.
    
    


The depth of field of traditional microscope objectives is described by the numerical aperture (NA) and the imaging wavelength. The wavefront coding objective can have a depth of field that is independent of the NA of the objective. The depth of field can be large enough to introduce prospective distortion to the final images. Regions of the object that are farther from the objective will appear smaller than regions of the object closer to the objective. Both near and far regions can image clearly with a large depth of field. Since the depth of field of traditional objectives is small, prospective distortion is not common with traditional objectives, especially with high NA. Prospective distortion can be reduced or eliminated by designing wavefront coding objectives that are telecentric. In telecentric imaging systems the magnification of the object is independent of the distance to the object.
FIG. 9 illustrates a series of transverse ray intercept curves illustrating aberrations at various wavelengths, for system 800 of FIG. 8, with wavefront coding element 806 removed. The ray intercept curves of FIG. 9 describe the performance of the system at wavelengths 450 nm, 550 nm and 650 nm for the image field heights of on-axis 0.0 mm, 1.2 mm and 2.8 mm. Full scale is +/−100 microns. Notice that each of these ray intercept curves vary mainly in slope, as required by the present invention (e.g., the shape of the curves are essentially the same when the slope components of the curves are not considered). While these plots are not quite as close to perfectly straight lines as those in FIG. 2, they can still be considered to be sloped substantially straight lines.
The major aberration apparent in this design is axial chromatic aberration, with a smaller amount of petzval curvature and lateral chromatic aberration. Without Wavefront Coding this lens would image poorly in white light, although it might produce a reasonable image in a single color. Tables 2 and 3 give the optical prescription for this system. Table 3 gives rotationally symmetric aspheric terms for the system.












TABLE 2






Radius






Surface
of curv
Thickness
Material
Diameter
Conic




















Obj
Inf
2.45906

0.6357861
0


1
1.973107
1.415926
Acrylic
1.2
−1.680295


2
−2.882275
0.7648311

1.2
−1.029351


Stop
Inf
0.1
Acrylic
0.841
0


4
Inf
25.83517

0.841
0


Img



6.173922






















TABLE 3





Surface
4th
6th
8th
10th
12th
14th





















1
0.013191
−0.22886
0.139609
−0.250285
−0.18807
0.193763


2
−0.008797
0.017236
0.007808
−0.223224
0.160689
−0.274339


Stop
−0.018549
−0.010249
−0.303999
1.369745
11.245778
−59.7839958









Wavefront coding element 806 is placed at aperture stop 804, and is given by the rectangularly separable form of: 



  
    
      
        
          
            S
            ⁡
            
              (
              
                x
                ,
                y
              
              )
            
          
          =
          
            
              ∑
              
                
                  a
                  i
                
                ⁢
                
                  sign
                  ⁡
                  
                    (
                    x
                    )
                  
                
                ⁢
                
                  
                    
                    
                      x
                      
                        r
                        n
                      
                    
                    
                  
                  
                    b
                    i
                  
                
              
            
            +
            
              
                a
                i
              
              ⁢
              
                sign
                ⁡
                
                  (
                  y
                  )
                
              
              ⁢
              
                
                  
                  
                    y
                    
                      r
                      n
                    
                  
                  
                
                
                  b
                  i
                
              
            
          
        
        ,
      
    
    
      
        (
        
          Eq
          .
          
             
          
          ⁢
          4
        
        )
      
    
  




and the parameter values for i=1, 2 are:

a1=1.486852, b1=3.0

a2=3.221235, b2=10.0

rn=0.419.

FIG. 10 illustrates MTFs for system 800 of FIG. 8 with wavefront coding, without wavefront coding, and with both wavefront coding and post processing filtering, for illumination at 450 nm. Image field heights are 0.0 mm, 1.2 mm and 2.8 mm.
FIG. 11 shows a passive athermalized IR imaging system 1100 according to the present invention. Lens 1102 is composed of silicon. Lens 1104 is composed of germanium. Lens 1106 is composed of silicon. The aperture stop 1108 is at the back surface of lens 1106. Wavefront coding surface 1110 is on the back surface of lens 1106 (at aperture stop 1108). Processing block 1112 processes the image.
Design goals are as follows:

    
    
        F/2
        f=100 mm
        3 deg half field of view
        Illumination wavelength=10 microns
        20 micron square pixels, 100% fill factor
        Silicon & germanium optics
        Aluminum mounts
        Temperature range of −20° C. to +70° C.
    
    


Combined constraints of low F/#, inexpensive mounting material, and wide operating temperature make this design very difficult for traditional optics. Table 4 gives the optical prescription of system 1100.












TABLE 4






Radius






Surface
of curv
Thickness
Material
Diameter
Conic




















Obj
Inf
Inf

0.6357861
0


1
58.6656
5.707297
Silicon
60
0


2
100.9934
22.39862

57.6
0


3
447.046
8.000028
Germanium
32.4
0


4
50.88434
17.54754

32.4
0


5
455.597
7.999977
Silicon
29.5
0


Stop
−115.6064
57.9967

29.5
0


Img



6.173922









The Wavefront Coding surface for IR system 100 of this example has the parameterized equation: 



  
    
      
        
          
            S
            ⁡
            
              (
              
                x
                ,
                y
              
              )
            
          
          =
          
            
              ∑
              
                
                  a
                  i
                
                ⁢
                
                  sign
                  ⁡
                  
                    (
                    x
                    )
                  
                
                ⁢
                
                  
                    
                    
                      x
                      
                        r
                        n
                      
                    
                    
                  
                  
                    b
                    i
                  
                
              
            
            +
            
              
                a
                i
              
              ⁢
              
                sign
                ⁡
                
                  (
                  y
                  )
                
              
              ⁢
              
                
                  
                  
                    y
                    
                      r
                      n
                    
                  
                  
                
                
                  b
                  i
                
              
            
          
        
        ,
      
    
    
      
        (
        
          Eq
          .
          
             
          
          ⁢
          5
        
        )
      
    
  




and the parameter values for i=1, 2 are:

a1=16.196742, b1=3.172720

a2=−311.005659, b2=20.033486

rn=18.314428

FIG. 12 illustrates a series of transverse ray intercept curves illustrating aberrations at various wavelengths, for system 1100 of FIG. 11, with wavefront coding element 1110 removed. The ray intercept curves of FIG. 11 describe the performance of system 1100 at a wavelength of 10 microns, on axis field points for ambient temperatures of +20° C., −20° C., and +70° C. Full scale is +/−100 microns. Again these plots can be considered to be substantially straight lines. While they have more “wiggle” than the plots of FIGS. 2 and 9, in each case, if the plot were fitted to the closest straight line, the wiggles would not stray far from the line.
FIG. 13 illustrates on-axis MTF curves for system 1100 without wavefront coding at three temperatures (+20°, −20° and +70°). Performance is nearly diffraction limited at +20°, but drops dramatically with changes in temperature.
FIG. 14 illustrates MTFs for system 1100 of FIG. 11, with wavefront coding, both with and without filtering by processing block 1112. The illumination wavelength is 10 microns. The MTFs without filtering are significantly different from diffraction limited MTFs, but vary little with temperature. Thus, processing block 1112 is able to correct the images. The MTFs after filtering are near diffraction limited for all three temperatures (+20°, −20° and +70°). Filtered MTFs extend only to the Nyquist frequency of the 20 micron detector, or 25 lp/mm.
One preferred way to define what constitutes a transverse ray intercept curve that is a “substantially straight line” is to look at the MTFs over the entire useful range of the system with wavefront coding applied. These curves must be very close to each other, in order for the post processing to be able to move all MTFs to the desired performance level. Compare the MTFs of FIG. 4 (e.g., no wavefront coding) to those of FIG. 5 (e.g., wavefront coding). The FIG. 5 MTF curves are very close together. In FIG. 6, post processing has moved the MTFs to an acceptable level. More sophisticated post processing could improve the MTFs much further, to nearly diffraction limited performance, so long as the preprocessing curves are close enough together. Post processing could not accomplish this goal with the curves of FIG. 4, because they are not close together.
FIG. 10 also illustrates this concept. The MTF curves without wavefront coding do not track each other. The curves with wavefront coding are close together. Thus, the curves with wavefront coding after post processing are very good.
In FIGS. 13 and 14, the MTF curves without wavefront coding (e.g., FIG. 13) are far apart, but the MTF curves with wavefront coding (e.g., FIG. 14) are close enough together that the post processing curves are nearly diffraction limited.
In FIG. 13, it can be seen that the on-axis MTF (at +20° C., meaning essentially no temperature related misfocus) is essentially diffraction limited. This is the best case traditional MTF for this system. The MTFs at other temperatures, though, have greatly reduced performance due to temperature related effects.
Now consider the upper set of MTFs of FIG. 14, with wavefront coding and after processing. The MTFs are nearly identical. Thus the associated transverse ray intercept curves can be considered to be substantially straight lines, since they are close enough to straight to give essentially ideal MTFs.
For other systems, a lower level of performance may be acceptable, and consequently the deviation of the transverse ray intercept curves from a straight line may be larger. Such a situation would result if a fast lens (say F/2) is used with a digital detector, with, for example, 10 micron pixels. In 500 nm illumination, the diffraction limited MTF for the optical system would extend to 1000 lp/mm, but the highest spatial frequency that could be measured by the detector would be only 50 lp/mm. Thus, aberrations that alter the highest spatial frequencies of the optics are of no consequence, because they will not be measured by the detector. Note that while the transverse ray intercept curves may have noticeable deviations from a straight line (corresponding to the higher spatial frequencies), the transverse ray intercept curves are still “substantially straight lines” according to our definition, because the MTFs with wavefront coding are close together. The MTFs under consideration are those that correspond to the useful range of the particular system being considered.
Compare the MTFs of FIGS. 6, 10, and 14 with wavefront coding (e.g., useful range MTFs for embodiments of the present invention) with the MTFs resulting from traditional design of FIG. 15b. These traditional MTFs are quite far apart, so post processing could never give adequate performance. These curves are generally 50% or more apart, whereas the wavefront coding curves in FIGS. 6, 10, and 14, are within an average of 20% of each other over the useful range of the system, and, in the case of FIG. 10, are within an average of 10% of each other over the useful range of the system.
The major aberration apparent in the design of FIG. 11 is temperature related misfocus. Without Wavefront Coding, this lens would image poorly over a range of temperatures.

## Claims

1. Imaging apparatus for imaging an object onto a detector, comprising:
a lens structure constructed and arranged between the object and the detector to produce transverse ray intercept curves which are sloped substantially straight lines; 
a wavefront coding element constructed and arranged between the object and the detector to affect a phase of light transmitted by the wavefront coding element such that a modulation transfer function of the lens structure and wavefront coding element has reduced variation, over a range of spatial frequencies and caused by aberrations of the lens structure, as compared to a modulation transfer function of the lens structure without the wavefront coding element; and 
means for post-processing data from the detector to generate an image with an improved modulation transfer function, over the range of spatial frequencies, as compared to the modulation transfer function of the lens structure and the wavefront coding element.

2. The apparatus of claim 1 wherein the aberrations include one or more of the following:
spherical aberration; 
petzval curvature; 
astigmatism; 
field curvature; 
temperature induced misfocus aberration; 
pressure induced misfocus aberration; and 
mechanical induced misfocus aberrations.

3. The apparatus of claim 2, the mechanical induced misfocus aberrations comprising one or more of a fabrication error, an assembly error, drift, and wear.

4. The apparatus of claim 1 wherein the wavefront coding element is formed substantially at an aperture stop of the imaging apparatus.

5. The apparatus of claim 1 wherein the lens structure comprises a single lens, a lens length from a front surface of the single lens to the detector being less than 10 mm.

6. The apparatus of claim 5 wherein the wavefront coding element is formed on the single lens.

7. The apparatus of claim 1 wherein the detector is an analog detector.

8. The apparatus of claim 1 wherein the detector is a digital detector.

9. Imaging apparatus for imaging an object onto a detector, comprising:
a lens structure constructed and arranged between the object and the detector, and at an aperture stop or conjugate of the aperture stop of the apparatus, to produce transverse ray intercept curves which are sloped substantially straight lines; and 
at least one surface of the lens structure forming a wavefront coding element to affect a phase of light transmitted by the wavefront coding element so as to alter an optical transfer function of the imaging apparatus such that the altered optical transfer function is substantially insensitive to focus-related aberrations over a greater range of aberrations than was provided by the unaltered optical transfer function.

10. The apparatus of claim 9 wherein the lens structure comprises a single lens, a lens length from a front surface of the single lens to the detector being less than 5 mm.