Total-variation minimization with bound constraints