Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 338 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 338 Bytes

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