# 倒角距离 Chamfer Distance

**3D点云中的倒角距离**：

3D空间的倒角距离主要用于点云重建或者3D重建工作。定义如下：

<figure><img src="https://3522718595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD1M64ktNsEA8xmIL6eKj%2Fuploads%2F8meSr51I20nYxGKeY1OG%2Fimage.png?alt=media&#x26;token=8ea82c53-896e-483c-9d9d-b5f59cc51789" alt=""><figcaption></figcaption></figure>

以上公式的S1,S2分别表示两组3D点云

第一项代表S1中任意一点x到S2的最小距离之和 (S1任意点找S2中距离最近的点作为距离)\
第二项则表示S2 中任意一点y 到S1 的最小距离之和

如果该距离较大，则说明两组点云区别较大；如果距离较小，则说明重建效果较好。一般来说，该距离用作3D重建网络的损失函数。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://akitumn.gitbook.io/pointcloudwork/dian-yun-zhi-biao/dao-jiao-ju-li-chamfer-distance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
