Преглед изворни кода

Set alpha=0.5 as default for label2rgb

Kentaro Wada пре 6 година
родитељ
комит
8c5a2346d9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      labelme/utils.py

+ 1 - 1
labelme/utils.py

@@ -37,7 +37,7 @@ def labelcolormap(N=256):
 
 
 # similar function as skimage.color.label2rgb
-def label2rgb(lbl, img=None, n_labels=None, alpha=0.3, thresh_suppress=0):
+def label2rgb(lbl, img=None, n_labels=None, alpha=0.5, thresh_suppress=0):
     if n_labels is None:
         n_labels = len(np.unique(lbl))