Applications of variational models and partial differential equations in signal recovery and image restoration