ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.01k stars 407 forks source link

Feature Request: Bilateral Filter #224

Closed PearlDzzz closed 1 year ago

PearlDzzz commented 1 year ago

Really enjoy the performance and the library's API, Would you kindly consider support bilateral filter, which is too slow on CPU.

ermig1979 commented 1 year ago

Hi! I found an example of refernce implementation of bilateral filter:

https://github.com/anlcnydn/bilateral/blob/master/bilateral_filter.cpp

Can I base my implementation on this code or it is better to choose another variants? If your answer will positive I add this issue to Simd roadmap.

PearlDzzz commented 1 year ago

Thanks for your reply. I think the link above is not a good choice. At present, there are many accelerated versions to refer to, e.g., Recursive Bilateral Filter. https://github.com/Fig1024/OP_RBF https://github.com/andyhu-hz/ARBF/blob/cf5c3acd01c50239f5f5d871f1b441d35409d8c8/arbf.cpp

ermig1979 commented 1 year ago

I added RecursiveBilateralFilter.