# HG changeset patch
# User imgteam
# Date 1713946314 0
# Node ID b1c2c210813cc218d435482c91e13cb5c9c929b4
# Parent 3f3783846dc0906e6dce7d861eaaa25fc8416bac
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/2d_histogram_equalization/ commit c86a1b93cb7732f7331a981d13465653cc1a2790
diff -r 3f3783846dc0 -r b1c2c210813c histogram_equalization.py
--- a/histogram_equalization.py Thu Apr 04 15:23:34 2024 +0000
+++ b/histogram_equalization.py Wed Apr 24 08:11:54 2024 +0000
@@ -1,6 +1,7 @@
import argparse
import sys
+import giatools.io
import skimage.exposure
import skimage.io
import skimage.util
@@ -17,7 +18,7 @@
parser.add_argument('h_type', choices=hOptions.keys(), help='histogram equalization method')
args = parser.parse_args()
- img_in = skimage.io.imread(args.input_file.name)
+ img_in = giatools.io.imread(args.input_file.name)
res = hOptions[args.h_type](img_in)
res = skimage.util.img_as_uint(res)
skimage.io.imsave(args.out_file.name, res, plugin="tifffile")
diff -r 3f3783846dc0 -r b1c2c210813c histogram_equalization.xml
--- a/histogram_equalization.xml Thu Apr 04 15:23:34 2024 +0000
+++ b/histogram_equalization.xml Wed Apr 24 08:11:54 2024 +0000
@@ -3,7 +3,7 @@
creators.xml
tests.xml
- 0.14.2
+ 0.18.1
0
@@ -18,9 +18,9 @@
scikit-image
- numpy
- pillow
- tifffile
+ numpy
+ tifffile
+ giatools