Previous topic

medpy.graphcut.graph.Graph.get_nodes

Next topic

medpy.graphcut.graph.Graph.get_sink_nodes

This Page

medpy.graphcut.graph.Graph.get_nweights

Graph.get_nweights()[source]

Get the nweights.

Returns:

nweights : dict

All n-weights (inter-node weights) as {edge-tuple: (weight, weight_reverersed)…} dict.