Changed the threshold tag. There are now 2 possibilities : either a constant threshold, or an affine one defined by a slope and an intercept. For this second type, one can decide whether the comparison is made on the worst alternative, or the best one.