pythreshold
pythreshold copied to clipboard
PyThreshold is a python package featuring Numpy/Scipy implementations of state-of-the-art image thresholding algorithms.
For binary images PNGs are smaller, lossless, and don't have any compression artifacts. JPEG is just the wrong image format for binary images.
Got several errors, but after replacing all `np.float` with `float` it worked
Issue is #6. plz check this~ 👍
I got error like following when pip install ``` Collecting pythreshold Using cached pythreshold-0.3.1.tar.gz (13 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run...
This is my implementation for the moments threshold for the bimodal and trimodal case using the "moments conservation principle" by Tsai.
Hi, I think there is a typo in the calculation of the histogram using: ``` hist = np.histogram(image, bins=range(256))[0].astype(np.float) ``` I think that it should be: ``` hist = np.histogram(image,...
Hi, Thank you very much for your implementations. I have been working in the implementation of the Moments threshold developed by [Tsai](https://www.sciencedirect.com/science/article/pii/0734189X85901331) for the tri-level case. I have already written...
Hi Manuel, Thanks for this library, it really is useful to quickly evaluate binarization methods to use. I was wondering if you have considered or might consider adding an implementation...
Fixes https://github.com/manuelaguadomtz/pythreshold/issues/8