medpy.graphcut
medpy.graphcut.graph.Graph.inconsistent
medpy.graphcut.graph.Graph.set_nweights
Graph.
set_nodes
Set the number of graph nodes (starting from node-id = 1), excluding sink and source.
nodes : int
Number of nodes