Optimization Techniques for Image Restoration