PDE-based image restoration, I: Anti-staircasing and anti-diusion