Previous topic

medpy.graphcut.graph.Graph.get_sink_nodes

Next topic

medpy.graphcut.graph.Graph.get_tweights

This Page

medpy.graphcut.graph.Graph.get_source_nodes

Graph.get_source_nodes()[source]

Get the source nodes.

Returns:

source_nodes : list

All nodes that are connected with the source as an unordered list (excluding sink and source).