[go: up one dir, main page]

CN1203292C - Method and system for measruing object two-dimensiond surface outline - Google Patents

Method and system for measruing object two-dimensiond surface outline Download PDF

Info

Publication number
CN1203292C
CN1203292C CNB031535046A CN03153504A CN1203292C CN 1203292 C CN1203292 C CN 1203292C CN B031535046 A CNB031535046 A CN B031535046A CN 03153504 A CN03153504 A CN 03153504A CN 1203292 C CN1203292 C CN 1203292C
Authority
CN
China
Prior art keywords
point
image
phase
prime
coordinates
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
CNB031535046A
Other languages
Chinese (zh)
Other versions
CN1483999A (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.)
Beijing Tenyoun 3d Technology Co Ltd
Tsinghua University
Original Assignee
Beijing Tenyoun 3d Technology Co Ltd
Tsinghua 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 Beijing Tenyoun 3d Technology Co Ltd, Tsinghua University filed Critical Beijing Tenyoun 3d Technology Co Ltd
Priority to CNB031535046A priority Critical patent/CN1203292C/en
Publication of CN1483999A publication Critical patent/CN1483999A/en
Application granted granted Critical
Publication of CN1203292C publication Critical patent/CN1203292C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to a method and a system for measuring the outline of the three-dimensional surface of an object, which belongs to the technical field of the three-dimensional measurement of the object. The present invention is characterized in that the present invention uses the combination of a phase and stereo vision technique for projecting a grating on the object surface, grating images occurring aberrance are shot by using two cameras, and each point of phase on the images shot by a left camera and a right camera is obtained by using encoding light and a phase-shifting method. The phase and an outer polar line are used for realizing point matching on two images so that a calibrated camera system can be used for calculating the coordinate of the point in three-dimensional space to measure the three-dimensional outline of the object surface. The present invention has the advantages of non-contact, high speed, large data quantity, high precision, simple operation, easy realization, etc. Only 2 seconds are needed to measure the single surface of the object, high-density data can be obtained and reaches 400, 000 points, and measured precision is more than 0.05mm.

Description

测量物体三维表面轮廓的方法Method for Measuring 3D Surface Profile of Objects

技术领域technical field

测量物体表面三维轮廓的方法属于物体三维测量方法技术领域。A method for measuring a three-dimensional profile of an object surface belongs to the technical field of object three-dimensional measurement methods.

背景技术Background technique

物体的三维测量技术在产品设计与制造、质量检测与控制、机器人视觉等领域中应用很普遍。近些年来其应用也拓展到产品仿制、快速制造系统、产品反求设计、在线检测、服装制作、影视特技、虚拟现实、艺术雕塑等领域。The three-dimensional measurement technology of objects is widely used in product design and manufacturing, quality inspection and control, robot vision and other fields. In recent years, its application has also expanded to product imitation, rapid manufacturing system, product reverse design, online inspection, clothing production, film and television special effects, virtual reality, art sculpture and other fields.

三维轮廓测量主要有两类方法即接触式和非接触式。接触式测量的主要方法为三坐标测量仪,其测量精度高,可达0.5μm。但这种方法不适合柔软实物的测量,测量速度慢,对工作环境要求很高,必须防震、防灰、恒温等,因此应用范围受到较大限制。从整体来看,机械式三坐标测量仪难以满足当今快速、高效率测量的需求。There are two main types of methods for 3D profile measurement, contact and non-contact. The main method of contact measurement is a three-coordinate measuring instrument, which has a high measurement accuracy of up to 0.5 μm. But this method is not suitable for the measurement of soft objects, the measurement speed is slow, and it has high requirements on the working environment. It must be shockproof, dustproof, constant temperature, etc., so the application range is relatively limited. On the whole, the mechanical three-coordinate measuring instrument is difficult to meet the needs of today's fast and high-efficiency measurement.

非接触的三维测量方法有:光学传感器法、激光扫描法、立体视觉法、投影栅相位法等。Non-contact three-dimensional measurement methods include: optical sensor method, laser scanning method, stereo vision method, projection grid phase method, etc.

1.光学传感器法1. Optical sensor method

该方法的工作原理类似于机械式三坐标测量仪,只不过采用专门的光学探头来检测物体表面形状。其光学探头能够直接得到被测点与探头之间的距离,由其工作位置得到其它两个方向上的坐标。日本Toshiba公司研制了一台用于大型高精度光学表面测量的非接触式光学探测仪,面形测量精度达到0.1μm,粗糙度到1nmRa,安装在超精CNC车床的工作台上使用。其关键技术在于光学探头的制造,属精密仪器设备,因此造价昂贵。The method works similar to a mechanical CMM, except that a specialized optical probe is used to detect the surface shape of the object. Its optical probe can directly obtain the distance between the measured point and the probe, and obtain the coordinates in the other two directions from its working position. Toshiba Corporation of Japan has developed a non-contact optical detector for large-scale high-precision optical surface measurement. The surface measurement accuracy reaches 0.1μm and the roughness reaches 1nmRa. It is installed on the workbench of an ultra-precision CNC lathe. Its key technology lies in the manufacture of the optical probe, which is a precision instrument and equipment, so it is expensive.

2.激光扫描法2. Laser scanning method

该方法利用激光扫描物体表面,通过出射点、投影点和成像点三者之间的几何成像关系确定物体各点的三维坐标。根据工作激光光源的特点和性质可以分为点式激光扫描、线状激光扫描等。激光扫描的速度较块,但是扫描精度却受到工件的材质及表面特性等因素的影响。另外,激光扫描系统的价格十分昂贵,非一般用户所能承受。The method uses laser to scan the surface of the object, and determines the three-dimensional coordinates of each point of the object through the geometric imaging relationship among the exit point, projection point and imaging point. According to the characteristics and properties of the working laser light source, it can be divided into point laser scanning, linear laser scanning and so on. The speed of laser scanning is relatively fast, but the scanning accuracy is affected by factors such as the material and surface characteristics of the workpiece. In addition, the price of the laser scanning system is very expensive, which cannot be afforded by ordinary users.

3.立体视觉法3. Stereo vision method

立体视觉法是根据人双眼视觉系统的仿生学原理建立起来的,该方法已经能够达到一定的测量精度。它根据三角测量原理,利用对应点的视差可以计算视野范围内的立体信息,用于双目和多目视觉。The stereo vision method is established according to the bionics principle of the human binocular vision system, and this method has been able to achieve a certain measurement accuracy. Based on the principle of triangulation, it uses the parallax of corresponding points to calculate the stereoscopic information within the field of view, which is used for binocular and multi-eye vision.

这种方法对应用场合要求较宽松,一次能获得一块区域的三维信息,特别是具有不受物体表面反射特性影响的优点。但其中的对应点的匹配问题较难解决,算法复杂,耗时较长。在物体表面特征点较稀疏时,也很难获得精确的形状。This method has relatively loose requirements on the application occasion, and can obtain three-dimensional information of one area at a time, especially has the advantage of not being affected by the reflection characteristics of the object surface. However, the matching problem of corresponding points is difficult to solve, and the algorithm is complex and time-consuming. It is also difficult to obtain an accurate shape when the feature points on the surface of the object are sparse.

4.投影栅相位法4. Projection grating phase method

投影栅采用在物体表面投射栅线,利用调制栅线的相位畸变信息得到物体的三维信息,它采用数学的方法解调相位,并利用相位值计算每个相对于参考面的高度值。投影栅相位法存在的很大问题是其系统操作性不好,难以实现实用化。The projection grid uses the projection grid line on the surface of the object, and uses the phase distortion information of the modulation grid line to obtain the three-dimensional information of the object. It uses a mathematical method to demodulate the phase, and uses the phase value to calculate each height value relative to the reference plane. The big problem with the projected grating phase method is that its system operability is not good, and it is difficult to realize practical application.

发明内容Contents of the invention

本方法的目的在于在于提供一种测量精确、便于操作且易于实用化的测量物体三维表面轮廓的方法,为了达到这个目的本发明开创性的提出将利用相位和立体视觉技术的结合,在物体表面投射光栅,采用双摄像机拍摄图象,利用相位和极线实现匹配,从而达到对物体三维坐标的反求与重构,开发出了可操作性好、测量精度较高、速度快、适合于不同大小物体的新型的三维无接触测量系统。The purpose of this method is to provide a method for measuring the three-dimensional surface profile of an object that is accurate, easy to operate, and easy to use. Projection grating, using dual cameras to shoot images, using phase and epipolar line to achieve matching, so as to achieve the reverse and reconstruction of the three-dimensional coordinates of the object, developed a good operability, high measurement accuracy, fast speed, suitable for different New 3D non-contact measuring system for large and small objects.

具有某种特性的光(称为结构光)投射到物体上,物体上不同高度的点对光栅进行调制使光栅发生畸变。用两架摄像机拍摄发生畸变的光栅图像,利用编码光和相移方法获得左右摄像机拍摄图象上每一点的相位。利用相位和外极线几何实现两幅图像上的点的匹配。对定标了的摄像机系统,便可计算其在三维空间的坐标。Light with certain characteristics (called structured light) is projected onto an object, and points at different heights on the object modulate the grating to distort the grating. The distorted grating image is captured by two cameras, and the phase of each point on the image captured by the left and right cameras is obtained by using coded light and phase shift method. Matching of points on the two images is achieved using phase and epipolar geometry. For the calibrated camera system, its coordinates in three-dimensional space can be calculated.

本发明提出的测量物体三维表面轮廓的方法,其特征在于它是一种利用相位和立体视觉技术的结合,在物体表面投射光栅,再采用双摄像机拍摄发生畸变的光栅图像,利用编码光和相移方法获得左右摄像机拍摄图像上每一点的相位。利用相位和外极线实现两幅图像上的点的匹配,从而达到对物体表面点三维坐标的反求的方法;它包括如下步骤:The method for measuring the three-dimensional surface profile of an object proposed by the present invention is characterized in that it uses a combination of phase and stereo vision technology to project a grating on the surface of the object, and then uses dual cameras to shoot the distorted grating image, and uses coded light and phase The shift method obtains the phase of each point on the image captured by the left and right cameras. Using the phase and the epipolar line to realize the matching of the points on the two images, so as to achieve the method of inversely seeking the three-dimensional coordinates of the surface points of the object; it includes the following steps:

(1)利用计算机生成虚拟光栅,其中包括编码光栅和相移光栅,利用投影仪将生成的光栅投射在物体上;(1) Use a computer to generate a virtual grating, including a coded grating and a phase shift grating, and use a projector to project the generated grating on the object;

相移光栅的光强如下式来表达:The light intensity of the phase shift grating is expressed as follows:

Ii(u,v)=a(u,v)+b(u,v)cos(φ(u,v)+φi)I i (u, v)=a(u, v)+b(u, v) cos(φ(u, v)+φ i )

其中:in:

(u,v)为某点的坐标;(u, v) is the coordinates of a certain point;

Ii(u,v)为第i幅图像中(u,v)点的光强;I i (u, v) is the light intensity of point (u, v) in the i-th image;

a(u,v)为背景光强函数;a(u, v) is the background light intensity function;

b(u,v)为条纹对比度;b(u, v) is the fringe contrast;

φ(u,v)表示每个点的相位,周期为T;φi为相移角;φ(u, v) represents the phase of each point, the period is T; φ i is the phase shift angle;

编码光栅共有N幅,构造方法为第一幅为半黑半白,后面各幅逐渐细分,细分方法为上一幅的黑色部分,分为半黑半白,上一幅的白色分为半白半黑。对每一个点,根据在各幅图像中每一幅图像上为黑还是为白进行编码,为黑则编码为1,为白则编码为0,从而得到此点的编码序列;N幅编码光栅可有2N个编码序列,整个图象被分成2N个长条,每个长条的宽度为相移光栅的周期T;对第n个长条(n=1,2,...2N,又称周期数),按照这样的编码光构造方法对应一个唯一的编码序列,其十进制编码数为nc,建立周期数n和编码数nc之间的映射关系,可实现两者的互相转换;There are N pieces of coded gratings. The construction method is that the first piece is half black and half white, and the subsequent pieces are gradually subdivided. The subdivision method is that the black part of the previous picture is divided into half black and half white, and the white part of the previous picture is divided into Half white and half black. For each point, encode according to whether it is black or white on each image in each image, if it is black, it is encoded as 1, and if it is white, it is encoded as 0, so as to obtain the encoding sequence of this point; N encoding gratings There can be 2 N coding sequences, and the whole image is divided into 2 N strips, and the width of each strip is the period T of the phase shift grating; for the nth strip (n=1, 2, ... 2 N , also known as cycle number), according to such coded light construction method corresponds to a unique code sequence, its decimal code number is nc, and the mapping relationship between cycle number n and code number nc can be established to realize mutual conversion between the two ;

(2)利用两台CCD摄像机采集投射的光栅图像,并保存在程序中分配的数组中;(2) Utilize two CCD cameras to collect the projected raster image, and save it in the array allocated in the program;

(3)对每一个相机拍摄的各幅图像分别进行处理,得到每个点的相位值,相位值由相主值加上周期数乘以2π,即2nπ,由于两个摄像机拍摄的每个点的相位值应该是相等的,用两个摄像机拍摄得到的每个点相位值作为匹配的依据;(3) Each image taken by each camera is processed separately to obtain the phase value of each point. The phase value is multiplied by the phase master value plus the cycle number by 2π, that is, 2nπ. Since each point captured by two cameras The phase values of should be equal, and the phase values of each point captured by the two cameras are used as the basis for matching;

(4)对两个摄像机进行定标,得到摄像机的内参数及相对于世界坐标系的外参数:f(j),R (j),T(j),j=1,2(4) Calibrate the two cameras to obtain the internal parameters of the cameras and the external parameters relative to the world coordinate system: f (j) , R (j) , T (j) , j=1, 2

f(j):镜头焦距长度,j为摄像机编号;f (j) : the focal length of the lens, j is the camera number;

R(j):旋转矩阵, R = r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 ; R (j) : rotation matrix, R = r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 ;

T(j):平移向量,T=[TxTyTz]′;T (j) : translation vector, T=[TxTyTz]';

先计算R,Tx,Ty;First calculate R, Tx, Ty;

(4.1)计算每个点的图像坐标(4.1) Calculate the image coordinates of each point

     u=u0+x/dxu=u 0 +x/dx

     v=v0+y/dyv=v 0 +y/dy

对空间一个点(Xw,Yw,Zw),经摄像机拍摄后,图像坐标(mm)为(x,y),象素坐标为(u,v),(u0,v0)为图像坐标系的原点在像素坐标系中的像素坐标,(dx,dy)为CCD相邻象素之间的x和y方向的距离,由CCD厂家提供。For a point (Xw, Yw, Zw) in space, after being captured by the camera, the image coordinates (mm) are (x, y), the pixel coordinates are (u, v), and (u 0 , v 0 ) is the image coordinate system The pixel coordinates of the origin of is in the pixel coordinate system, (dx, dy) is the distance in the x and y directions between adjacent pixels of the CCD, provided by the CCD manufacturer.

(4.2)计算五个未知量Ty-1r1,Ty-1r2,Ty-1Tx,Ty-1r4,Ty-1r5 (4.2) Calculate five unknown quantities Ty -1 r 1 , Ty -1 r 2 , Ty -1 Tx, Ty -1 r 4 , Ty -1 r 5

对于每一个三维对象点(Xwk,Ywk,Zwk)(因为点共面,故将Z坐标取作0)以及相应的图像坐标(xk,yk),由共线方程:For each three-dimensional object point (Xw k , Yw k , Zw k ) (because the points are coplanar, the Z coordinate is taken as 0) and the corresponding image coordinates (x k , y k ), the collinear equation is:

xx kk == ff rr 11 Xx ww kk ++ rr 22 YY ww kk ++ TxTx rr 77 Xx ww kk ++ rr 88 YY ww kk ++ TzTz

ythe y kk == ff rr 44 Xx ww kk ++ rr 55 YY ww kk ++ TyTy rr 77 Xx ww kk ++ rr 88 YY ww kk ++ TzTz

将上面二式相除得到:利用最小二乘法求得上述5个未知量;(4.3)计算r1,...,r9,Tx,TyDivide the above two formulas to obtain: use the least square method to obtain the above five unknown quantities; (4.3) Calculate r 1 ,..., r 9 , Tx, Ty

(4.31)计算|Ty|(4.31) Calculate |Ty|

定义矩阵:Define the matrix:

CC == rr 11 ′′ rr 22 ′′ rr 44 ′′ rr 55 ′′ == rr 11 // TyTy rr 22 // TyTy rr 44 // TyTy rr 55 // TyTy

则有:Then there are:

ythe y 22 == SS rr -- [[ SS rr 22 -- 44 (( rr 11 ′′ rr 55 ′′ -- rr 44 ′′ rr 22 ′′ )) 22 ]] 11 // 22 22 (( rr 11 ′′ rr 55 ′′ -- rr 44 ′′ rr 22 ′′ )) 22

其中:in:

Sr=r12+r22+r52+r42Sr=r 12 +r 22 +r 52 +r 42 ,

如果矩阵C的某行或某列元素为全为0,按下式计算:If a certain row or column of matrix C is all 0, it is calculated as follows:

Ty2=(ri2+rj2)-1,其中ri′,rj′,是矩阵C剩余的另两个元素。Ty 2 =(r i2 +r j2 ) −1 , where ri , r j ′ are the remaining two elements of matrix C.

(4.32)决定Ty的符号(4.32) Determine the sign of Ty

①假设Ty为正号;①Assume that Ty is a positive sign;

②选择所拍摄图像中,离图像中心较远的一点。设其图像坐标为(xk,yk),在三维世界中的坐标为(Xwk,Ywk,Zwk)。② Select a point farther from the center of the image in the captured image. Suppose its image coordinates are (x k , y k ), and its coordinates in the three-dimensional world are (Xw k , Yw k , Zw k ).

③由上面的结果计算下面各式的值:③Calculate the following values from the above results:

r1=(Ty-1r1)*Ty,r2=(Ty-1r2)*Ty,r4=(Ty-1r4)*Tyr 1 =(Ty -1 r 1 )*Ty, r 2 =(Ty -1 r 2 )*Ty, r 4 =(Ty -1 r 4 )*Ty

r5=(Ty-1r5)*Ty,Tx=(Ty-1Tx)*Ty,r 5 =(Ty −1 r 5 )*Ty, Tx=(Ty −1 Tx)*Ty,

xk′=r1Xwk+r2Ywk+Txx k ′=r 1 Xw k +r 2 Yw k +Tx

yk′=r4Xwk+r5Ywk+Tyy k ′=r 4 Xw k +r 5 Yw k +Ty

如果xk和xk′、yk和yk′都同号,那么sgn(Ty)=+1,否则sgn(Ty)=-1;If x k and x k ', y k and y k ' all have the same sign, then sgn(Ty)=+1, otherwise sgn(Ty)=-1;

(4.33)计算旋转矩阵R(4.33) Calculate the rotation matrix R

根据Ty的值,重新计算r1,r2,r4,r5,Tx。According to the value of Ty, r 1 , r 2 , r 4 , r 5 , Tx are recalculated.

RR == rr 11 rr 22 (( 11 -- rr 11 22 -- rr 22 22 )) 11 // 22 rr 44 rr 55 sthe s (( 11 -- rr 44 22 -- rr 55 22 )) 11 // 22 rr 77 rr 88 rr 99

其中s=sgn(r1r4+r2r5)where s=sgn(r 1 r 4 +r 2 r 5 )

r7,r8,r9是由前两行的外积得到。r 7 , r 8 , r 9 are obtained from the outer product of the first two lines.

如果按照这样的R计算下面的焦距f为负值,则:If the following focal length f is calculated according to such R as a negative value, then:

RR == rr 11 rr 22 -- (( 11 -- rr 11 22 -- rr 22 22 )) 11 // 22 rr 44 rr 55 -- sthe s (( 11 -- rr 44 22 -- rr 55 22 )) 11 // 22 -- rr 77 -- rr 88 rr 99

接着计算焦距长度f和Tz的值Then calculate the value of focal length f and T z

对每一个标定点,建立包含f和Tz作为未知参数的线性方程:For each calibration point, set up a linear equation including f and T z as unknown parameters:

[[ YY ii -- ythe y ii ]] ff TzTz == ww ii ythe y ii

其中:in:

Yi=r4xwi+r5ywi+r6*0+TyY i =r 4 x wi +r 5 y wi +r 6 *0+Ty

wi=r7xwi+r8ywi+r9*0w i =r 7 x wi +r 8 y wi +r 9 *0

通过解方程,可求f和TzBy solving the equation, f and T z can be obtained;

(5)根据相位和外极线几何对每点进行三维重构,得到物体表面点的三维坐标:(5) Perform three-dimensional reconstruction of each point according to the phase and epipolar geometry, and obtain the three-dimensional coordinates of the surface point of the object:

(5.1)计算基础矩阵F(5.1) Calculate the fundamental matrix F

F=A2 -TEA1 -1 F=A 2 -T EA 1 -1

其中in

AA 22 == ff 22 // dd xx 22 00 uu 0202 00 ff 22 // dd ythe y 22 vv 0202 00 00 11 ,, AA 11 == ff 11 // dd xx 11 00 uu 0101 00 ff 11 // dd ythe y 11 vv 0101 00 00 11

其中f1,(u01,v01),dx1,dy1为第一个摄像机的内参数,Where f 1 , (u 01 , v 01 ), dx 1 , dy 1 are internal parameters of the first camera,

f2,(u02,v02),dx2,dy2为第二个摄像机的内参数;f 2 , (u 02 , v 02 ), dx 2 , dy 2 are internal parameters of the second camera;

E = [ T ] x R ( 2 ) R ( 1 ) - 1 (称为本质矩阵,Essential Matrix) E. = [ T ] x R ( 2 ) R ( 1 ) - 1 (called the essential matrix, Essential Matrix)

TT == TT (( 22 )) -- RR (( 22 )) RR (( 11 )) -- 11 TT (( 11 ))

把T表示为[Tx,Ty,Tz],则反对称矩阵为[T]x Express T as [Tx, Ty, Tz], then the antisymmetric matrix is [T] x

[[ TT ]] xx == 00 -- TzTz TyTy TzTz 00 -- TxTx -- TyTy TxTx 00

(5.2)计算右摄像机拍摄图像上一点P,其坐标为

Figure C0315350400122
它在左摄像机拍摄图像上的极线方程参数。并在上述直线上寻找其匹配点Q点,方法是点P和点Q的相位值相等。(5.2) Calculate a point P on the image captured by the right camera, and its coordinates are
Figure C0315350400122
Its epipolar equation parameters on the image captured by the left camera. And look for its matching point Q on the above straight line, the method is that the phase values of point P and point Q are equal.

已知

Figure C0315350400123
根据下述直线方程,找右摄像机拍摄图像上点P在左摄像机拍摄图像上的点Q,其坐标为 A known
Figure C0315350400123
According to the following straight line equation, find the point Q of the point P on the image captured by the right camera on the image captured by the left camera, and its coordinates are

mm ~~ 22 TT Ff mm ~~ 11 == 00 ,,

其中:

Figure C0315350400126
是P点的像素坐标(u2,v2,1)T;in:
Figure C0315350400126
is the pixel coordinate (u 2 , v 2 , 1) T of point P;

Figure C0315350400127
是Q点像素坐标(u1,v1,1)T
Figure C0315350400127
is the pixel coordinate of point Q (u 1 , v 1 , 1) T ;

根据点P和点Q相位相等的原则,在由上述直线方程决定的一条直线上寻找Q点。According to the principle that the phases of point P and point Q are equal, find point Q on a straight line determined by the above straight line equation.

(5.3)找到Q点,则存储此匹配点,按照下述的三维空间点S(Xw,Yw,Zw)和两个摄像机拍摄图像的对应图像坐标的关系为:(5.3) Find the Q point, then store this matching point, according to the relationship between the following three-dimensional space point S (Xw, Yw, Zw) and the corresponding image coordinates of the images captured by the two cameras:

xx (( jj )) == ff (( jj )) RR (( jj )) 1111 Xwwxya ++ RR (( jj )) 1212 Yww ++ RR (( jj )) 1313 ZwZw ++ TT (( jj )) xx RR (( jj )) 3131 Xwwxya ++ RR (( jj )) 3232 Yww ++ RR (( jj )) 3333 ZwZw ++ TT (( jj )) zz ,,

ythe y (( jj )) == ff (( jj )) RR (( jj )) 21twenty one Xwwxya ++ RR (( jj )) 22twenty two Yww ++ RR (( jj )) 23twenty three ZwZw ++ TT (( jj )) ythe y RR (( jj )) 3131 Xwwxya ++ RR (( jj )) 3232 Yww ++ RR (( jj )) 3333 ZwZw ++ TT (( jj )) zz ,,

j=1,2,  为摄像机的编号。j=1, 2, is the number of the camera.

所述相移光栅的相移角φi=i*90,i=1,...4,即相移光栅图像有4幅,其相主值计算公式为:The phase shift angle φ i =i*90 of the phase shift grating, i=1, ... 4, that is, there are 4 phase shift grating images, and the calculation formula of the phase master value is:

φ ( u , v ) = a tan ( I 2 - I 4 I 3 - I 1 ) , 其中I1、I2、I3、I4,是点(u,v)在四幅相移光栅中的相位。 φ ( u , v ) = a the tan ( I 2 - I 4 I 3 - I 1 ) , Among them, I 1 , I 2 , I 3 , and I 4 are the phases of the point (u, v) in the four phase shift gratings.

所述编码光栅共有7幅,每一点的二进制编码序列即可转化成该点在图像中的位置,即周期数。There are 7 coded gratings in total, and the binary code sequence of each point can be converted into the position of the point in the image, that is, the number of cycles.

本发明提出的测量物体三维表面轮廓的系统,其特征在于它含有计算机、投影仪、两台CCD摄像机。The system for measuring the three-dimensional surface profile of an object proposed by the invention is characterized in that it contains a computer, a projector, and two CCD cameras.

实验证明本发明具有非接触、速度快、数据量大、精度高、操作简单、易于实现等优点。Experiments prove that the present invention has the advantages of non-contact, high speed, large amount of data, high precision, simple operation and easy realization.

附图说明Description of drawings

图1:本发明所述系统的示意图。Figure 1: Schematic representation of the system of the present invention.

图2:摄像机定标用的标定块。Figure 2: Calibration block for camera calibration.

图3:两阶段法摄像机定标程序流程图。Figure 3: Flowchart of the two-stage camera calibration procedure.

图4:三维重构算法流程图。Figure 4: Flowchart of the 3D reconstruction algorithm.

图5:人手测量结果示意图。Figure 5: Schematic diagram of human measurement results.

具体实施方式Detailed ways

本发明提出的一种三维测量的方法的实施例结合说明如下:The embodiment of the method for a kind of three-dimensional measurement that the present invention proposes is described as follows in conjunction with:

本实施例的测量系统如图1所示。本系统由CCD摄像机1,3,投影仪2,计算机4等组成。The measurement system of this embodiment is shown in FIG. 1 . The system is composed of CCD cameras 1, 3, projector 2, computer 4 and so on.

计算机为PIII 1G带有1394图象卡,显卡支持双显示器输出。The computer is PIII 1G with 1394 graphics card, and the graphics card supports dual monitor output.

系统采用的ASKC20+高清晰数字投影仪,其亮度为1500ANSI流明,分辨率为800×600。The ASKC20+ high-definition digital projector used in the system has a brightness of 1500 ANSI lumens and a resolution of 800×600.

CCD采用德国Basler公司的A302f数字摄像机,其分辨率达到了780×582,符合IEEE1394工业标准,配合Computar M1214-MP定焦镜头使用。The CCD adopts the A302f digital camera of Basler Company in Germany, its resolution reaches 780×582, conforms to the IEEE1394 industrial standard, and is used with the Computar M1214-MP fixed-focus lens.

  方法采取的步骤如下,其中软件的实现采用Visual C++6.0平台进行开发:The steps taken by the method are as follows, wherein the implementation of the software is developed using the Visual C++6.0 platform:

  1)利用计算机生成虚拟光栅,其中包括编码光栅和相移光栅,利用投影仪将生成的光栅投射在物体上;1) Use a computer to generate a virtual grating, including a coded grating and a phase shift grating, and use a projector to project the generated grating on the object;

  相移光栅的光强如下式来表达:The light intensity of the phase shift grating is expressed as follows:

  Ii(u,v)=a(u,v)+b(u,v)cos(φ(u,v)+φi)    (1)I i (u, v)=a(u, v)+b(u, v) cos(φ(u, v)+φ i ) (1)

  其中: in:

  (u,v)为某点的坐标;(u, v) is the coordinates of a point;

  Ii(u,v)为第i幅图像中(u,v)点的光强;I i (u, v) is the light intensity of point (u, v) in the i-th image;

  a(u,v)为背景光强函数;a(u, v) is the background light intensity function;

  b(u,v)为条纹对比度;b(u, v) is the stripe contrast;

  φ(u,v)表示每个点的相位,周期为T;φ(u, v) represents the phase of each point, and the period is T;

  对于每间隔90度的相移,φi=i*90,i=1,...4,For every phase shift of 90 degrees, φ i =i*90, i=1,...4,

  在构造相移光栅时,光栅图象大小为1024×768,光栅的周期大小为8即点的坐标x取值范围在(1,1024)之间的整数,y取值在(1,768)之间的整数。a(x,y)取0,b(x,y)取255。每个点相位值φ(x,y)设置为x除以8得到的余数除以8,再乘以2π。When constructing a phase-shifted grating, the size of the grating image is 1024×768, and the period size of the grating is 8, that is, the coordinate x of the point is an integer in the range of (1, 1024), and the value of y is in the range of (1, 768). Integer between. a(x, y) takes 0, and b(x, y) takes 255. The phase value φ(x, y) of each point is set as the remainder obtained by dividing x by 8, divided by 8, and then multiplied by 2π.

  编码光栅共有7幅,构造方法为第一幅为半黑半白,后面各幅逐渐细分,细分方法为上一幅的黑色部分,分为半黑半白,上一幅的白色分为半白半黑。对每一个点,根据在各幅图像中每一幅图像上为黑还是为白进行编码,为黑则编码为1,为白则编码为0,从而得到此点的编码序列;7幅编码光栅可有27个编码序列,整个图象被分成27个长条,每个长条的宽度为相移光栅的周期8;对第n个长条(n=1,2,...27),按照这样的编码光构造方法对应一个唯一的编码序列,其十进制编码数为nc,按照这样的方法建立每一个周期数n和编码数nc之间的映射关系,可实现两者的互相转换;There are 7 coded gratings. The construction method is that the first frame is half black and half white, and the subsequent frames are gradually subdivided. The subdivision method is that the black part of the previous frame is divided into half black and half white, and the white part of the previous frame is divided into Half white and half black. For each point, encode according to whether it is black or white on each image in each image, if it is black, it is encoded as 1, and if it is white, it is encoded as 0, so as to obtain the encoding sequence of this point; 7 encoding gratings There may be 2 7 coding sequences, and the whole image is divided into 2 7 strips, and the width of each strip is the period 8 of the phase shift grating; for the nth strip (n=1, 2, ... 2 7 ), according to such code light construction method corresponds to a unique code sequence, its decimal code number is nc, according to this method to establish the mapping relationship between each cycle number n and code number nc, can realize the mutual between the two conversion;

2)利用两台CCD摄像机采集投射的光栅图象,并保存在程序中分配的数组中。2) Use two CCD cameras to collect the projected raster images and save them in the array allocated in the program.

3)对每一个相机拍摄的11幅图象分别进行处理,得到每个点的相位值,相位值由相主值加上周期数乘以2π。3) Process the 11 images taken by each camera separately to obtain the phase value of each point, and the phase value is multiplied by the phase master value plus the number of cycles multiplied by 2π.

相移法中相主值计算公式为:The formula for calculating the phase principal value in the phase shift method is:

φφ (( uu ,, vv )) == aa tanthe tan (( II 22 -- II 44 II 33 -- II 11 )) -- -- -- (( 22 ))

其中I1、I2、I3、I4,是点(u,v)在四幅相移光栅中的光强。Among them, I 1 , I 2 , I 3 , and I 4 are the light intensities of the point (u, v) in the four phase shift gratings.

对七幅编码光栅,通过图象处理技术,对图象进行二值化处理,可以对每个求得每个点在每幅图象中是黑点(编码为1)还是白点(编码为0),综合7幅图象,可得到编码序列,然后按照编码数与周期数之间的映射关系,将编码序列转化为周期数n。每个点的相位由相主值加上2nπ即可得到。For the seven coded gratings, through image processing technology, the image is binarized, and each point can be obtained for each image whether it is a black point (coded as 1) or a white point (coded as 1) or a white point (coded as 0), the 7 images are synthesized to obtain the coding sequence, and then the coding sequence is converted into the cycle number n according to the mapping relationship between the coding number and the cycle number. The phase of each point can be obtained by adding 2nπ to the phase principal value.

对同一个点来说,按照上面计算的相位是与摄像机拍摄的位置无关的,也就是说在对两个摄像机拍摄的每个点的应该是相等的。因而我们用两个摄像机拍摄的每个点的相位值作为匹配的依据。For the same point, the phase calculated above has nothing to do with the position of the camera, that is to say, it should be equal to each point of the two cameras. Therefore, we use the phase value of each point captured by the two cameras as the basis for matching.

4)对两个摄像机进行定标,定标中使用的标定块如图2所示。摄像机定标是求得摄像机的内参数及相对于世界坐标系的外参数的过程。对空间的一个点(Xw,Yw,Zw),经摄像机拍摄后,图象坐标(mm)为(x,y),象素坐标(象素)为(u,v):4) Calibrate the two cameras, and the calibration blocks used in the calibration are shown in Figure 2. Camera calibration is the process of obtaining the internal parameters of the camera and the external parameters relative to the world coordinate system. For a point (Xw, Yw, Zw) in space, after being captured by the camera, the image coordinates (mm) are (x, y), and the pixel coordinates (pixels) are (u, v):

xx == ff rr 11 Xwwxya ++ rr 22 Yww ++ rr 33 ZwZw ++ TxTx rr 77 Xwwxya ++ rr 88 Yww ++ rr 99 ZwZw ++ TzTz

ythe y == ff rr 44 Xwwxya ++ rr 55 Yww ++ rr 66 ZwZw ++ TyTy rr 77 Xwwxya ++ rr 88 Yww ++ rr 99 ZwZw ++ TzTz -- -- -- (( 33 ))

u=u0+x/dxu=u 0 +x/dx

v=v0+y/dy    (4)v=v 0 +y/dy (4)

其中:in:

R = r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 , T=[TxTyTz]′为旋转矩阵和平移向量,f为镜头焦距,为要标定的参数。 R = r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 , T=[TxTyTz]' is the rotation matrix and translation vector, f is the focal length of the lens, and is the parameter to be calibrated.

(u0,v0)为图像坐标系的原点在像素坐标系中的像素坐标,对我们的摄像机的分辨率是780*582,(u0,v0)取值为(390,291)。(dx,dy)为CCD相邻象素之间的x和y方向的距离,可由CCD厂家提供。(u 0 , v 0 ) is the pixel coordinate of the origin of the image coordinate system in the pixel coordinate system. The resolution of our camera is 780*582, and the value of (u 0 , v 0 ) is (390, 291). (dx, dy) is the distance in the x and y directions between adjacent pixels of the CCD, which can be provided by the CCD manufacturer.

定标中的标定块是精密加工,每个点的三维坐标是精确知道,利用图象处理基数可以得到每个点的图象坐标。在本系统中采取Tsai的两阶段方法得到摄像机的旋转矩阵R,平移矩阵T,焦距f。具体流程如图3所示,其过程如下:The calibration block in the calibration is precisely processed, and the three-dimensional coordinates of each point are precisely known, and the image coordinates of each point can be obtained by using the image processing base. In this system, Tsai's two-stage method is adopted to obtain the camera's rotation matrix R, translation matrix T, and focal length f. The specific process is shown in Figure 3, and the process is as follows:

阶段1:计算旋转矩阵R,Tx,TyPhase 1: Calculation of rotation matrices R, Tx, Ty

(4.1)计算图像坐标(4.1) Calculate image coordinates

按照(4)式计算每个标志点的图象坐标(x,y)。Calculate the image coordinates (x, y) of each marker point according to formula (4).

(4.2)计算五个未知量Ty-1r1,Ty-1r2,Ty-1Tx,Ty-1r4,Ty-1r5对于每一个三维对象点(Xwk,Ywk,Zwk)(因为点共面,故将Z坐标取作0)以及相应的图像坐标(xk,yk),由共线方程:(4.2) Calculate five unknown quantities Ty -1 r 1 , Ty -1 r 2 , Ty -1 T x , Ty -1 r 4 , Ty -1 r 5 for each three-dimensional object point (Xw k , Yw k , Zw k ) (because the points are coplanar, the Z coordinate is taken as 0) and the corresponding image coordinates (x k , y k ), by the collinear equation:

xx kk == ff rr 11 Xx ww kk ++ rr 22 YY ww kk ++ TxTx rr 77 Xx ww kk ++ rr 88 YY ww kk ++ TzTz

ythe y kk == ff rr 44 Xx ww kk ++ rr 55 YY ww kk ++ TyTy rr 77 Xx ww kk ++ rr 88 YY ww kk ++ TzTz -- -- -- (( 55 ))

将上面二式相除得到:Divide the above two equations to get:

[ykXwk ykYwk yk -xkXwk -xkYwk]L=xk           (6)[y k Xw k y k Yw k y k -x k Xw k -x k Yw k ]L=x k (6)

其中:in:

L=[Ty-1r1 Ty-1r2 Ty-1Tx Ty-1r4 Ty-1r5]T      (7)L=[Ty -1 r 1 Ty -1 r 2 Ty -1 Tx Ty -1 r 4 Ty -1 r 5 ] T (7)

在上式中,有5个未知数,我们的点的个数一般很多,利用最小二乘法求得方程组的解。In the above formula, there are 5 unknowns, and the number of our points is generally many, and the solution of the system of equations is obtained by the method of least squares.

(4.3)计算r1,...,r9,Tx,Ty(4.3) Calculate r 1 , ..., r 9 , Tx, Ty

(4.31)计算|Ty|(4.31) Calculate |Ty|

定义矩阵:Define the matrix:

CC == rr 11 ′′ rr 22 ′′ rr 44 ′′ rr 55 ′′ == rr 11 // TyTy rr 22 // TyTy rr 44 // TyTy rr 55 // TyTy -- -- -- (( 88 ))

则有:Then there are:

TT ythe y 22 == SrSr -- [[ SS rr 22 -- 44 (( rr 11 ′′ rr 55 ′′ -- rr 44 ′′ rr 22 ′′ )) 22 ]] 11 // 22 22 (( rr 11 ′′ rr 55 ′′ -- rr 44 ′′ rr 22 ′′ )) 22 -- -- -- (( 99 ))

其中:in:

Sr=r12+r22+r52+r42,    (10)Sr=r 12 +r 22 +r 52 +r 42 , (10)

如果矩阵C的某行或某列元素为全为0,按下式计算:If a certain row or column of matrix C is all 0, it is calculated as follows:

Ty2=(ri2+rj2)-1,其中ri′,rj′,是矩阵C剩余的另两个元素。Ty 2 =(r i2 +r j2 ) −1 , where ri , r j ′ are the remaining two elements of matrix C.

(4.32)决定Ty的符号(4.32) Determine the sign of Ty

①假设Ty为正号;①Assume that Ty is a positive sign;

②选择所拍摄图像中,离图像中心较远的一点。设其图像坐标为(xk,yk),在三维世界中的坐标为(Zwk,Ywk,Zwk)。② Select a point farther from the center of the image in the captured image. Let its image coordinates be (x k , y k ), and its coordinates in the three-dimensional world be (Zw k , Yw k , Zw k ).

③由上面的结果计算下面各式的值:③Calculate the following values from the above results:

ri=(Ty-1r2)*Ty,r2=(Ty-1r2)*Ty,r4=(Ty-1r4)*Tyr i =(Ty -1 r 2 )*Ty, r 2 =(Ty -1 r 2 )*Ty, r 4 =(Ty -1 r 4 )*Ty

r5=(Ty-1r5)*Ty,Tx=(Ty-1Tx)*Ty,                  (11)r 5 =(Ty −1 r 5 )*Ty, Tx=(Ty −1 Tx)*Ty, (11)

xk′=r1Xwk+r2Ywk+Txx k ′=r 1 Xw k +r 2 Yw k +Tx

yk′=r4Xwk+r5Ywk+Tyy k ′=r 4 Xw k +r 5 Yw k +Ty

如果xk和xk′、yk和yk′都同号,那么sgn(Ty)=+1,否则sgn(Ty)=-1;If x k and x k ', y k and y k ' all have the same sign, then sgn(Ty)=+1, otherwise sgn(Ty)=-1;

(4.33)计算旋转矩阵R(4.33) Calculate the rotation matrix R

根据Ty的值,重新计算r1,r2,r4,r5,Tx。According to the value of Ty, r 1 , r 2 , r 4 , r 5 , Tx are recalculated.

RR == rr 11 rr 22 (( 11 -- rr 11 22 -- rr 22 22 )) 11 // 22 rr 44 rr 55 sthe s (( 11 -- rr 44 22 -- rr 55 22 )) 11 // 22 rr 77 rr 88 rr 99 -- -- -- (( 1212 ))

其中s=sgn(r1r4+r2r5)where s=sgn(r 1 r 4 +r 2 r 5 )

r7,r8,r9是由前两行的外积得到。r 7 , r 8 , r 9 are obtained from the outer product of the first two lines.

如果按照这样的R计算下面的焦距f为负值,则:If the following focal length f is calculated according to such R as a negative value, then:

RR == rr 11 rr 22 -- (( 11 -- rr 11 22 -- rr 22 22 )) 11 // 22 rr 44 rr 55 -- sthe s (( 11 -- rr 44 22 -- rr 55 22 )) 11 // 22 -- rr 77 -- rr 88 rr 99 -- -- -- (( 1313 ))

接着计算焦距长度f和Tz的值Then calculate the value of focal length f and T z

对每一个标定点,建立包含f和Tz作为未知参数的线性方程:For each calibration point, set up a linear equation including f and T z as unknown parameters:

[[ YY kk -- ythe y kk ]] ff TzTz == ww kk ythe y kk -- -- -- (( 1414 ))

其中:in:

Yk=r4xwk+r5ywk+r6*0+Ty    (15)Y k =r 4 x wk +r 5 y wk +r 6 *0+Ty (15)

wk=r7xwk+r8ywk+r9*0w k =r 7 x wk +r 8 y wk +r 9 *0

通过解方程,可求f和TzBy solving the equation, f and T z can be obtained;

5)根据相位和外极线几何对每点进行三维重构,得到物体表面点的三维坐标。对两个摄像机拍摄的图象,三维空间点S(Xw,Yw,Zw)和对应图像坐标的关系为:5) Perform three-dimensional reconstruction for each point according to the phase and epipolar geometry, and obtain the three-dimensional coordinates of the surface point of the object. For the images captured by two cameras, the relationship between the three-dimensional space point S(Xw, Yw, Zw) and the corresponding image coordinates is:

xx (( jj )) == ff (( jj )) RR (( jj )) 1111 Xwwxya ++ RR (( JJ )) 1212 Yww ++ RR (( jj )) 1313 ZwZw ++ TT (( jj )) xx RR (( jj )) 3131 Xwwxya ++ RR (( jj )) 3232 Yww ++ RR (( jj )) 3333 ZwZw ++ TT (( jj )) zz ,,

ythe y (( jj )) == ff (( jj )) RR (( jj )) 21twenty one Xwwxya ++ RR (( jj )) 22twenty two Yww ++ RR (( jj )) 23twenty three ZwZw ++ TT (( jj )) ythe y RR (( jj )) 3131 Xwwxya ++ RR (( jj )) 3232 Yww ++ RR (( jj )) 3333 ZwZw ++ TT (( jj )) zz -- -- -- (( 1616 ))

其中j=1,2表示两个摄像机拍摄的图像。Where j=1, 2 represent images taken by two cameras.

摄像机定标后,f(j),R(j),T(j)是已知的,对个摄像机拍摄的图像,共有四个方程,对标定好的摄像机,利用最小二乘法可以得到三维点的坐标。After the camera is calibrated, f (j ), R (j) and T (j) are known. There are four equations for the image taken by a camera. For the calibrated camera, the three-dimensional point can be obtained by using the least square method coordinate of.

这是立体视觉三维重建的基本原理,其中最大的问题是如何找到相匹配的两个点,也就是说如何实现三维空间中一个点在两幅图象上的对应关系。由计算机视觉中的外极线理论知道,对第一幅图像中的一个点,在第二幅图像中的对应点是在一条直线上。其关系可有如下方程表示:This is the basic principle of stereoscopic 3D reconstruction, and the biggest problem is how to find two matching points, that is to say, how to realize the correspondence between a point in three-dimensional space and two images. According to the epipolar line theory in computer vision, for a point in the first image, the corresponding point in the second image is on a straight line. Its relationship can be expressed by the following equation:

mm ~~ 22 TT Ff mm ~~ 11 == 00 -- -- -- (( 1717 ))

其中,

Figure C0315350400175
是第一幅图像中某点的像素坐标(u1,v1,1)T
Figure C0315350400176
是第二幅图像中某点的像素坐标(u2,v2,1)T,F为基础矩阵(Fundamental Matrix),其元素是摄像机内外参数。in,
Figure C0315350400175
is the pixel coordinate (u 1 , v 1 , 1) T of a point in the first image,
Figure C0315350400176
is the pixel coordinate (u 2 , v 2 , 1) T of a certain point in the second image, and F is the fundamental matrix (Fundamental Matrix), whose elements are internal and external parameters of the camera.

F=A2 -TEA1 -1      (18)F=A 2 -T EA 1 -1 (18)

其中in

AA 22 == ff 22 // dd xx 22 00 uu 0202 00 ff 22 // dd ythe y 22 vv 0202 00 00 11 ,, AA 11 == ff 11 // dd xx 11 00 uu 0101 00 ff 11 // dd ythe y 11 vv 0101 00 00 11

其中f1,(u01,v01),dx1,dy1为第一个摄像机的内参数,f2,(u02,v02),dx2,dy2为第二个摄像机的内参数,参数的意义同前面所述。Where f 1 , (u 01 , v 01 ), dx 1 , dy 1 are internal parameters of the first camera, f 2 , (u 02 , v 02 ), dx 2 , dy 2 are internal parameters of the second camera , the meanings of the parameters are the same as those mentioned above.

E = [ T ] x R ( 2 ) R ( 1 ) - 1 (称为本质矩阵,Essential Matrix) E. = [ T ] x R ( 2 ) R ( 1 ) - 1 (called the essential matrix, Essential Matrix)

TT == TT (( 22 )) -- RR (( 22 )) RR (( 11 )) -- 11 TT (( 11 )) -- -- -- (( 1919 ))

将T表示为[Tx,Ty,Tz],[T]x为反对称矩阵,定义为:Denote T as [Tx, Ty, Tz], [T] x is an anti-symmetric matrix, defined as:

[[ TT ]] xx == 00 -- TzTz TyTy TzTz 00 -- TxTx -- TyTy TxTx 00 -- -- -- (( 2020 ))

可以看出基础矩阵是由摄像机内外参数所决定的,通过摄像机标定,我们就能得到极线方程。It can be seen that the fundamental matrix is determined by the internal and external parameters of the camera. Through camera calibration, we can get the epipolar equation.

从极线方程可以看出,对右摄像机拍摄图象上一点P,其坐标

Figure C0315350400184
其在左摄像机拍摄图象上如果有对应点Q,应该是在由 和基础矩阵F决定的一条直线上。It can be seen from the epipolar equation that for a point P on the image captured by the right camera, its coordinates
Figure C0315350400184
If there is a corresponding point Q on the image captured by the left camera, it should be and on a straight line determined by the fundamental matrix F.

关键是在这条直线上的哪一个点呢?The key is which point on this straight line?

在前面相位获取时,曾提到,同一个点在不同摄像机拍摄时相位值应该是相同的。而对每一个点的相位值,我们有相位获取是得到了的,我们正是利用这一点实现两幅图象上点的精确匹配。In the previous phase acquisition, it was mentioned that the phase value of the same point should be the same when it is shot by different cameras. For the phase value of each point, we have obtained the phase acquisition, and we use this point to realize the precise matching of the points on the two images.

算法流程图见附图4。The flowchart of the algorithm is shown in Figure 4.

找到匹配点后,利用式(16)可以计算点的三维坐标。After finding the matching point, the three-dimensional coordinates of the point can be calculated by using formula (16).

按照上述过程对人手进行三维测量,测量得到的点如图5所示。According to the above process, the three-dimensional measurement of the human hand is carried out, and the measured points are shown in Figure 5.

本发明所构成的三维测量系统具有非接触、速度快、数据量大、精度高、操作简单等特点。对物体的单面测量只要2秒钟能得到极高密度的数据(40万个点),测量的精度在0.05mm以上。The three-dimensional measuring system constituted by the present invention has the characteristics of non-contact, fast speed, large amount of data, high precision, simple operation and the like. It only takes 2 seconds to measure one side of an object to obtain extremely high-density data (400,000 points), and the measurement accuracy is above 0.05mm.

Claims (3)

1.测量物体表面三维轮廓的方法,其特征在于:它是一种利用相位和立体视觉技术的结合,在物体表面投射光栅,再采用双摄像机拍摄发生畸变的光栅图像,利用编码光和相移方法获得左右摄像机拍摄图像上每一点的相位;利用相位和外极线实现两幅图像上的点的匹配,从而达到对物体表面点三维坐标的反求的方法;它包括如下步骤:1. The method for measuring the three-dimensional profile of the surface of an object is characterized in that: it is a combination of phase and stereo vision technology, projecting a grating on the surface of the object, and then using dual cameras to shoot the distorted grating image, using coded light and phase shift The method obtains the phase of each point on the image captured by the left and right cameras; uses the phase and the epipolar line to realize the matching of the points on the two images, so as to achieve the method of inversely seeking the three-dimensional coordinates of the surface point of the object; it includes the following steps: (1)利用计算机生成虚拟光栅,其中包括编码光栅和相移光栅,利用投影仪将生成的光栅投射在物体上;(1) Use a computer to generate a virtual grating, including a coded grating and a phase shift grating, and use a projector to project the generated grating on the object; 相移光栅的光强如下式来表达:The light intensity of the phase shift grating is expressed as follows:     Ii(u,v)=a(u,v)+b(u,v)cos(φ(u,v)+φi)I i (u, v)=a(u, v)+b(u, v) cos(φ(u, v)+φ i ) 其中:in: (u,v)为某点的坐标;(u, v) is the coordinates of a certain point; Ii(u,v)为第i幅图像中(u,v)点的光强;I i (u, v) is the light intensity of point (u, v) in the i-th image; a(u,v)为背景光强函数;a(u, v) is the background light intensity function; b(u,v)为条纹对比度;b(u, v) is the fringe contrast; φ(u,v)表示每个点的相位,周期为T;φ(u, v) represents the phase of each point, and the period is T; φi为相移角;φ i is the phase shift angle; 编码光栅共有N幅,构造方法为第一幅为半黑半白,后面各幅逐渐细分,细分方法为上一幅的黑色部分,分为半黑半白,上一幅的白色分为半白半黑;对每一个点,根据在各幅图像中每一幅图像上为黑还是为白进行编码,为黑则编码为1,为白则编码为0,从而得到此点的编码序列;N幅编码光栅可有2N个编码序列,整个图象被分成2N个长条,每个长条的宽度为相移光栅的周期T;对第n个长条,n=1,2,...2N,又称周期数,按照这样的编码光构造方法对应一个唯一的编码序列,其十进制编码数为nc,建立周期数n和编码数nc之间的映射关系,可实现两者的互相转换;There are N pieces of coded gratings. The construction method is that the first piece is half black and half white, and the subsequent pieces are gradually subdivided. The subdivision method is that the black part of the previous picture is divided into half black and half white, and the white part of the previous picture is divided into Half white and half black; for each point, encode according to whether it is black or white on each image in each image, if it is black, it is encoded as 1, and if it is white, it is encoded as 0, so as to obtain the encoding sequence of this point ; N coding gratings can have 2 N coding sequences, and the whole image is divided into 2 N strips, and the width of each strip is the period T of the phase shift grating; for the nth strip, n=1,2 , ... 2 N , also known as the number of cycles, according to this coded light construction method corresponds to a unique code sequence, its decimal code number is nc, and the mapping relationship between the cycle number n and the code number nc can be established to realize two the mutual conversion of those; (2)利用两台CCD摄像机采集投射的光栅图像,并保存在程序中分配的数组中;(2) Utilize two CCD cameras to collect the projected raster image, and save it in the array allocated in the program; (3)对每一个相机拍摄的各幅图像分别进行处理,得到每个点的相位值,相位值由相主值加上周期数乘以2π,即2nπ,由于两个摄像机拍摄的每个点的相位值应该是相等的,用两个摄像机拍摄得到的每个点相位值作为匹配的依据;(3) Each image taken by each camera is processed separately to obtain the phase value of each point. The phase value is multiplied by the phase master value plus the cycle number by 2π, that is, 2nπ. Since each point captured by two cameras The phase values of should be equal, and the phase values of each point captured by the two cameras are used as the basis for matching; (4)对两个摄像机进行定标,得到摄像机的内参数及相对于世界坐标系的外参数:f(j),R(j),T(j),j=1,2(4) Calibrate the two cameras to obtain the internal parameters of the cameras and the external parameters relative to the world coordinate system: f (j) , R (j) , T (j) , j=1, 2 f(j):镜头焦距长度,j为摄像机编号;f (j) : the focal length of the lens, j is the camera number; R(j):旋转矩阵, R = r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 ; R (j) : rotation matrix, R = r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 ; T(j):平移向量,T=[Tx Ty Tz]′;T (j) : translation vector, T=[Tx Ty Tz]'; 先计算R,Tx,Ty;First calculate R, Tx, Ty; (4.1)计算每个点的图像坐标(4.1) Calculate the image coordinates of each point u=u0+x/dxu=u 0 +x/dx v=v0+y/dyv=v 0 +y/dy 对空间一个点(Xw,Yw,Zw),经摄像机拍摄后,图像坐标(mm)为(x,y),象素坐标为(u,v),(u0,v0)为图像坐标系的原点在像素坐标系中的像素坐标,(dx,dy)为CCD相邻象素之间的x和y方向的距离,由CCD厂家提供;For a point (Xw, Yw, Zw) in space, after being captured by the camera, the image coordinates (mm) are (x, y), the pixel coordinates are (u, v), and (u 0 , v 0 ) is the image coordinate system The pixel coordinates of the origin in the pixel coordinate system, (dx, dy) is the distance in the x and y directions between adjacent pixels of the CCD, provided by the CCD manufacturer; (4.2)计算五个未知量Ty-1r1,Ty-1r2,Ty-1Tx,Ty-1r4,Ty-1r5 (4.2) Calculate five unknown quantities Ty -1 r 1 , Ty -1 r 2 , Ty -1 Tx, Ty -1 r 4 , Ty -1 r 5 对于每一个三维对象点(Xwk,Ywk,Zwk),因为点共面,故将Z坐标取作0,以及相应的图像坐标(xk,yk),由共线方程:For each 3D object point (Xw k , Yw k , Zw k ), since the points are coplanar, the Z coordinate is taken as 0, and the corresponding image coordinates (x k , y k ), are defined by the collinear equation: xx kk == ff rr 11 Xx ww kk ++ rr 22 YY ww kk ++ TxTx rr 77 Xx ww kk ++ rr 88 YY ww kk ++ TzTz ythe y kk == ff rr 44 Xwwxya kk ++ rr 55 YY ww kk ++ TyTy rr 77 Xx ww kk ++ rr 88 YY ww kk ++ TzTz 将上面二式相除得到:利用最小二乘法求得上述5个未知量;Divide the above two equations to obtain: use the least square method to obtain the above five unknown quantities; (4.3)计算r1,...,r9,Tx,Ty (4.3) Calculate r 1 , ..., r 9 , Tx, T y (4.31)计算|Ty|(4.31) Calculate |Ty| 定义矩阵:Define the matrix: CC == rr 11 ′′ rr 22 ′′ rr 44 ′′ rr 55 ′′ == rr 11 // TyTy rr 22 // TyTy rr 44 // TyTy rr 55 // TyTy 则有:Then there are: TyTy 22 == SrSr -- [[ SrSr 22 -- 44 (( rr 11 ′′ rr 55 ′′ -- rr 44 ′′ rr 22 ′′ )) 22 ]] 11 // 22 22 (( rr 11 ′′ rr 55 ′′ -- rr 44 ′′ rr 22 ′′ )) 22 其中:in:            Sr=r12+r22+r52+r42Sr=r 12 +r 22 +r 52 +r 42 , 如果矩阵C的某行或某列元素为全为0,按下式计算:If a certain row or column of matrix C is all 0, it is calculated as follows: Ty2=(ri2+rj2)-1,其中ri′,rj′,是矩阵C剩余的另两个元素;Ty 2 =(r i2 +r j2 ) -1 , where ri , r j ′ are the remaining two elements of matrix C; (4.32)决定Ty的符号(4.32) Determine the sign of Ty ①假设Ty为正号;①Assume that Ty is a positive sign; ②选择所拍摄图像中,离图像中心较远的一点;设其图像坐标为(xk,yk),在三维世界中的坐标为(Xwk,Ywk,Zwk);② Select a point in the captured image that is far from the center of the image; set its image coordinates as (x k , y k ), and its coordinates in the three-dimensional world as (Xw k , Yw k , Zw k ); ③由上面的结果计算下面各式的值:③Calculate the following values from the above results: r1=(Ty-1r1)*Ty,r2=(Ty-1r2)*Ty,r4=(Ty-1r4)*Tyr 1 =(Ty -1 r 1 )*Ty, r 2 =(Ty -1 r 2 )*Ty, r 4 =(Ty -1 r 4 )*Ty r5=(Ty-1r5)*Ty,Tx=(Ty-1Tx)*Ty,r 5 =(Ty −1 r 5 )*Ty, Tx=(Ty −1 Tx)*Ty, xk′=r1Xwk+r2Ywk+Txx k ′=r 1 Xw k +r 2 Yw k +Tx yk′=r4Xwk+r5Ywk+Tyy k ′=r 4 Xw k +r 5 Yw k +Ty 如果xk和xk′、yk和yk′都同号,那么sgn(Ty)=+1,否则sgn(Ty)=-1;If x k and x k ', y k and y k ' all have the same sign, then sgn(Ty)=+1, otherwise sgn(Ty)=-1; (4.33)计算旋转矩阵R(4.33) Calculate the rotation matrix R 根据Ty的值,重新计算r1,r2,r4,r5,Tx;According to the value of Ty, recalculate r 1 , r 2 , r 4 , r 5 , Tx; RR == rr 11 rr 22 (( 11 -- rr 11 22 -- rr 22 22 )) 11 // 22 rr 44 rr 55 sthe s (( 11 -- rr 44 22 -- rr 55 22 )) 11 // 22 rr 77 rr 88 rr 99 其中s=sgn(r1r4+r2r5)where s=sgn(r 1 r 4 +r 2 r 5 ) r7,r8,r9是由前两行的外积得到;r 7 , r 8 , r 9 are obtained from the outer product of the first two rows; 如果按照这样的R计算下面的焦距f为负值,则:If the following focal length f is calculated according to such R as a negative value, then: RR == rr 11 rr 22 -- (( 11 -- rr 11 22 -- rr 22 22 )) 11 // 22 rr 44 rr 55 -- sthe s (( 11 -- rr 44 22 -- rr 55 22 )) 11 // 22 -- rr 77 -- rr 88 rr 99 接着计算焦距长度f和Tz的值Then calculate the value of focal length f and T z 对每一个标定点,建立包含f和Tz作为未知参数的线性方程:For each calibration point, set up a linear equation including f and T z as unknown parameters: YY kk -- ythe y kk ff TzTz == ww kk ythe y kk 其中:in: Yk=r4xwk+r5ywk+r6*0+TyY k =r 4 x wk +r 5 y wk +r 6 *0+Ty wk=r7xwk+r8ywk+r9*0w k =r 7 x wk +r 8 y wk +r 9 *0 通过解方程,可求f和TzBy solving the equation, f and T z can be obtained; (5)根据相位和外极线几何对每点进行三维重构,得到物体表面点的三维坐标:(5) Perform three-dimensional reconstruction of each point according to the phase and epipolar geometry, and obtain the three-dimensional coordinates of the surface point of the object: (5.1)计算基础矩阵F(5.1) Calculate the fundamental matrix F                   F=A2 -TEA1 -1 F=A 2 -T EA 1 -1 其中in AA 22 == ff 22 // dxdx 22 00 uu 0202 00 ff 22 // dydy 22 vv 0202 00 00 11 ,, AA 11 == ff 11 // dxdx 11 00 uu 0101 00 ff 11 // dydy 11 vv 0101 00 00 11 其中f1,(u01,v01),dx1,dy1为第一个摄像机的内参数,Where f 1 , (u 01 , v 01 ), dx 1 , dy 1 are internal parameters of the first camera, f2,(u02,v02),dx2,dy2为第二个摄像机的内参数;f 2 , (u 02 , v 02 ), dx 2 , dy 2 are internal parameters of the second camera; E=[T]xR(2)R(1)-1,称为本质矩阵;E=[T] x R (2) R (1)-1 , called the essential matrix; T=T(2)-R(2)R(1)-1T(1) T=T (2) -R (2) R (1)-1T (1) 把T表示为[Tx,Ty,Tz],则反对称矩阵为[T]x Express T as [Tx, Ty, Tz], then the antisymmetric matrix is [T] x [[ TT ]] xx == 00 -- TzTz TyTy TzTz 00 -- TxTx -- TyTy TxTx 00 (5.2)计算右摄像机拍摄图像上一点P,其坐标为 找它在左摄像机拍摄图像上的极线方程参数;并在上述直线上寻找其匹配点Q点,方法是点P和点Q的相位值相等;(5.2) Calculate a point P on the image captured by the right camera, and its coordinates are Find its epipolar equation parameters on the image captured by the left camera; and find its matching point Q on the above straight line, the method is that the phase values of point P and point Q are equal; 已知 根据下述直线方程,找右摄像机拍摄图像上点P在左摄像机拍摄图像上的点Q,其坐标为 A known According to the following straight line equation, find the point Q of the point P on the image captured by the right camera on the image captured by the left camera, and its coordinates are mm ~~ 22 TT Ff mm ~~ 11 == 00 ,, 其中: 是P点的像素坐标(u2,v2,1)Tin: is the pixel coordinate (u 2 , v 2 , 1) T of point P:        是Q点像素坐标(u1,v1,1)T is the pixel coordinate of point Q (u 1 , v 1 , 1) T ; 根据点P和点Q相位相等的原则,在由上述直线方程决定的一条直线上寻找Q点;According to the principle that the phases of point P and point Q are equal, find point Q on a straight line determined by the above straight line equation; (5.3)找到Q点,则存储此匹配点,按照下述的三维空间点S(Xw,Yw,Zw)和两个摄像机拍摄图像的对应图像坐标的关系为:(5.3) Find the Q point, then store this matching point, according to the relationship between the following three-dimensional space point S (Xw, Yw, Zw) and the corresponding image coordinates of the images captured by the two cameras: xx (( jj )) == ff (( jj )) RR (( jj )) 1111 Xwwxya ++ RR (( jj )) 1212 Yww ++ RR (( jj )) 1313 ZwZw ++ TT (( jj )) xx RR (( jj )) 3131 Xwwxya ++ RR (( jj )) 3232 Yww ++ RR (( jj )) 3333 ZwZw ++ TT (( jj )) zz ,, ythe y (( jj )) == ff (( jj )) RR (( jj )) 21twenty one Xwwxya ++ RR (( jj )) 22twenty two Yww ++ RR (( jj )) 23twenty three ZwZw ++ TT (( jj )) ythe y RR (( jj )) 3131 Xwwxya ++ RR (( jj )) 3232 Yww ++ RR (( jj )) 3333 ZwZw ++ TT (( jj )) zz ,, j=1,2,为摄像机的编号。j=1, 2, which is the number of the camera. 2.根据权利要求1所述的测量表面三维轮廓的方法,其特征在于所述相移光栅的相移角φi=i*90,i=1,...4,即相移光栅图像有4幅,其相主值计算公式为: φ ( x , y ) = a tan ( I 2 - I 4 I 3 - I 1 ) , 2. The method for measuring the three-dimensional profile of a surface according to claim 1, characterized in that the phase shift angle φ i =i*90 of the phase shift grating, i=1, ... 4, that is, the phase shift grating image has 4 frames, the calculation formula of the phase master value is: φ ( x , the y ) = a the tan ( I 2 - I 4 I 3 - I 1 ) , 其中I1、I2、I3、I4,是点(u,v)在四幅相移光栅中的光强。Among them, I 1 , I 2 , I 3 , and I 4 are the light intensities of the point (u, v) in the four phase shift gratings. 3.根据权利要求1所述的测量物体三维表面轮廓的方法,其特征在于所述编码光栅共有7幅,每一点的二进制编码序列即可转化成该点在图像中的位置,即周期数。3. The method for measuring the three-dimensional surface profile of an object according to claim 1, wherein the coded grating has 7 pieces, and the binary code sequence of each point can be converted into the position of the point in the image, i.e. the number of cycles.
CNB031535046A 2003-08-15 2003-08-15 Method and system for measruing object two-dimensiond surface outline Expired - Fee Related CN1203292C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031535046A CN1203292C (en) 2003-08-15 2003-08-15 Method and system for measruing object two-dimensiond surface outline

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031535046A CN1203292C (en) 2003-08-15 2003-08-15 Method and system for measruing object two-dimensiond surface outline

Publications (2)

Publication Number Publication Date
CN1483999A CN1483999A (en) 2004-03-24
CN1203292C true CN1203292C (en) 2005-05-25

Family

ID=34156701

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031535046A Expired - Fee Related CN1203292C (en) 2003-08-15 2003-08-15 Method and system for measruing object two-dimensiond surface outline

Country Status (1)

Country Link
CN (1) CN1203292C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100443854C (en) * 2006-09-15 2008-12-17 东南大学 Phase Unwrapping Method Based on Gray Code in 3D Scanning System
CN102175206A (en) * 2011-02-21 2011-09-07 合肥工业大学 Method for measuring connectivity of valley based on three-dimensional surface topography instrument

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1312461C (en) * 2004-06-23 2007-04-25 香港理工大学 System and method for three-dimensional reconstruction of sheet-type flexible body surface
CN1312633C (en) * 2004-04-13 2007-04-25 清华大学 Automatic registration method for large-scale three-dimensional scene multi-view laser scanning data
CN1308652C (en) * 2004-12-09 2007-04-04 武汉大学 Method for three-dimensional measurement of sheet metal part using single non-measuring digital camera
CN100368767C (en) * 2006-03-29 2008-02-13 东南大学 2D Image Region Location Method Based on Raster Projection
CN100449571C (en) * 2006-09-15 2009-01-07 东南大学 Single Pixel Based Threshold Segmentation Method in 3D Scanning System
CN100458358C (en) * 2007-07-10 2009-02-04 浙江大学 Converse measuring method and device based on axial direction stereovision
CN101482398B (en) * 2009-03-06 2011-03-30 北京大学 A method and device for rapid three-dimensional shape measurement
DE202010018585U1 (en) * 2009-05-27 2017-11-28 Koh Young Technology Inc. Device for measuring a three-dimensional shape
CN102032878B (en) * 2009-09-24 2014-06-18 黑龙江省科学院自动化研究所 Accurate on-line measurement method based on binocular stereo vision measurement system
AU2010352828B2 (en) * 2010-05-07 2013-07-11 Shenzhen Taishan Online Technology Co., Ltd. Structured-light based measuring method and system.
CN101893766B (en) * 2010-06-23 2012-01-11 北京航空航天大学 Method and device for realizing phase shift by changing incident angle of light
CN101963494B (en) * 2010-08-20 2012-05-30 沈阳建筑大学 Stone slab surface profile size measurement device and measurement method thereof
CN102261896A (en) * 2011-04-19 2011-11-30 长春东瑞科技发展有限公司 Method and system for measuring three-dimensional shape of object based on phase measurement
CN102859319A (en) * 2011-04-19 2013-01-02 三洋电机株式会社 Information acquisition device and object detection device
CN103047944B (en) * 2013-01-22 2014-04-02 廖怀宝 Three-dimensional object measuring method and device
CN104183010A (en) * 2013-05-22 2014-12-03 上海迪谱工业检测技术有限公司 Multi-view three-dimensional online reconstruction method
US9877795B2 (en) * 2013-09-18 2018-01-30 Imirge Medical Inc Optical targeting and visualization of trajectories
CN103753585A (en) * 2014-01-10 2014-04-30 南通大学 Method for intelligently adjusting manipulator and grasping force on basis of visual image analysis
CN103994732B (en) * 2014-05-29 2016-08-17 南京理工大学 A kind of method for three-dimensional measurement based on fringe projection
JP5911934B2 (en) 2014-09-18 2016-04-27 ファナック株式会社 Contour measurement device and robot system
CN104296681B (en) * 2014-10-16 2016-12-07 浙江大学 Dimensional topography method for sensing based on laser dot-matrix mark
CN104390608A (en) * 2014-11-27 2015-03-04 上海江南长兴造船有限责任公司 Projection grating phase method based structured light three-dimensional shape construction method
CN104482921B (en) * 2014-12-23 2016-09-07 河北工业大学 A kind of measuring method of waterborne target
CN104713576B (en) * 2015-03-25 2017-11-07 中测高科(北京)测绘工程技术有限责任公司 Camera Self-Calibration method and its device based on many sheet photos
CN105222724B (en) * 2015-09-10 2018-09-18 北京天远三维科技股份有限公司 Multi-thread array laser 3 D scanning system and multi-thread array laser 3-D scanning method
JP6579639B2 (en) 2016-04-08 2019-09-25 先臨三維科技股▲ふん▼有限公司Shining 3D Tech Co., Ltd. Multi-measurement mode three-dimensional measurement system and measurement method
US10317199B2 (en) 2016-04-08 2019-06-11 Shining 3D Tech Co., Ltd. Three-dimensional measuring system and measuring method with multiple measuring modes
CN106840037A (en) * 2017-01-17 2017-06-13 黑龙江科技大学 A kind of three-dimensional appearance digitized measurement system and method for reverse-engineering
CN109544500A (en) * 2017-09-20 2019-03-29 诚锋兴业股份有限公司 The device for identifying and discrimination method of vamp assembly operation
CN109141302B (en) * 2018-07-25 2020-04-28 沈阳工学院 Impeller detection method based on least square method
CN109829948A (en) * 2018-12-13 2019-05-31 昂纳自动化技术(深圳)有限公司 Camera calibration plate, calibration method and camera
CN110966937B (en) * 2019-12-18 2021-03-09 哈尔滨工业大学 A three-dimensional configuration splicing method of large components based on laser vision sensing
CN111473756B (en) * 2020-04-03 2021-07-06 上海嘉奥信息科技发展有限公司 Surface curve measurement method, system and medium based on Unity3D model

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100443854C (en) * 2006-09-15 2008-12-17 东南大学 Phase Unwrapping Method Based on Gray Code in 3D Scanning System
CN102175206A (en) * 2011-02-21 2011-09-07 合肥工业大学 Method for measuring connectivity of valley based on three-dimensional surface topography instrument
CN102175206B (en) * 2011-02-21 2013-01-09 合肥工业大学 Method for measuring connectivity of valley based on three-dimensional surface topography instrument

Also Published As

Publication number Publication date
CN1483999A (en) 2004-03-24

Similar Documents

Publication Publication Date Title
CN1203292C (en) Method and system for measruing object two-dimensiond surface outline
CN1268894C (en) Measuring technology and computer numerical control technology
CN1181313C (en) Method and system for measuring relief of an object
CN1218159C (en) Optical metering installation
CN1334913A (en) Apparatus and method to measure three-dimensional data
CN1577051A (en) Image processing system, projector,and image processing method
CN1823523A (en) Projector apparatus, inclination angle obtaining method, and projection image correction method
CN101044507A (en) Image processing method, image processing device and image processing program
CN1831519A (en) Gloss measuring device and gloss measuring method
CN1231868C (en) Pattern evaluation method, pattern evaluation device computer reading record medium
CN1738441A (en) Keystone correction using the edges of a portion of the screen
CN1864176A (en) Estimation system, estimation method and estimation program for estimating state of object
CN1628324A (en) Method and system for detecting defects
CN101076085A (en) Method and apparatus for image capturing and electronic apparatus using the same
CN1261969A (en) Method for image processing
CN1947000A (en) Image inspection method and device
CN109648202B (en) Additive manufacturing forming precision control method for non-flat surface autonomous recognition robot
CN1090796C (en) Method for measuring actual space length by camera, optical system correction method and reference standard
CN1833156A (en) Tilt angle detection device and tilt angle detection method
WO2018168757A1 (en) Image processing device, system, image processing method, article manufacturing method, and program
CN1308670C (en) Measuring method and instrument comprising image sensor
CN101476882B (en) Three-dimensional detection method of structured light based on homography matrix
CN1926417A (en) Method and apparatus for producing an image containing depth information
CN1324301C (en) Method and device for determining a coordinate system for an object being measured
CN1959740A (en) Image processing method and device, program for processing image, and storage medium thereof

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050525

Termination date: 20170815