jacklangerman commited on
Commit
60d3301
1 Parent(s): 5f74848

fix docs (default for cv_del was stated incorrectly)

Browse files
Files changed (1) hide show
  1. hoho/wed.py +1 -1
hoho/wed.py CHANGED
@@ -45,7 +45,7 @@ def compute_WED(pd_vertices, pd_edges, gt_vertices, gt_edges, cv_ins=-1/2, cv_de
45
  gt_vertices: list of ground truth vertices
46
  gt_edges: list of ground truth edges
47
  cv_ins: vertex insertion cost: if positive, the cost in centimeters of inserting vertex, if negative, multiplies diameter to compute cost (default is -1/2)
48
- cv_del: vertex deletion cost: if positive, the cost in centimeters of deleting a vertex, if negative, multiplies diameter to compute cost (default is -1/2)
49
  ce: edge cost (multiplier of the edge length for edge deletion and insertion, default is 1.0)
50
  normalized: if True, the WED is normalized by the total length of the ground truth edges
51
  preregister: if True, the predicted vertices have their mean and scale matched to the ground truth vertices
 
45
  gt_vertices: list of ground truth vertices
46
  gt_edges: list of ground truth edges
47
  cv_ins: vertex insertion cost: if positive, the cost in centimeters of inserting vertex, if negative, multiplies diameter to compute cost (default is -1/2)
48
+ cv_del: vertex deletion cost: if positive, the cost in centimeters of deleting a vertex, if negative, multiplies diameter to compute cost (default is -1/4)
49
  ce: edge cost (multiplier of the edge length for edge deletion and insertion, default is 1.0)
50
  normalized: if True, the WED is normalized by the total length of the ground truth edges
51
  preregister: if True, the predicted vertices have their mean and scale matched to the ground truth vertices