CN103077523A - Method for shooting and taking evidence through handheld camera - Google Patents
Method for shooting and taking evidence through handheld camera Download PDFInfo
- Publication number
- CN103077523A CN103077523A CN2013100247673A CN201310024767A CN103077523A CN 103077523 A CN103077523 A CN 103077523A CN 2013100247673 A CN2013100247673 A CN 2013100247673A CN 201310024767 A CN201310024767 A CN 201310024767A CN 103077523 A CN103077523 A CN 103077523A
- Authority
- CN
- China
- Prior art keywords
- point
- camera
- line
- hidden
- lines
- 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.)
- Pending
Links
Images
Landscapes
- Image Analysis (AREA)
- Collating Specific Patterns (AREA)
Abstract
本发明涉及到图像取证技术。本发明旨在利用计算的得到的消隐线的倾斜角度进行相机拍摄方式的认证,本发明采取的技术方案是,手持相机拍摄取证方法,包括如下步骤,步骤一:提取原始图片的直线信息;步骤二:根据提取出的直线信息定位对应的消隐点;步骤三:相机旋转角度的计算;步骤四:根据旋转角度进行拍摄方式的认证。本发明主要应用于图像取证。
The invention relates to image forensics technology. The present invention aims to use the calculated oblique angle of the blanking line to authenticate the camera shooting mode. The technical solution adopted by the present invention is a method for obtaining evidence by hand-held camera shooting, which includes the following steps. Step 1: extracting the straight line information of the original picture; Step 2: Locate the corresponding blanking point according to the extracted straight line information; Step 3: Calculate the camera rotation angle; Step 4: Verify the shooting method according to the rotation angle. The invention is mainly applied to image forensics.
Description
技术领域 technical field
本发明涉及到图像取证技术,属于计算机图像内容安全领域,涉及一种相机旋转角度的计算方法。具体讲,涉及手持相机拍摄取证方法。 The invention relates to image forensics technology, belongs to the field of computer image content security, and relates to a method for calculating the rotation angle of a camera. Specifically, it relates to a method for taking evidence with a hand-held camera. the
背景技术 Background technique
随着移动手持设备和互联网的快速发展,数据特别是图像数据获取变得愈来愈容易,但是对图像信息处理要求也越来越高。图片作为记录文化最直观的表达,除图片中包含的直观信息需要受到重视外,隐藏的其它线索也应受到同样的重视,如图片拍摄方式的认证。针对以上问题,本发明所提出的一种通用的相机旋转角度的计算方法提供了一个可行的解决方案。 With the rapid development of mobile handheld devices and the Internet, data acquisition, especially image data, has become easier and easier, but the requirements for image information processing are also getting higher and higher. Pictures are the most intuitive expression of recording culture. In addition to the intuitive information contained in the pictures, other hidden clues should also be given equal attention, such as the authentication of the way the pictures were taken. Aiming at the above problems, a general calculation method of camera rotation angle proposed by the present invention provides a feasible solution. the
对于图片拍摄方式的检测,拍摄基本可以分为两类,固定相机拍摄或者手持相机拍摄。本发明中将固定相机拍摄限定为相机置于地面、三脚架或其他水平建筑物。如果固定相机拍摄,相机的旋转角度与地平线应该是一致的。而手持相机拍摄,势必产生相机的倾斜。通过本发明中计算得到的相机旋转角度可以判断图片是手持相机拍摄还是固定相机拍摄。 For the detection of the picture shooting method, the shooting can be basically divided into two categories, fixed camera shooting or hand-held camera shooting. In the present invention, shooting with a fixed camera is limited to the camera being placed on the ground, a tripod or other horizontal structures. If the camera is fixed to shoot, the camera's rotation angle should be consistent with the horizon. While shooting with a handheld camera, it is bound to produce a tilt of the camera. According to the camera rotation angle calculated in the present invention, it can be judged whether the picture is taken by a hand-held camera or by a fixed camera. the
假设相机属于正视投影,因此,相机旋转角度等于由图片计算出来的消隐线(Vanishing Line,VL)的倾斜角度,该消隐线可以由消隐点得到。 It is assumed that the camera belongs to orthographic projection, therefore, the camera rotation angle is equal to the inclination angle of the Vanishing Line (VL) calculated from the picture, and the Vanishing Line can be obtained from the Vanishing Point. the
消隐点(Vanishing Point,VP)是2D图像上一组直线的汇聚点,这些直线在3D空间中是一系列平行线。消隐点可以用来指示道路前进的方向,街道的两边再延伸会汇聚到一个点,该消隐点常被用来评估道路上的即将出现的曲线,以此来判断最佳的行进速度和线路,如果该消隐点越来越近,那么表明该曲线正逐渐收紧,如果越来越远,表明该曲线正逐渐拉直。同时因为消隐点隐含着图像对应的空间直线和方向等信息,所以消隐点还可以应用在场景三维结构的恢复。 Vanishing Point (VP) is the convergence point of a set of straight lines on a 2D image, which are a series of parallel lines in 3D space. The blanking point can be used to indicate the direction of the road, and the extension of the two sides of the street will converge to a point. This blanking point is often used to evaluate the upcoming curve on the road to determine the best travel speed and Line, if the blanking point is getting closer, it indicates that the curve is gradually tightening, and if it is getting farther and farther, it indicates that the curve is gradually straightening. At the same time, because the blanking point implies information such as the spatial line and direction corresponding to the image, the blanking point can also be applied to the restoration of the three-dimensional structure of the scene. the
对于数字图像,目前常用的消隐点的检测算法有:第一类利用统计的方法,根据图像边缘特征估算直线参数,然后利用得到的参数去计算消隐点【1】,这种统计方法在理论上虽然占有优势,但是该算法的时间复杂度较高,效率适应不了实际应用的需要。第二类是主要通过将图像的一些信息变换到一个有限的空间上,利用空间变换,将无限远处的和有限远处的消隐点变换为等价,但经过这种处理后,丢失了线段长度和消隐点的距离等信息。 For digital images, the currently commonly used detection algorithms for blanking points are: the first type uses statistical methods to estimate line parameters according to image edge features, and then uses the obtained parameters to calculate blanking points [1]. Although it has an advantage in theory, the time complexity of the algorithm is high, and the efficiency cannot meet the needs of practical applications. The second type is mainly by transforming some information of the image to a limited space, and using space transformation to transform the hidden points at infinity and finite distances into equivalent ones, but after this processing, the lost Information such as the length of the line segment and the distance of the blanking point. the
发明内容 Contents of the invention
本发明旨在利用计算的得到的消隐线的倾斜角度进行相机拍摄方式的认证,本发明采取的技术方案是,手持相机拍摄取证方法,包括如下步骤: The purpose of the present invention is to use the calculated oblique angle of the hidden line to carry out the authentication of the camera shooting method. The technical solution adopted by the present invention is a method for obtaining evidence by hand-held camera shooting, including the following steps:
步骤一:提取原始图片的直线信息 Step 1: Extract the straight line information of the original image
在世界坐标系下,人造建筑物中,存在着很多相互平行或者相交的直线,桥梁公路等人造物体中也都存在这样的直线,这些平行的直线经过具有透视变换功能的相机拍摄之后,在所得到的投影平面上会相交于一点,该点即为消隐点。利用图片中计算得到的消隐线即地平线的倾斜角度即可表示相机旋转角度。而消隐线通过消隐点求得,世界坐标系下相互正交的 几条平行线,经过透视变换后,分别交于A、B两点,由这两消隐点确定的直线AB即为消隐线; In the world coordinate system, there are many parallel or intersecting straight lines in man-made buildings, and such straight lines also exist in man-made objects such as bridges and roads. The obtained projection planes will intersect at a point, which is the blanking point. The camera rotation angle can be expressed by using the hidden line calculated in the picture, that is, the tilt angle of the horizon. The hidden line is obtained through the hidden point. Several parallel lines that are orthogonal to each other in the world coordinate system intersect at two points A and B respectively after perspective transformation. The straight line AB determined by these two hidden points is blanking line;
步骤二:根据提取出的直线信息定位对应的消隐点 Step 2: Locate the corresponding blanking point according to the extracted straight line information
在透视几何空间中,3D空间中过点A且方向为D=(dT,0)T的一条直线上的点可以记为X(λ)=A+λD,其中T表示转置运算,d是该直线的方向向量,D为该向量的齐次坐标表示形式,λ为该直线方程的参数。当参数λ由0变到∞,点X(λ)由有限点A变到无穷远点D,在简单投影摄像机P=K[I|0]作用下,其中P为像机矩阵,K为其内参矩阵,I为单位矩阵,0表示零向量,点X(λ)被影像为 In perspective geometric space, the point on a straight line passing through point A in 3D space with direction D=(d T , 0) T can be written as X(λ)=A+λD, where T represents the transpose operation, d is the direction vector of the line, D is the homogeneous coordinate representation of the vector, and λ is the parameter of the line equation. When the parameter λ changes from 0 to ∞, point X(λ) changes from finite point A to infinite point D, under the action of simple projection camera P=K[I|0], where P is the camera matrix, K is The internal reference matrix, I is the identity matrix, 0 means the zero vector, and the point X(λ) is imaged as
x(λ)=PX(λ),(1) x(λ)=PX(λ), (1)
将(1)展开后: After expanding (1):
x(λ)=PA+λPD=a+λKd,(2) x(λ)=PA+λPD=a+λKd, (2)
其中a是A的像,从而该直线的消隐点v通过取极限得到: Where a is the image of A, so the blanking point v of the line is obtained by taking the limit:
由这方程(3),可知:3D空间中平行的直线,即直线的方向向量D=(dT,0)T是相同的,在透视变换后投射到图像上所得到的消隐点理论上是相同的,所以在所有相互平行的直线中挑选两条即可,这样计算消隐线只需要两组这样的两条平行线,共需要4条直线,并且要求这两组直线是相关的,本发明首选是相互正交的直线组,故最后只需要在透视变换后的图片上确定出8个点,得到4条直线,从而计算出两个消隐点A和B,由此得到的消隐点即可计算消隐线的倾斜角度; From this equation (3), it can be seen that parallel straight lines in 3D space, that is, the direction vector D=(d T , 0) T of the straight line are the same, and the vanishing point obtained by projecting onto the image after perspective transformation is theoretically are the same, so it is sufficient to select two straight lines that are parallel to each other. In this way, only two sets of such two parallel lines are needed to calculate the hidden line, and a total of 4 straight lines are required, and these two sets of straight lines are required to be related. The first choice of the present invention is the group of straight lines orthogonal to each other, so finally only 8 points need to be determined on the picture after perspective transformation to obtain 4 straight lines, thereby calculating two blanking points A and B, and the blanking points thus obtained The hidden point can calculate the slope angle of the hidden line;
如果所选取的图片没有互相平行的直线,或者只有互相平行的直线但是这些直线里没有相交的,则不再适用; If the selected pictures do not have parallel lines, or only have parallel lines but none of these lines intersect, it is no longer applicable;
步骤三:相机旋转角度的计算 Step 3: Calculation of camera rotation angle
由步骤二确定的直线,选取8个点,如Figure1所示,{a1,b1;c1,d1}和{a2,b2;c2,d2}为两组平行线,且各组之间相关。消隐点A和B可由下列公式求得: From the straight line determined in step 2, select 8 points, as shown in Figure 1, {a 1 , b 1 ; c 1 , d 1 } and {a 2 , b 2 ; c 2 , d 2 } are two sets of parallel lines, and are correlated between groups. The blanking points A and B can be obtained by the following formula:
A=(a1×b1)×(c1×d1) (4) A=(a 1 ×b 1 )×(c 1 ×d 1 ) (4)
B=(a2×b2)×(c2×d2) (5) B=(a 2 ×b 2 )×(c 2 ×d 2 ) (5)
消隐点A和B确定出的消隐线与真实地平线的夹角即为计算得到的相机旋转角度; The angle between the hidden line determined by the hidden points A and B and the real horizon is the calculated camera rotation angle;
步骤四:根据旋转角度进行拍摄方式的认证 Step 4: Verify the shooting method according to the rotation angle
手持拍摄会出现相机的倾斜,故如果得到的相机旋转角度θ满足τ≤θ≤90°,其中τ为阈值,这里我们将之设置为1.5°约束,则判断为他人手持拍摄,否则即为固定拍摄。 Hand-held shooting will cause the camera to tilt, so if the obtained camera rotation angle θ satisfies τ≤θ≤90°, where τ is the threshold, here we set it as a constraint of 1.5°, it will be judged as someone else’s hand-held shooting, otherwise it is fixed shoot. the
步骤一中,主要用的是两组平行线,且这两组平行线是相关不平行的,首选正交。 In step 1, two sets of parallel lines are mainly used, and these two sets of parallel lines are related and non-parallel, and orthogonality is preferred. the
本发明的技术特点及效果: Technical characteristics and effects of the present invention:
利用相机旋转角度判断历史图片的拍摄方式尚未见报道。 There has not been any report on judging the shooting method of historical pictures by using the angle of rotation of the camera. the
本发明通过利用消隐点估算旋转角度,相比通过相机标定来确定,要更加简单,通用。并且算法的复杂度低也是本发明的一大优点。 The present invention estimates the rotation angle by using the blanking point, which is simpler and universal than that determined by camera calibration. And the low complexity of the algorithm is also a major advantage of the present invention. the
本发明提供的方法简单,通用。并且随着文化建设越来越受到人们的关注,而图片又是记录文化的最直观的表达,图片的重要性不言而喻。除图片中包含的直观信息需要受到重视外,其他隐藏的信息也应受到同样的重视,如本发明所做的拍摄方式的信息认证。由此可见,本发明所解决的问题,其应用前景非常广泛。 The method provided by the invention is simple and universal. And as cultural construction is getting more and more attention, and pictures are the most intuitive expression of recording culture, the importance of pictures is self-evident. In addition to the intuitive information contained in the picture, other hidden information should also be given equal attention, such as the information authentication of the shooting method in the present invention. It can be seen that the problem solved by the present invention has a very wide application prospect. the
附图说明 Description of drawings
图1为消隐线示意图,图中,世界坐标系下相互正交的几条平行线,经过透视变换后,分别交于A、B两点,由这两消隐点确定的直线AB即为消隐线。 Figure 1 is a schematic diagram of hidden lines. In the figure, several parallel lines orthogonal to each other in the world coordinate system intersect at two points A and B respectively after perspective transformation. The straight line AB determined by these two hidden points is blanking line. the
图2为固定拍摄图片。 Figure 2 is a fixed shot picture. the
图3为手持相机拍摄图片。 Figure 3 is a picture taken by a handheld camera. the
具体实施方式 Detailed ways
本发明为第三类消隐点的检测算法,利用图像中的直线信息,进行消隐点的计算【2】【3】,该方法具有简单通用,算法复杂度低等优点。 The present invention is a detection algorithm of the third type of blanking point, which uses the straight line information in the image to calculate the blanking point [2] [3]. The method has the advantages of being simple and general, and the algorithm complexity is low. the
手持相机拍摄取证技术共有四个步骤。下面是对这四个步骤的详细描述: There are four steps in the hand-held camera shooting forensic technology. The following is a detailed description of these four steps:
步骤一:提取原始图片的直线信息 Step 1: Extract the straight line information of the original image
在世界坐标系下,人造建筑物中,存在着很多相互平行或者相交的直线,桥梁公路等人造物体中也都存在这样的直线,这些平行的直线经过具有透视变换功能的相机拍摄之后,在所得到的投影平面上会相交于一点,该点即为消隐点。利用图片中计算得到的消隐线即地平线的倾斜角度即可表示相机旋转角度。而消隐线通过消隐点求得,所以直线的选取对计算旋转角度至关重要。如果一幅图片中的所有直线都是相互平行的,那么理论上这些直线最后都只会相交于一点,是无法计算出消隐线的。所以,在所要测试的图片中应有几组平行的直线,但各组之间不平行。世界坐标系下相互正交的几条平行线,经过透视变换后,分别交于A、B两点,由这两消隐点确定的直线AB即为消隐线。 In the world coordinate system, there are many parallel or intersecting straight lines in man-made buildings, and such straight lines also exist in man-made objects such as bridges and roads. The obtained projection planes will intersect at a point, which is the blanking point. The camera rotation angle can be expressed by using the hidden line calculated in the picture, that is, the tilt angle of the horizon. The hidden line is obtained through the hidden point, so the selection of the straight line is very important for calculating the rotation angle. If all the straight lines in a picture are parallel to each other, then in theory, these straight lines will only intersect at one point in the end, and it is impossible to calculate the hidden line. Therefore, there should be several groups of parallel straight lines in the picture to be tested, but the groups are not parallel. Several parallel lines orthogonal to each other in the world coordinate system intersect at two points A and B respectively after perspective transformation, and the straight line AB determined by these two hidden points is the hidden line. the
如图1所示。 As shown in Figure 1. the
本发明主要用的是两组平行线,且这两组平行线是相关不平行的,首选正交。 The present invention mainly uses two sets of parallel lines, and these two sets of parallel lines are related and non-parallel, and orthogonal is preferred. the
步骤二:根据提取出的直线信息定位对应的消隐点 Step 2: Locate the corresponding blanking point according to the extracted straight line information
由于成像的有限空间,消隐点一般位于图像外,甚至可能在无限远处(当这组平行线与图像平面相互平行时)。在透视几何空间中,3D空间中过点A且方向为D=(dT,0)T的一条直线上的点可以记为X(λ)=A+λD,其中T表示转置运算,d是该直线的方向向量,D为该向量的齐次坐标表示形式,λ为该直线方程的参数。当参数λ由0变到∞,点X(λ)由有限点A变到无穷远点D。在简单投影摄像机P=K[I|0]作用下,其中P为像机矩阵,K为其内参矩阵,I为单位矩阵,0表示零向量,点X(λ)被影像为 Due to the limited space of imaging, the vanishing point is generally located outside the image, and may even be at infinity (when the set of parallel lines and the image plane are parallel to each other). In perspective geometric space, the point on a straight line passing through point A in 3D space with direction D=(d T , 0) T can be written as X(λ)=A+λD, where T represents the transpose operation, d is the direction vector of the line, D is the homogeneous coordinate representation of the vector, and λ is the parameter of the line equation. When the parameter λ changes from 0 to ∞, point X(λ) changes from finite point A to infinite point D. Under the action of a simple projection camera P=K[I|0], where P is the camera matrix, K is the internal reference matrix, I is the identity matrix, 0 represents the zero vector, and the point X(λ) is imaged as
x(λ)=PX(λ),(1) x(λ)=PX(λ), (1)
将(1)展开后: After expanding (1):
x(λ)=PA+λPD=a+λKd,(2) x(λ)=PA+λPD=a+λKd, (2)
其中a是A的像,从而该直线的消隐点v通过取极限得到: Where a is the image of A, so the blanking point v of the line is obtained by taking the limit:
由这方程(3),可知:3D空间中平行的直线,即直线的方向向量D=(dT,0)T是相同的,在透视变换后投射到图像上所得到的消隐点理论上是相同的。所以在所有相互平行的直线中挑选两条即可,这样计算消隐线只需要两组这样的两条平行线,共需要4条直线,并且要求这两组直线是相关的,本发明首选是相互正交的直线组。故最后只需要在透视变换后的图片上确定出8个点,得到4条直线,从而计算出两个消隐点A和B,由此得到的消隐点即可计算消隐线的倾斜角度。 From this equation (3), it can be seen that parallel straight lines in 3D space, that is, the direction vector D=(d T , 0) T of the straight line are the same, and the vanishing point obtained by projecting onto the image after perspective transformation is theoretically Are the same. Therefore, it is sufficient to select two straight lines that are parallel to each other. In this way, only two sets of such two parallel lines are needed to calculate the hidden line, and a total of 4 straight lines are required, and these two sets of straight lines are required to be related. The first choice of the present invention is Groups of lines that are orthogonal to each other. Therefore, in the end, it is only necessary to determine 8 points on the picture after perspective transformation to obtain 4 straight lines, so as to calculate two hidden points A and B, and the oblique angle of the hidden line can be calculated from the obtained hidden points .
如果所选取的图片没有互相平行的直线,或者只有互相平行的直线但是这些直线里没有相交的,则本发明的方法就不再适用了。 If the selected picture does not have straight lines parallel to each other, or only has straight lines parallel to each other but these straight lines do not intersect, then the method of the present invention is no longer applicable. the
步骤三:相机旋转角度的计算 Step 3: Calculation of camera rotation angle
由步骤二确定的直线,选取8个点,如图一所示,{a1,b1;c1,d1}和{a2,b2;c2,d2}为两组平行线,且各组之间相关。消隐点A和B可由下列公式求得: From the straight line determined in step 2, select 8 points, as shown in Figure 1, {a 1 , b 1 ; c 1 , d 1 } and {a 2 , b 2 ; c 2 , d 2 } are two sets of parallel lines , and there is a correlation between each group. The blanking points A and B can be obtained by the following formula:
A=(a1×b1)×(c1×d1) (4) A=(a 1 ×b 1 )×(c 1 ×d 1 ) (4)
B=(a2×b2)×(c2×d2) (5) B=(a 2 ×b 2 )×(c 2 ×d 2 ) (5)
消隐点A和B确定出的消隐线与真实地平线的夹角即为计算得到的相机旋转角度。 The angle between the hidden line determined by the hidden points A and B and the real horizon is the calculated camera rotation angle. the
步骤四:根据旋转角度进行拍摄方式的认证 Step 4: Verify the shooting method according to the rotation angle
该步为本发明的创新点,利用得到的相机旋转角度判断图片的拍摄方式,为固定拍摄(置于地面、三脚架或其他水平建筑物)或是手持拍摄。 This step is an innovative point of the present invention, using the obtained camera rotation angle to determine the shooting mode of the picture, whether it is fixed shooting (placed on the ground, tripod or other horizontal buildings) or handheld shooting. the
手持拍摄会出现相机的倾斜,故如果得到的相机旋转角度θ满足τ≤θ≤90°(其中τ为阈值,这里我们将之设置为1.5°)约束,则判断为他人手持拍摄,否则即为固定拍摄(置于地面、三脚架或其他水平建筑物)。 Hand-held shooting will cause the camera to tilt, so if the obtained camera rotation angle θ satisfies the constraint of τ≤θ≤90° (where τ is the threshold value, here we set it to 1.5°), then it is judged to be a hand-held shooting by someone else, otherwise it is Shoot stationary (on the ground, on a tripod or other horizontal structure). the
有益效果 Beneficial effect
1.利用相机旋转角度判断历史图片的拍摄方式尚未见报道。 1. Judging the shooting method of historical pictures by using the camera rotation angle has not been reported yet. the
2.本发明通过利用消隐点估算旋转角度,相比通过相机标定来确定,要更加简单, 2. The present invention estimates the rotation angle by using the blanking point, which is simpler than that determined by camera calibration.
通用。并且算法的复杂度低也是本发明的一大优点。 generic. And the low complexity of the algorithm is also a major advantage of the present invention. the
本发明提供的方法简单,通用。并且随着文化建设越来越受到人们的关注,而图片又是记录文化的最直观的表达,图片的重要性不言而喻。除图片中包含的直观信息需要受到重视外,其他隐藏的信息也应受到同样的重视,如本发明所做的拍摄方式的信息认证。由此可见,本发明所解决的问题,其应用前景非常广泛。 The method provided by the invention is simple and universal. And as cultural construction is getting more and more attention, and pictures are the most intuitive expression of recording culture, the importance of pictures is self-evident. In addition to the intuitive information contained in the picture, other hidden information should also be given equal attention, such as the information authentication of the shooting method in the present invention. It can be seen that the problem solved by the present invention has a very wide application prospect. the
本发明是一种基于消隐点的手持相机拍摄取证技术,输入是一些带有直线信息的图片, The present invention is a hand-held camera shooting evidence collection technology based on blanking points, the input is some pictures with straight line information,
主要包括平行线和相交线,提取出图片的消隐点,找到对应的消隐线,而后进行相机 It mainly includes parallel lines and intersecting lines, extracts the hidden points of the picture, finds the corresponding hidden lines, and then performs camera
旋转角度的计算。本实验从所采集的图片中选取6幅固定拍摄的图片和6幅手持拍摄 Calculation of rotation angle. In this experiment, 6 fixed pictures and 6 hand-held pictures were selected from the collected pictures.
图片作为测试图片,验证拍摄方式。 The picture is used as a test picture to verify the shooting method. the
以下是实验结果: The following are the experimental results:
本发明对采集的图片分成2类,一类为固定拍摄(置于地面、三脚架或其他水平建筑物),另一类为他人手持拍摄。 The present invention divides the pictures collected into two categories, one is fixed shooting (placed on the ground, tripod or other horizontal buildings), and the other is handheld shooting by others. the
(1)固定拍摄 (1) Fixed shooting
注:图中黄色圆点确定一对水平线,黄色星点确定一对水平线黄色直线表示计算得到的消隐线(即地平线) Note: The yellow dots in the figure determine a pair of horizontal lines, and the yellow star points determine a pair of horizontal lines. The yellow straight line represents the calculated hidden line (ie the horizon)
相关测试信息统计表如下: The relevant test information statistics table is as follows:
2)手持拍摄图片: 2) Handheld pictures:
注:图3中黄色圆点确定一对水平线,黄色星点确定一对水平线,黄色直线表示计算得到的消隐线(即地平线)。 Note: In Figure 3, the yellow dots determine a pair of horizontal lines, the yellow star points determine a pair of horizontal lines, and the yellow straight line represents the calculated blanking line (that is, the horizon). the
相关测试信息统计表如下: The relevant test information statistics table is as follows:
图2中的六幅图片经过测定后,相机的旋转角度θ符合0≤θ≤τ(其中τ为阈值,这里我们将之设置为1.5°)约束,所以判断该六幅图为固定相机拍摄(置于地面、三脚架或其他水平建筑物)。而对于图3中的这六幅图片,经过计算,相机的旋转角度θ满足τ≤θ≤90°(其中τ为阈值,这里我们将之设置为1.5°)约束,所以认为这六幅图片的拍摄方式为手持相机拍摄。 After the measurement of the six pictures in Figure 2, the rotation angle θ of the camera conforms to the constraints of 0≤θ≤τ (where τ is the threshold, here we set it to 1.5°), so it is judged that the six pictures are taken by a fixed camera ( on the ground, on a tripod or other level structure). For the six pictures in Figure 3, after calculation, the rotation angle θ of the camera satisfies the constraint of τ≤θ≤90° (where τ is the threshold, here we set it to 1.5°), so it is considered that the six pictures The shooting method is hand-held camera shooting. the
结论:当得到一张图片,首先提取图片中符合条件的直线信息,即至少存在两对平行线且相交,并由这些直线信息计算消隐点,得到消隐点的坐标后,便可以计算消隐线的倾斜角度,该角度可以作为相机的旋转角度。因为本发明将固定相机拍摄限定为相机置于地面、三脚架或其他水平建筑物,所以计算出的角度理论值,是与地平线一致即为0°,如果是他人手持拍摄,便会产生倾斜即使角度很小。由于主客观条件的限制,会产生误差,设置阈值τ为1.5°,如果得到的相机旋转角度θ满足τ≤θ≤90°约束,即判断为他人手持拍摄,否则为固定相机拍摄(置于地面、三脚架或其他水平建筑物)。 Conclusion: When a picture is obtained, first extract the straight line information that meets the conditions in the picture, that is, there are at least two pairs of parallel lines that intersect, and calculate the blanking point from these straight line information. After obtaining the coordinates of the blanking point, you can calculate the blanking point. The tilt angle of the hidden line, which can be used as the rotation angle of the camera. Because the present invention limits shooting with a fixed camera to when the camera is placed on the ground, a tripod or other horizontal buildings, the theoretical value of the calculated angle is 0° if it is consistent with the horizon. very small. Due to the limitation of subjective and objective conditions, there will be errors. Set the threshold τ as 1.5°. If the obtained camera rotation angle θ satisfies the constraint of τ≤θ≤90°, it is judged to be taken by someone else, otherwise it is taken by a fixed camera (placed on the ground) , tripod or other horizontal structure). the
主要参考文献 main reference
【1】MeLean CF,Koyyuri D.《通过直线聚类进行消隐点检测》,模式分析和机器智能汇刊,1995,17(11),1090一1095 [1] MeLean CF, Koyyuri D. "Evanescent point detection by linear clustering", Transactions on Pattern Analysis and Machine Intelligence, 1995, 17(11), 1090-1095
【2】Schaffalitzky F,Zisserman A.《由平面分组自动检测消隐线和消隐点》,图像与视觉计算期刊,2000,18(9),647-658 [2] Schaffalitzky F, Zisserman A. "Automatic detection of hidden lines and hidden points by plane grouping", Journal of Image and Visual Computing, 2000, 18(9), 647-658
【3】Rother C.《一种在建筑环境下新的消隐点检测方法》,英国机器视觉会议(BMVC),布里斯托尔,英国,2000,382-391 。 [3] Rother C. "A New Method for Vanishing Point Detection in Architectural Environments", British Machine Vision Conference (BMVC), Bristol, UK, 2000, 382-391.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100247673A CN103077523A (en) | 2013-01-23 | 2013-01-23 | Method for shooting and taking evidence through handheld camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100247673A CN103077523A (en) | 2013-01-23 | 2013-01-23 | Method for shooting and taking evidence through handheld camera |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103077523A true CN103077523A (en) | 2013-05-01 |
Family
ID=48154042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100247673A Pending CN103077523A (en) | 2013-01-23 | 2013-01-23 | Method for shooting and taking evidence through handheld camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103077523A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107292269A (en) * | 2017-06-23 | 2017-10-24 | 中国科学院自动化研究所 | Facial image false distinguishing method, storage, processing equipment based on perspective distortion characteristic |
CN109583495A (en) * | 2018-11-28 | 2019-04-05 | 深圳爱莫科技有限公司 | Display image treating method and apparatus |
CN111222510A (en) * | 2020-03-13 | 2020-06-02 | 中冶长天国际工程有限责任公司 | Trolley grate bar image shooting method and system of sintering machine |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012145818A1 (en) * | 2011-04-25 | 2012-11-01 | Magna International Inc. | Method and system for dynamically calibrating vehicular cameras |
CN102819831A (en) * | 2012-08-16 | 2012-12-12 | 江南大学 | Camera source evidence obtaining method based on mode noise big component |
-
2013
- 2013-01-23 CN CN2013100247673A patent/CN103077523A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012145818A1 (en) * | 2011-04-25 | 2012-11-01 | Magna International Inc. | Method and system for dynamically calibrating vehicular cameras |
CN102819831A (en) * | 2012-08-16 | 2012-12-12 | 江南大学 | Camera source evidence obtaining method based on mode noise big component |
Non-Patent Citations (2)
Title |
---|
FREDERICK SCHAFFALITZKY等: "Planar Grouping for Automatic Detection of Vanishing Lines and Points", 《IMAGE AND VISION COMPUTING》, vol. 18, no. 9, 22 July 2000 (2000-07-22), pages 1 - 21 * |
梅雪等: "一种三维场景的消失点检测算法", 《信号处理》, vol. 23, no. 6, 31 December 2007 (2007-12-31), pages 924 - 926 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107292269A (en) * | 2017-06-23 | 2017-10-24 | 中国科学院自动化研究所 | Facial image false distinguishing method, storage, processing equipment based on perspective distortion characteristic |
CN107292269B (en) * | 2017-06-23 | 2020-02-28 | 中国科学院自动化研究所 | Face image forgery identification method, storage and processing device based on perspective distortion characteristics |
CN109583495A (en) * | 2018-11-28 | 2019-04-05 | 深圳爱莫科技有限公司 | Display image treating method and apparatus |
CN109583495B (en) * | 2018-11-28 | 2019-10-22 | 深圳爱莫科技有限公司 | Display image treating method and apparatus |
CN111222510A (en) * | 2020-03-13 | 2020-06-02 | 中冶长天国际工程有限责任公司 | Trolley grate bar image shooting method and system of sintering machine |
CN111222510B (en) * | 2020-03-13 | 2024-03-15 | 中冶长天国际工程有限责任公司 | Trolley grate image pickup method and system of sintering machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102982341B (en) | Self-intended crowd density estimation method for camera capable of straddling | |
CN104034269B (en) | A kind of monocular vision measuring method and device | |
CN110378931A (en) | A kind of pedestrian target motion track acquisition methods and system based on multi-cam | |
CN101976341B (en) | Method for detecting position, posture, and three-dimensional profile of vehicle from traffic images | |
CN109685855B (en) | A camera calibration optimization method under the road cloud monitoring platform | |
CN102074015A (en) | Two-dimensional image sequence based three-dimensional reconstruction method of target | |
CN101144708A (en) | Detection Method of Circular Marker Points in 3D Scanning System | |
CN103247045A (en) | Method of obtaining artificial scene main directions and image edges from multiple views | |
CN103942832B (en) | A kind of indoor scene real-time reconstruction method based on online structural analysis | |
CN102509342A (en) | Collaborative virtual and actual sheltering treatment method in shared enhanced real scene | |
CN104616247B (en) | A kind of method for map splicing of being taken photo by plane based on super-pixel SIFT | |
CN109215118B (en) | Incremental motion structure recovery optimization method based on image sequence | |
CN113393524B (en) | Target pose estimation method combining deep learning and contour point cloud reconstruction | |
Andaló et al. | Efficient height measurements in single images based on the detection of vanishing points | |
CN105005964A (en) | Video sequence image based method for rapidly generating panorama of geographic scene | |
Alemán-Flores et al. | Line detection in images showing significant lens distortion and application to distortion correction | |
CN103618891B (en) | Objective evaluation method of stereo camera microspur convergence shooting quality | |
CN102136143B (en) | Focal length calibration method for single optical centre reflection and refraction camera based on spatial collinear point | |
CN103247032A (en) | Weak extended target positioning method based on attitude compensation | |
CN103077523A (en) | Method for shooting and taking evidence through handheld camera | |
CN107025647A (en) | Image tampering evidence collection method and device | |
CN111465937B (en) | Face detection and recognition method employing light field camera system | |
Chen et al. | A new vanishing point detection algorithm based on Hough transform | |
CN105138979A (en) | Method for detecting the head of moving human body based on stereo visual sense | |
CN102831610A (en) | Rapid ellipse detection method based on inner product and distance distribution |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130501 |