# HG changeset patch
# User imgteam
# Date 1713946329 0
# Node ID 6ad5de2c5b7c5fc6e7d66828124231925b869ed7
# Parent 097b803aeb5d9a9d704de3d8fbdb047568be9a6c
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/anisotropic-diffusion/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
diff -r 097b803aeb5d -r 6ad5de2c5b7c anisotropic_diffusion.py
--- a/anisotropic_diffusion.py Thu Apr 04 15:23:48 2024 +0000
+++ b/anisotropic_diffusion.py Wed Apr 24 08:12:09 2024 +0000
@@ -2,6 +2,7 @@
import sys
import warnings
+import giatools.io
import skimage.io
import skimage.util
from medpy.filter.smoothing import anisotropic_diffusion
@@ -18,7 +19,7 @@
with warnings.catch_warnings():
warnings.simplefilter("ignore") # to ignore FutureWarning as well
- img_in = skimage.io.imread(args.input_file.name, plugin='tifffile')
+ img_in = giatools.io.imread(args.input_file.name, plugin='tifffile')
res = anisotropic_diffusion(img_in, niter=args.niter, kappa=args.kappa, gamma=args.gamma, option=args.eqoption)
res[res < -1] = -1
res[res > +1] = +1
diff -r 097b803aeb5d -r 6ad5de2c5b7c anisotropic_diffusion.xml
--- a/anisotropic_diffusion.xml Thu Apr 04 15:23:48 2024 +0000
+++ b/anisotropic_diffusion.xml Wed Apr 24 08:12:09 2024 +0000
@@ -4,7 +4,7 @@
creators.xml
tests.xml
0.4.0
- 0
+ 1
@@ -16,6 +16,7 @@
medpy
numpy
scikit-image
+ giatools