To compile cmake ./ make To use the GUI From this folder, run PatchMatch.m in MATLAB Load cow.png Load cow_mask.png click complete then it will run (it might take some time)