Randomized Correspondence Algorithm for Structural Image Editing