Previous topic

medpy.graphcut.graph.GCGraph.get_graph

Next topic

medpy.graphcut.graph.GCGraph.get_nodes

This Page

medpy.graphcut.graph.GCGraph.get_node_count

GCGraph.get_node_count()[source]

Get the number of nodes.

Returns:

node_count : int

The number of nodes (excluding sink and source).