CN1266452C - Composite coding multiresolution three-dimensional digital imaging method - Google Patents

Composite coding multiresolution three-dimensional digital imaging method Download PDF

Info

Publication number
CN1266452C
CN1266452C CN 200410094143 CN200410094143A CN1266452C CN 1266452 C CN1266452 C CN 1266452C CN 200410094143 CN200410094143 CN 200410094143 CN 200410094143 A CN200410094143 A CN 200410094143A CN 1266452 C CN1266452 C CN 1266452C
Authority
CN
China
Prior art keywords
image
projection
dot matrix
phase
resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200410094143
Other languages
Chinese (zh)
Other versions
CN1632451A (en
Inventor
彭翔
田劲东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen University
Original Assignee
Shenzhen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen University filed Critical Shenzhen University
Priority to CN 200410094143 priority Critical patent/CN1266452C/en
Publication of CN1632451A publication Critical patent/CN1632451A/en
Application granted granted Critical
Publication of CN1266452C publication Critical patent/CN1266452C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明公开了一种利用复合编码实现多分辨三维数字成像的方法,即,基于点阵投影和条纹投影相结合的三维数字化技术。该方法采用数字投影照明发射器、图像传感接收器和图像处理器构成的成像装置。以发射器出瞳、图像传感接收器入瞳与形成三角测量系统;首先,利用点阵投影三维数字成像没有相位模糊的特点,以点阵编码获取物体的较低分辨率的三维深度像,再投射条纹到物体表面,利用空间相位调制精度高的特点,结合已经获得的物体低分辨深度像进行相位展开,进一步获取被测物体更精细的多分辨三维数字像。本发明结合了点阵投影和条纹投影两种不同编码方式的三维数字成像方法的优点,三维数字成像精度高,对拓扑复杂的曲面有较强的普适性。

Figure 200410094143

The invention discloses a method for realizing multi-resolution three-dimensional digital imaging by using composite coding, that is, a three-dimensional digital technology based on the combination of dot matrix projection and fringe projection. The method adopts an imaging device composed of a digital projection lighting transmitter, an image sensing receiver and an image processor. The exit pupil of the transmitter and the entrance pupil of the image sensing receiver are used to form a triangulation system; first, the 3D digital imaging of dot matrix projection has no phase blur characteristics, and the lower resolution 3D depth image of the object is obtained by dot matrix encoding. Then project the fringes to the surface of the object, use the characteristics of high spatial phase modulation accuracy, and combine the obtained low-resolution depth image of the object to perform phase unwrapping, and further obtain a finer multi-resolution three-dimensional digital image of the measured object. The invention combines the advantages of three-dimensional digital imaging methods with two different coding modes of dot matrix projection and fringe projection, has high precision of three-dimensional digital imaging, and has strong universality for curved surfaces with complex topologies.

Figure 200410094143

Description

复合编码多分辨三维数字成像方法Multi-resolution 3D Digital Imaging Method with Composite Encoding

技术领域technical field

本发明涉及复合编码多分辨三维数字成像方法,属于三维数字成像技术。The invention relates to a compound coding multi-resolution three-dimensional digital imaging method, which belongs to the three-dimensional digital imaging technology.

背景技术Background technique

在基于三角法的主动三维传感技术中,以传统的三角测量为基础,由于三维物体表面形状对结构照明光束产生的空间调制,改变了成像光束的角度,即改变了成像光点在探测器阵列上的位置,通过对成像光点位置的确定和系统光路的几何参数,计算出距离。现有的技术包括:采用单光束点结构照明的方法和采用片状光束的线结构照明的方法,以及相位测量轮廓术,包括相移轮廓术、Fourier变换轮廓术和空间相位探测轮廓术。相位测量轮廓术也最终归结为三角测量法,只不过在不同的测量技术中采用不同的方式来从观测光场中提取三角计算中所需要的几何参数。In the active 3D sensing technology based on triangulation, based on the traditional triangulation, the spatial modulation of the structured illumination beam by the surface shape of the 3D object changes the angle of the imaging beam, that is, changes the imaging spot on the detector. For the position on the array, the distance is calculated by determining the position of the imaging light spot and the geometric parameters of the optical path of the system. Existing technologies include methods using single-beam point-structured illumination and line-structured illumination using sheet-like beams, and phase measurement profilometry, including phase shift profilometry, Fourier transform profilometry, and spatial phase detection profilometry. The phase measurement profilometry is finally attributed to the triangulation method, but in different measurement techniques, different methods are used to extract the geometric parameters required in the triangulation calculation from the observed light field.

基于空间点阵投影的方法是通过投射二维空间点阵到被测物体上,形成面结构光的照明,一次成像即可获得一个完整的被测物体的三维数字像,从而克服了现有三角法的主动三维传感技术中的单光束点结构照明和片状光束的线结构照明必须逐点或逐行扫描才能获得完整的三维数字像的缺点,提高了采样效率。与相位测量轮廓术比较,点阵编码方法是直接通过对成像点阵的位置确定来计算物体的深度,不存在相位模糊和误差传播的问题。但这一传感技术的精度直接受到成像光点位置测量精度的影响,探测器灵敏度和成像系统的几何畸变都会影响其测量精度,因此,其测量精度不如相位测量轮廓术。The method based on spatial lattice projection is to project a two-dimensional spatial lattice onto the measured object to form surface structured light illumination, and a complete three-dimensional digital image of the measured object can be obtained by one imaging, thus overcoming the existing triangular The shortcomings of the single-beam point-structured illumination and the line-structured illumination of the sheet-like beam in the active three-dimensional sensing technology of the method must be scanned point by point or line by line to obtain a complete three-dimensional digital image, which improves the sampling efficiency. Compared with phase measurement profilometry, the dot matrix encoding method calculates the depth of the object directly by determining the position of the imaging dot matrix, and there is no problem of phase ambiguity and error propagation. However, the accuracy of this sensing technology is directly affected by the measurement accuracy of the imaging light spot position. The sensitivity of the detector and the geometric distortion of the imaging system will affect its measurement accuracy. Therefore, its measurement accuracy is not as good as that of phase measurement profilometry.

相位测量轮廓术采用条纹图编码,物体的深度信息编码在载波条纹中,通过计算折叠相位和相位展开,结合光学系统的结构参数间接获得物体的深度像。与直接几何量测量相比较,相位测量轮廓术具有更高的精度,最高可以达到百分之一个条纹周期;另外相位测量的方法对背景、对比度和噪声的变化不敏感。但对于被测物体存在不连续区域或表面梯度变化很大或存在信息盲区时,相位测量轮廓术的相位展开变成非常困难的问题,例如会产生相位模糊和误差传播,造成三维数据残缺不全,得不到完整三维数据。Phase measurement profilometry adopts fringe image encoding, and the depth information of the object is encoded in the carrier fringe. By calculating the folding phase and phase unwrapping, combined with the structural parameters of the optical system, the depth image of the object is obtained indirectly. Compared with direct geometric quantity measurement, phase measurement profilometry has higher accuracy, up to one hundredth of a fringe period; in addition, the phase measurement method is not sensitive to changes in background, contrast and noise. However, when there is a discontinuous area or a large change in the surface gradient of the measured object, or there is an information blind area, the phase unwrapping of phase measurement profilometry becomes a very difficult problem, such as phase ambiguity and error propagation, resulting in incomplete 3D data. Complete 3D data cannot be obtained.

可对比的技术文献有下以三篇:There are three comparable technical literatures:

(1)发明专利:ZL 02131096.3.(1) Invention patent: ZL 02131096.3.

(2)Richard McBain,″high speed laser triangulation measurements of shape and thickness″,US Patent 6,466,305.(2) Richard McBain, "high speed laser triangulation measurements of shape and thickness", US Patent 6,466,305.

(3)ul R,Yoder JR.,″topography measuring apparatus″,US Patent 4,902,123.(3) ul R, Yoder JR., "topography measuring apparatus", US Patent 4,902,123.

发明内容Contents of the invention

本发明的目的是提供一种利用复合编码实现多分辨三维数字成像的方法,该方法提高了测量结果的置信度和高的测量精度。The object of the present invention is to provide a method for realizing multi-resolution three-dimensional digital imaging by using composite coding, which improves the confidence of measurement results and high measurement accuracy.

本发明是通过下述技术方案加以实现的,采用包括数字投影照明发射器、图像传感接收器和图像处理器的成像装置,利用点阵编码和条纹编码实现多分辨三维数字成像的方法,其特征在于包括以下过程:The present invention is realized through the following technical scheme, adopting an imaging device including a digital projection lighting transmitter, an image sensor receiver and an image processor, and utilizing dot matrix coding and stripe coding to realize a multi-resolution three-dimensional digital imaging method, which Characterized by the following processes:

1、数字投影照明发射器投射不同疏密程度的二维点阵图形照明物体,偏转图像传感接收器使其光轴与投影点阵照明场的中心位于同一直线。数字投影照明发射器的出瞳、图像传感接收器的入瞳和照明场的中心构成一个三角形,以数字投影照明发射器的出瞳与图像传感接收器的入瞳之间的连线为基线,它和投射在物体的所有点阵的中心构成了若干三角形,形成了三角测量系统;根据仿射变换的原理,分别投影在参考平面和被测物体表面的编码点阵,经过坐标旋转、平移和透视投影变换,分别得到参考平面和被测物体表面上的编码点阵在图像接收传感器平面上的空间坐标的解析式,并进一步得到参考平面和被测物体表面上两个点阵相对应点之间在成像平面x方向上的位置差与被测物体在相应点处深度值之间的关系;从而数字投影照明发射器投射二维空间点阵结构光照明,在图像接收传感器得到参考平面的点阵图像和投射在被测物体表面上的点阵图像,据已知系统光路几何参数,图像处理器计算点阵图像相应点之间在x方向上的位置差,再根据位置差与被测物体在相应点处深度值之间的关系计算出物体的深度图像。1. The digital projection lighting transmitter projects two-dimensional dot matrix graphic lighting objects with different densities, and deflects the image sensing receiver so that its optical axis is on the same line as the center of the projected dot matrix lighting field. The exit pupil of the digital projection lighting transmitter, the entrance pupil of the image sensing receiver and the center of the lighting field form a triangle, and the connection line between the exit pupil of the digital projection lighting transmitter and the entrance pupil of the image sensing receiver is Baseline, which forms several triangles with the centers of all lattices projected on the object, forming a triangulation system; according to the principle of affine transformation, the coded lattices projected on the reference plane and the surface of the measured object respectively, after coordinate rotation, Translating and perspective projection transformation, respectively obtain the analytic formula of the spatial coordinates of the coding lattice on the surface of the reference plane and the measured object on the plane of the image receiving sensor, and further obtain the correspondence between the reference plane and the two lattices on the surface of the measured object The relationship between the position difference between the points in the x direction of the imaging plane and the depth value of the measured object at the corresponding point; thus the digital projection lighting transmitter projects a two-dimensional spatial lattice structured light illumination, and the image receiving sensor obtains a reference plane The dot matrix image and the dot matrix image projected on the surface of the measured object, according to the known geometric parameters of the optical path of the system, the image processor calculates the position difference between the corresponding points of the dot matrix image in the x direction, and then according to the position difference and the measured object The relationship between the depth values of the measured objects at corresponding points is used to calculate the depth image of the object.

2、数字投影照明发射器再投射条纹结构光照射被测物体表面,所投射的条纹结构光是单一频率条纹,或是时序变频条纹序列。对于单一频率条纹结构光,用相位映射的方法,结合点阵投影已经获得的物体较低分辨率的深度像进行相位展开,进一步获取更精细的多分辨三维数字像。对于时序变频条纹序列结构光投影,分别得到编码的条纹强度分布图序列,利用“相移算法”计算出各频率条纹强度分布图的相位图,在每个相位图中消除2π不确定性,从而对景物得到分辨率依次递进的深度像;此时点阵投影的作用是利用它获得的物体深度值确定变频条纹序列的边界条件,有效地节省相位展开过程中所需的二维编码条纹图,增加了相位展开算法的实时性;进一步获取精度更高、更精细物体多分辨三维数字像。2. The digital projection lighting transmitter projects striped structured light to illuminate the surface of the object to be measured. The projected striped structured light is a single frequency strip or a sequence of time-series frequency-variable strips. For single-frequency fringe structured light, the phase mapping method is used, combined with the low-resolution depth image of the object already obtained by lattice projection, to perform phase unwrapping, and further obtain a finer multi-resolution three-dimensional digital image. For the time series variable frequency fringe sequence structured light projection, the coded fringe intensity distribution map sequence is obtained respectively, and the phase map of each frequency fringe intensity distribution map is calculated by using the "phase shift algorithm", and the 2π uncertainty is eliminated in each phase map, so that Obtain the depth image with progressive resolution for the scene; at this time, the function of lattice projection is to use the object depth value obtained by it to determine the boundary condition of the frequency conversion fringe sequence, effectively saving the two-dimensional encoded fringe image required in the phase unwrapping process , which increases the real-time performance of the phase unwrapping algorithm; and further obtains multi-resolution three-dimensional digital images of higher precision and finer objects.

点阵编码是一种基于仿射变换的三维数字化技术,条纹编码是一种相位映射的三维数字化技术,二者结合是一种复合编码的技术,点阵编码获取的三维深度像值可以在一个“较粗”的轮廓上确定物体深度,并可由此确定相位映射中相位的绝对分布,解决相位模糊的问题;并且,当由于存在照明盲区和成像盲区时,由于点阵投影是根据参考平面和物体表面点阵图像构成的“点阵对”位置差来计算物体深度值,“点阵对”之间是相互独立的,虽然投影在信息盲区中的点由于不能形成“点对”而得不到信息盲区中离散点处的深度值,但它不会影响周围区域,不会造成误差传播,仍然可以得到一个近似的三维深度像;而基于条纹投影的相位轮廓术,不仅这些盲区得不到正确相位值,而且造成误差的传播,严重影响相邻区域的相位展开,无法得到被测物体的三维深度像。Lattice coding is a 3D digitization technology based on affine transformation. Stripe coding is a 3D digitization technology of phase mapping. The combination of the two is a composite coding technology. The depth of the object is determined on the "thicker" outline, and the absolute distribution of the phase in the phase map can be determined thereby to solve the problem of phase ambiguity; and, when there is an illumination blind area and an imaging blind area, since the lattice projection is based on the reference plane and The position difference of the "dot matrix pair" formed by the dot matrix image on the surface of the object is used to calculate the depth value of the object. The "dot matrix pair" is independent of each other. The depth value at the discrete point in the information blind area, but it will not affect the surrounding area, will not cause error propagation, and can still get an approximate three-dimensional depth image; and the phase profilometry based on fringe projection, not only these blind areas cannot be obtained Correct phase value, and cause error propagation, seriously affect the phase unwrapping of adjacent areas, and cannot obtain the three-dimensional depth image of the measured object.

下面结合附图对基于点阵投影三维数字成像的技术方案作进一步的详细描述:The technical scheme based on dot matrix projection three-dimensional digital imaging will be further described in detail below in conjunction with the accompanying drawings:

点阵投影三维数字成像技术是在仿射变换基础上建立起来的一种三维数字化技术。图1是投影在参考平面上点阵成像的结构示意图。点P是数字投影照明发射器的出瞳,Po为投影光轴,投影光线PP1、PP2和PP3与参考平面R的交点确定了投射的二维空间点阵在参考平面上的位置。点I是图像传感接收器的入瞳,Io为成像光轴,它与投影光轴的夹角为α,Ip是图像传感接收器平面相对于点I的对称平面,根据透视投影的原理,点阵在图像传感接收器上成像的位置可以通过计算成像光线与平面Ip的交点的位置得到。Dot matrix projection 3D digital imaging technology is a 3D digital technology established on the basis of affine transformation. Fig. 1 is a schematic diagram of the structure of dot matrix imaging projected on a reference plane. Point P is the exit pupil of the digital projection lighting emitter, Po is the projection optical axis, and the intersection of projection rays PP 1 , PP 2 and PP 3 with the reference plane R determines the position of the projected two-dimensional space lattice on the reference plane. Point I is the entrance pupil of the image sensing receiver, Io is the imaging optical axis, and the angle between it and the projection optical axis is α, Ip is the symmetric plane of the image sensing receiver plane relative to point I, according to the principle of perspective projection , the imaging position of the lattice on the image sensing receiver can be obtained by calculating the intersection of the imaging ray and the plane Ip .

点阵投影成像系统中,投射在参考平面上的点阵的成像过程可以分为三个步骤:In the dot matrix projection imaging system, the imaging process of the dot matrix projected on the reference plane can be divided into three steps:

首先,把物坐标系xyz绕y轴正向旋转α角,变换为坐标系x′y′z′,使新坐标系的z′o′轴与成像光轴Io重合;Firstly, the object coordinate system xyz is positively rotated around the y axis by an angle of α, transformed into a coordinate system x′y′z′, so that the z′o′ axis of the new coordinate system coincides with the imaging optical axis Io;

然后,把坐标系x′y′z′沿z′轴负向平移L,使图像传感接收器的入瞳I为坐标原点,变换后的坐标系为xpypzpThen, the coordinate system x′y′z′ is negatively translated by L along the z′ axis, so that the entrance pupil I of the image sensing receiver is the coordinate origin, and the transformed coordinate system is x p y p z p ;

最后,在坐标系xpypzp下做透视投影,透视投影平面Ip与zp轴垂直,在距原点F(焦距)的位置上,它与图像传感接收器平面相对于xpopyp对称。Finally, do a perspective projection in the coordinate system x p y p z p , the perspective projection plane I p is perpendicular to the z p axis, and at the position F (focal distance) away from the origin, it is relative to the image sensing receiver plane to x p o p y p symmetry.

那么,经过上述步骤一和二后,可得到参考平面R(z=0)在xpypzp坐标系下的坐标可表示为:Then, after the above steps 1 and 2, the coordinates of the reference plane R (z=0) in the x p y p z p coordinate system can be expressed as:

xx sthe s == kk xx ΔΔ xx coscos αα ythe y sthe s == ythe y zz sthe s == LL -- kk xx ΔxΔx sinsin αα -- -- -- (( 11 ))

其中α为投影光轴Po和成像光轴Io之间的夹角;L为图像传感接收器的入瞳I与照明场的中心o之间的距离;Δx为投影在参考平面R上的点阵沿x方向的间距;kx取整数,为Δx所乘系数,用来表示不同点在物坐标系下的x坐标值。Where α is the angle between the projection optical axis Po and the imaging optical axis Io; L is the distance between the entrance pupil I of the image sensing receiver and the center o of the illumination field; Δx is the point projected on the reference plane R The spacing of the array along the x direction; k x is an integer, which is the coefficient multiplied by Δx, and is used to represent the x coordinate values of different points in the object coordinate system.

然后在坐标系xpypzp下做透视投影,即可确定该点阵在平面Ip上的位置:Then do perspective projection under the coordinate system x p y p z p to determine the position of the lattice on the plane I p :

xx sthe s zz sthe s == xx pp 00 Ff ⇒⇒ xx pp 00 == kk xx ΔΔ xx coscos αα LL -- kk xx ΔΔ xx sinsin αα Ff -- -- -- (( 22 ))

其中F为成像系统的焦距。where F is the focal length of the imaging system.

对于一个三维被测物体,如图2所示,是投影在任意曲面的三维物体上点阵成像的结构示意图。与图1中相同的投射光线PP1、PP2和PP3与被测物体表面的相交与点B1、B2和B3,这些交点确定了投射的二维空间点阵在物体表面S上的空间位置。投射在物体表面S的点阵同样经过上述三个步骤,成像在图像传感接收器上。此时可以得到S上的点阵在xpypzp坐标系下的坐标:For a three-dimensional measured object, as shown in FIG. 2 , it is a structural schematic diagram of a lattice imaging projected on a three-dimensional object on an arbitrary curved surface. The same projection rays PP 1 , PP 2 and PP 3 as in Figure 1 intersect with the surface of the measured object and points B 1 , B 2 and B 3 , these intersection points determine the projected two-dimensional space lattice on the object surface S spatial location. The dot matrix projected on the surface S of the object also goes through the above three steps and is imaged on the image sensing receiver. At this time, the coordinates of the lattice on S in the x p y p z p coordinate system can be obtained:

xx bb == xx coscos αα ++ zz sinsin αα ythe y bb == ythe y zz bb == LL -- xx sinsin αα ++ zz coscos αα -- -- -- (( 33 ))

那么在坐标系xpypzp下做透视投影,可得出物体表面上的点阵在透视投影平面Ip上的位置:Then do perspective projection under the coordinate system x p y p z p , the position of the point matrix on the surface of the object on the perspective projection plane I p can be obtained:

xx pp == xx bb zz bb zz pp == xx coscos αα ++ zz sinsin αα LL -- xx sinsin αα ++ zz coscos αα Ff -- -- -- (( 44 ))

根据式(2)、(4)可得到两个点阵中相对应点形成的“点阵对”之间在x方向的位置差ΔxpAccording to formulas (2) and (4), the position difference Δx p in the x direction between the “lattice pairs” formed by corresponding points in the two lattices can be obtained:

ΔΔ xx pp == xx pp -- xx pp 00 -- -- -- (( 55 ))

其中Δxp的计算表达式中包含有它与物体在该点深度值之间的关系,从而得到物体深度值的计算表达式。在光学系统的参数为已知的情况下,所有“点阵对”之间在x方向的位移可结合参考平面的点阵图像和被测物体表面上的点阵图像计算得到,计算出物体表面上所有离散点的深度值,从而获得物体的深度像。The calculation expression of Δx p includes the relationship between it and the depth value of the object at this point, so as to obtain the calculation expression of the depth value of the object. When the parameters of the optical system are known, the displacement in the x direction between all "lattice pairs" can be calculated by combining the dot matrix image of the reference plane and the dot matrix image on the surface of the measured object, and the calculated object surface The depth values of all discrete points on the object can be obtained to obtain the depth image of the object.

基于点阵的仿射变换和基于条纹的相位映射三维数字化技术结的复合编码方法,在解决存在表面间断的物体或表面梯度很大物体三维数字化的问题具有显著效果;并且,复合编码的方法可获取多种编码方式的载波图,可以利用这种方法获得多重相位图,构造物体多分辨的三维数字像;并在一定程度上可缓解由于照明盲区和成像盲区造成数据残缺不全使得相位展开无法进行的问题。另外,由于有效地克服了相位模糊和误差传播问题,使得这种复合编码的技术可测试的深度范围以及可测试的对象范围要大于单一载波技术。The composite coding method based on the lattice-based affine transformation and the fringe-based phase mapping three-dimensional digitization technology has a significant effect in solving the problem of three-dimensional digitization of objects with surface discontinuities or objects with a large surface gradient; and the composite coding method can be Obtain the carrier image of multiple encoding methods, and use this method to obtain multiple phase images to construct a multi-resolution three-dimensional digital image of the object; and to a certain extent, it can alleviate the incompleteness of the data caused by the lighting blind area and imaging blind area, which makes the phase unwrapping impossible. The problem. In addition, since the problems of phase ambiguity and error propagation are effectively overcome, the testable depth range and testable object range of this composite coding technology are larger than those of the single carrier technology.

本发明与已有的方法和技术相比,本发明具有以下优点:Compared with existing methods and technologies, the present invention has the following advantages:

1)结合了基于点阵投影和条纹投影两种不同编码方式三维数字成像方法的优点。消除了相位模糊和误差传播的问题,提高了测量结果的置信度,还保证了高测量精度,并在一定程度上缓解由于信息盲区造成的数据残缺不全的问题。1) Combining the advantages of three-dimensional digital imaging methods based on two different encoding methods, dot matrix projection and fringe projection. It eliminates the problems of phase ambiguity and error propagation, improves the confidence of the measurement results, ensures high measurement accuracy, and alleviates the problem of incomplete data caused by information blind spots to a certain extent.

2)为满足不同的测试需要,可以投射多种形式的复合编码,包括:点阵加单一频率条纹和点阵加时序变频条纹序列,融合利用不同传感方法获得数据,实现多种分辨率、不同精度的三维数字成像;2) In order to meet different test needs, various forms of composite codes can be projected, including: dot matrix plus single frequency stripes and dot matrix plus time-series frequency-variable stripe sequences, and the fusion of data obtained by different sensing methods to achieve multiple resolutions, 3D digital imaging with different precision;

3)这种复合编码技术可测试的深度范围,以及可测试的对象范围大于单一载波技术。3) The testable depth range and testable object range of this composite coding technology are greater than that of the single carrier technology.

附图说明Description of drawings

图1是投影在参考平面上的点阵成像原理图。Figure 1 is a schematic diagram of dot matrix imaging projected on a reference plane.

图2是投影在任意三维物体上的点阵成像原理图。Fig. 2 is a schematic diagram of dot matrix imaging projected on any three-dimensional object.

图3是复合编码三维成像系统结构示意图。Fig. 3 is a schematic structural diagram of a composite coded three-dimensional imaging system.

图4是计算模拟的一个台阶状物体。Figure 4 is a step-like object simulated by calculation.

图5是利用点阵投影方法获得图4中物体的三维数字像。Fig. 5 is a three-dimensional digital image of the object in Fig. 4 obtained by dot matrix projection method.

图6是利用条纹投影方法获得图4中物体的(a)展开相位图;(b)三维数字像。Fig. 6 is (a) expanded phase diagram of the object in Fig. 4 obtained by fringe projection method; (b) three-dimensional digital image.

图7是利用本发明提出的复合编码方法,点阵投影结合条纹投影获得的图4中物体的三维数字像。Fig. 7 is a three-dimensional digital image of the object in Fig. 4 obtained by combining dot matrix projection with fringe projection using the composite encoding method proposed by the present invention.

具体实施方式Detailed ways

按照上述方法,实现复合编码多分辨三维数字成像的装置,主要包括数字投影照明发射器、图像传感接收器和图像处理器。所说的数字投影照明发射器可以是数字液晶投影装置(LCD投影仪),数字微镜投影装置(DMD投影仪)或硅基片液晶投影装置(LCOS投影仪),可用计算机图像处理系统方便地生成二维点阵和条纹图形并写入数字投影装置;所说的图像传感接收器包括光学成像透镜与光电探测器构成,光学成像透镜可以是定焦距或变焦距的成像透镜或透镜组,二元光学成像系统,衍射元件成像系统,显微成像系统;所说的光电探测器件可以是电荷耦合器件,液晶器件,空间光调制器件,CMOS器件或数码相机。所说的图像处理器是数字信号处理器与可编程专用集成电路的组合,也可以是通用图像处理卡和计算机组合构成。其特征在于,数字投影照明发射器分别投射二维空间点阵和条纹图形,图像传感接收器接收经过被测物体深度信息调制的点阵和条纹编码图,再经图像处理器做相应的解码获取物体多分辨三维深度像。According to the above-mentioned method, the device for realizing composite encoding and multi-resolution three-dimensional digital imaging mainly includes a digital projection lighting transmitter, an image sensing receiver and an image processor. Said digital projection lighting transmitter can be a digital liquid crystal projection device (LCD projector), a digital micromirror projection device (DMD projector) or a silicon substrate liquid crystal projection device (LCOS projector), which can be conveniently provided by a computer image processing system. Generate two-dimensional dot matrix and fringe graphics and write them into a digital projection device; said image sensing receiver includes an optical imaging lens and a photodetector, and the optical imaging lens can be an imaging lens or lens group with a fixed focal length or a variable focal length, Binary optical imaging system, diffraction element imaging system, microscopic imaging system; said photodetection device can be charge coupled device, liquid crystal device, spatial light modulation device, CMOS device or digital camera. The image processor is a combination of a digital signal processor and a programmable application-specific integrated circuit, or a combination of a general-purpose image processing card and a computer. It is characterized in that the digital projection lighting transmitter projects two-dimensional spatial lattice and fringe pattern respectively, and the image sensing receiver receives the dot matrix and fringe code pattern modulated by the depth information of the measured object, and then performs corresponding decoding by the image processor Obtain a multi-resolution 3D depth image of an object.

下面结合附图对实施例作进一步的描述。The embodiment will be further described below in conjunction with the accompanying drawings.

图3是复合编码三维成像系统结构示意图。如图所示,数字投影照明发射器101的投影镜102的出瞳P、图像传感接收器103的成像透镜104的入瞳I和照明场的中心o位于同一平面内,并构成一个三角形,形成了三角测量系统。由图像处理器105的计算机或数字信号处理器产生的二维点阵分别投射在参考平面106和物体107的表面S,投影光轴Po与成像光轴之Io间的夹角为α,以PI之间的连线为基线,它和投射在物体的所有点阵的中心构成了若干三角形,每一个都可形成一个三角测量系统。参考平面上的规则点阵和表征任意自由表面物体形貌的深度信息的变形点阵,分别通过图像传感接收器103接收,并传送到图像处理器105,通过比较参考平面和被测物体表面上点阵分别在图像传感接收器上形成的点阵像相对应点阵的位置差异,计算被测物体的深度值。然后,数字投影照明发射器101继续投射由图像处理器105产生的单一频率条纹到被测物体表面107,再由图像传感接收器103接收载波条纹图并送到图像处理器105,结合通过点阵投影方法获取的被测物体较低分辨率的三维深度值,对载波条纹图进行相位展开,因此对表面间断物体的表面或梯度较大表面等拓扑复杂物体的表面进行相位展开中存在的相位模糊以及由于阴影等信息盲区造成的误差传播问题,都可以有效地克服,从而得到物体完整的三维数字像。另外一种复合编码的方式是点阵加时序变频条纹序列,在利用点阵投影的方法获得物体深度值后,数字投影照明发射器101也可以投射时序变频条纹序列到被测物体表面107,通过已知的物体的深度值,结合系统结构参数可以计算出发生第一次相位跳变对应的视场宽度的总相位差,也就得到了相应的视场内条纹周期数,从而确定了时序变频条纹序列相位展开算法的边界条件,减少了迭代次数,提高了算法的实效性。Fig. 3 is a schematic structural diagram of a composite coded three-dimensional imaging system. As shown in the figure, the exit pupil P of the projection mirror 102 of the digital projection lighting transmitter 101, the entrance pupil I of the imaging lens 104 of the image sensing receiver 103 and the center o of the illumination field are located in the same plane and form a triangle, A triangulation system is formed. The two-dimensional lattice generated by the computer or digital signal processor of the image processor 105 is respectively projected on the reference plane 106 and the surface S of the object 107, and the angle between the projection optical axis Po and the imaging optical axis Io is α, expressed as PI The connecting line between is the baseline, which forms a number of triangles with the centers of all lattices projected on the object, each of which can form a triangulation system. The regular lattice on the reference plane and the deformed lattice representing the depth information of any free surface object shape are respectively received by the image sensing receiver 103 and sent to the image processor 105. By comparing the reference plane and the surface of the measured object The position differences of the dot matrix images formed by the upper dot matrix on the image sensing receiver correspond to the dot matrix, and the depth value of the measured object is calculated. Then, the digital projection lighting transmitter 101 continues to project the single frequency fringe generated by the image processor 105 to the surface 107 of the measured object, and then the image sensing receiver 103 receives the carrier fringe pattern and sends it to the image processor 105, combining the passing points The low-resolution three-dimensional depth value of the measured object obtained by the array projection method is used to perform phase unwrapping on the carrier fringe pattern. Blur and error propagation problems caused by information blind areas such as shadows can be effectively overcome, so as to obtain a complete three-dimensional digital image of the object. Another composite encoding method is dot matrix plus time-series frequency-variable fringe sequence. After obtaining the depth value of the object by means of dot-matrix projection, the digital projection lighting transmitter 101 can also project a time-series frequency-conversion fringe sequence to the surface of the measured object 107, through The known depth value of the object, combined with the system structure parameters, can calculate the total phase difference of the field width corresponding to the first phase jump, and also obtain the corresponding number of fringe cycles in the field of view, thus determining the timing frequency conversion The boundary conditions of the fringe sequence phase unwrapping algorithm reduce the number of iterations and improve the effectiveness of the algorithm.

图4是计算模拟的一个台阶状物体。台阶的高度等于图6中利用条纹投影方法获取物体深度像时所投射条纹相对应的等效波长的1.1倍。Figure 4 is a step-like object simulated by calculation. The height of the step is equal to 1.1 times of the equivalent wavelength corresponding to the projected fringe when the fringe projection method is used to obtain the depth image of the object in FIG. 6 .

图5是利用点阵投影方法获得的图4中物体的三维数字像。点阵图形中的点阵个数为64×64,对于物体表面梯度变化很大的区域,由于投射点阵采样率不足,无法获得这部分区域准确结果,如图所示,只能得到一个梯度变化较为缓慢的结果,原因就是丢掉了高频的信息,使得梯度变化很大的区域被平滑了。Fig. 5 is a three-dimensional digital image of the object in Fig. 4 obtained by using the lattice projection method. The number of dot matrix in the dot matrix graphics is 64×64. For the area where the gradient of the surface of the object changes greatly, due to the insufficient sampling rate of the projected dot matrix, it is impossible to obtain accurate results in this part of the area. As shown in the figure, only one gradient can be obtained. The result of the slow change is that the high-frequency information is lost, so that the area with a large gradient change is smoothed.

图6是利用条纹投影方法获取物体的三维数字像。其中图6(a)是对载波条纹图进行相位展开后得到的展开相位图,由于图4中台阶状物体的高度已大于投影条纹对应的等效波长,存在2π的相位模糊,因此得不到正确的深度图像,如图6(b)所示为由图6(a)计算得到的深度图像,相位模糊的存在使得由展开相位图计算得到的物体深度图出现偏差,如图6(b)所示深度图像中台阶的高度与实际高度不符。Fig. 6 is a three-dimensional digital image of an object acquired by fringe projection method. Figure 6(a) is the unfolded phase diagram obtained after phase unwrapping the carrier fringe pattern. Since the height of the step-like object in Fig. 4 is greater than the equivalent wavelength corresponding to the projected fringe, there is a phase ambiguity of 2π, so we cannot get The correct depth image, as shown in Figure 6(b), is the depth image calculated from Figure 6(a). The existence of phase blur makes the object depth map calculated from the unfolded phase image deviate, as shown in Figure 6(b) The height of the steps in the shown depth image does not match the actual height.

图7是利用本发明提出的复合编码方法,结合点阵投影和条纹投影两种编码方法,利用相位展开算法获得的图4中物体的三维数字像。先进行点阵编码的成像,获取物体较低分辨率的深度像,再进行条纹编码成像,根据点阵投影方法已经得到的物体深度值进行相位展开,如图6(a)所示物体的展开相位图已经标记出不同相位分布的精确区域,图中颜色较浅的这部分区域实际为存在相位跳变的区域。而此时已经由点阵投影的方法获得了物体的深度值,虽然分辨率较低,但它是仍然从较粗的轮廓上反映了物体深度的真实分布,把利用点阵投影获得的深度值,结合系统的结构参数换算为相位值,对载波条纹图进行相位展开时利用点阵投影获得的相位值作为“控制点”来控制相位展开的过程。步骤如下:当相位展开进行到这些“控制点”位置时,比较此时相位值与点阵投影获得的相位值,如果二者误差在允许范围内,相位展开继续进行;否则认为存在相位模糊,计算二者的相位差,并修正当前点的相位值,以及沿原相位展开路径返回到“跳变区域”边缘的所有点的相位值,解决相位模糊问题;继续相位展开过程,对每一控制点依据上述原则进行处理,直到处理完成图像需要进行相位展开的区域中的所有点。结果如图7所示,图6中存在的相位模糊问题已经解决,台阶状物体梯度变化较大处变得更陡,其深度像与实际结果更加相符。Fig. 7 is a three-dimensional digital image of the object in Fig. 4 obtained by using the composite coding method proposed by the present invention, combining the two coding methods of lattice projection and fringe projection, and using the phase unwrapping algorithm. First perform dot-matrix coding imaging to obtain a lower-resolution depth image of the object, then perform fringe coding imaging, and perform phase expansion according to the depth value of the object obtained by the dot-matrix projection method, as shown in Figure 6(a) The phase map has marked precise areas of different phase distributions, and the lighter colored areas in the figure are actually areas where phase jumps exist. At this time, the depth value of the object has been obtained by the method of dot matrix projection. Although the resolution is low, it still reflects the real distribution of the depth of the object from the thicker outline. The depth value obtained by dot matrix projection , combined with the conversion of the structural parameters of the system into phase values, the phase value obtained by lattice projection is used as the "control point" to control the process of phase unwrapping when the carrier fringe pattern is phase unwrapped. The steps are as follows: when the phase unwrapping reaches the position of these "control points", compare the phase value at this time with the phase value obtained by the lattice projection, if the error between the two is within the allowable range, the phase unwrapping continues; otherwise, it is considered that there is phase ambiguity, Calculate the phase difference between the two, and correct the phase value of the current point, as well as the phase values of all points returning to the edge of the "jump area" along the original phase unwrapping path, to solve the phase ambiguity problem; continue the phase unwrapping process, for each control Points are processed according to the above principles until all points in the area of the image that need to be phase unwrapped are processed. The results are shown in Figure 7. The phase ambiguity problem in Figure 6 has been resolved, and the gradient of the step-shaped object becomes steeper, and its depth image is more consistent with the actual result.

Claims (1)

1、一种复合编码多分辨三维数字成像方法,采用包括数字投影照明发射器、图像传感接收器和图像处理器的成像装置,利用点阵编码和条纹编码实现多分辨三维数字成像,其特征在于包括以下过程:1. A multi-resolution three-dimensional digital imaging method with composite coding, which adopts an imaging device including a digital projection lighting transmitter, an image sensor receiver and an image processor, and utilizes dot matrix coding and stripe coding to realize multi-resolution three-dimensional digital imaging. Its characteristics is to include the following processes: 1)数字投影照明发射器投射不同疏密程度的二维点阵图形照明物体,偏转图像传感接收器使其光轴与投影点阵照明场的中心位于同一直线,数字投影照明发射器的出瞳、图像传感接收器的入瞳和照明场的中心构成一个三角形,以数字投影照明发射器的出瞳与图像传感接收器的入瞳之间的连线为基线,它和投射在物体的所有点阵的中心构成了若干三角形,形成了三角测量系统;根据仿射变换的原理,分别投影在参考平面和被测物体表面的编码点阵,经过坐标旋转、平移和透视投影变换,分别得到参考平面和被测物体表面上的编码点阵在图像接收传感器平面上的空间坐标的解析式,并进一步得到参考平面和被测物体表面上两个点阵相对应点之间在成像平面x方向上的位置差与被测物体在相应点处深度值之间的关系;从而数字投影照明发射器投射二维空间点阵结构光照明,在图像接收传感器得到参考平面的点阵图像和投射在被测物体表面上的点阵图像,据已知系统光路几何参数,图像处理器计算点阵图像相应点之间在x方向上的位置差,再根据位置差与被测物体在相应点处深度值之间的关系计算出物体的深度图像;1) The digital projection lighting transmitter projects two-dimensional dot matrix graphic lighting objects with different densities, deflects the image sensing receiver so that its optical axis is on the same line as the center of the projected dot matrix lighting field, and the output of the digital projection lighting transmitter The pupil, the entrance pupil of the image sensing receiver and the center of the illumination field form a triangle, taking the line between the exit pupil of the digital projection lighting transmitter and the entrance pupil of the image sensing receiver as the baseline, and it is projected on the object The centers of all lattices constitute several triangles, forming a triangulation system; according to the principle of affine transformation, the coded lattices projected on the reference plane and the surface of the measured object respectively, after coordinate rotation, translation and perspective projection transformation, respectively Obtain the analytical formula of the spatial coordinates of the coding lattice on the surface of the reference plane and the measured object on the image receiving sensor plane, and further obtain the imaging plane x between the corresponding points of the reference plane and the surface of the measured object. The relationship between the position difference in the direction and the depth value of the measured object at the corresponding point; thus the digital projection lighting transmitter projects a two-dimensional spatial lattice structured light illumination, and the image receiving sensor obtains the lattice image of the reference plane and projects it on the The dot matrix image on the surface of the measured object, according to the known geometric parameters of the optical path of the system, the image processor calculates the position difference between the corresponding points of the dot matrix image in the x direction, and then according to the position difference and the depth of the measured object at the corresponding point The relationship between the values calculates the depth image of the object; 2)数字投影照明发射器再投射条纹结构光照射被测物体表面,所投射的条纹结构光是单一频率条纹,或是时序变频条纹序列;对于单一频率条纹结构光,用相位映射的方法,结合点阵投影已经获得的物体较低分辨率的深度像进行相位展开,进一步获取更精细的多分辨三维数字像;对于时序变频条纹序列结构光投影,分别得到编码的条纹强度分布图序列,利用“相移算法”计算出各频率条纹强度分布图的相位图,在每个相位图中消除2π不确定性,从而对景物得到分辨率依次递进的深度像;此时点阵投影的作用是利用它获得的物体深度值确定变频条纹序列的边界条件,有效地节省相位展开过程中所需的二维编码条纹图,增加了相位展开算法的实时性;进一步获取精度更高、更精细物体多分辨三维数字像。2) The digital projection lighting transmitter projects the striped structured light to irradiate the surface of the measured object. The projected striped structured light is a single frequency strip, or a sequence of time-series frequency-variable strips; for a single frequency striped structured light, use phase mapping method, combined with The low-resolution depth image of the object that has been obtained by lattice projection is phase-unwrapped to further obtain a finer multi-resolution three-dimensional digital image; for the time-series frequency-variable fringe sequence structured light projection, the encoded fringe intensity distribution map sequence is obtained respectively, using " Phase Shift Algorithm" calculates the phase diagram of each frequency fringe intensity distribution diagram, and eliminates the 2π uncertainty in each phase diagram, so as to obtain the depth image of the scene with progressive resolution; at this time, the function of lattice projection is to use The object depth value obtained by it determines the boundary conditions of the variable frequency fringe sequence, which effectively saves the two-dimensional coded fringe pattern required in the phase unwrapping process and increases the real-time performance of the phase unwrapping algorithm; further obtains higher precision and finer object multi-resolution 3D digital image.
CN 200410094143 2004-12-31 2004-12-31 Composite coding multiresolution three-dimensional digital imaging method Expired - Fee Related CN1266452C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410094143 CN1266452C (en) 2004-12-31 2004-12-31 Composite coding multiresolution three-dimensional digital imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410094143 CN1266452C (en) 2004-12-31 2004-12-31 Composite coding multiresolution three-dimensional digital imaging method

Publications (2)

Publication Number Publication Date
CN1632451A CN1632451A (en) 2005-06-29
CN1266452C true CN1266452C (en) 2006-07-26

Family

ID=34847807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410094143 Expired - Fee Related CN1266452C (en) 2004-12-31 2004-12-31 Composite coding multiresolution three-dimensional digital imaging method

Country Status (1)

Country Link
CN (1) CN1266452C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788274A (en) * 2010-03-15 2010-07-28 电子科技大学 Method for 3D shape measurement of colourful composite grating

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038155B (en) * 2007-04-06 2010-05-19 西安工业大学 Apparatus and method for detecting aspheric surface shape
KR100947463B1 (en) * 2007-08-31 2010-03-17 에스엔유 프리시젼 주식회사 Three-dimensional shape measuring device using LCD
KR101344490B1 (en) * 2007-11-06 2013-12-24 삼성전자주식회사 Image generating method and apparatus
KR20110018696A (en) * 2009-08-18 2011-02-24 주식회사 이턴 Apparatus and method for processing 3d image
ATE520958T1 (en) * 2009-08-19 2011-09-15 Pepperl & Fuchs METHOD FOR MEASURING OBJECTS
CN101825443B (en) * 2010-03-09 2012-08-22 深圳大学 Three-dimensional imaging method and system
JPWO2012108187A1 (en) * 2011-02-08 2014-07-03 富士フイルム株式会社 Stereoscopic image generation apparatus and method, and program
CN104057719A (en) * 2013-03-23 2014-09-24 杨筑平 Method, label, device and system for barcode printing
CN104519342B (en) * 2013-09-30 2017-07-21 联想(北京)有限公司 A kind of image processing method and device
US9799117B2 (en) 2013-09-30 2017-10-24 Lenovo (Beijing) Co., Ltd. Method for processing data and apparatus thereof
CN104279981B (en) * 2014-10-21 2017-07-07 苏州大学 The measuring method and device of a kind of absolute face shape of the minute surface based on streak reflex/class mirror article
CN104596444B (en) * 2015-02-15 2017-03-22 四川川大智胜软件股份有限公司 Three-dimensional photographic system and three-dimensional photographic method based on coding pattern projection
CN107289877A (en) * 2016-04-08 2017-10-24 杭州先临三维科技股份有限公司 A kind of three-dimension measuring system of many measurement patterns
CN107860312B (en) * 2017-10-20 2019-12-17 武汉惟景三维科技有限公司 embedded implementation system and method for structured light three-dimensional measurement algorithm
CN108050958B (en) * 2018-01-11 2023-12-19 浙江江奥光电科技有限公司 A monocular depth camera based on field of view matching and its object shape detection method
JP6880512B2 (en) 2018-02-14 2021-06-02 オムロン株式会社 3D measuring device, 3D measuring method and 3D measuring program
CN109344940B (en) * 2018-08-21 2021-04-30 同济大学 Three-dimensional lattice projection graph coding and decoding method for commodity outer package
CN110763156B (en) * 2019-09-27 2021-10-01 深圳大学 A three-dimensional imaging method and system based on light field
CN111023999B (en) * 2019-12-26 2020-12-01 北京交通大学 A dense point cloud generation method based on spatially encoded structured light

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788274A (en) * 2010-03-15 2010-07-28 电子科技大学 Method for 3D shape measurement of colourful composite grating

Also Published As

Publication number Publication date
CN1632451A (en) 2005-06-29

Similar Documents

Publication Publication Date Title
CN1266452C (en) Composite coding multiresolution three-dimensional digital imaging method
CN113029040B (en) Polarization phase deflection measurement method and device
CN101451826B (en) Object three-dimensional profile measuring device and measuring method
CN111461295B (en) Single-frame stripe analysis method for generating antagonistic neural network based on multiple scales
KR101605224B1 (en) Method and apparatus for obtaining depth information using optical pattern
CN101694375A (en) Stereoscopic vision detecting method for measuring three-dimensional morphology on strong reflection surface
CN113506348B (en) Gray code-assisted three-dimensional coordinate calculation method
Wang et al. Development of three-dimensional pavement texture measurement technique using surface structured light projection
CN103940370B (en) Target object 3 D information obtaining method based on cycle relatively prime hybrid coding
CN109270527B (en) Circular SAR sub-aperture image sequence combined correlation DEM extraction method
CN116718133A (en) Short-distance single-point structured light three-dimensional measurement method
CN105303572B (en) Based on the main depth information acquisition method passively combined
CN101033950A (en) Measurement method of three-dimensional surface shape of rock
Sansoni et al. A 3D vision system based on one-shot projection and phase demodulation for fast profilometry
CN111998800A (en) A three-dimensional surface shape measurement method and system based on speckle embedded fringes
CN113345039B (en) Three-dimensional reconstruction quantization structure optical phase image coding method
JP3494964B2 (en) Surface profile measuring device
Yin et al. Real-time and accurate monocular 3D sensor using the reference plane calibration and an optimized SGM based on opencl acceleration
CN106546193A (en) A kind of high reflection body surface three-dimensional measuring method and system
Chen et al. A self-alignment XOR coding strategy resistant to global illumination
Yuan et al. Three dimensional deformation measurement method based on image guided point cloud registration
CN1617009A (en) 3D Digital Imaging Method Based on Spatial Lattice Projection
CN118189857B (en) Digital image correlation three-dimensional measurement method and system based on single camera-projector system
Yang et al. Point light measurement and calibration for photometric stereo
CN115290004B (en) A Parallel Underwater Single Pixel Imaging Method Based on Compressed Sensing and HSI

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee