# 无人机照片如何变成三维地图 / From Drone Photos to 3D Mapping

Conceptual lesson: drone photos, matching features, SfM, dense points, DSM and orthomosaic

By DUSK

Topic: Earth &amp; Geography

[Open the interactive Jig](https://ask.jig.com/j/wsSfTz1SVE6O)

## Transcript

### 1. 一块虚构的小土地 · A small fictional site

这是一块虚构的小地形：农田、一座小山、一栋房子和几棵树。无人机下面挂着一台朝下拍照的相机。接下来，我们看看这些照片怎样一步步变成三维地图。

A made\-up landscape: no real place, coordinates or flight\. Drag to turn the model, scroll or pinch to zoom\.

### 2. 按航线拍照 · A mapping flight

无人机沿着来回平行的航线飞行，每隔一段就拍一张照片。蓝绿色方框是每张照片拍到的地面范围。相邻照片大面积重叠，所以同一处地面会出现在好几张照片里。

Many missions start near 80% forward and 70% side overlap, but the right amount depends on the task, terrain and software\. Fewer photos are drawn here for clarity\.

### 3. 在多张照片里找同一个点 · Matching features

软件在每张照片里找有特点的小地方，比如屋脊的端点、树冠顶或田地的角，再把不同照片里的同一个点配成一对，这叫“同名点”。选一个特征，看看三张重叠照片上相同的标记。

Matched features are called tie points\. Each photo shows the same landmark from a slightly different spot\.

### 4. 相机位置与视线 · Camera poses and rays

从相机中心穿过照片上的标记，画出一条视线。一张照片只给出方向，不知道有多远。两条以上来自不同位置的视线相交，才能估计这个点的三维位置。运动恢复结构（SfM）就是用大量同名点，同时算出相机的位置、朝向和这些点。

A conceptual drawing, not a real computation\. Software also estimates camera calibration, such as focal length and lens distortion\.

### 5. 从稀疏点云到密集点云 · Sparse to dense points

SfM 先得到少量可靠的三维点，叫稀疏点云。接着，密集重建在多张照片之间逐个像素比对，补出成千上万个点，细节就丰富起来。每个点的颜色都来自照片。

Sparse cloud: the matched tie points\. Dense cloud: multi\-view stereo adds detail between them\.

### 6. 网格与数字表面模型 · Mesh and DSM

把点连成三角形网格，就得到连续的表面。数字表面模型（DSM）记录每个位置最高的可见表面：地面、屋顶和树冠都在里面。它不是去掉房子和树的裸地地形，也不是激光雷达的结果。

Colours show height\. Ground hidden under the trees never appears in the photos, so the DSM follows the canopy there\.

### 7. 正射影像 · Orthomosaic

普通照片有透视：高的屋顶和树冠会朝照片边缘倾斜，山丘的高低也让各处比例不同。借助表面模型，把每个像素放回它正下方的位置，就能拼成比例一致的正射影像，像地图一样。

Camera calibration and ground control points or precise positioning decide where the map sits on Earth and how accurate it is\.
