From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001
From: "Suren A. Chilingaryan" <csa@suren.me>
Date: Sun, 1 Sep 2019 00:00:32 +0200
Subject: Initial import

---
 sci-biology/imagej/files/AutoThresholder.java.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 sci-biology/imagej/files/AutoThresholder.java.patch

(limited to 'sci-biology/imagej/files')

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;
-- 
cgit v1.2.3