A PDE approach to super-resolution with contrast enhancement