Mercurial > repos > imgteam > labelimage2points
comparison labelimage2points.py @ 1:07525a7d9ea0 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/labelimage2points/ commit b2acc1845a25828181597fe5b6982fe116a7796d
author | imgteam |
---|---|
date | Mon, 22 Jul 2019 05:03:12 -0400 |
parents | 39e6d6a84257 |
children | 3b7460735223 |
comparison
equal
deleted
inserted
replaced
0:39e6d6a84257 | 1:07525a7d9ea0 |
---|---|
4 import skimage.io | 4 import skimage.io |
5 from skimage.measure import label | 5 from skimage.measure import label |
6 from skimage.data import checkerboard | 6 from skimage.data import checkerboard |
7 import numpy as np | 7 import numpy as np |
8 | 8 |
9 | 9 |
10 | 10 |
11 def labelimage2points(input_file): | 11 def labelimage2points(input_file): |
12 img_in = skimage.io.imread(input_file) | 12 img_in = skimage.io.imread(input_file) |
13 | 13 |
14 #amount of regions | 14 #amount of regions |