DGC Dynamic Graph Cuts implementation in python. The original code for computing max-flow/min-cut is contained in the pymaxflow python package. Example results (user markings given to the DGC constructor in the options dictionary):