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

 找回密碼
 立即注冊

QQ登錄

只需一步,快速開始

搜索
查看: 1991|回復(fù): 0
打印 上一主題 下一主題
收起左側(cè)

齊次坐標(biāo)軸

[復(fù)制鏈接]
跳轉(zhuǎn)到指定樓層
樓主
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. (齊次坐標(biāo)系是用N+1組數(shù)據(jù)表示N維坐標(biāo)系的方式)

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時,可表示無窮遠(yuǎn)處的坐標(biāo),齊次坐標(biāo)系使坐標(biāo)系有了距離的概念,達(dá)到透視效果)

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場景非常有用)




分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享淘帖 頂 踩
回復(fù)

使用道具 舉報(bào)

您需要登錄后才可以回帖 登錄 | 立即注冊

本版積分規(guī)則

小黑屋|51黑電子論壇 |51黑電子論壇6群 QQ 管理員QQ:125739409;技術(shù)交流QQ群281945664

Powered by 單片機(jī)教程網(wǎng)

快速回復(fù) 返回頂部 返回列表
主站蜘蛛池模板: 亚洲欧美日韩国产综合 | 国产伦精品一区二区 | 久久青| 99久久亚洲 | 欧美一区二区在线播放 | 日韩理论电影在线观看 | 毛片网在线观看 | 久久看看| 亚洲成人一区 | 亚洲视频免费观看 | 九色porny自拍视频 | 日韩精品一区二区久久 | 在线视频国产一区 | 日韩色在线 | 精品久久九 | 亚洲精品久久久久久一区二区 | 欧美午夜精品久久久久久浪潮 | 久久精品男人的天堂 | 毛片入口 | 欧美精品一区二区三区视频 | 免费人成在线观看网站 | 九九热热九九 | 久热免费 | 成人av一区二区三区 | 国产一级视频免费播放 | 给我免费的视频在线观看 | 一级一级毛片免费看 | 大象一区 | 一区二区三区视频在线 | 国产一区二区三区久久久久久久久 | 欧美国产视频 | 色综合久久天天综合网 | 农村真人裸体丰满少妇毛片 | 成人免费三级电影 | 视频精品一区 | 欧美在线观看黄色 | 久草青青草| 色婷婷精品久久二区二区蜜臂av | 亚洲精品一区在线 | 国产色婷婷久久99精品91 | 男人的天堂在线视频 |