Why is openCV so fast?
I've been using the JAVA wrapper for a school assignment, experimenting with a variety of OpenCV tools such as edge detection, hough transformation, ... The performance was always impressive.
Next, I tested out some algorithms found online. The performance was in no way comparable, it was easily 10x slower than OpenCV.
Why is that? I have no knowledge of OpenCL, is it responsible for the speed of the algorithms? Or is there more to it?
there is more. SSE,AVX NEON openvx MKL BLAS TBB (and that's probably only half of it)
(none of it available from java)
All of it can be available from Java, it depends on the JVM implementation and how good it's JIT is (And believe me you won't see a better one anywhere else).