久久久久久久999_99精品久久精品一区二区爱城_成人欧美一区二区三区在线播放_国产精品日本一区二区不卡视频_国产午夜视频_欧美精品在线观看免费

標題: 齊次坐標軸 [打印本頁]

作者: Halsey_j    時間: 2018-4-25 19:20
標題: 齊次坐標軸
Homogeneous CoordinatesProblem: Two parallel lines can intersect.

Railroad gets narrower and meets at horizon.

In Euclidean space (geometry), two parallel lines on the same plane cannot intersect, or cannot meet each other forever. It is a common sense that everyone is familiar with.

However, it is not true any more in projective space, for example, the train railroad on the side picture becomes narrower while it moves far away from eyes. Finally, the two parallel rails meet at the horizon, which is a point at infinity.

Euclidean space (or Cartesian space) describe our 2D/3D geometry so well, but they are not sufficient to handle the projective space (Actually, Euclidean geometry is a subset of projective geometry). The Cartesian coordinates of a 2D point can be expressed as (x, y).

What if this point goes far away to infinity? The point at infinity would be (∞,∞), and it becomes meaningless in Euclidean space. The parallel lines should meet at infinity in projective space, but cannot do in Euclidean space. Mathematicians have discoverd a way to solve this issue.

Solution: Homogeneous Coordinates

Homogeneous coordinates, introduced by August Ferdinand Möbius, make calculations of graphics and geometry possible in projective space. Homogeneous coordinates are a way of representing N-dimensional coordinates with N+1 numbers. (齊次坐標系是用N+1組數(shù)據(jù)表示N維坐標系的方式)

To make 2D Homogeneous coordinates, we simply add an additional variable, w, into existing coordinates. Therefore, a point in Cartesian coordinates, (X, Y) becomes (x, y, w) in Homogeneous coordinates. And X and Yin Cartesian are re-expressed with x, y and w in Homogeneous as;
X = x/w
Y = y/w

For instance, a point in Cartesian (1, 2) becomes (1, 2, 1) in Homogeneous. If a point, (1, 2), moves toward infinity, it becomes (∞,∞) in Cartesian coordinates. And it becomes (1, 2, 0) in Homogeneous coordinates, because of (1/0, 2/0) ≈ (∞,∞). Notice that we can express the point at infinity without using "∞".(w為0時,可表示無窮遠處的坐標,齊次坐標系使坐標系有了距離的概念,達到透視效果)

Why is it called "homogeneous"?

As mentioned before, in order to convert from Homogeneous coordinates (x, y, w) to Cartesian coordinates, we simply divide x and y by w;



Converting Homogeneous to Cartesian, we can find an important fact. Let's see the following example;

As you can see, the points (1, 2, 3), (2, 4, 6) and (4, 8, 12) correspond to the same Euclidean point (1/3, 2/3). And any scalar product(數(shù)量積), (1a, 2a, 3a) is the same point as (1/3, 2/3) in Euclidean space. Therefore, these points are"homogeneous" because they represent the same point in Euclidean space (or Cartesian space). In other words, Homogeneous coordinates are scale invariant(縮放不變性).

Proof: Two parallel lines can intersect.

Consider the following linear system in Euclidean space;


And we know that there is no solution for above equations because of C ≠ D.
If C = D, then two lines are identical (overlapped).

Let's rewrite the equations for projective space by replacing x and y to x/w, y/w respectively.


Now, we have a solution, (x, y, 0) since (C - D)w = 0, ∴ w = 0. Therefore, two parallel lines meet at (x, y, 0), which is the point at infinity. (當(dāng)w為0時,C、D取任何值都能相交)

Homogeneous coordinates are very useful and fundamental concept in computer graphics, such as projecting a 3D scene onto a 2D plane.(對于在2D平面做3D場景非常有用)









歡迎光臨 (http://www.zg4o1577.cn/bbs/) Powered by Discuz! X3.1
主站蜘蛛池模板: 午夜a区 | jdav视频在线观看免费 | 99精品欧美一区二区三区 | 欧美成人精品一区二区男人看 | 成人av网页 | 毛片久久久| 狠狠操狠狠色 | 在线资源视频 | 一区二区三区四区不卡视频 | 日韩福利片 | 国产精品日产欧美久久久久 | 欧美日韩大陆 | 免费在线一区二区三区 | 91.com在线观看 | 嫩草91在线 | 国产传媒 | 自拍偷拍一区二区三区 | 国产在线网站 | a在线v| 亚洲免费久久久 | 国产一级精品毛片 | 久久精品亚洲精品国产欧美kt∨ | 五月综合激情在线 | 亚洲高清在线观看 | 成人精品国产免费网站 | 色婷婷综合久久久久中文一区二区 | 日韩毛片在线观看 | 91视频中文 | 青青久久 | 亚州无限乱码 | 国产精品视频一二三区 | 岛国午夜| 在线观看国产精品一区二区 | 亚洲高清中文字幕 | 日韩视频1 | 最新日韩在线视频 | 一区二区中文 | 日本一区二区三区在线观看 | 99久久精品国产毛片 | a黄在线观看| 国产免费视频在线 |