Disclosed embodiments relate generally to modeling systems and more particularly to methods, systems and apparatuses for modeling an optical system.
When designing optical systems, such as cameras, sensors, optical instruments, electro-optical devices, etc., designers use computational modeling to test the performance of the designs. By modeling the scene image output of optical systems, designers can predict errors before the optical system is made or deployed. Therefore, these errors can be corrected before the optical system is actually built. Thus, modeling the scene image output saves both time and resources that could have been wasted by building a design that does not meet the desired specification.
a illustrates an image 50 formed at the image plane 40 of the optical system 1 (
Designers are able to specify the location of points P in the image using a polar coordinate system, such as that illustrated in
In addition to modeling characteristics at a point P in the image 50 according to the point's physical location (rp, θp), designers may also model characteristics specific to different wavelengths of light at point P. Thus, wavelength λp is also associated with point P.
One particular image characteristic that designers would like to have information about before building an optical system is the impulse response at various points and wavelengths in a simulated image. This impulse response is also known as the point spread function. The point spread function of an optical system is a widely used characteristic that describes the response of the optical system to a point source or a point object and also describes the amount of blur introduced into a recorded image. Traditionally, optical ray tracing programs, such as ZEMAX®, available from ZEMAX® Development Corp., 3001 112th Ave. NE, Bellevue, Wash. 98004, have been used to compute this data for each point in the image. However, modeling using ray tracing to determine the point spread function for each point in the image is impractical because of its high computational demands, especially as image sizes and resolutions have increased. Known methods also result in undesirable image artifacts in the simulated image.
Accordingly, there exists a need in the art for improved techniques for determining the point spread function at points in a simulated image from an optical system.
a illustrates an image scene formed on an image plane.
b illustrates an image scene formed on an image plane, illustrating a polar coordinate system.
a-5b illustrate a look-up table in accordance with disclosed embodiments.
a-6c further illustrate the look-up table of
In the following detailed description, reference is made to the accompanying drawings which form a part hereof, and in which are shown, by way of illustration, specific embodiments. These embodiments are described in sufficient detail to enable those skilled in the art to make and use them, and it is to be understood that structural, logical or procedural changes may be made. Particularly, in the description below, processes are described by way of flowchart. In some instances, steps which follow other steps may be reversed, be in a different sequence or be in parallel, except where a following procedural step requires the presence of a prior procedural step.
Disclosed embodiments may be implemented using any type of data processing system.
Disclosed embodiments provide methods, systems and apparatuses for modeling high resolution images that significantly shortens computation time and reduces image artifacts, as compared to known methods. Embodiments implement a look-up table, to compute once and store the point spread functions for various combinations of location (r, θ) and wavelength (λ), representing various points of the image 50. During modeling of the optical system, these previously stored point spread functions may be used to determine the point spread function for a specified point using a weighted interpolation of the point spread functions that have been stored for nearby points. The embodiments do not require the computation heavy ray tracing technique for each point in the image. This significantly reduces the computation time required for optical system modeling.
Referring now to
At step 150, the location (in polar coordinates) of a point P in image 50 and a wavelength of light for a point for which modeling is desired is input into system 60. At step 160, method 135 determines whether the look-up table contains a stored location and wavelength that exactly matches the input location and wavelength. If the look-up table includes the exact combination of location (r, θ) and wavelength (λ), then method 135 outputs the point spread function associated with the location and wavelength at step 170. If method 135 determines that the input location and wavelength do not exactly match values stored in the look-up table, then method 135 performs interpolation operations at step 180. The point spread function based on the interpolation is output at step 190. As will be explained in more detail below, the interpolation operations determine a point spread function for the input point's location and wavelength, based on the point spread functions stored in the look-up table that are associated with points near the input point's location and/or wavelength. Each of the steps illustrated in
With reference to
The look-up table based on the image 50 shown in
b illustrates a set of images 50 to which a larger portion of the look-up table corresponds. As can be seen from
In one disclosed embodiment, point spread functions are determined for a variety of wavelengths that are within the visible spectrum of light. For example, the spectrum of light visible to the human eye can be divided into bands, then point spread functions are determined for each wavelength in the middle of each band. In such an embodiment, for the spectrum of light between 400 nm to 700 nm, one could generate point spread functions in 10 nm intervals (400 nm, 410 nm, 420 nm, etc. up to 700 nm). In a similar manner where the number of radial bands and angular positions may be varied to accommodate the simulation requirements, the wavelength interval could also be varied. Additionally, if point spread functions values are generated for only every 50 nm of wavelength instead of every 10 nm, a look-up table requiring even less memory storage space could be generated.
a is a table representing a portion of a look-up table for a single wavelength (λ0). The table of
b and 6c represent additional portions of the look-up table (similar to
Referring back to
Referring to
At step 200, the values of the four points in the look-up table surrounding the input point are determined. The values of r1 and θ1 are determined according to Equations (1) and (2):
r1=floor(rp), and (1)
θ1=floor(θp). (2)
The “floor” function returns the largest whole values of r and θ below rp and θp, respectively. Next, r2 is determined by adding to r1 the distance between the radial height of r1 and the radial height of r2. Then, θ2 is determined by adding the predetermined angular interval to θ1. For example, if the look-up table was generated having 36 angular position, r2 and θ2 would be calculated according to Equations (3) and (4):
r2=r1+1, and (3)
θ2=θ1+10°. (4)
Similarly, if the look-up table was generated with 360 angular positions (as opposed to 36), then only 1° would be added to θ1 in Equation (4). The four look-up table points surrounding the input point are (r1, θ1), (r1, θ2), (r2, θ1) and (r2, θ2).
After determining the four look-up table points surrounding the input point, the point spread functions associated with the four points at step 210 are extracted. As shown in
Once the four surrounding point spread functions have been determined, the point spread function associated with the input point through weighted linear interpolation can be determined at steps 220 and 230. This interpolation involves determining the distances between the input point and the surrounding points to generate weighting values, then multiplying the pre-calculated point spread functions by the weighting value.
Angular interpolation is performed at step 220. An angular interpolation procedure is shown in Equations (5), (6) and (7):
wt_angle=θp−θ1 (5)
PSF(r1,θp)=(1−wt_angle)*PSF(r1,θ1)+(wt_angle)*PSF(r1,θ2) (6)
PSF(r2,θp)=(1−wt_angle)*PSF(r2,θ1)+(wt_angle)*PSF(r2,θ2) (7)
where wt_angle is the weighting value in the angular direction and is equal to the angular distance between point P and point 1 and PSF(r1, θp) and PSF(r2, θp) are the point spread functions for points located at radial locations 1 and 2, but with the angular location of point P.
Next, at step 230, radial interpolation is performed to determine the PSF at point (rp, θp). The following equations illustrate this procedure:
wt_radial=rp−r1; (8)
PSF(rp,θp)=(1−wt_radial)*PSF(r1,θp)+(wt_radial)*PSF(r2,θp); (9)
where, similar to above, wt_radial is the weighting value in the radial direction and is equal to the radial distance between point P and point 1 and PSF(rp, θp) is the point spread function for point P. Once PSF(rp, θp) is determined, the function that has been generated is output at step 240.
The process illustrated by
At step 260, the point spread function at point (rp, θp) is determined for the first wavelength, λ1. At step 270, the point spread function at point (rp, θp) is determined for the second wavelength, λ2. Steps 260 and 270 are implemented in accordance with the process shown in
wt—w1=λp−λ1; (10)
PSF(λp,rp,θp)=(1−wt—w1)*PSF(λ1,rp,θp)+(wt—w1)*PSF(λ2,rp,θp); (11)
where, similar to above, wt_w1 is the weighting value in the wavelength direction and is equal to the distance between the wavelengths of point P and point 1 and PSF(λp, rp, θp) is the point spread function for point P. At step 290, the determined point spread function for the input point is output.
The point spread function data determined in accordance with disclosed embodiments may be used to perform a convolution operation of an ideal image at each point position, as is known in the art, to complete the modeling of the optical system.
The disclosed embodiments have been described herein using polar coordinates. However, it should be noted that embodiments could use any other type of coordinate system, such as a Cartesian coordinate system.
As a further benefit, the size of the look-up table may be reduced. To reduce the size of the look-up table, its values can be downsampled. Downsampling means that the samples rate of a signal is reduced. This is usually done to reduce the data rate or the size of the data. For example, the resolution of the look-up table could be downsampled to match the resolution of the image sensor 20. Additionally, the point spread function data can be resampled to match the resolution of the optical image.
The above described methods of determining the point spread function of a point on an image plane can also be used as part of a larger modeling operation that includes, for example, the use of a distorted image grid and/or relative illumination factors.
While various embodiments have been described above, it should be understood that they have been presented by way of example, and not limitation. It will be apparent to persons skilled in the relevant art(s) that various changes in form and detail can be made therein.
Number | Name | Date | Kind |
---|---|---|---|
5546142 | Kobayashi | Aug 1996 | A |
6285799 | Dance et al. | Sep 2001 | B1 |
6329989 | Qi et al. | Dec 2001 | B1 |
6408107 | Miller et al. | Jun 2002 | B1 |
6806980 | Xu et al. | Oct 2004 | B2 |
7190395 | Nakano et al. | Mar 2007 | B2 |
7860675 | Miyano | Dec 2010 | B2 |
20030063815 | Watanabe | Apr 2003 | A1 |
20030184663 | Nakano et al. | Oct 2003 | A1 |
20030212491 | Mitchell et al. | Nov 2003 | A1 |
20040243364 | Wendelin et al. | Dec 2004 | A1 |
20050117114 | Jiang | Jun 2005 | A1 |
20050185159 | Rosenbluth et al. | Aug 2005 | A1 |
20050189491 | Lewis | Sep 2005 | A1 |
20050197809 | Dowski, Jr. et al. | Sep 2005 | A1 |
20050265621 | Biggs et al. | Dec 2005 | A1 |
20060101106 | Subbarao | May 2006 | A1 |
20060262403 | Ludwig | Nov 2006 | A1 |
20070044084 | Wang et al. | Feb 2007 | A1 |
20070047788 | Slablaugh et al. | Mar 2007 | A1 |
20080180466 | Whitehead et al. | Jul 2008 | A1 |
20090174638 | Brown Elliott et al. | Jul 2009 | A1 |
Number | Date | Country |
---|---|---|
0 466 252 | Jan 1992 | EP |
4177302 | Jun 1992 | JP |
2003-052633 | Feb 2003 | JP |
2006-351017 | Dec 2006 | JP |
PA03005650 | Dec 2004 | MX |
Number | Date | Country | |
---|---|---|---|
20090076754 A1 | Mar 2009 | US |