jacklangerman commited on
Commit
c3c7e12
1 Parent(s): 57535bb

tweak docs more

Browse files
Files changed (1) hide show
  1. 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
- # vertex coordinates are in centimeters, so cv and ce are set to 100.0 and 1.0 respectively.
44
- # This means the missing a vertex is equivanlent predicting it 1 meters off,
45
- # and that is the same as cv and ce equal to 1.0, if GT is in meters
 
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)