summaryrefslogtreecommitdiffstats
path: root/sci-biology/imagej/files/AutoThresholder.java.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-biology/imagej/files/AutoThresholder.java.patch')
-rw-r--r--sci-biology/imagej/files/AutoThresholder.java.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-biology/imagej/files/AutoThresholder.java.patch b/sci-biology/imagej/files/AutoThresholder.java.patch
new file mode 100644
index 0000000..97c8932
--- /dev/null
+++ b/sci-biology/imagej/files/AutoThresholder.java.patch
@@ -0,0 +1,10 @@
+--- imagej-1.51k/work/source/ij/process/AutoThresholder.java.ori 2017-03-15 22:33:45.843801175 +0100
++++ imagej-1.51k/work/source/ij/process/AutoThresholder.java 2017-03-15 22:33:55.104053480 +0100
+@@ -650,7 +650,6 @@
+ }
+ // The threshold is the minimum between the two peaks.
+ for (int i=1; i<255; i++) {
+- //IJ.log(" "+i+"  "+iHisto[i]);
+ if (iHisto[i-1] > iHisto[i] && iHisto[i+1] >= iHisto[i]) {
+ threshold = i;
+ break;