This directory contains Numpy and R reference code for
A Generalization of Otsu's Method and Minimum Error Thresholding, Jonathan T. Barron, ECCV, 2020
Running experiments.ipynb
should exactly reproduce the figures and tables shown in the paper.
Run interactive_viewer.ipynb
if you want to play with algorithm parameters on an arbitrary image. You can do this in your browser, just click on the "Open in Colab" button at the top of the notebook.
An R implementation (graciously contributed by slowkow) can be found in ght.R
.
If you use this code, please cite it:
@article{BarronECCV2020,
Author = {Jonathan T. Barron},
Title = {A Generalization of Otsu's Method and Minimum Error Thresholding},
Journal = {ECCV},
Year = {2020}
}