Image Completion Using Statistics of Patch Offsets and Opencv Flann (not completed)