Image restoration with neural networks