Skip to content

Commit 9ee4538

Browse files
authored
Merge pull request #96 from augusto-de-freitas-isi/patch-1
Update shape_metrics.md
2 parents 9fc61f9 + e928726 commit 9ee4538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/sections/shape_metrics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Point Cloud Utils has functions to compute a number of commonly used metrics bet
55
## Chamfer Distance
66
The Chamfer distance between two point clouds $P_1 = \{x_i \in \mathbb{R}^3\}_{i=1}^n$ and $P_2 = \{x_j \in \mathbb{R}^3\}_{j=1}^m$ is defined as the average distance between pairs of nearest neighbors between $P_1$ and $P_2$ *i.e.*
77
$$
8-
\text{chamfer}(P_1, P_2) = \frac{1}{2n} \sum_{x \in P_1} \|x - \text{NN}(x, P_2)\| + \frac{1}{2m} \sum_{x \in P_2} \|x - \text{NN}(x, P_1)\|
8+
\text{chamfer}(P_1, P_2) = \frac{1}{2n} \sum_{x \in P_1}^{n} \|x - \text{NN}(x, P_2)\| + \frac{1}{2m} \sum_{x \in P_2}^{m} \|x - \text{NN}(x, P_1)\|
99
$$
1010
and $\text{NN}(x, P) = \text{argmin}_{x' \in P} \|x - x'\|$ is the nearest neighbor function.
1111

0 commit comments

Comments
 (0)