Digital restoration of damaged pictures