-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more binarization options #3418
Conversation
Use functions from Leptonica to provide more binarization options. The new options are: 1) Adaptive Otsu and 2) Sauvola (Tiled) .
In general, what is the recommendation about image preprocessing? If it's so, do we really need to impove details on binarization methods etc.? |
Also fixes #1990. |
Can you merge this PR and then do the changes related to the operator overloading? |
No. Why? |
|
To be clear, I dont mean that you undo your changes to master. |
I updated the PR. enum class is now used instead of plain enum. The CI failures are not related to this PR. |
Egor, feel free to get rid of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
For robust quality, I think we need to optimise some details for these algorithms.
Use functions from Leptonica to provide more binarization options. The new options are: 1) Adaptive Otsu and 2) Sauvola (Tiled).