A python implementation of a SIGGRAPH paper "Graphcut Textures: Image and Video Synthesis Using Graph Cuts"
imageio
networkx
numpy
Typing python mincut.py $origin_graph $generated_graph $height $width
to generate the new texture.
E.g. python mincut.py strawberry.png strawberry_new.png 512 512