pyfibre.model.core.base_graph_segment module

class pyfibre.model.core.base_graph_segment.BaseGraphSegment(graph=None, image=None, shape=None)[source]

Bases: pyfibre.model.core.base_graph.BaseGraph

Container for a Networkx Graph and scikit-image segment representing a connected fibrous region

property region

Scikit-image segment

property shape
to_json()[source]

Return the object state in a form that can be serialised as a JSON file