Notes on "Multiple View Geometry in Computer Vision" (2)

2 Projective Geometry and Transformations of 2D

This chapter mainly introduces the necessary geometric knowledge and symbols for this book.

2.1 Planar geometry

Plane geometry is briefly introduced, and the book will be taught in a mixed way of algebra and geometry.

2.2 The 2D projective plane

Row vectors and column vectors. By default, all vectors in this book are column vectors, such as xxx , thenx T x^TxT is the row vector. For a row vector(x, y) (x,y)(x,y ) , we havex = ( x , y ) T x=(x,y)^Tx=(x,y)T

2.2.1 Points and lines

Homogeneous coordinates of a line segment The line is given by the equation ax + by + c = 0 ax+by+c=0ax+by+c=0 , so we use(a, b, c) T (a,b,c)^T(a,b,c)T represents the line segment. But( a , b , c ) T (a,b,c)^T(a,b,c)T cannot uniquely represent a line segment because( a , b , c ) T (a,b,c)^T(a,b,c)T k ( a , b , c ) T k(a,b,c)^T k(a,b,c)T represents the same line segment (kkk is not 0). Thenk ( a , b , c ) T k(a,b,c)^Tk(a,b,c)T is actually the expression of a type of vector. All vectors in this class are secondary vectors. Then we put all the classes together to form a projection space. There is a special point in space(0, 0, 0) T (0,0,0)^T(0,0,0)T , which does not belong to any straight line.

The second coordinate of the point and the equation of the straight line are ax + by + c = 0 ax+by+c=0ax+by+c=0 , then it can be written as(x, y, 1) (a, b, c) T (x,y,1)(a,b,c)^T(x,y,1)(a,b,c)T , then this( x , y , 1 ) (x,y,1)(x,y,1 ) is the homogeneous coordinate of the point.

Conclusion 2.1 A point is on a straight line if and only if x T l = 0 x^T l = 0xTl=0

Degree of freedom The degree of freedom means that this geometry can be expressed by several freely changing variables. For example, the degree of freedom of a point is 2, because x, yx, y are specifiedx,y is enough, and the degree of freedom of the line is also 2. This is because although the line has three variables, the ratio between them isa: b: ca:b:ca:b:c . For example, in a non-homogeneous representation, these two parameters can be chosen as the gradient and y-intercept of the line.

Intersection of straight lines Two straight lines l = ( a , b , c ) , l ′ = ( a ′ , b ′ , c ′ ) l=(a,b,c), l'=(a',b',c ')l=(a,b,c ) l=(a,b,c ), their intersection point isl × l ′ l \times l'l×l

A straight line determined by two points Two points x, x ′ x,x'x,x , the straight line they determine isx × x ′ x \times x'x×x

2.2.2 Ideal points and the line at infinity

Intersection point of parallel lines If we consider the intersection point of two parallel lines ax + by + c = 0 , ax + by + c ′ = 0 ax+by+c=0, ax+by+c'=0ax+by+c=0ax+by+c=0 , doing the cross product, we will get( c ′ − c ) ( b , − a , 0 ) T (c'-c)(b,-a,0)^T(cc)(b,a,0)T , if we ignore the scale factor( c ′ − c ) (c'-c)(cc ) , then the intersection of the parallel lines is at( b , − a , 0 ) T (b,-a,0)^T(b,a,0)T , we then change this homogeneous coordinate into non-homogeneous, then we get( b / 0 , − a / 0 ) T (b/0,-a/0)^T(b/0,a/0)T , this point is at infinity, so we say that parallel lines intersect at infinity.

Ideal point and straight line at infinity We consider any point (x 1, x 2, x 3) T (x_1,x_2,x_3)^T(x1,x2,x3)T , setx 3 = 0 x_3=0x3=0 , 那么( x 1 , x 2 , 0 ) T (x_1,x_2,0)^T(x1,x2,0)T is all points at infinity. These points all fall on a straight line, that is,l ∞ = ( 0 , 0 , 1 ) T l_{\infty}=(0,0,1)^Tl=(0,0,1)T

We then consider any straight line l = ( a , b , c ) T l=(a,b,c)^Tl=(a,b,c)T l l ll ∞ l_{\infty}lThe intersection point is ( b , − a , 0 ) T (b,-a,0)^T(b,a,0)T. _ Then one andlll parallel straight linel ′ l'l will sum withl ∞ l_{\infty}lAlso intersects with ( b , − a , 0 ) T (b,-a,0)^T(b,a,0)T ( b , − a ) (b,-a) (b,a ) and the normal vector of the straight line( a , b ) (a,b)(a,b ) is vertical, so it is the direction of the line. Note that( a , b ) (a,b)(a,b ) is not the direction of a straight line,( a , b ) (a,b)(a,b ) is perpendicular to the straight line. ( b , − a , 0 ) (b,-a,0)(b,a,0 ) This point is on the straight line at infinity, then the straight line at infinity can be regarded as a set of straight line directions.

Geometric model of a two-dimensional projection plane A projection plane can be imagined as a collection of rays in three-dimensional space. You can pick three points from three rays and make them coplanar, then all other rays will have intersections with the plane. So the plane is made up of points on the ray. A line on the projective plane is the intersection of the plane passing through the origin and the projective plane. Any two different rays lie on the same plane, and any two different planes are compared to a ray. It can be compared to two straight lines intersecting at one point, and the two points determine a straight line.
Insert image description here
As shown in the figure, the ideal point at infinity and the straight line are parallel to the plane x 3 = 1 x_3=1x3=1

Duality between Line Segments and Points The roles of points and line segments can actually be interchanged. For example, l T x = 0 l^T x=0lTx=0 can be written asx T l = 0 x^T l = 0xTl=0

2.2.3 Conics and dual conics

A cone describes a quadratic equation in a plane. There are three main types of Euclidean geometry: parabola, hyperbola, and ellipse. In two-dimensional photographic geometry, these three are equivalent.

We first write the cone as and then the expression x = ( x 1 , x 2 , x 3 ) x=(x_1,x_2,x_3)x=(x1,x2,x3)

[ a b / 2 d / 2 b / 2 c e / 2 d / 2 e / 2 f ] \left[ \begin{matrix} a & b/2 & d/2 \\ b/2& c & e/2 \\ d/2 & e/2 & f \end{matrix} \right] ab/2d/2b/2ce/2d/2e/2f

The cone can be written as x TC x = 0 x^TCx=0xT Cx=0 A cone has 5 degrees of freedom.

Five points determine a cone. Let’s write the cone in another way, using x = x 1 / x 3 , y = x 2 / x 3 x=x_1/x_3,y=x_2/x_3x=x1/x3,y=x2/x3,可以得到:
( x i 2 , x i y i , y i 2 , x i , y i , 1 ) c = 0 c = ( a , b , c , e , d , f ) (x_i^2, x_i y_i,y_i^2,x_i,y_i,1)c=0\\ c=(a,b,c,e,d,f) (xi2,xiyi,yi2,xi,yi,1)c=0c=(a,b,c,e,d,f)

Five equations are needed to solve ccc , becauseccThe degrees of freedom of c are 5.

Line tangent to ellipse and ellipse CCC is at pointxxtangent linell at xl isl = C xl=Cxl=Cx

Dual Conic In the previous articleccThe cone defined by c is a cone composed of points. We can define a cone c ∗ c^*consisting of straight linesc , this cone is composed of all andccc consists of tangent straight lines. c ∗ = c − 1 c^*=c^{-1}c=c1

2.3 Projective transformations

Definition 2.9 Projection transformation hhh is a transformation from two-dimensional projection space to two-dimensional projection space, which satisfies a property: ifx 1 , x 2 , x 3 x_1,x_2,x_3x1,x2,x3On a straight line before transformation, if and only if they are after transformation (h (x 1), h (x 2), h (x 3)) (h(x_1),h(x_2),h(x_3))(h(x1),h(x2),h(x3)) is still on a straight line.

According to this definition, projection transformation is also called collinearity, and projection transformation and homography have the same meaning.

The book also introduces another way to define it from an algebraic perspective. In layman's terms, it is any 3 × 3 3 \times 33×The non-singular matrixHH of 3H both defines a projection transformation.

Explained from a geometric perspective, projection transformation actually defines a plane-to-plane mapping, because we know that projection geometry is defined by a plane. Moreover, the projection transformation maintains collinearity. If the coordinate systems on these two planes are both Euclidean coordinate systems, then this projection transformation becomes a perspective transformation with 6 degrees of freedom.

2.3.1 Transformations of lines and conics

A point has the following transformation x ′ = H x x'=Hxx=H x , then the line transformation isl ′ = H − T l l'=H^{-T} ll=HT l, the conic transformation isx TC x = x ′ TH − TCH − 1 x ′ x^TCx = x'^TH^{-T}CH^{-1}x'xT Cx=xTHTCH1x , soC = H − TCH − 1 C=H^{-T}CH^{-1}C=HTCH1 , its dual circle transformation isC ∗ ′ = HC ∗ HTC^{*'}=HC^{*}H^TC=HCHT

2.4 A hierarchy of transformations

This section is a key chapter, which introduces the definitions and properties of various transformations in a layer-by-layer manner.

2.4.1 Isometries rigid body transformation

Determine:
( x ′ y ′ 1 ) = [ ϵ cos ⁡ θ − sin ⁡ tx ϵ sin ⁡ θ − cos ⁡ ty 0 0 1 ] ( xy 1 ) \left( \begin{matrix} x' \\ y ' \\ 1 \end{matrix} \right)= \left[ \begin{matrix} \epsilon \cos \theta & -\sin & t_x \\ \epsilon \sin \theta & -\cos & t_y \\ 0 & 0 & 1 \end {matrix} \right] \left( \begin{matrix} x\\ y\\ 1 \end{matrix} \right) xy1 = ϵcosiϵsini0sincos0txty1 xy1
It can be abbreviated as:
x ′ = HE x = [ R t 0 T 1 ] x x'=H_{E}x= \left[ \begin{matrix} R & t \\ 0^T & 1 \\ \end{ matrix} \right] xx=HEx=[R0Tt1]x
R R R is a2 × 2 2 \times 22×An orthogonal matrix of 2 , the entire large matrix has three degrees of freedom: one for rotation and two for translation. The invariants are: the length of the line segments, the angle between the line segments, and the area of ​​the figure.

2.4.2 Similarity transformations Similarity transformations

Determine:
( x ′ y ′ 1 ) = [ s cos ⁡ θ − s sin ⁡ txs sin ⁡ θ s cos ⁡ ty 0 0 1 ] ( xy 1 ) \left( \begin{matrix} x' \\ y ' \\ 1 \end{matrix} \right)= \left[ \begin{matrix} s \cos \theta & -s \sin & t_x \\ s \sin \theta & s \cos & t_y \\ 0 & 0 & 1 \end{matrix}\right]\left(\begin{matrix}x\\y\\1\end{matrix}\right) xy1 = scosissini0ssinscos0txty1 xy1
It can be abbreviated as:
x ′ = HS x = [ s R t 0 T 1 ] x x'=H_{S}x= \left[ \begin{matrix} sR & t \\ 0^T & 1 \\ \end {matrix} \right] xx=HSx=[sR0Tt1]The entire x
matrix has 4 degrees of freedom: one for scaling factor, one for rotation, and two for translation. The invariants are: the angle between the line segments, whether the lines are parallel or parallel, and the ratio between the line segments does not change. Because the entire graphic is scaled, the area ratio between different areas does not change.

2.4.3 Affine transformationsAffine transformations

其形式如下:
( x ′ y ′ 1 ) = [ a 11 a 12 t x a 21 a 22 t y 0 0 1 ] ( x y 1 ) \left( \begin{matrix} x' \\ y' \\ 1 \end{matrix} \right)= \left[ \begin{matrix} a_{11} & a_{12} & t_x \\ a_{21} & a_{22} & t_y \\ 0 & 0 & 1 \end{matrix} \right] \left( \begin{matrix} x\\ y\\ 1 \end{matrix} \right) xy1 = a11a210a12a220txty1 xy1
可以简写成:
x ′ = H A x = [ A t 0 T 1 ] x x'=H_{A}x= \left[ \begin{matrix} A & t \\ 0^T & 1 \\ \end{matrix} \right] x x=HAx=[A0Tt1]The entire matrix x
has 6 degrees of freedom, and the upper left cornerAAFour for A , two for translation.

A A A can be decomposed into the following form:
A = R ( θ ) R ( − ϕ ) DR ( ϕ ) A=R(\theta) R(-\phi) DR(\phi)A=R ( θ ) R ( ϕ ) D R ( ϕ )
[ λ 1 0 0 λ 2 ] \left[\begin{matrix}\lambda_1&0\\0&\lambda_2\end{matrix}\right][l100l2]

So AAA can be interpreted as first rotating by an angleϕ \phiϕ , and then fromx , yx,yx,Scaling is performed in both directions of y , and the scaling factors areλ 1 , λ 2 \lambda_1, \lambda_2l1,l2, then press − ϕ -\phiφ rotates back and then rotatesθ \thetai .

Due to the compression, the angle between the line segments changes, and the invariant can only maintain the parallelism between the straight lines, the ratio between the straight lines, and the ratio of the area.

2.4.4 Projective transformationsProjective transformations

Projective transformation is a general non-singular linear transformation of homogeneous coordinates. It actually generalizes affine transformation. We have seen the role of projective transformation before.
Its form is as follows:
x ′ = HP x = [ A tv T v ] x x'=H_{P}x= \left[ \begin{matrix} A & t \\ v^T & v \\ \end{matrix } \right] xx=HPx=[AvTtv]xThe
entire large matrix has 8 degrees of freedom. Its invariant: a straight line is still a straight line after transformation.

2.4.5 Summary and comparison

2.4.6 Decomposition of a projective transformation

The entire projection transformation matrix can be decomposed into three small matrices:
H = HSHAHP = [ s R t 0 T 1 ] [ K 0 0 T 1 ] [ I 0 v T v ] = [ A tv T v ] H = H_S H_A H_P \\ = \left[ \begin{matrix} sR & t \\ 0^T & 1 \\ \end{matrix} \right] \left[ \begin{matrix} K & 0 \\ 0^T & 1 \\ \end{matrix} \right] \left[ \begin{matrix} I & 0 \\ v^T & v \\ \end{matrix} \right]= \left[ \begin{matrix} A & t \\ v^T & v \\ \end{matrix} \right]H=HSHAHP=[sR0Tt1][K0T01][IvT0v]=[AvTtv]
H P H_P HPMoving a straight line to infinity, HA H_AHAis an affine transformation, HS H_SHSis a generalized similarity transformation.

2.4.7 The number of invariants

Earlier we discussed how many invariants a geometry has under certain transformations. So how to calculate this invariant? We have the following conclusions:

Conclusion 2.16 The invariant of a geometry is greater than or equal to the degrees of freedom of the geometry minus the degrees of freedom of the transformation.

For example, 4 points in space have 8 degrees of freedom, because each point has 2. Then the invariant of the geometry is: the degrees of freedom of the geometry, 8, minus the degrees of freedom of the transformation. If we assume that the transformation is a similarity transformation, then the answer is 8-4=4 (similarity transformations have 4 degrees of freedom). Assuming that the transformation is an affine transformation, the answer is 8-6=2 (affine transformation is 6 degrees of freedom).
Insert image description here

2.5 The projective geometry of 1D

One-dimensional space projection geometry is point x ˉ = ( x 1 , x 2 ) T \bar{x}=(x_1,x_2)^Txˉ=(x1,x2)T , wherex 2 = 0 x_2=0x2=0 , the one-dimensional homography matrix is:
x ˉ ′ = H 2 × xx ˉ \bar{x}'=H_{2 \times x} \bar{x}xˉ=H2×xxˉ
H 2 × 2 H_{2 \times 2} H2×2There are 3 degrees of freedom.

The cross ratio
Given 4 points on a one-dimensional plane, we define a cross ratio:
C ross ( x 1 ˉ , x 2 ˉ , x 3 ˉ , x 4 ˉ ) = ∣ x 1 ˉ x 2 ˉ ∣ ∣ x 3 ˉ x 4 ˉ ∣ ∣ x 1 ˉ x 3 ˉ ∣ ∣ x 2 ˉ x 4 ˉ ∣ Cross(\bar{x_1}, \bar{x_2},\bar{x_3},\bar{x_4})= \ frac{|\bar{x_1} \bar{x_2}| |\bar{x_3} \bar{x_4}|} {|\bar{x_1} \bar{x_3}| |\bar{x_2} \bar{x_4 }|}Cross(x1ˉ,x2ˉ,x3ˉ,x4ˉ)=x1ˉx3ˉ∣∣x2ˉx4ˉx1ˉx2ˉ∣∣x3ˉx4ˉ

其中
∣ x i ˉ x j ˉ ∣ = det ⁡ [ x i 1 x j 1 x i 2 x j 2 ] |\bar{x_i} \bar{x_j}|= \det \left[ \begin{matrix} x_{i1} & x_{j1} \\ x_{i2} & x_{j2} \end{matrix} \right] xiˉxjˉ=the[xi 1xi2xj 1xj 2]

The crossover ratio has several properties:

  1. The cross ratio has nothing to do with what coordinate system is used, because the ratio between the numerator and the denominator cancels each other out.
  2. If every point is a point at a finite distance and x 2 = 1 x_2=1x2=1 , then∣x ˉ ix ˉ j ∣ |\bar{x}_{i}\bar{x}_{j}|xˉixˉj represents the starting point fromx ˉ i \bar{x}_{i}xˉito x ˉ j \bar{x}_{j}xˉjthe signed distance of
  3. If one point is an ideal point, the crossover ratio still holds
  4. The crossover ratio is invariant under any projection transformation

Concurrent lines
are lines with a common starting point, and then find one more line to intersect all the common lines, so that the intersection ratio can be defined.
Insert image description here

2.7 Recovery of affine and metric properties from images

This section is mainly to remove the loss of properties caused by projection transformation and restore the image from projection transformation to similarity transformation, so properties such as parallel lines, line segments, and area ratios are retained.

Because we know that the projection transformation only has 4 more degrees of freedom than the similarity transformation, then we only need to restore 4 degrees of freedom. Where do these 4 degrees of freedom come from? The line at infinity provides 2, and two absolute points at infinity, since they are invariant under similarity transformations. It can also be called a cone point, because any cone intersects the line at infinity at these two points.

2.7.1 The line at infinity

Under projection transformation, lines at infinity are projected to non-infinity.
A line at infinity is unchanged under affine transformation, which means that after affine transformation, it is still at infinity. But the positions of the points on the line have changed, except that the points are all at infinity.

2.7.2 Recovery of affine properties from images

We know that to restore the affine properties we need to find the line at infinity. So we first make it clear that the camera is a projection transformation, then the line will be mapped to a certain place in the image coordinate system. We first find this place and then use the properties of 2.7.1 to establish an equation.

Assume that the line at infinity is mapped to l = ( l 1 , l 2 , l 3 ) T l=(l_1,l_2,l_3)^Tl=(l1,l2,l3)T , we know that the coordinates of the line at infinity are(0, 0, 1) T (0,0,1)^T(0,0,1)T and the line is invariant under affine transformation, then we construct a matrix:
H = HA [ 1 0 0 0 1 0 l 1 l 2 l 3 ] H=H_A \left[ \begin{matrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ l_1 & l_2 & l_3 \end{matrix} \right]H=HA 10l101l200l3

H A H_A HAis any affine transformation, HHH can putlll transforms to( 0 , 0 , 1 ) (0,0,1)(0,0,1 ) , then we takeHHH is multiplied by the entire image, so that the entire image regains its affine properties.

Then the next question is how to find lll , we find two parallel lines from the image and extend them. They must intersect, so it is a point. Again, so there are two points. These two points determinelll . There is another method in the book, Example 2.20 on P51.

2.7.3 The circular points and their dual

We've already covered what an elliptical point is, so now let's take a look at what it looks like.
We use I, JI,JI,J来表示, I = ( 1 , i , 0 ) T , J = ( 1 , − i , 0 ) T I=(1,i,0)^T,J=(1,-i,0)^T I=(1,i,0)T,J=(1,i,0)T ,find one of the
following equations
? I ′ = H s I = [ s cos ⁡ θ − s sin ⁡ θ txs sin ⁡ θ s cos ⁡ θ txs 0 0 1 ] ( . 1 i 0 ) = se − i θ ( 1 i 0 ) = I I' = H_s I \\= \left[ \begin{matrix} s \cos \theta & -s \sin \theta & t_x \\ s \sin \theta & s \cos \theta & t_x \\ s 0 & 0 & 1 \\ end{matrix} \right] \left( \begin{matrix} 1 \\ i \\0 \end{matrix} \right) \\ = se^{-i \theta} \left( \begin {matrix} 1 \\ i \\ 0 \end{matrix} \right) \\ = II=HsI= scosissinis0ssiniscosi0txtx1 1i0 =with eiθ 1i0 =I

According to the above formula, we have the following conclusion:
Conclusion 2.21 Ellipse point I, JI,JI,J remains unchanged under projection transformation if and only if the projection transformation is a similarity transformation.

How were these two points found? is the conic equation with l ∞ l_{\infty}lintersection point.

* Dual cones defined by cone points
We can use I, JI,JI,J to define a cone
C ∞ ∗ = IJT + JITC^*_{\infty} = IJ^T+JI^TC=IJT+JITthisC∞
C^*_{\infty}CIt is a cone composed of straight lines, which is the degeneration of the cone of 2.2.3 knot lines. So who is it about? It is the dual of a cone point.

C ∞ ∗ C^*_{\infty}CIt is also invariant under similar transformations. So we can have the following conclusions:

Conclusion 2.22 Cone point C ∞ ∗ C^*_{\infty}Cis invariant under a projective transformation if and only if the projective transformation is a similarity transformation.

C ∞ ∗ C^*_{\infty}CThere are two more properties. 1. There are four degrees of freedom 2. l ∞ l_{\infty}lis C ∞ ∗ C^*_{\infty}CThe zero vector of

2.7.4 Angles on the projective plane

Suppose there are two straight lines l = ( l 1 , l 2 , l 3 ) T l=(l_1,l_2,l_3)^Tl=(l1,l2,l3)T, m = ( m 1 , m 2 , m 3 ) T m=(m_1,m_2,m_3)^T m=(m1,m2,m3)T , the angle between them is:
cos ⁡ θ = l 1 m 1 + l 2 m 2 ( l 1 2 + l 2 2 ) ( m 1 2 + m 2 2 ) \cos \theta = \frac{l_1 m_1 + l_2 m_2}{\sqrt{(l_1 ^2+l_2^2)(m_1^2+m_2^2)}}cosi=(l12+l22)(m12+m22) l1m1+l2m2

If for l , ml,ml,m applies projection transformation, the above formula is no longer applicable. In order to calculate the angle after projection transformation, we have the following formula:
cos ⁡ θ = l TC ∞ ∗ m ( l TC ∞ ∗ l ) ( m TC ∞ ∗ m ) \cos \theta = \frac{l^TC^*_{\infty} m}{\sqrt{(l^TC^*_{\infty} l)(m^TC^*_{\infty} m)}}cosi=(lTCl)(mTCm) lTCm

So we know C ∞ ∗ C^*_{\infty}CYou can calculate the angle between line segments or planes ( Conclusion 2.23 ).

There is also an obvious conclusion in the book: if l TC ∞ ∗ m = 0 l^TC^*_{\infty} m=0lTCm=0 , thenl, ml,ml,m vertical.

2.7.5 Restoring the metric properties of images

Metric properties refer to angles, ratios between line segments, etc. Mainly use C ∞ ∗ C^*_{\infty}C, this is because under the projection transformation, the following formula exists:
C ∞ ∗ ′ = ( HPHAHS ) C ∞ ∗ ( HPHAHS ) T = [ KKTKKT vv TKKT v TKKT v ] C^{*'}_{\infty} = (H_P H_A H_S) C^*_{\infty} (H_P H_A H_S)^T \\= \left[ \begin{matrix} KK^T & KK^Tv \\ v^TKK^T & v^TKK ^Tv \end{matrix} \right]C=(HPHAHS)C(HPHAHS)T=[KKTvT KKTKKTvvT KKTv]

K K K is the upper left component of the affine transformation,vvv is the component of the projective transformation. From the above formula, we can see that as long as we knowC ∞ ∗ C^*_{\infty}CYou can find C ∞ ∗ ′ C^{*'}_{\infty}C, and then do SVD decomposition, you can find K, v K, vK,v

For specific details, please refer to P56 Example2.26.

2.8 More properties of conics

This chapter is also the focus. It introduces the relationship between points, lines, and cones, which is the basis of epipolar geometry.

2.8.1 The pole–polar relationship

One point xxx and a coneCCC can determine a straight linel = C xl=Cxl=C x , thislll is called the polar line. Pay attention to thisxxx is not in the coneCCon C , but onCCoutside of C. Passedxxx can submit toCCC makes two lines (note that this lineis not a polar line, I call ita tangent line). Everytangent lineis tangent to the cone, as shown in the figure below. We can imaginexxx gradually moves toward the cone, so the angle between the two tangent lines gradually increases. Whenxxx is located on the cone, and the two tangent lines become one tangent line. Another concept is introduced below: Definition 2.29
Insert image description here
Correlation between points and linesCorrelation is a reversible mapping from points in two-dimensional projection space to lines in two-dimensional projection space. It is a3 × 3 3 \times 3
3×The non-singular matrix of 3 (non-singular so reversible), we denote it asAAA , then the entire correlation can be expressed asl = A xl=Axl=Ax

This AAA provides the relationship between points and lines, butAAA is not symmetrical. So ifAAA is symmetrical, what will happen? This leads to the concept of conjugate points:

Conjugate point point yyy in byxxOn the polar line determined by x , then yyy andxxx is the conjugate point, expressed asy T l = y TC x = 0 y^T l = y^T Cx=0yTl=yT Cx=0

So CCC describes the relationship between points and lines.

In addition, the conjugate point has a property: xxx if inyyOn the polar line of y ,yyy will also be inxxOn the extreme line of x .

2.8.2 Classification of conics

Cones can identify three categories: hyperbola, parabola, and ellipse. They are formed by the intersection of planes and cones respectively. Then if we consider it from the perspective of projective geometry and use a straight line at infinity to intersect an ellipse, if there is no real intersection point, then an ellipse is formed. If there is an intersection point, it is a parabola. If there are two intersection points, that is Hyperbola, as shown in the figure below:
Insert image description here
If we think about it from an algebraic point of view, CCDecompose C using SVD to getC = UTDUC=U^TDUC=UT DU, whereDDD is the eigenvalue of the matrix, letDDD is decomposed again by SVD, ensuringDDThe eigenvalue of D is -1 or 1 or 0, so according to DDDifferent D eigenvalues ​​result in different types of cones, as shown in the following table:
Insert image description here

2.9 Fixed points and lines

We know that l ∞ l_{\infty}land elliptical points are invariant under projection transformation. So, if a transformation is regarded as a matrix, and points and lines are regarded as vectors, then what kind of vectors remain unchanged under the action of the matrix? The vector corresponding to the eigenvalue. So those unchanged points and lines are the eigenvectors of the projection matrix.

The fixed points in different transformations are introduced below:

The eigenvalues ​​of Euclidean transformation (rigid body transformation) are { ei θ , e − i θ e^{i \theta}, e^{-i \theta} eiθ,ei θ }, the two fixed points are the circular points (ellipse points) mentioned above.

Similar changes and special expeditions {1, sei θ , se − i θ se^{i \theta},se^{-i \theta}with eiθ,with ei θ }, the two fixed points are the elliptical points mentioned above.

The two fixed points of affine transformation can be real points or complex points, but the fixed line l ∞ l_{\infty} passing through these pointslIt is true in any case.

Guess you like

Origin blog.csdn.net/YuhsiHu/article/details/132863185