Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
[2.1] 3D Imaging, Analysis and Applications-Springer-Verlag London (2012).pdf
Скачиваний:
12
Добавлен:
11.12.2021
Размер:
12.61 Mб
Скачать

3 Active 3D Imaging Systems

113

2

N 1

2

 

 

B2(x1, y1) =

 

Ii (x1, y1) sin

 

 

(3.28)

N

N

 

 

i=0

 

 

 

and φ (x1, y1) and B(x1, y1) are computed using Eq. (3.25) and Eq. (3.24) respectively.

3.4.2.1 Removing the Phase Ambiguity

Once the phases have been computed, projector position x2 corresponding to the camera pixel [x1, y1]T is given as

x2 =

ω

 

2π φ (x1, y1) + k(x1, y1)

(3.29)

where k(x1, y1) is an unknown integer that represents the phase ambiguity. The value of k(x1, y1) must be recovered in order to compute the location of the 3D points. We will briefly describe two different approaches that allow the removal of this phase ambiguity.

Fiducial markers can be embedded into the phase shift patterns. Those markers can simply be a white or black point. When there is only one marker, the 3D position of the surface on which the fiducial maker is projected can be computed by triangulation. This allows one to know the k values for the camera pixels around a fiducial marker. It is then possible to propagate this information to neighboring pixels using a phase unwrapping algorithm. Phase unwrapping is frequently encountered in other fields such as synthetic aperture radar and interferometry. This is a complex subject and an entire book is devoted to it [37]. For these reasons, phase unwrapping will not be discussed further. When the projection patterns contain many fiducial markers, the epipolar constraint and the ordering constraint which are described in the previous chapter can be used to establish unambiguous matches between fiducial markers. Note that a similar fiducial approach is implemented in [42].

The second approach combines phase shift and Gray codes [58]. Binary codes, such as the Gray code, are often used to establish a coarse correspondence between projector and camera pixels using the thresholding algorithm presented previously. The patterns with the smallest stripes are not projected and are replaced by phase shift patterns whose spatial periods are selected to match the smallest stripes projected. Combining binary and phase shift code is a solution used in many experimental [57] and commercial scanners.

3.4.3 Triangulation for a Structured Light System

In the projective-geometry framework of the pinhole camera, a digital projector can be viewed as an inverse camera and both share the same parametrization. Each implementation of an analogue slide projector can have its own parametrization.