// Benchmark result: ~ 15ms void thresh(Img8u &image, icl8u t){ for(int x=0;x t ? 255 : 0; } } } }