Total variation minimization subject to a noise constraint