Applications of the Moore-Penrose inverse in digital image restoration