Repository '2d_local_threshold'
hg clone https://toolshed.g2.bx.psu.edu/repos/imgteam/2d_local_threshold

Changeset 2:497dcd834bb3 (2019-12-18)
Previous changeset 1:c90b91f4a07b (2019-07-23) Next changeset 3:be2d3ce89c0f (2022-02-19)
Commit message:
"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_auto_local_threshold/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
modified:
auto_local_threshold.py
b
diff -r c90b91f4a07b -r 497dcd834bb3 auto_local_threshold.py
--- a/auto_local_threshold.py Tue Jul 23 05:09:04 2019 -0400
+++ b/auto_local_threshold.py Wed Dec 18 05:00:26 2019 -0500
[
@@ -24,7 +24,7 @@
     img_in = np.reshape(img_in, [img_in.shape[0], img_in.shape[1]])
     thresh = threshOptions[args.thresh_type](img_in, args.block_size)
 
-    if args.dark_background:
+    if args.dark_background: 
         res = img_in > thresh
     else:
         res = img_in <= thresh