/Graphcut

A python implementation of a SIGGRAPH paper "Graphcut Textures: Image and Video Synthesis Using Graph Cuts"

Primary LanguagePython

Graphcut

A python implementation of a SIGGRAPH paper "Graphcut Textures: Image and Video Synthesis Using Graph Cuts"

Requirements:

imageio

networkx

numpy

Usage:

Use 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