jacklangerman
commited on
Commit
•
c3c7e12
1
Parent(s):
57535bb
tweak docs more
Browse files- hoho/wed.py +4 -3
hoho/wed.py
CHANGED
@@ -40,9 +40,10 @@ def compute_WED(pd_vertices, pd_edges, gt_vertices, gt_edges, cv=-1, ce=1.0, nor
|
|
40 |
preregister: if True, the predicted vertices have their mean and scale matched to the ground truth vertices
|
41 |
'''
|
42 |
|
43 |
-
#
|
44 |
-
#
|
45 |
-
#
|
|
|
46 |
|
47 |
pd_vertices = np.array(pd_vertices)
|
48 |
gt_vertices = np.array(gt_vertices)
|
|
|
40 |
preregister: if True, the predicted vertices have their mean and scale matched to the ground truth vertices
|
41 |
'''
|
42 |
|
43 |
+
# Vertex coordinates are in centimeters. When cv and ce are set to 100.0 and 1.0 respectively,
|
44 |
+
# missing a vertex is equivanlent predicting it 1 meter away from the ground truth vertex.
|
45 |
+
# This is equivalent to setting cv=1 and ce=1 when the vertex coordinates are in meters.
|
46 |
+
# When a negative cv value is set (the default behavior), cv is reset to 1/4 of the diameter of the ground truth wireframe.
|
47 |
|
48 |
pd_vertices = np.array(pd_vertices)
|
49 |
gt_vertices = np.array(gt_vertices)
|