Skip to content
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

Adaptive Binarization #132

Open
MK-Vision opened this issue Nov 8, 2020 · 4 comments
Open

Adaptive Binarization #132

MK-Vision opened this issue Nov 8, 2020 · 4 comments

Comments

@MK-Vision
Copy link

I have been using your SIMD Neon tools to speed up some common OpenCV implementations. They have been very helpful - thanks! Your AveragingBinarization method is functionally similar to the OpenCV adaptiveThreshold tool, but it is not the same. Have you considered implementing something similar to adaptiveThreshold? It may be just a simple alteration to your existing algorithm.

@ermig1979
Copy link
Owner

Hello. I am glad that my algorithms are useful for you.
Unfortunately I can't change existing algorithms due to compatibility.
But I can add new one.
It would better if you give me scalar implementation of algorithm that you want as example. It will allow to me minimize possible missunderstanding. The rest (optimizations and tests) I will make by myself.

@MK-Vision
Copy link
Author

MK-Vision commented Nov 8, 2020 via email

@ermig1979
Copy link
Owner

Can I change expression from src[x, y] > (sum/area - threshold) to (src[x, y] + threshold)*area > sum in order to avoid division operation?

@MK-Vision
Copy link
Author

MK-Vision commented Nov 9, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants