The present disclosure relates shape reconstruction of physical objects using structured light and multiple electronically-controllable light diffusing layers, and is particularly well-suited for shape reconstruction of objects having a mirror-like or specular surface.
For objects having a diffuse surface with lambertian reflection characteristics, there has been considerable attention given to 3D shape reconstruction using structured light. As one example, a survey of various techniques is described by Geng, “Structured-light 3D surface imaging: a tutorial,” Advances in Optics and Photonics, vol. 3, pages 128-160 (2011). As used herein, “shape reconstruction” is sometimes referred to also as “depth estimation”.
For objects having a mirror-like or specular surface, however, such techniques cannot be used directly. For one reason, these techniques in general work by projecting an image of structured light onto the diffuse surface of the object, and measuring how the surface of the object distorts the image of the structured light. For a mirror-like or specular surface, however, an image cannot be formed on the surface, which rather simply reflects light away from the surface. For succinctness, “mirror-like or specular surfaces” will hereinafter be referred to as simply “specular surfaces”.
For another reason, particularly evident when attempting to use near-field illumination in a compact measurement assembly, the specular surface introduces a depth-normal ambiguity, whereby there are multiple different and generally indistinguishable solutions to the question of the location of a surface that might have been responsible for reflecting a specific incoming ray of light.
A prior application, assigned in common with the application herein, proposes an arrangement that addresses the depth-normal ambiguity when measuring the depth value of specular objects. See “Depth Value Measurement Using Illumination by Pixels”, U.S. patent application Ser. No. 14/489,008, filed Sep. 17, 2014 by Siu-Kei Tin and Mandi Nezamabadi. The arrangement described herein differs from that in application Ser. No. 14/489,008.
According to one aspect, the disclosure herein describes use of electronically-controllable light diffusing layers, which are electronically controllable between a transparent mode and a diffuse mode. Such a layer is commonly called “EGlass”. As used herein, the term “EGlass” refers to an electronically switchable layer which is switchable between a transparent mode in which the layer is completely transparent, and a diffuse mode in which the layer assumes a frosted appearance. Images can be projected or formed on the frosted appearance of the diffuse mode, and this property of EGlass is used to advantage in the arrangements described herein. EGlass is sometimes referred to as “smart glass”, and the diffuse mode is sometimes referred to as opaque or translucent. One common application for EGlass is in the field of selectable privacy, such as in a conference room where windows can be switched between an open transparent state and a private diffuse state.
According to an embodiment described herein, multiple layers of EGlass are controlled so that one layer is in the diffuse mode and all others are in the transparent mode. Structured light is projected toward the object for which shape reconstruction is sought, which is positioned so that it reflects the projected light onto the layer in the diffuse mode. Images are captured of the structured light pattern as reflected onto the diffuse-mode EGlass by the mirror-like surface of the specular object. The EGlass layers are controlled in turn so that one layer is in the diffuse mode and all others are in the transparent mode. Because the structured light pattern is reflected by the object onto multiple layers, a calibration step allows disambiguation of the position-normal ambiguity, thus allowing a determination of the position of the portion of the object that is reflecting a particular aspect of the pattern. By projecting multiple different patterns, such as multiple different Gray code patterns, and by sequencing through each EGlass layer for each pattern, the 3D shape of the entirety of the visible surface of the object can be reconstructed.
Other embodiments described herein have an additional advantage whereby shape reconstruction is also possible for diffuse objects, without a change in configuration. In such embodiments, all of the multiple layers of the EGlass are switched to the transparent mode, such that the structured light patterns are projected through the transparent EGlass layers and imaged directly onto the surface of the diffuse object. Images of the patterns as projected onto the object are captured. Again, and without a change in configuration from that used for mirror-like specular objects, the projection of different patterns and the analysis of corresponding captured images allow 3D shape reconstruction of the entirety of the visible surface of the object.
According to further embodiments described herein a projector is positioned and configured to project patterned light toward the inspection station, and first and second transparency-controllable layers are positioned to receive a reflection from a direction of the inspection station. The first and second layers are positioned in spaced-apart relation relative to each other, wherein both of the first and second layers are controllably switchable between a transparent mode in which the layer is transparent, and a diffuse mode in which the layer diffuses light. An image capture device is positioned and configured to capture images of the first and second layers. A controller controls transparency of the first and second layers and controls projection of patterned light by the projector, and estimates depth of the surface of an object positioned at the inspection station by calculations using images captured by the image capture device.
A second image capture device may be positioned and configured to capture images of an object at the inspection station, and the controller may control the projector to project patterned light onto the object. Based on diffuse components of the captured images of the second image capture device, the controller estimates depth of the surface of an object having at least some diffuse characteristics.
Alternatively, the image capture device is positioned to capture images through the first and second layers of the object illuminated by the patterned light, and the controller controls both of the first and second layers to the transparent mode, and controls the projector to project patterned light onto the object. This facilitates shape reconstruction of diffuse objects using the same configuration as that used for specular objects. Based on diffuse components of the captured images, the controller estimates depth of the surface of an object having at least some diffuse characteristics.
Particularly in the case of specular objects, control may proceed in two phases. In a first phase the controller controls the first layer to the diffuse mode and the second layer to the transparent mode, and controls the projector to project a first sequence of patterned light onto an object at the inspection station, thereby to cause a distorted reflection of the patterned light to be reflected by the object onto the first layer. In a second phase the controller controls the first layer to the transparent mode and the second layer to the diffuse mode, and controls the projector to project a second sequence of patterned light onto an object at the inspection station, thereby to cause a distorted reflection of the patterned light to be reflected by the object onto the second layer. Based on specular components of the captured images, the controller estimates depth of the surface of an object having at least some specular characteristics.
Each of the first and second sequences of patterned light may comprise a sequence of binary patterns of horizontal and vertical stripe patterns, each pattern in the sequence having a spatial frequency that differs from others of the patterns in the sequence. The first and second sequence of patterns may be formed using binary Gray codes. The controller may determine depth and normal at multiple points on the surface of the object by decoding the binary patterns in the captured images of deformed patterns reflected by the surface of the object from the first and second layers.
The spaced-apart relation of the first and second layers may be determined by calibration, and the controller may determine depth and normal at multiple points on the surface of the object by tracing paths of light rays from the first layer and the second layer using the calibration.
Three or more transparency-controllable layers may be provided, wherein each of the layers in turn is controlled to the diffuse mode while all other layers are controlled to the transparent mode.
This brief summary has been provided so that the nature of this disclosure may be understood quickly. A more complete understanding can be obtained by reference to the following detailed description and to the attached drawings.
While
As shown in
Reconstructor 100 is configured to reconstruct surface shape of objects at inspection station 12, based on commands issued to projector 101 and commands issued to actuator 15 for movable stage 14, and based on spectral image data received from image capture system 102. Based on the reconstruction obtained by reconstructor 100, reconstructor 100 controls replication controller 104 so as to obtain a 3D replication of the object. In this embodiment, 3D replication of the object is obtained physically via 3D printer 105, to produce replicated object 106. In other embodiments, 3D replication of the object may be obtained representationally via a graphics display. More details of reconstructor 100 are provided below, such as in connection with
For the plural transparency-controllable layers 103, this embodiment uses multiple layers of EGlass. As used herein, the term “EGlass” refers to electronically switchable glass which is switchable between a transparent mode in which the glass is completely transparent, and a diffuse mode in which the glass assumes a frosted appearance. Images can be projected or formed on the frosted appearance of the diffuse mode, and this property of EGlass is used to advantage in the configuration described herein. EGlass is sometimes referred to as “smart glass”, and the diffuse mode is sometimes referred to as opaque or translucent. One common use of EGlass is in the field of selectable privacy, such as in a conference room where the windows can be switched between an open transparent state and a private diffuse state.
EGlass is typically formed of a polymer dispersed liquid crystal (PDLC) or polymer stabilized cholesteric texture (PSCT) film sandwiched between two layers of glass with two layers of conductive interlayers, so as to allow control of the EGlass between the transparent mode and the diffuse mode. Other technologies for fabricating EGlass include suspended particle devices (SPDs) and electrochromic devices. For the EGlass used in this embodiment, the change-over from transparent mode to diffuse mode, and vice-versa, takes less than 10 seconds.
As used herein, EGlass refers to any of these or similar technologies, in which the transparency of a layer is controllable electrically between a fully transparent mode and a fully diffuse mode.
The EGlass layers are positioned in spaced-apart relation to each other, such that by using the relative postionings of the EGlass layers to projector 101 and camera 102, ray-tracing and/or triangulation techniques allow reconstruction of the 3D surface shape of the object 11 under inspection. The relative postionings are predetermined through calibration. More details on the relative positionings of EGlass layers 103, relative to other elements such as projector 101 and image capture system 102, and calibration thereof, are provided below such as in connection with
One additional benefit of the example embodiment shown in
Relatedly, projector 101 in this embodiment has an autofocus function, by which patterns projected by the projector are automatically focused onto the surface where the patterns are projected. This provides an advantageous benefit: because the transparency mode of the EGlass layers 103 is changed between diffuse mode and transparent mode, the surface onto which patterns are projected is likewise changed. For example, in a circumstance when an outermost EGlass layer is in the diffuse mode, patterns are reflected from the surface of the mirror-like object onto the outermost layer. The focus distance in this circumstance differs from a circumstance when the innermost EGlass layer is in the diffuse mode and the outermost layer is in the transparent mode, where patterns are reflected from the surface of the mirror-like object through the outermost layer and onto the innermost layer. Both of these focus distances are different from the circumstance when the object is diffuse and patterns are projected directly onto the surface of the diffuse object. The autofocus function of projector 101 responds automatically to these changes in focus distance, ensuring that the projected patterns remain in focus regardless of the surface onto which they are projected.
The position of camera and the EGlass layers are determined during the calibration process, described below, and stored for later computations. The correspondences between camera pixels and points on EGlass layers are established by projecting conventional coded patterns, different from each other, such that each pixel at the layer is uniquely identifiable. The patterns may, for example, be binary patterns of horizontal and vertical stripe patterns, each pattern in the sequence having a spatial frequency that differs from others of the patterns in the sequence, such as Gray code patterns.
In this way the reflection angle of β and consequently the corresponding surface normal of the object at the inspection station can be calculated based on traditional triangulation methodology.
If the object 11 at the inspection station is diffuse, then all EGlass layers are set to transparent mode, and projector 101 projects the patterns directly onto the surface of the diffuse object. Camera 102 captures images of the patterns, through all EGlass layers, and the captured images are used for estimation of 3D surface shape. In this way the depth for each pixel can be calculated based on traditional triangulation methodology, even for diffuse objects, and without a change in physical configuration of replication system 10.
As shown in
RAM 116 interfaces with computer bus 114 so as to provide information stored in RAM 116 to CPU 110 during execution of the instructions in software programs, such as an operating system, application programs, image processing modules, and device drivers. More specifically, CPU 110 first loads computer-executable process steps from non-volatile memory 160 or another storage device into a region of RAM 116. CPU 110 can then execute the stored process steps from RAM 116 in order to execute the loaded computer-executable process steps. Data also can be stored in RAM 116 so that the data can be accessed by CPU 110 during the execution of the computer-executable software programs, to the extent that such software programs have a need to access and/or modify the data.
As also shown in
Non-volatile memory 160 also stores a shape recovery module 140, a positioning control module 150, and replication control module 160. These modules, i.e., the shape recovery module 140, the positioning control module 150, and the replication control module 160, are comprised of computer-executable process steps for recovery or reconstruction of 3D surface shape of an object, for repositioning of the object on movable stage 14, and for control of replication controller 104 for 3D replication of the object.
As shown in
Positioning control module 150 controls repositioning of the object on movable stage 14, and replication control module 160 controls replication controller 104 for 3D replication of the object.
The computer-executable process steps for these modules may be configured as part of operating system 118, as part of an output device driver in output device drivers 121, or as a stand-alone application program(s). These modules may also be configured as a plug-in or dynamic link library (DLL) to the operating system, device driver or application program. It can be appreciated that the present disclosure is not limited to these embodiments and that the disclosed modules may be used in other environments.
The extrinsic and intrinsic parameters of utilized cameras can be determined using conventional geometrical calibration methods. Various techniques are described in the literature, such as “Multiple View Geometry in Computer Vision Paperback”, by Richard Hartley and Andrew Zisserman, Cambridge University Press; 2nd edition, Apr. 19, 2004, ISBN-13:978-0521540513. The correspondences between camera pixels and points on EGlass layers are established by projecting conventional coded patterns such as Gray code patterns on one of the EGlass layers while the other EGlass layers are set to a transparent mode. Using a camera positioned in front of the EGlass layers, a determination can be made of the position of each projected pixel.
The steps of
In step S500, a determination is made as to whether the object is diffuse or specular. Alternatively, the object might be a non-homogeneous object, containing diffuse areas as well as specular areas. The determination made be made manually or automatically, such as based on the nature and quantity of light reflected from the object during a trial projection from projector 101.
In the event that the object is determined to be specular, flow advances to steps S501 through S507. Generally speaking, according to these steps, first and second layers of plural transparency-controllable layers are controlled between a transparent mode in which the layer is transparent and a diffuse mode in which the layer diffuses light. The first and second layers are positioned to receive a reflection from the object. A first sequence of light patterns is projected onto the object while the first layer is in the diffuse mode and the second layer is in the transparent mode, thereby to cause a distorted reflection of the patterned light to be reflected by the object onto the first layer. A second sequence of light patterns is projected onto the object while the first layer is in the transparent mode and the second layer is in the diffuse mode, thereby to cause a distorted reflection of the patterned light to be reflected by the object onto the second layer. Images are captured of the distorted reflections reflected onto the first and second layers by the object, in correspondence to illumination of the object onto which the first and second sequence of light patterns are projected. 3D shape of the surface of the object is estimated by calculations using the captured images.
More specifically, in step S501, EGlass layer #1 is controlled to the diffuse mode and all other layers are controlled to the transparent mode. At step S502, a first sequence of patterned light patterns is projected toward the object, the surface of which, being mirror-like, reflects the light patterns toward the plural EGlass layers. The mirror-like object reflects these patterns as distorted by the surface shape of the object. Because EGlass layer #1 is controlled to the diffuse mode, the distorted reflections are focused as images onto EGlass layer #1. Because all other EGlass layers including layer #2 are controlled to the transparent mode, the patterns reflected onto EGlass layer #1 are visible to the camera 102 through layers such as layer #2 which are closer to the camera.
In step S503, images of the distorted reflections, as reflected by the surface of the object onto EGlass layer #1, are captured by camera 102.
Likewise, in steps S504 through S506, EGlass layer #2 is controlled to diffuse mode and all other layers to transparent mode, and a second sequence of patterned light patterns are projected toward the object, the surface of which, being mirror-like, reflects the light patterns toward the plural EGlass layers. The mirror-like object reflects these patterns as distorted by the surface shape of the object. Because EGlass layer #2 is controlled to the diffuse mode, the distorted reflections are focused as images onto EGlass layer #2. Because all other EGlass layers including layer #1 are controlled to the transparent mode, the patterns are reflected by the object through EGlass layers such as layer #1 which are closer to the object, and the patterns reflected onto EGlass layer #2 are visible to the camera 102 through layers which are closer to the camera. Images are captured of the distorted reflections of the second sequence as reflected by the object onto EGlass layer #2.
In step S507, reconstructor 100 estimates 3D surface shape of that portion of the object which is visible to the camera, and illuminated by the patterns projected onto the object, by using the captured images.
Considering
In the above equations, t and s are free parameters and {right arrow over (A)} and {right arrow over (B)} are vectors corresponding to point A and B on E-Glass layers as shown in
One can easily compute angle, θ, between two rays i and k as
In step S508, via positioning module 150, reconstructor 100 issues a positioning command to reposition movable stage 14 and the object thereon. Repositioning of the object exposes other areas of its surface to image capture and illumination by the layers, and thereby permits 3D shape reconstruction with as much of the entirety of the object as desired. Flow then returns to step S500, for a repeated determination of whether the visible portion of the object is diffuse or specular. In other embodiments, step S500 may be skipped, with flow returning directly to step S501.
When no further repositionings are performed, flow advances to step S509 wherein via replication control module 160, reconstructor 100 executes 3D replication of the object. Replication may be a physical replication such as by using 3D printer 105, or replication may be a graphical replication of the object, from arbitrary perspectives and from arbitrary illumination directions and sources.
Reverting to step S500, if the object is determined to be diffuse, then flow branches to step S510. In step S510, all EGlass layers are controlled to transparent mode, and a sequence of patterned light patterns is projected by projector 100 directly onto object 11, through the transparent EGlass layers (step S511). Step S512 captures images of the object as illuminated by the light patterns, and step S513 estimates 3D surface shape of the object by using the captured images. Referring to
Flow then returns to step S508, for repositioning of the object as described above, or for replication of the object at step S509, as also described above.
By positioning a mirror 404 at the back of E-Glass Layer#2, as shown in
Computer Implementation
The example embodiments described herein may be implemented using hardware, software or a combination thereof and may be implemented in one or more computer systems or other processing systems. However, the manipulations performed by these example embodiments were often referred to in terms, such as entering, which are commonly associated with mental operations performed by a human operator. No such capability of a human operator is necessary, in any of the operations described herein. Rather, the operations may be completely implemented with machine operations. Useful machines for performing the operation of the example embodiments presented herein include general purpose digital computers or similar devices.
From a hardware standpoint, a CPU typically includes one or more components, such as one or more microprocessors, for performing the arithmetic and/or logical operations required for program execution, and storage media, such as one or more disk drives or memory cards (e.g., flash memory) for program and data storage, and a random access memory, for temporary data and program instruction storage. From a software standpoint, a CPU typically includes software resident on a storage media (e.g., a disk drive or memory card), which, when executed, directs the CPU in performing transmission and reception functions. The CPU software may run on an operating system stored on the storage media, such as, for example, UNIX or Windows (e.g., NT, XP, and Vista), Linux, and the like, and can adhere to various protocols such as the Ethernet, ATM, TCP/IP protocols and/or other connection or connectionless protocols. As is well known in the art, CPUs can run different operating systems, and can contain different types of software, each type devoted to a different function, such as handling and managing data/information from a particular source, or transforming data/information from one format into another format. It should thus be clear that the embodiments described herein are not to be construed as being limited for use with any particular type of server computer, and that any other suitable type of device for facilitating the exchange and storage of information may be employed instead.
A CPU may be a single CPU, or may include plural separate CPUs, wherein each is dedicated to a separate application, such as, for example, a data application, a voice application, and a video application. Software embodiments of the example embodiments presented herein may be provided as a computer program product, or software, that may include an article of manufacture on a machine accessible or non-transitory computer-readable medium (i.e., also referred to as “machine readable medium”) having instructions. The instructions on the machine accessible or machine readable medium may be used to program a computer system or other electronic device. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs, and magneto-optical disks or other type of media/machine-readable medium suitable for storing or transmitting electronic instructions. The techniques described herein are not limited to any particular software configuration. They may find applicability in any computing or processing environment. The terms “machine accessible medium”, “machine readable medium” and “computer-readable medium” used herein shall include any non-transitory medium that is capable of storing, encoding, or transmitting a sequence of instructions for execution by the machine (e.g., a CPU or other type of processing device) and that cause the machine to perform any one of the methods described herein. Furthermore, it is common in the art to speak of software, in one form or another (e.g., program, procedure, process, application, module, unit, logic, and so on) as taking an action or causing a result. Such expressions are merely a shorthand way of stating that the execution of the software by a processing system causes the processor to perform an action to produce a result.
While various example 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. Thus, the present invention should not be limited by any of the above described example embodiments, but should be defined only in accordance with the following claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
5764317 | Sadovnik et al. | Jun 1998 | A |
6341016 | Malione | Jan 2002 | B1 |
6549288 | Migdal | Apr 2003 | B1 |
9325973 | Hazeghi | Apr 2016 | B1 |
9361698 | Song | Jun 2016 | B1 |
20080030744 | Beardsley | Feb 2008 | A1 |
20080240502 | Freedman | Oct 2008 | A1 |
20090066929 | Tropf | Mar 2009 | A1 |
20090219253 | Izadi et al. | Sep 2009 | A1 |
20130163062 | Yang et al. | Jun 2013 | A1 |
20160076878 | Tin et al. | Mar 2016 | A1 |
Number | Date | Country |
---|---|---|
19641168 | Apr 1998 | DE |
Entry |
---|
Multiple View Geometry in Computer Vision Paperback, by Richard Hartley and Andrew Zisserman, Cambridge University Press; 2 edition Apr. 19, 2004 ISBN-13: 978-0521540513. |
Multi-View Normal Field Integration for 3D Reconstruction of Mirroring Objects, Michael Weinmann et al, IEEE International Conference on Computer Vision, p. 2504-2511, ICCV 2013. |
Structured-light 3D surface imaging: a tutorial, Jason Geng, IEEE Intelligent Transportation System Society, p. 128-160, ICCV 2011. |
U.S. Appl. No. 14/983,365, filed Dec. 29, 2015. |
U.S. Appl. No. 15/072,101, filed Mar. 16, 2016. |
Number | Date | Country | |
---|---|---|---|
20170270716 A1 | Sep 2017 | US |