BUG: Bandpass threshold could wrap from 0 to 255.