Chapter IX.4. Thresholding algorithms