// Benchmark result: ~ 29ms void thresh(Img8u &image, icl8u t){ for(int x=0;x p = image(x,y); for(int c=0;ct); } } } }