Exemplar-Based Image Completion Using Global Optimization