brandonmpetty / Doxa

A Local Adaptive Thresholding framework for image binarization written in C++, with JS and Python bindings. Implementing: Otsu, Bernsen, Niblack, Sauvola, Wolf, Gatos, NICK, Su, T.R. Singh, WAN, ISauvola, Bataineh, Chan and Shafait.
https://brandonmpetty.github.io/Doxa/WebAssembly
Creative Commons Zero v1.0 Universal
167 stars 37 forks source link

GPU Support (CUDA) #27

Open a-v-ebrahimi opened 2 years ago

a-v-ebrahimi commented 2 years ago

Do you have plan to support Nvidia CUDA?

brandonmpetty commented 1 year ago

I don't believe so. My plan is to add support for the original version of AdOtsu and while doing so (75% there), do a slight refactor of the library to make it easier to use and more flexible for parameter analysis. My final plan is to add Matlab bindings.

At that point I will have exhausted almost every L.A.T. algorithm of note, and ported it to just about every system one might want to experiment with it in. The last unexplored frontier would be CUDA/OpenCL, like you mentioned... or maybe SSE/AVX.

I am focusing right now on a large cyber security related project and because of that my time on this project has been cut short. I am also not well versed in CUDA. If you or anyone would like to contribute to this project, just let me know. It may make more sense as a new repo, like Doxa-GPU, since it would be such a radical departure. Something CPU based, like SSE/AVX, might make more sense living inside this specific repo.