Ask Your Question

Revision history [back]

Fastest way to access pixel in circle shape

Hello everyone, I'm trying to improve the processing time of my algorithm. The bottle neck is the time I access the value of pixel. In this case, for each pixel of image I will access N pixels around that pixel. The time consume take me around 300 ms to finish an image (using pointer access). Could you guys recommend me other ways to improve it. I'm open for GPU implementation as well.

Many thanks.