Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Vision and Robotics Group

Similar presentations


Presentation on theme: "Computer Vision and Robotics Group"ā€” Presentation transcript:

1 Overview of coded light projection techniques for automatic 3D profiling
Computer Vision and Robotics Group Institut dā€™InformĆ tica i Aplicacions Jordi PagĆØs Joaquim Salvi

2 Presentation outline Introduction Coded pattern classification
Conclusions Sub-pixel matching Experiments Classification Introduction FormaciĆ³ Introduction Coded pattern classification Time-multiplexing Spatial codification Direct codification Experimental results Sub-pixel matching Conclusions & guidelines 1/36

3 Introduction: shape acquisition
Shape acquisition techniques Introduction Shape acquisition Stereovision Encoding/ decoding Non-contact Contact Reflective Transmissive Non-destructive Destructive Non-optical Industrial CT Classification Slicing CMM Jointed arms Microwave radar Sonar Optical Active Experiments Passive Imaging radar Stereo Sub-pixel matching Shape from X Triangulation (Coded) Structured light Motion Stereo Shading Silhouettes Texture Interferometry Conclusions Moire Holography Source: Brian Curless 2/36

4 Introduction: passive stereovision
Shape acquisition Stereovision Encoding/ decoding Correspondence problem geometric constraints ļƒž search along epipolar lines 3D reconstruction of matched pairs by triangulation Classification Experiments Sub-pixel matching Conclusions 3/36

5 Introduction: active stereo (coded structured light)
Shape acquisition Stereovision Encoding/ decoding One of the cameras is replaced by a light emitter Correspondence problem is solved by searching the pattern in the camera image (pattern decoding) Classification Experiments Sub-pixel matching Conclusions 4/36

6 Introduction: pattern encoding/decoding (I)
Shape acquisition Stereovision Encoding/ decoding A pattern is encoded when after projecting it onto a surface, a set of regions of the observed projection can be easily matched with the original pattern. Example: pattern with two-encoded-columns The process of matching an image region with its corresponding pattern region is known as pattern decoding ļƒ  similar to searching correspondences Decoding a projected pattern allows a large set of correspondences to be easily found thanks to the a priori knowledge of the light pattern Object scene Pixels in red and yellow are directly matched with the pattern columns Classification Codification using colors Experiments Sub-pixel matching Conclusions 5/36

7 Introduction: pattern encoding/decoding (II)
Shape acquisition Stereovision Encoding/ decoding Two ways of encoding the correspondences: single and double axis codification ļƒž it determines how the triangulation is calculated Decoding the pattern means locating points in the camera image whose corresponding point in the projector pattern is a priori known Single-axis encoding Double-axis encoding Classification Triangulation by line-to-plane intersection Triangulation by line-to-line intersection Experiments Sub-pixel matching Conclusions 6/36

8 Coded structured light patterns: a classification proposal
Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 7/36

9 Time-multiplexing Experiments Pattern 3 Pattern 2 Sub-pixel matching
Introduction The time-multiplexing paradigm consists of projecting a series of light patterns so that every encoded point is identified with the sequence of intensities that receives The most common structure of the patterns is a sequence of stripes increasing its length by the time ļƒ  single-axis encoding Advantages: high resolution ļƒ  a lot of 3D points High accuracy (order of ļ­m) Robustness against colorful objects since binary patterns can be used Drawbacks: Static objects only Large number of patterns Example: 3 binary-encoded patterns which allows the measuring surface to be divided in 8 sub-regions Classification Time-multiplexing Spatial codification Direct codification Projected over time Experiments Pattern 3 Pattern 2 Sub-pixel matching Pattern 1 Conclusions 8/36

10 Time-multiplexing: binary codes (I)
Introduction FormaciĆ³ Coding redundancy: every edge between adjacent stripes can be decoded by the sequence at its left or at its right Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 9/36

11 Time-multiplexing: Binary codes (II)
Introduction Every encoded point is identified by the sequence of intensities that receives n patterns must be projected in order to encode 2n stripes Example: 7 binary patterns proposed by Posdamer & Altschuler Classification Time-multiplexing Spatial codification Direct codification Projected over time ā€¦ Experiments Pattern 3 Pattern 2 Sub-pixel matching Pattern 1 Conclusions Codeword of this pĆ­xel: ļƒ  identifies the corresponding pattern stripe 10/36

12 Time-multiplexing: n-ary codes (I)
Introduction n-ary codes reduce the number of patterns by increasing the number of projected intensities (grey levels/colours) ļƒ  increases the basis of the code The number of patterns, the number of grey levels or colours and the number of encoded stripes are strongly related ļƒ  fixing two of these parameters the reamaining one is obtained Classification Time-multiplexing Spatial codification Direct codification Using a binary code, 6 patterns are necessary necessary to encode 64 stripes Experiments Sub-pixel matching Conclusions 3 patterns based on a n-ary code of 4 grey levels (Horn & Kiryati) ļƒ  64 encoded stripes 11/36

13 Time-multiplexing: n-ary codes (II)
Introduction n-ary codes reduce the number of patterns by increasing the number of projected intensities (grey levels/colours) Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 12/36

14 Time-multiplexing: Gray code + Phase shifting (I)
Introduction A sequence of binary patterns (Gray encoded) are projected in order to divide the object in regions Example: three binary patterns divide the object in 8 regions Classification Time-multiplexing Spatial codification Direct codification Without the binary patterns we would not be able to distinguish among all the projected slits An additional periodical pattern is projected Experiments The periodical pattern is projected several times by shifting it in one direction in order to increase the resolution of the system ļƒ  similar to a laser scanner Sub-pixel matching Every slit always falls in the same region GĆ¼hringā€™s line-shift technique Conclusions 13/36

15 Time-multiplexing: Gray code + Phase shifting (II)
A periodical pattern is shifted and projected several times in order to increase the resolution of the measurements The Gray encoded patterns permit to differentiate among all the periods of the shifted pattern Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 14/36

16 Time-multiplexing: hybrid methods (I)
In order to decode an illuminated point it is necessary to observe not only the sequence of intensities received by such a point but also the intensities of few (normally 2) adjacent points The number of projected patterns reduces thanks to the spatial information that is taken into account The redundancy on the binary codification is eliminated Introduction FormaciĆ³ Classification Time-multiplexing Spatial codification Direct codification 1 Pattern 1 Hall-Holt and Rusinkiewicz technique: 4 patterns with 111 binary stripes Edges encoding: 4x2 bits (every adjacent stripe is a bit) 1 1 Pattern 2 Experiments 1 Pattern 3 Sub-pixel matching 1 Pattern 4 Conclusions Edge codeword: 15/36

17 Time-multiplexing: hybrid methods (II)
Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 16/36

18 Spatial Codification Drawbacks:
Introduction Spatial codification paradigm encodes a set of points with the information contained in a neighborhood (called window) around them The codification is condensed in a unique pattern instead of multiplexing it along time The size of the neighborhood (window size) is proportional to the number of encoded points and inversely proportional to the number of used colors The aim of these techniques is to obtain a one-shot measurement system ļƒž moving objects can be measured Classification Time-multiplexing Spatial codification Direct codification Drawbacks: Discontinuities on the object surface can produce erroneous window decoding (occlusions problem) The higher the number of used colours, the more difficult to correctly identify them when measuring non-neutral surfaces Maximum resolution cannot be reached Experiments Advantages: Moving objects supported Possibility to condense the codification to a unique pattern Sub-pixel matching Conclusions 17/36

19 Spatial codification: non-formal codification (I)
The first group of techniques that appeared used codification schemes with no mathematical basis Drawbacks: the codification is not optimal and often produces ambiguities since different regions of the pattern are identical the structure of the pattern is too complex for a good image processing Introduction Classification Time-multiplexing Spatial codification Direct codification Durdle et al. ļƒ  periodic pattern Experiments Sub-pixel matching Maruyama and Abe ļƒ  complex structure based on slits containing randomly placed cuts Conclusions 18/36

20 Spatial codification: non-formal codification (II)
Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 19/36

21 Spatial codification: De Bruijn sequences (I)
A De Bruijn sequence (or pseudorrandom sequence) of order m over an alphabet of n symbols is a circular string of length nm that contains every substring of length m exactly once (in this case the windows are unidimensional). The De Bruijn sequences are used to define coloured slit patterns (single axis codification) or grid patterns (double axis codification) In order to decode a certain slit it is only necessary to identify one of the windows in which it belongs to Introduction m=4 (window size) n=2 (alphabet symbols) Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Zhang et al.: 125 slits encoded with a De Bruijn sequence of 8 colors and window size of 3 slits Salvi et al.: grid of 29ļ‚“29 where a De Bruijn sequence of 3 colors and window size of 3 slits is used to encode the vertical and horizontal slits Conclusions 20/36

22 Spatial codification: De Bruijn sequences (II)
Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 21/36

23 Spatial codification: M-arrays (I)
An m-array is the bidimensional extension of a De Bruijn sequence. Every window of wļ‚“h units appears only once. The window size is related with the size of the m-array and the number of symbols used Introduction Classification Time-multiplexing Spatial codification Direct codification Example: binary m-array of size 4ļ‚“6 and window size of 2ļ‚“2 Experiments Shape primitives used to represent every symbol of the alphabet Sub-pixel matching M-array proposed by Vuylsteke et al. Represented with shape primitives Morano et al. M-arry represented with an array of coloured dots Conclusions 22/36

24 Spatial codification: M-arrays (II)
Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 23/36

25 Direct Codification Ambient lighting (black pattern)
Every encoded pixel is identified by its own intensity/colour Since the codification is usually condensed in a unique pattern, the spectrum of intensities/colours used is very large Additional reference patterns must be projected in order to differentiate among all the projected intensities/colours: Ambient lighting (black pattern) Full illuminated (white pattern) ā€¦ Advantages: Reduced number of patterns High resolution can be teorically achieved Drawbacks: Very noisy in front of reflective properties of the objects, non-linearities in the camera spectral response and projector spectrum ļƒž non-standard light emitters are required in order to project single wave-lengths Low accuracy (order of 1 mm) Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 24/36

26 Direct codification: grey levels (I)
Every encoded point of the pattern is identified by its intensity level Introduction Classification Time-multiplexing Spatial codification Direct codification Every slit is identified by its own intensity Experiments Carrihill and Hummel Intensity Ratio Sensor: fade from balck to white Sub-pixel matching Every slit must be projected using a single wave-length Cameras with large depth-per-pixel (about 11 bits) must be used in order to differentiate all the projected intensities Requirements to obtain high resolution Conclusions 25/36

27 Direct codification: grey levels (II)
Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 26/36

28 Direct codification: Colour (I)
Introduction Every encoded point of the pattern is identified by its colour Classification Time-multiplexing Spatial codification Direct codification Experiments Tajima and Iwakawa rainbow pattern (the rainbow is generated with a source of white light passing through a crystal prism) T. Sato patterns capable of cancelling the object colour by projecting three shifted patterns (it can be implemented with an LCD projector if few colours are projected ļƒ  drawback: the pattern becomes periodic in order to maintain a good resolution) Sub-pixel matching Conclusions 27/36

29 Direct codification: Colour (II)
Introduction Classification Time-multiplexing Spatial codification Direct codification Experiments Sub-pixel matching Conclusions 28/36

30 Experiments: quantitative results
Technique StDev(ļ­m) 3D Points Resolution (%)* Patterns Time-multiplexing Binary code Posdamer (128 stripes) 37.6 13013 11.18 9 n-ary code Horn (64 stripes) 9.6 12988 11.15 5 Phase Shift + Gray code GĆ¼hring (113 slits) 4.9 27214 23.38 14 Spatical codification De Bruijn sequence De Bruijn (64 slits) 13.1 13899 11.94 1 Salvi (29ļ‚“29 grid) 72.3 372 0.32 M-array Morano (45ļ‚“45 array) 23.6 926 0.80 Direct codification Colour Sato (64 stripes) 11.9 10204 8.77 3 Introduction Classification Experiments Quantitative results Qualitative results Sub-pixel matching Conclusions Results obtained by reconstructing 30 times two flat panels separated by 40mm. The distance between both panels obtained for each technique was calculated for every reconstruction. The Standard Deviation is indicated. (*) % of pixels inside a window of 515x226 of the camera image that have been triangulated 29/36

31 Experiments: qualitative results
GĆ¼hring Time-multiplexing Posdamer (128 stripes) Horn (64 stripes) GĆ¼hring (113 slits) De Bruijn Introduction Classification Spatial codification De Bruijn (64 slits) Salvi (29x29 slits) Morano (45x45 dot array) Experiments Quantitative results Qualitative results Direct codification Sato (64 slits) Sub-pixel matching Conclusions 30/36

32 Sub-pixel matching: a key point
A key point in the accuracy of the 3D measurements is to locate the correspondences between camera image and projector pattern with sub-pixel coordinates Qualitative example: Introduction Projected pattern The reflected rays of light fall between ajdacent pixels in the camera sensor This must be taken into account when triangulating the 3D points Classification Camera image Experiments Sub-pixel matching Stripe patterns Other patterns Horse reconstruction with pixel-accuracy triangulation (20000 points) Horse reconstruction with subpixel-accuracy triangulation (10000 points) Conclusions 31/36

33 Sub-pixel matching: stripe-patterns
Only points belonging to the edges between adjacent stripes are decoded and reconstructed. Two possible strategies: - Intersecting the stripe intensity profile with and adaptative binarization threshold (calculated from two additional images: full illuminated and ambient lighting) - More accurate: Projecting positive and negative patterns and intersecting the stripe profiles Introduction Classification Experiments + Sub-pixel matching Stripe patterns Other patterns Conclusions 32/36

34 Sub-pixel matching: other patterns
Introduction Classification Experiments Arry of dots: the subpixel position of the dots is often calculated with their mass centre ļƒž not very accurate since the circles are observed like deformed ellipses due to the change of perspective and the measuring surface Sub-pixel matching Stripe patterns Other patterns Slit patterns: every observed slit can be modelled with a gaussian profile and peak detectors can be applied (like Blais & Rioux detector) ļƒž very accurate Conclusions 33/36

35 ļƒ ļ„ Conclusions Types of techniques Time-multiplexing
Introduction Types of techniques ļƒ ļ„ Time-multiplexing Highest resolution High accuracy Easy implementation Inapplicability to moving objects Large number of patterns Spatial codification Can measure moving objects A unique pattern is required Lower resolution than time-multiplexing More complex decoding stage Occlusions problem Direct codification High resolution Few patterns Very sensitive to image noise ļƒ  cameras with large depth-per-pixel required Sensitive to limited bandwith of LCD projectors ļƒ  special projector devices are usually required Classification Experiments Sub-pixel matching Conclusions Guidelines 34/36

36 Guidelines Requirements Best technique Sub-pixel matching Introduction
High accuracy Highest resolution Static objects No matter the number of patterns Phase shift + Gray code ļƒ  GĆ¼hringā€™s line-shift technique High resolution Minimum number of patterns N-ary pattern ļƒ  Horn & Kiryati Caspi et al. Good resolution Moving objects De Bruijn pattern ļƒ  Zhang et al. Introduction Classification Experiments Sub-pixel matching Conclusions Guidelines 35/36

37 END Computer Vision and Robotics Group
Institut dā€™InformĆ tica i Aplicacions Jordi PagĆØs Joaquim Salvi


Download ppt "Computer Vision and Robotics Group"

Similar presentations


Ads by Google