Explorar el Código

Set alpha=0.5 as default for label2rgb

Kentaro Wada hace 6 años
padre
commit
8c5a2346d9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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))