소스 검색

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))