Patch-Based Synthesis