diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /sci-biology/imagej/files/AutoThresholder.java.patch | |
download | darklin4-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.patch | 10 |
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; |