CN110940294B - A method for encoding and decoding images in a surface structured light measurement system - Google Patents

A method for encoding and decoding images in a surface structured light measurement system Download PDF

Info

Publication number
CN110940294B
CN110940294B CN201911155686.0A CN201911155686A CN110940294B CN 110940294 B CN110940294 B CN 110940294B CN 201911155686 A CN201911155686 A CN 201911155686A CN 110940294 B CN110940294 B CN 110940294B
Authority
CN
China
Prior art keywords
phase
point
phase shift
image
images
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
CN201911155686.0A
Other languages
Chinese (zh)
Other versions
CN110940294A (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.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201911155686.0A priority Critical patent/CN110940294B/en
Publication of CN110940294A publication Critical patent/CN110940294A/en
Application granted granted Critical
Publication of CN110940294B publication Critical patent/CN110940294B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/24Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
    • G01B11/25Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures by projecting a pattern, e.g. one or more lines, moiré fringes on the object
    • G01B11/254Projection of a pattern, viewing through a pattern, e.g. moiré
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention belongs to the field of optical measurement and discloses a method for encoding and decoding an image in a surface structured light measurement system. The method comprises the following steps: (a) for a surface structured light measurement system, setting each parameter value of a projector, establishing a relational expression of winding phase shift coordinates and phase shift of each point in a projection image of the projector, and projecting by the projector by combining the set parameter value and the relational expression so as to realize image coding and obtain a plurality of phase shift images; (b) the camera shoots the phase shift image to obtain a plurality of shot images, and a relational expression is established to calculate and obtain the winding phase shift and the winding phase corresponding to each point in the shot images; (c) and obtaining the pixel coordinate of each point by using the wrapping phase shift and the wrapping phase of each point in the shot image, thereby realizing the decoding of the image. According to the invention, the propagation of the phase shift error to the phase inversion error is obviously reduced, and the surface structured light measurement system is improved to improve the phase shift decoding precision, thereby improving the three-dimensional measurement precision.

Description

一种面结构光测量系统中图像的编码与解码方法A method for encoding and decoding images in a surface structured light measurement system

技术领域technical field

本发明属于光学测量领域,更具体地,涉及一种面结构光测量系统中图像的编码与解码方法。The invention belongs to the field of optical measurement, and more particularly relates to an image encoding and decoding method in a surface structured light measurement system.

背景技术Background technique

对于相位测量轮廓仪的研究,文献“Zhang,X.,Li,C.,Zhang,Q.,and Tu,D,Optics&Laser Technology,108,69-80”研究了相位测量轮廓术,文献“Li,C.,Zhang,X.,and Tu,D,Optical Engineering,57(3),034103”研究了相位测量偏差仪等。光学计量方法在现代制造业中发挥着越来越重要的作用。其中,移相技术是一项非常关键的技术,它是连接被测对象和传感器信息的桥梁。相位反演精度作为误差传播的基础,直接影响着系统的测量精度。传统的相位编码方法,如“Zhang,X.,Zhu,L.,Tu,D.,&Fan,L,Chinese Journalof Lasers,39(11),1108009-6”,一般通过增加相移步长、时间相位展开或傅立叶相位展开技术来减小相位检索误差。这些方法对减小相位检索误差的效果不明显,因为光强误差只被一层抑制器抑制到相位恢复误差。For the study of phase measurement profilometry, the literature "Zhang, X., Li, C., Zhang, Q., and Tu, D, Optics & Laser Technology, 108, 69-80" studied the phase measurement profilometry, the literature "Li, C., Zhang, X., and Tu, D, Optical Engineering, 57(3), 034103" studied the phase measurement deviation meter, etc. Optical metrology methods are playing an increasingly important role in modern manufacturing. Among them, the phase shift technology is a very critical technology, it is a bridge connecting the measured object and sensor information. As the basis of error propagation, the phase inversion accuracy directly affects the measurement accuracy of the system. The traditional phase encoding method, such as "Zhang, X., Zhu, L., Tu, D., & Fan, L, Chinese Journal of Lasers, 39(11), 1108009-6", generally by increasing the phase shift step, time Phase unwrapping or Fourier phase unwrapping techniques are used to reduce phase retrieval errors. These methods have little effect on reducing the phase retrieval error, because the light intensity error is only suppressed to the phase recovery error by a layer of suppressor.

发明内容SUMMARY OF THE INVENTION

针对现有技术的以上缺陷或改进需求,本发明提供了一种面结构光测量系统中图像的编码与解码方法,其通过构建卷绕相移坐标和相移的表达式对图像进行设定,以此实现投影仪对投影图像的编码,然后通过对相机拍摄图像构建的卷绕相移坐标和相移的表达式,对拍摄图像进行解码,以此实现图像的解码过程,提高面结构光测量系统提高相移解码精度从而提高三维测量精度。In view of the above defects or improvement requirements of the prior art, the present invention provides an image encoding and decoding method in a surface structured light measurement system, which sets the image by constructing the expression of the winding phase shift coordinates and the phase shift, In this way, the encoding of the projected image by the projector is realized, and then the captured image is decoded by the expression of the winding phase shift coordinates and phase shift constructed from the captured image of the camera, so as to realize the decoding process of the image and improve the measurement of surface structured light. The system improves the phase-shift decoding accuracy so as to improve the three-dimensional measurement accuracy.

为实现上述目的,按照本发明,提供了一种面结构光测量系统中图像的编码与解码方法,其特征在于,该方法包括下列步骤:In order to achieve the above object, according to the present invention, a method for encoding and decoding images in a surface structured light measurement system is provided, wherein the method comprises the following steps:

(a)对于面结构光测量系统,设定投影仪各个参数值,该参数值包括相移图像的数量、平均亮度和幅值,以及卷绕相移图像的数量和幅值,建立投影仪投影图像中每个点的卷绕相移坐标关于卷绕相移图像的幅值、数量和坐标的关系式(一),以及每个点的相移关于相移图像的数量、平均亮度和幅值的关系式(二),投影仪结合设定的参数值和关系式(一)和(二)进行投影,以此实现图像的编码,并获得多个相移图像;(a) For the surface structured light measurement system, set various parameter values of the projector, including the number, average brightness and amplitude of the phase-shifted images, and the number and amplitude of the winding phase-shifted images, to establish the projector projection The relationship between the wrapping phase shift coordinates of each point in the image and the magnitude, number and coordinates of the wrapping phase shift image (1), and the phase shift of each point with respect to the number, average brightness and amplitude of the phase shift image The relational expression (2) of the projector is combined with the set parameter value and relational expressions (1) and (2) to project, thereby realizing the encoding of the image and obtaining a plurality of phase-shifted images;

(b)相机对所述相移图像进行拍摄,以此获得多个拍摄图像,利用所述相移图像的相移建立所述拍摄图像中卷绕相移坐标和卷绕相位的关系式(三)和(四),根据该关系式(三)和(四)计算获得所述拍摄图像中每点对应的卷绕相移和卷绕相位;(b) The camera captures the phase-shifted image to obtain a plurality of captured images, and uses the phase shift of the phase-shifted image to establish a relationship between the winding phase-shift coordinates and the winding phase in the captured image (3 ) and (4), according to the relational expressions (3) and (4), the winding phase shift and the winding phase corresponding to each point in the captured image are obtained by calculating;

(c)根据步骤(b)中获得的拍摄图像中每点的卷绕相移和卷绕相位获得每个点的像素坐标,以此实现图像的解码。(c) Obtaining the pixel coordinates of each point according to the wrapping phase shift and wrapping phase of each point in the captured image obtained in step (b), thereby realizing the decoding of the image.

进一步优选地,在步骤(a)中,所述关系式(一)优选按照下列表达式进行:Further preferably, in step (a), the relational formula (1) is preferably carried out according to the following expression:

Figure BDA0002284739260000021
Figure BDA0002284739260000021

其中,In'(x,y)是点(x,y)对应的卷绕相移坐标,B'(x,y)是点(x,y)对应的卷绕相移图像的幅值,φ'(x,y)是点(x,y)的卷绕相位,n'是卷绕相移图像的数量,n'=1,2,...,N',N'是相移图像的总数量,x是点(x,y)的横坐标,y是点(x,y)的纵坐标。Among them, In ' (x, y) is the winding phase shift coordinate corresponding to the point (x, y), B' (x, y) is the amplitude of the winding phase shift image corresponding to the point (x, y), φ'(x,y) is the wrap phase of point (x,y), n' is the number of wrap phase shift images, n'=1,2,...,N', N' is the phase shift image The total number of , where x is the abscissa of the point (x, y), and y is the ordinate of the point (x, y).

进一步优选地,在步骤(a)中,所述关系式(二)优选按照下列表达式进行:Further preferably, in step (a), the relational formula (2) is preferably carried out according to the following expression:

Figure BDA0002284739260000022
Figure BDA0002284739260000022

其中,In(x,y)是点(x,y)对应的相移,A(x,y)是点(x,y)相移图像的平均亮度,B(x,y)是点(x,y)相移图像的幅值,n是相移图像的数量,n=1,2,...,N,N是相移图像的总数量,In'(x,y)是点(x,y)对应的卷绕相移坐标。where In (x, y) is the phase shift corresponding to point (x, y), A( x , y) is the average brightness of the phase-shifted image at point (x, y), and B(x, y) is the point (x, y) x, y) the magnitude of the phase-shifted images, n is the number of phase-shifted images, n=1,2,...,N, N is the total number of phase-shifted images, I n' (x,y) is the point (x,y) corresponds to the winding phase shift coordinates.

进一步优选地,在步骤(b)中,所述关系式(三)优选按照下列表达式进行:Further preferably, in step (b), the relational formula (3) is preferably carried out according to the following expression:

Figure BDA0002284739260000031
Figure BDA0002284739260000031

其中,

Figure BDA0002284739260000032
是拍摄图像上点(x,y)的卷绕相移坐标,In(x,y)是点(x,y)对应的相移。in,
Figure BDA0002284739260000032
is the wrapping phase shift coordinate of point (x, y) on the captured image, and I n (x, y) is the phase shift corresponding to point (x, y).

进一步优选地,在步骤(b)中,所述关系式(四)优选按照下列表达式进行:Further preferably, in step (b), the relational formula (4) is preferably carried out according to the following expression:

Figure BDA0002284739260000033
Figure BDA0002284739260000033

其中,φ*(x,y)是拍摄图像上点(x,y)的卷绕相位,In'(x,y)是点(x,y)对应的卷绕相移坐标。Among them, φ*(x, y) is the winding phase of the point (x, y) on the captured image, and In ' (x, y) is the winding phase shift coordinate corresponding to the point (x, y).

进一步优选地,在步骤(a)中,所述相移图像为亮度不一的条纹图像。Further preferably, in step (a), the phase shift image is a fringe image with different brightness.

进一步优选地,所述拍摄图像的卷绕相位的标准方差σφ*优选按照下列表达式进行,Further preferably, the standard deviation σ φ* of the wrapping phase of the captured image is preferably performed according to the following expression,

Figure BDA0002284739260000034
Figure BDA0002284739260000034

所述拍摄图像的卷绕相移坐标的标准方差σI*优选按照下列表达式进行:The standard deviation σ I* of the wrapped phase shift coordinates of the captured image is preferably performed according to the following expression:

Figure BDA0002284739260000035
Figure BDA0002284739260000035

其中,σI是相移图像的亮度误差的标准方差。where σI is the standard deviation of the luminance error of the phase-shifted image.

总体而言,通过本发明所构思的以上技术方案与现有技术相比,能够取得下列有益效果:In general, compared with the prior art, the above technical solutions conceived by the present invention can achieve the following beneficial effects:

1、本发明提出一种图像相位嵌套编码和解码的方法,通过设计两层误差抑制器,相移图像到卷绕相移为第一层误差抑制,卷绕相移到卷绕相位为第二层误差抑制,极大的抑制了图像噪声误差到解码相位的传播,能够用于提高面结构光测量系统提高相移解码精度从而提高三维测量精度。根据理论计算在采用相同相移图片数量的情况下,嵌套相移编码方法的精度是传统相移编码方法的

Figure BDA0002284739260000041
倍;1. The present invention proposes a method for image phase nested encoding and decoding. By designing two layers of error suppressors, the first layer of error suppression is the phase shift image to the wrapping phase shift, and the first layer error suppression is the wrapping phase shift to the wrapping phase. The two-layer error suppression greatly suppresses the propagation of image noise errors to the decoding phase, which can be used to improve the surface structured light measurement system, improve the phase shift decoding accuracy, and thus improve the three-dimensional measurement accuracy. According to the theoretical calculation, the accuracy of the nested phase-shift coding method is higher than that of the traditional phase-shift coding method under the condition of using the same number of phase-shifted pictures.
Figure BDA0002284739260000041
times;

2、本发明通过设定相移图像和卷绕相移图像两层,这两层对投影仪投影的图像进行编码,该两层结构同时作为误差抑制器,可有效抑制解码过程中的误差,在图像源误差水平相同、图像数目相同的情况下,该方法的相位精度是传统相位编码方法的两倍以上。2. The present invention sets two layers of a phase-shift image and a wrap-around phase-shift image, and the two layers encode the image projected by the projector. The two-layer structure acts as an error suppressor at the same time, which can effectively suppress errors in the decoding process. Under the condition of the same image source error level and the same number of images, the phase accuracy of this method is more than twice that of the traditional phase encoding method.

附图说明Description of drawings

图1按照本发明的优选实施例所构建的面结构光测量系统中图像的编码与解码方法的示意图。FIG. 1 is a schematic diagram of an image encoding and decoding method in a surface structured light measurement system constructed according to a preferred embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

如图1所示,一种面结构光测量系统中图像的编码与解码方法,包括如下步骤:As shown in Figure 1, a method for encoding and decoding images in a surface structured light measurement system includes the following steps:

S101、初始化参数的设定,以此实现对投影仪成像像素坐标下每个点的亮度进行编码,具体为:设定相移为

Figure BDA0002284739260000042
相位嵌套编码步数为N-N',两个图像之间的相移为
Figure BDA0002284739260000051
时,N-N'步的相位φ(x,y)嵌套编码的卷绕相移In'(x,y)、相移In(x,y);S101, setting the initialization parameters, so as to realize the encoding of the brightness of each point under the coordinates of the imaging pixel of the projector, specifically: setting the phase shift as
Figure BDA0002284739260000042
The number of phase nested encoding steps is N-N', and the phase shift between the two images is
Figure BDA0002284739260000051
When , the phase φ(x, y) of the N-N' step is nested and encoded with the winding phase shift I n' (x, y) and the phase shift I n (x, y);

按照本发明的实施例中,设定的是一幅卷绕相移图像转化为4幅相移图像;如图1所示,首先将点的坐标转化为卷绕相位,再将卷绕相位转化为卷绕相移图像,接着将卷绕相移图像转化为相移图像,以此实现对投影仪图像的编码过程,获得多幅相移图像,其中,相移图像是第一层,卷绕相移图像是第二层。According to the embodiment of the present invention, it is set that one winding phase-shift image is converted into 4 phase-shift images; as shown in FIG. 1 , first, the coordinates of the point are converted into the winding phase, and then the winding phase is converted In order to wrap the phase-shift image, then convert the wrap-phase-shift image into a phase-shift image, so as to realize the encoding process of the projector image, and obtain multiple phase-shift images. Phase-shifted images are the second layer.

编码过程中,对于卷绕相移坐标的设定按照下列表达式进行:During the encoding process, the setting of the winding phase shift coordinates is carried out according to the following expressions:

Figure BDA0002284739260000052
Figure BDA0002284739260000052

其中,In'(x,y)是点(x,y)对应的卷绕相移坐标,B'(x,y)是点(x,y)对应的卷绕相移图像的幅值,一般选取为π或-π,φ'(x,y)是点(x,y)的卷绕相位,n'是卷绕相移图像的数量,n'=1,2,...,N',N'是相移图像的总数量,x是点(x,y)的横坐标,y是点(x,y)的纵坐标。Among them, In ' (x, y) is the winding phase shift coordinate corresponding to the point (x, y), B' (x, y) is the amplitude of the winding phase shift image corresponding to the point (x, y), Generally selected as π or -π, φ'(x,y) is the winding phase of point (x,y), n' is the number of winding phase shift images, n'=1,2,...,N ', N' is the total number of phase-shifted images, x is the abscissa of point (x, y), y is the ordinate of point (x, y).

相移的设定按照下列表达式进行:The phase shift is set according to the following expression:

Figure BDA0002284739260000053
Figure BDA0002284739260000053

其中,In(x,y)是点(x,y)对应的相移,A(x,y)是点(x,y)相移图像的平均亮度,B(x,y)是点(x,y)相移图像的幅值,n是相移图像的数量,n=1,2,...,N,N是相移图像的总数量,In'(x,y)是点(x,y)对应的卷绕相移坐标。where In (x, y) is the phase shift corresponding to point (x, y), A( x , y) is the average brightness of the phase-shifted image at point (x, y), and B(x, y) is the point (x, y) x, y) the magnitude of the phase-shifted images, n is the number of phase-shifted images, n=1,2,...,N, N is the total number of phase-shifted images, I n' (x,y) is the point (x,y) corresponds to the winding phase shift coordinates.

S102、相机拍摄投影仪透射在物体表面的图像,获得拍摄图像,对该拍摄图像进行解码,解码计算卷绕相移

Figure BDA0002284739260000054
和卷绕相位坐标φ*(x,y);S102 , the camera captures the image transmitted by the projector on the surface of the object, obtains the captured image, decodes the captured image, and decodes and calculates the winding phase shift
Figure BDA0002284739260000054
and winding phase coordinates φ*(x,y);

Figure BDA0002284739260000055
Figure BDA0002284739260000055

Figure BDA0002284739260000061
Figure BDA0002284739260000061

其中,

Figure BDA0002284739260000062
是拍摄图像上点(x,y)的卷绕相移坐标,In(x,y)是点(x,y)对应的相移,φ*(x,y)是拍摄图像上点(x,y)的卷绕相位,In'(x,y)是点(x,y)对应的卷绕相移坐标。in,
Figure BDA0002284739260000062
is the winding phase shift coordinates of the point (x, y) on the captured image, In (x, y) is the phase shift corresponding to the point (x, y), φ * (x, y) is the point (x, y) on the captured image , y), and In ' (x, y) is the coordinate of the winding phase shift corresponding to the point (x, y).

S103、根据上述获得的拍摄图像中每点的卷绕相移和卷绕相位获得每个点的像素坐标,以此实现图像的解码,其中,通过每点的卷绕相移和卷绕相位获得每个点的像素坐标的过程采用现有的常规方法即可,例如:多频外差方法、健壮中国剩余定理、双频外差方法等,在此不再累述。S103: Obtain the pixel coordinates of each point according to the wrapping phase shift and wrapping phase of each point in the captured image obtained above, so as to realize the decoding of the image, wherein, obtaining the wrapping phase shift and wrapping phase of each point The process of pixel coordinates of each point can use existing conventional methods, such as: multi-frequency heterodyne method, robust Chinese remainder theorem, dual-frequency heterodyne method, etc., which will not be repeated here.

理论计算在采用相同相移图片数量的情况下,嵌套相移编码方法的精度是传统相移编码方法的

Figure BDA0002284739260000063
倍,具体地,Theoretical calculation In the case of using the same number of phase-shifted pictures, the accuracy of the nested phase-shift coding method is higher than that of the traditional phase-shift coding method.
Figure BDA0002284739260000063
times, specifically,

相移In的误差与相位φ*的误差之间的关系用误差传播原理表达,所以相移标准方差σI*与相位标准方差σφ*之间的关系被表述为The relationship between the error of the phase shift In and the error of the phase φ* is expressed by the principle of error propagation, so the relationship between the phase shift standard deviation σ I* and the phase standard deviation σ φ* is expressed as

Figure BDA0002284739260000064
Figure BDA0002284739260000064

Figure BDA0002284739260000065
Figure BDA0002284739260000065

σI是相移图像的亮度误差的标准方差。,B是B(x,y)的简写,B'是B'(x,y)的简写,当B'选取为π或-π,相位嵌套编码方法的卷绕相位解码精度是传统相移编码方法的

Figure BDA0002284739260000066
倍。σ I is the standard deviation of the luminance error of the phase-shifted image. , B is the abbreviation of B(x,y), B' is the abbreviation of B'(x,y), when B' is selected as π or -π, the wrapped phase decoding accuracy of the phase nested coding method is the traditional phase shift encoding method
Figure BDA0002284739260000066
times.

本领域的技术人员容易理解,以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。Those skilled in the art can easily understand that the above are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention, etc., All should be included within the protection scope of the present invention.

Claims (2)

1.一种面结构光测量系统中图像的编码与解码方法,其特征在于,该方法包括下列步骤:1. a method for encoding and decoding an image in a surface structured light measurement system, characterized in that the method comprises the following steps: (a)对于面结构光测量系统,设定投影仪各个参数值,该参数值包括相移图像的数量、平均亮度和幅值,以及卷绕相移图像的数量和幅值,建立投影仪投影图像中每个点的卷绕相移坐标关于卷绕相移图像的幅值、数量和坐标的关系式(一),以及每个点的相移关于相移图像的数量、平均亮度和幅值的关系式(二),投影仪结合设定的参数值和关系式(一)和(二)进行投影,以此实现图像的编码,并获得多个相移图像;(a) For the surface structured light measurement system, set various parameter values of the projector, including the number, average brightness and amplitude of the phase-shifted images, and the number and amplitude of the winding phase-shifted images, to establish the projector projection The relationship between the wrapping phase shift coordinates of each point in the image and the magnitude, number and coordinates of the wrapping phase shift image (1), and the phase shift of each point with respect to the number, average brightness and amplitude of the phase shift image The relational expression (2) of the projector is combined with the set parameter value and relational expressions (1) and (2) to project, thereby realizing the encoding of the image and obtaining a plurality of phase-shifted images; (b)相机对所述相移图像进行拍摄,以此获得多个拍摄图像,利用所述相移图像的相移建立所述拍摄图像中卷绕相移坐标和卷绕相位的关系式(三)和(四),根据该关系式(三)和(四)计算获得所述拍摄图像中每点对应的卷绕相移和卷绕相位;(b) The camera captures the phase-shifted image to obtain a plurality of captured images, and uses the phase shift of the phase-shifted image to establish a relationship between the winding phase-shift coordinates and the winding phase in the captured image (3 ) and (4), according to the relational expressions (3) and (4), the winding phase shift and the winding phase corresponding to each point in the captured image are obtained by calculating; (c)根据步骤(b)中获得的拍摄图像中每点的卷绕相移和卷绕相位获得每个点的像素坐标,以此实现图像的解码;(c) obtaining the pixel coordinates of each point according to the wrapping phase shift and wrapping phase of each point in the captured image obtained in step (b), thereby realizing the decoding of the image; 在步骤(a)中,所述关系式(一)按照下列表达式进行:In step (a), the relational formula (1) is carried out according to the following expression:
Figure FDA0002779651600000011
Figure FDA0002779651600000011
其中,In'(x,y)是点(x,y)对应的卷绕相移坐标,B'(x,y)是点(x,y)对应的卷绕相移图像的幅值,φ'(x,y)是点(x,y)的卷绕相位,n'是卷绕相移图像的数量,n'=1,2,...,N',N'是相移图像的总数量,x是点(x,y)的横坐标,y是点(x,y)的纵坐标;Among them, In ' (x, y) is the winding phase shift coordinate corresponding to the point (x, y), B' (x, y) is the amplitude of the winding phase shift image corresponding to the point (x, y), φ'(x,y) is the wrap phase of point (x,y), n' is the number of wrap phase shift images, n'=1,2,...,N', N' is the phase shift image The total number of , x is the abscissa of the point (x, y), y is the ordinate of the point (x, y); 在步骤(a)中,所述关系式(二)按照下列表达式进行:In step (a), the relational formula (2) is carried out according to the following expression:
Figure FDA0002779651600000012
Figure FDA0002779651600000012
其中,In(x,y)是点(x,y)对应的相移,A(x,y)是点(x,y)相移图像的平均亮度,B(x,y)是点(x,y)相移图像的幅值,n是相移图像的数量,n=1,2,...,N,N是相移图像的总数量,In'(x,y)是点(x,y)对应的卷绕相移坐标;where In (x, y) is the phase shift corresponding to point (x, y), A( x , y) is the average brightness of the phase-shifted image at point (x, y), and B(x, y) is the point (x, y) x, y) the magnitude of the phase-shifted images, n is the number of phase-shifted images, n=1,2,...,N, N is the total number of phase-shifted images, I n' (x,y) is the point (x,y) corresponding winding phase shift coordinates; 在步骤(b)中,所述关系式(三)按照下列表达式进行:In step (b), the relational formula (3) is carried out according to the following expression:
Figure FDA0002779651600000021
Figure FDA0002779651600000021
其中,
Figure FDA0002779651600000022
是拍摄相移图像上点(x,y)解码得到的卷绕相移坐标,In(x,y)是点(x,y)对应的相移;
in,
Figure FDA0002779651600000022
is the winding phase shift coordinate obtained by decoding the point (x, y) on the captured phase shift image, and I n (x, y) is the phase shift corresponding to the point (x, y);
在步骤(b)中,所述关系式(四)按照下列表达式进行:In step (b), the relational formula (4) is carried out according to the following expression:
Figure FDA0002779651600000023
Figure FDA0002779651600000023
其中,φ*(x,y)是拍摄图像上点(x,y)的卷绕相位,In'(x,y)是点(x,y)对应的卷绕相移坐标。Among them, φ*(x, y) is the winding phase of the point (x, y) on the captured image, and In ' (x, y) is the winding phase shift coordinate corresponding to the point (x, y).
2.如权利要求1所述的一种面结构光测量系统中图像的编码与解码方法,其特征在于,在步骤(a)中,所述相移图像为亮度不一的条纹图像。2 . The method for encoding and decoding images in a surface structured light measurement system according to claim 1 , wherein in step (a), the phase-shifted images are fringe images with different brightness. 3 .
CN201911155686.0A 2019-11-22 2019-11-22 A method for encoding and decoding images in a surface structured light measurement system Expired - Fee Related CN110940294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911155686.0A CN110940294B (en) 2019-11-22 2019-11-22 A method for encoding and decoding images in a surface structured light measurement system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911155686.0A CN110940294B (en) 2019-11-22 2019-11-22 A method for encoding and decoding images in a surface structured light measurement system

Publications (2)

Publication Number Publication Date
CN110940294A CN110940294A (en) 2020-03-31
CN110940294B true CN110940294B (en) 2020-12-29

Family

ID=69907354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911155686.0A Expired - Fee Related CN110940294B (en) 2019-11-22 2019-11-22 A method for encoding and decoding images in a surface structured light measurement system

Country Status (1)

Country Link
CN (1) CN110940294B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112378348B (en) * 2020-10-28 2021-10-08 华中科技大学 An iterative phase correction method for low-quality fringe images

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1786658A (en) * 2005-12-29 2006-06-14 清华紫光股份有限公司 Method and apparatus for measuring profile of object by double wavelength structural light
CN101089547A (en) * 2007-07-11 2007-12-19 华中科技大学 Two-diensional three-frequency dephase measuring method base on color structural light
CN103033147A (en) * 2013-01-09 2013-04-10 中航华东光电有限公司 Structured light 3-dimensional measurement device and measurement method thereof
CN104330052A (en) * 2014-11-21 2015-02-04 天津工业大学 Heterodyne three-frequency unequal range phase displacement solution phase method
CN106441161A (en) * 2016-11-01 2017-02-22 哈尔滨工程大学 Rapid phase unwrapping method based on period encoding
CN108592824A (en) * 2018-07-16 2018-09-28 清华大学 A kind of frequency conversion fringe projection structural light measurement method based on depth of field feedback
CN109341536A (en) * 2018-09-25 2019-02-15 深圳市艾视铂智能技术有限公司 A kind of precision three-dimensional vision measuring method based on binocular camera and structured light projection
CN109489585A (en) * 2018-12-06 2019-03-19 广西师范大学 Based on the method for three-dimensional measurement for improving multifrequency fringe structure light

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7898651B2 (en) * 2005-10-24 2011-03-01 General Electric Company Methods and apparatus for inspecting an object
TWI414748B (en) * 2009-01-23 2013-11-11 Univ Nat Taipei Technology Method for simultaneuos hue phase-shifting and system for 3-d surface profilometry using the same
US10061028B2 (en) * 2013-09-05 2018-08-28 Texas Instruments Incorporated Time-of-flight (TOF) assisted structured light imaging
US10928489B2 (en) * 2017-04-06 2021-02-23 Microsoft Technology Licensing, Llc Time of flight camera

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1786658A (en) * 2005-12-29 2006-06-14 清华紫光股份有限公司 Method and apparatus for measuring profile of object by double wavelength structural light
CN101089547A (en) * 2007-07-11 2007-12-19 华中科技大学 Two-diensional three-frequency dephase measuring method base on color structural light
CN103033147A (en) * 2013-01-09 2013-04-10 中航华东光电有限公司 Structured light 3-dimensional measurement device and measurement method thereof
CN104330052A (en) * 2014-11-21 2015-02-04 天津工业大学 Heterodyne three-frequency unequal range phase displacement solution phase method
CN106441161A (en) * 2016-11-01 2017-02-22 哈尔滨工程大学 Rapid phase unwrapping method based on period encoding
CN108592824A (en) * 2018-07-16 2018-09-28 清华大学 A kind of frequency conversion fringe projection structural light measurement method based on depth of field feedback
CN109341536A (en) * 2018-09-25 2019-02-15 深圳市艾视铂智能技术有限公司 A kind of precision three-dimensional vision measuring method based on binocular camera and structured light projection
CN109489585A (en) * 2018-12-06 2019-03-19 广西师范大学 Based on the method for three-dimensional measurement for improving multifrequency fringe structure light

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Lasers structured light with phase-shifting for dense depth perception;Dongxue Li;《Results in Physics》;20190930;全文 *
双频多周期模拟编码光相位展开方法研究;张吉勋;《中国优秀硕士学位论文全文数据库 基础科学辑》;20170515;全文 *
格雷码结合相移的编码结构光三维重建技术研究;侯风芝;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110815;全文 *
结构光三维测量中相位相关技术研究;吴勇辉;《中国优秀硕士学位论文全文数据库 信息科技辑》;20131215;全文 *

Also Published As

Publication number Publication date
CN110940294A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN113063371B (en) Three-dimensional measurement method and system for nonlinear self-correction structured light for sine stripes
CN113358063B (en) Surface structured light three-dimensional measurement method and system based on phase weighted fusion
CN115876124A (en) High-light-reflection surface three-dimensional reconstruction method and device based on polarized structured light camera
CN103968782B (en) A kind of real-time three-dimensional measuring method based on colored sinusoidal structured pumped FIR laser
CN102322823B (en) Phase grade self-coding-based optical three-dimensional measurement method
CN111351450A (en) Single-frame stripe image three-dimensional measurement method based on deep learning
CN116592794B (en) Rapid three-dimensional reconstruction method based on polarized structured light
CN110288699A (en) A three-dimensional reconstruction method based on structured light
Wang et al. A new method for high dynamic range 3D measurement combining adaptive fringe projection and original-inverse fringe projection
CN115272110B (en) Method and device for correcting distortion of projector in structured light three-dimensional reconstruction
CN111947600B (en) Robust three-dimensional phase unfolding method based on phase level cost filtering
WO2023236725A1 (en) Three-dimensional measurement method and device and storage medium
Han et al. Internal–External Layered Phase Shifting for Phase Retrieval
CN110940294B (en) A method for encoding and decoding images in a surface structured light measurement system
CN120101697A (en) Method and system for suppressing strong interreflection based on polarization complementary logic coding
CN110006365A (en) Phase unwrapping method, device and electronic device based on two-dimensional look-up table
CN114897959A (en) Phase unwrapping method based on light field multi-view constraint and related components
CN114264253B (en) Device and method for non-contact measurement of three-dimensional profile of high-temperature object
Zhang Digital multiple wavelength phase shifting algorithm
CN111241317B (en) A method for acquiring phase and modulation information based on multiple two-dimensional look-up tables
Yang et al. Unidirectional structured light system calibration with auxiliary camera and projector
CN114399445A (en) Global illumination resistant self-alignment exclusive or code method
CN106840035A (en) Scanning device and method for establishing object contour image
CN108507494A (en) A kind of 3 D measuring method that indirect light can be inhibited to shine
CN113124779B (en) Rapid bidirectional structured light decoding method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20201229

CF01 Termination of patent right due to non-payment of annual fee