Add various thresholding techniques.