New stats - Optimize threashod and LBP parameters