Reference

무한점, 무한선 현실에서는 평행한 두 선은 영원히 만나지 않지만, 기하학적으로는 무한대에 있는 한 점에서 만난다고 정의할 수 있다. 이 개념은 2D 이미지 한 장으로 잃어버린 3D 정보를 복구할 수 있는 거의 유일한 단서이다.

homogeneous vector , slope of the line and y-intercept

Quote

In general, two lines and will intersect at a point . This point is defined as the cross product between and .

Proof

The intersection point should lie on both and . Therefore, Dot product (내적) 이 0이라는 것은 두 vector 가 orthogonal (직교) 한다는 것이다. 과 동시에 수직이어야 한다. 그러므로,

Example

는 Intersection point in homogeneous coordinate in inhomogeneous coordinate

What about Parallel lines?

Quote

Everybody knowledge expects these lines to never intersect. However, this definition could be rewritten to say that these lines intersect at infinity.

Points at infinity

동차좌표계 (homogeneous-coordinate) 에서는 무한에 위치하는 점을 표현하고 싶을 때, 마지막 차원을 0으로 한다. 예를 들어, 위의 계산에 따르면, . 그리고 이 점을 The point at infinity 혹은 ideal point라고 부른다.

Quote

One interesting property of a point at infinity is that all parallel lines with the same slope pass through the ideal point as shown below:

Example

two lines

Lines at infinity

The concept of points of infinity can be extended to define lines at infinity.

Quote

Consider two or more pairs of parallel lines. Each pair of parallel lines intersect at a point at infinity. The line that passes through all these points at infinity must satisfy . This means that . Since is an arbitrary value (just simplified version).

Projective transformation

Apply projective transformation to a point at infinity The last element of may become non-zero. A projective transformation generally maps points at infinity to points not infinity.

Let’s apply a projective transformation to a line to get a new line .

&x^Tl = 0 \quad x'^Tl' = 0 & \\ &x' = Hx \quad H^{-1}x' = x & \\ \\ &x^TIl = x^TH^TH^{-T}l = 0 & \\ &(H^{-1}x')^TIl = x'^TH^{-T}H^TH^{-T}l = x'^TH^{-T}l = 0 = x'^Tl' & \\ &l' = H^{-T}l & \end{flalign}$$ Similar to points at infinity, the projective transformation of a line at infinity does not map to another line at infinity. #### Affine transformation $$p' = Hp_\infty = \begin{bmatrix} A & t \\ 0 & 1 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix} = \begin{bmatrix} p_x' \\ p_y' \\ 0 \end{bmatrix}$$ [[transformations-in-2d#affine-transformations|Affine transformation]] maps points at infinity to points at infinity. (lines same)