by joshvm · 10y ago · 0 comments
When I asked Stackoverflow, having tried Kdtree, someone suggested a simple brute force solution in OpenCL (using the pyopencl library):
https://stackoverflow.com/questions/24020409/producing-a-nea...
Scipy's KDtree took around 30 seconds per 1MP image. The OpenCL solution took 50ms (at the expense of my screen locking up)!
As the response said: "And the improvement was quite good.", no kidding.