Mercurial > repos > imgteam > voronoi_tesselation
diff voronoi_tessellation.py @ 2:412d7478ec92 draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/voronoi_tesselation commit c86a1b93cb7732f7331a981d13465653cc1a2790
author | imgteam |
---|---|
date | Wed, 24 Apr 2024 08:13:41 +0000 |
parents | 8b74843c136e |
children |
line wrap: on
line diff
--- a/voronoi_tessellation.py Thu Apr 04 15:26:55 2024 +0000 +++ b/voronoi_tessellation.py Wed Apr 24 08:13:41 2024 +0000 @@ -1,5 +1,6 @@ import argparse +import giatools.io import numpy as np import scipy.ndimage as ndi import skimage.io @@ -13,7 +14,7 @@ parser.add_argument('output') args = parser.parse_args() - im = skimage.io.imread(args.input) + im = giatools.io.imread(args.input) im = im.squeeze() assert im.ndim == 2