The present invention relates generally to methods and systems for mapping of three-dimensional (3D) objects, and specifically to optical 3D mapping.
Various methods are known in the art for optical 3D mapping, i.e., generating a 3D profile of the surface of an object by processing an optical image of the object.
Some methods are based on projecting a laser speckle pattern onto the object, and then analyzing an image of the pattern on the object. For example, PCT International Publication WO 2007/043036, whose disclosure is incorporated herein by reference, describes a system and method for object reconstruction, in which a coherent light source and a generator of a random speckle pattern projects onto the object a coherent random speckle pattern. An imaging unit detects the light response of the illuminated region and generates image data. Shifts of the pattern in the image of the object relative to a reference image of the pattern are used in real-time reconstruction of a 3D map of the object.
Other methods of optical 3D mapping project different sorts of patterns onto the object to be mapped. For example, PCT International Publication WO 93/03579 describes a three-dimensional vision system in which one or two projectors establish structured light comprising two sets of parallel stripes having different periodicities and angles. As another example, U.S. Pat. No. 6,751,344 describes a method for optically scanning a subject in which the subject is illuminated with a matrix of discrete two-dimensional image objects, such as a grid of dots. Other methods involve projection of a grating pattern, as described, for example, in U.S. Pat. No. 4,802,759. The disclosures of the above-mentioned patents and publications are incorporated herein by reference.
In embodiments of the present invention, a pattern of spots is projected onto an object, and an image of the pattern on the object is processed in order to reconstruct a 3D map of the object. The pattern on the object is created by projecting optical radiation through a transparency containing the pattern. The embodiments disclosed herein differ in this respect from methods of 3D reconstruction that use laser speckle, in which the pattern is created by optical interference using a diffuser. At the same time, the novel patterns that are used in these embodiments make it possible to perform 3D reconstruction quickly and accurately, using a single, stationary transparency to project the pattern, and a single, stationary image capture assembly to capture images of the object.
There is therefore provided, in accordance with an embodiment of the present invention, apparatus for mapping an object, including:
an illumination assembly, including:
an image capture assembly, which is configured to capture an image of the pattern that is projected onto the object using the single transparency; and
a processor, which is coupled to process the image captured by the image capture assembly so as to reconstruct a three-dimensional (3D) map of the object.
In a disclosed embodiment, the pattern is uncorrelated over a range of depths that is mapped by the apparatus.
In some embodiments, the image capture assembly is arranged to capture images of the pattern on the object from a single, fixed location and angle relative to the illumination assembly. Typically, the transparency and light source are fixed in respective positions in the illumination assembly, and the processor is configured to reconstruct the 3D map using the images that are captured only from the single, fixed location and angle with the transparency and light source only in the respective positions.
In one embodiment, the light source includes a point source of the optical radiation. Alternatively, the light source may include a light-emitting diode (LED).
In a disclosed embodiment, the processor is arranged to process a succession of images captured while the object is moving so as to map a 3D movement of the object, wherein the object is a part of a human body, and the 3D movement includes a gesture made by the part of the human body, and wherein the processor is coupled to provide an input to a computer application responsively to the gesture.
There is also provided, in accordance with an embodiment of the present invention, apparatus for mapping an object, including:
an illumination assembly, including:
an image capture assembly, which is configured to capture an image of the uncorrelated pattern that is projected onto the object; and
a processor, which is coupled to process the image captured by the image capture assembly so as to reconstruct a three-dimensional (3D) map of the object.
In one embodiment, the uncorrelated pattern includes a pseudo-random pattern. In another embodiment, the uncorrelated pattern includes a quasi-periodic pattern, wherein the quasi-periodic pattern has an n-fold symmetry, with n=5 or n≧7.
Typically, the uncorrelated pattern has a duty cycle that is less than 1/e. Alternatively or additionally, the spots have a local duty cycle that varies across the pattern.
In an alternative embodiment, the transparency contains a plurality of parallel bands, repeating periodically in a first direction, each band containing a replica of the uncorrelated pattern extending across at least a part of the transparency in a second direction, perpendicular to the first direction.
In some embodiments, the processor is configured to derive the 3D map by finding respective offsets between the pattern of the spots on multiple areas of the object captured in the image of the pattern that is projected onto the object and a reference image of the pattern, wherein the respective offsets are indicative of respective distances between the areas and the image capture assembly. In one embodiment, the spots have a local duty cycle that varies monotonically along an axis across the pattern, and the processor is configured to determine local gray levels of the multiple areas in the image responsively to the local duty cycle, and to estimate the respective offsets based on the local gray levels.
In an alternative embodiment, the spots in the transparency comprise micro-lenses arranged in the fixed or uncorrelated pattern.
There is furthermore provided, in accordance with an embodiment of the present invention, apparatus for mapping an object, including:
an illumination assembly, including:
an image capture assembly, which is configured to capture an image of the pattern that is projected onto the object using the transparency; and
a processor, which is coupled to process the image captured by the image capture assembly so as to reconstruct a three-dimensional (3D) map of the object.
Typically, the micro-lenses are configured to focus the optical radiation to form respective focal spots at a focal plane in the non-uniform pattern, and the light source includes optics for projecting the non-uniform pattern of the focal spots from the focal plane onto the object. Alternatively, at least some of the micro-lenses have differing focal lengths, and the light source includes optics for projecting the non-uniform pattern of the focal spots so that the pattern that is projected on the object varies with distance from the illumination assembly.
There is additionally provided, in accordance with an embodiment of the present invention, a method for mapping an object, including:
transilluminating a single transparency containing a fixed pattern of spots so as to project the pattern onto the object;
capturing an image of the pattern that is projected onto the object using the single transparency; and
processing the captured image so as to reconstruct a three-dimensional (3D) map of the object.
There is further provided, in accordance with an embodiment of the present invention, a method for mapping an object, including:
an illumination assembly, including:
transilluminating a transparency, containing an uncorrelated pattern of spots so as to project the uncorrelated pattern onto the object;
capturing an image of the uncorrelated pattern that is projected onto the object; and
processing the captured image so as to reconstruct a three-dimensional (3D) map of the object.
There is moreover provided, in accordance with an embodiment of the present invention, a method for mapping an object, including:
transilluminating a transparency containing a plurality of micro-lenses arranged in a non-uniform pattern so as to project the non-uniform pattern onto the object;
capturing an image of the non-uniform pattern that is projected onto the object; and
processing the captured image so as to reconstruct a three-dimensional (3D) map of the object.
The present invention will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:
In some embodiments, device 22 projects an uncorrelated pattern of spots onto object 28. In the context of the present patent application and in the claims, the term “uncorrelated pattern” refers to a projected pattern of spots (which may be bright or dark), whose positions are uncorrelated in planes transverse to the projection beam axis. The positions are uncorrelated in the sense that the auto-correlation of the pattern as a function of transverse shift is insignificant for any shift larger than the spot size and no greater than the maximum shift that may occur over the range of depths mapped by the system. Random patterns, such as a laser speckle pattern, are uncorrelated in this sense. Synthetic patterns, created by human or computer design, such as pseudo-random and quasi-periodic patterns, may also be uncorrelated to the extent specified by the above definition.
An image processor 24 processes image data generated by device 22 in order to reconstruct a 3D map of object 28. The term “3D map” refers to a set of 3D coordinates representing the surface of the object. The derivation of such a map based on image data is referred to herein as “3D mapping” or equivalently, “3D reconstruction.” Image processor 24 computes the 3D coordinates of points on the surface of object 28 by triangulation, based on the transverse shifts of the spots in an image of the pattern that is projected onto the object relative to a reference pattern at a known distance from device 22. Methods for this sort of triangulation-based 3D mapping using a projected laser speckle pattern are described in the above-mentioned PCT publication WO 2007/043036 and in PCT Patent Application PCT/IL2007/000306, filed Mar. 8, 2007, and published as WO 2007/105205, which is assigned to the assignee of the present patent application, and whose disclosure is incorporated herein by reference. These methods may be implemented, mutatis mutandis, using synthetic uncorrelated patterns in system 20.
Image processor 24 may comprise a general-purpose computer processor, which is programmed in software to carry out the functions described hereinbelow. The software may be downloaded to processor 24 in electronic form, over a network, for example, or it may alternatively be provided on tangible media, such as optical, magnetic, or electronic memory media. Alternatively or additionally, some or all of the functions of the image processor may be implemented in dedicated hardware, such as a custom or semi-custom integrated circuit or a programmable digital signal processor (DSP). Although processor 24 is shown in
The 3D map that is generated by processor 24 may be used for a wide range of different purposes. For example, the map may be sent to an output device, such as a display 26, which shows a pseudo-3D image of the object. In the example shown in
Transparency 36 may contain various sorts of fixed, uncorrelated patterns of spots. For example, the transparency may contain a pattern of binary (white/black) spots, distributed over the area of the transparency according to the values of a pseudo-random distribution function. Other examples of uncorrelated spot patterns are described hereinbelow with reference to
Light source 34 transilluminates transparency 36 with optical radiation so as to project an image of the spot pattern that is contained by the transparency onto object 28. (The terms “light” and “optical radiation” in the context of the present patent application refer to any band of optical radiation, including infrared and ultraviolet, as well as visible light. In some applications, however, near-infrared light is preferred on account of the availability of suitable, low-cost sources and detectors and the fact that the spot pattern is thus invisible to human viewers.) In the configuration shown in
An image capture assembly 32 captures an image of the pattern that is projected by illumination assembly 30 onto object 28. Assembly 32 comprises objective optics 40, which focus the image onto an image sensor 42. Typically, sensor 42 comprises a rectilinear array of detector elements 44, such as a CCD or CMOS-based image sensor array. Assembly 32 may also comprise a bandpass filter (not shown in the figures), chosen and positioned so that sensor 42 receives only light in the emission band of light source 34, while filtering out ambient light that might otherwise reduce the contrast of the image of the projected pattern that is captured by the sensor.
In the embodiment shown in
To simplify the computation of the 3D map and of changes in the map due to motion of object 28 in the configuration of
Specifically, by triangulation in this arrangement, a Z-direction shift of a point on the object, δZ, will engender a concomitant transverse shift δX in the spot pattern observed in the image. Z-coordinates of points on the object, as well as shifts in the Z-coordinates over time, may thus be determined by measuring shifts in the X-coordinates of the spots in the image captured by assembly 32 relative to a reference image taken at a known distance Z. Y-direction shifts may be disregarded. This sort of triangulation approach is appropriate particularly in 3D mapping using uncorrelated patterns of spots, although aspects of the approach may be adapted for use with other types of patterns, as well.
Thus, to generate the 3D map of object 28, image processor 24 (
For n=5 or (n≧5, 7, 8, . . . ), these patterns are uncorrelated in the sense defined above. Alternatively, transparency 36 may contain uncorrelated quasi-periodic patterns of other types.
The use of quasi-periodic patterns in system 20 is advantageous in that the pattern has a known spatial frequency spectrum, with distinct peaks (as opposed to random and pseudo-random patterns, whose spectrum is flat). Processor 24 may use this spectral information in filtering digital images of the pattern that are captured by image capture assembly 32, and may thus reduce the effects of noise and ambient light in the image correlation computation. On the other hand, because the pattern is uncorrelated over the range of depths mapped by the system, the likelihood of erroneous mapping results is reduced, since only a correct match between an area of the image of the object and a corresponding area of the reference image will give a high correlation value.
When slide 36 contains pattern 70, the gray level of the pattern projected onto object 28, when observed at low resolution, will likewise vary across the image of the object. Therefore, in an initial processing phase, processor 24 may process the image at low resolution in order to determine the gray level of each area in the image of the object. The processor may then compare this gray level to the distribution of gray levels across the reference image in order to make a rough estimate of the depth (Z-coordinate) of each area of the object. For some applications, this rough estimate may be sufficient.
Alternatively, the processor may use this initial estimate in choosing, for each area of the image of the object, the appropriate area of the reference image in which to search for a matching part of the spot pattern. By matching the spot pattern, the processor computes more accurate depth values. This two-step processing approach can be advantageous in avoiding erroneous mapping results and possibly in reducing the overall computation time. Although
Because bands 82 in pattern 80 repeat periodically in the Y-direction, processor 24 may use the image of a single band 82 as a reference image in determining the X-direction shift of an area in the image of the object, regardless of the Y-coordinates of the area. Therefore the memory required to store the reference image is reduced. The complexity of the computation may be reduced, as well, since the range of the search for a matching area in the reference image is limited. Bands 82 may alternatively comprise other types of patterns that are uncorrelated in the X-direction, such as types of patterns shown above in
Reference is now made to
In this embodiment, the spots on transparency 90 comprise micro-lenses 92, which are distributed over a transparent substrate 94 in a non-uniform, uncorrelated pattern, such as a random or pseudo-random pattern. The duty cycle of the pattern is given by the density of the micro-lenses per unit area and the optical properties of the, micro-lenses and other projection optics (which define the focal spot size). The duty cycle is typically (although not necessarily) less than 1/e, as explained above. Micro-lenses 92 may be formed on substrate 94 using a photolithographic process, for example, as is used to produce uniform micro-lens grid arrays that are known in the art. Such processes are capable of fabricating micro-lenses with diameter on the order of 0.1 mm and focal lengths of 5-6 mm. Alternatively, micro-lenses 92 may have larger or smaller dimensions and focal lengths, depending on the process and application requirements.
As shown in
As a further alternative, the micro-lenses may have non-uniform focal lengths. For example, different micro-lenses may have different focal lengths, so that the pattern that is projected on the object varies with distance from the illumination assembly. As another example, some or all of the micro-lenses may have multiple different focal lengths. Alternatively or additionally, the micro-lenses or the projection optics (such as optic 56 in
The patterns in
It will thus be appreciated that the embodiments described above are cited by way of example, and that the present invention is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present invention includes both combinations and subcombinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art.
This application claims the benefit of U.S. Provisional Patent Application 61/016,832, filed Dec. 27, 2007. This application is also a continuation-in-part of U.S. patent application Ser. No. 11/899,542, filed Sep. 6, 2007, which claims the benefit of U.S. Provisional Patent Application 60/909,487, filed Apr. 2, 2007. All of these related applications are incorporated herein by reference.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IL08/00458 | 4/2/2008 | WO | 00 | 12/10/2009 |
Number | Date | Country | |
---|---|---|---|
60909487 | Apr 2007 | US | |
60909487 | Apr 2007 | US | |
61016832 | Dec 2007 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11899542 | Sep 2007 | US |
Child | 12522171 | US |