!26738 fix comments in metric

Merge pull request !26738 from liutongtong9/code_docs_fixmetric
This commit is contained in:
i-robot 2021-11-26 07:19:01 +00:00 committed by Gitee
commit b14a9ee74b
5 changed files with 9 additions and 9 deletions

View File

@ -36,7 +36,7 @@ class MeanSurfaceDistance(Metric):
AvgSurDis(B\rightarrow A) = \frac{\sum_{s_{B} \in S(B)}^{} {\text{dis} \
left ( s_{B}, S(A) \right )} } {\left | S(B) \right |}
Where the ||*|| denotes a distance measure. |*| denotes the number of elements.
Where the \|\|\*\|\| denotes a distance measure. \|\*\| denotes the number of elements.
The mean of surface distance form set(B) to set(A) and from set(A) to set(B) is:

View File

@ -35,7 +35,7 @@ class RootMeanSquareDistance(Metric):
RmsSurDis(B \rightarrow A) = \sqrt{\frac{\sum_{s_{B} \in S(B)}^{} {\text{dis}^2 \left ( s_{B}, S(A)
\right )} }{\left | S(B) \right |}}
Where the ||\*|| denotes a distance measure. |\*| denotes the number of elements.
Where the \|\|\*\|\| denotes a distance measure.\ |\*\| denotes the number of elements.
The Root Mean Square Surface Distance form set(B) to set(A) and from set(A) to set(B) is: