Previous topic

medpy.graphcut.graph.Graph.add_tweights

Next topic

medpy.graphcut.graph.Graph.get_node_count

This Page

medpy.graphcut.graph.Graph.get_edges

Graph.get_edges()[source]

Get the edges.

Returns:

edges : list

All edges as ordered list of tuples (i.e. [(node_id1, node_id2), (..), …].