A C++ implement of the paper "Graphcut Textures: Image and Video Synthesis Using Graph Cuts"
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make# Example: graph_cut peas.png peas_output.png 512x512
graph_cut <input> <output> <canvas_size>
For more details, please refer to report.pdf.