Previous topic

medpy.graphcut.graph.Graph.get_tweights

Next topic

medpy.graphcut.graph.Graph.set_nodes

This Page

medpy.graphcut.graph.Graph.inconsistent

Graph.inconsistent()[source]

Perform some consistency tests on the graph represented by this object

Returns:

consistent : bool or list

False if consistent, else a list of inconsistency messages.

Notes

This check is very time intensive and should not be executed on huge graphs, except for debugging purposes.