3 ms·
It is mentioned in the README that there is a Gimp plugin for Christian Wolf's binarization. This could be handy at times. Otherwise, the C++ code on Github re
by woko 5y ago
It is mentioned in the README that there is a Gimp plugin for Christian Wolf's binarization. This could be handy at times.
Otherwise, the C++ code on Github requires converting images to PGM format.
---
The page is in French, so I will mention that the Python script is here: https://www.vvpix.com/gmp_Telecharger_script.php?sFichier_a_telecharger=Greffon-couleurs_binariser_Niblack_Sauvola_Wolf-Jolion_1_02.py https://www.vvpix.com/gmp_Telecharger_script.php?sFichier_a_...
To install it, copy the file to:
`C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins`
Then call the script via the `Python-fu > Color > Binarize` tab in Gimp.
The algorithm is quite slow for large images. Aim for 1440p at most.
That being said, the results on my quick experiments look great, so it saves my time compared to other more manual methods in the end!