Threaded, optimized edgeFilter