Non-blocking version of eachPixel function.