summaryrefslogtreecommitdiffstats
path: root/sci-biology/imagej/files/AutoThresholder.java.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /sci-biology/imagej/files/AutoThresholder.java.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
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;