pyfibre.model.core.base_pyfibre_object module¶
-
class
pyfibre.model.core.base_pyfibre_object.BasePyFibreObject[source]¶ Bases:
abc.ABCAbstract base class for an object representing an extracted feature in a multi-image. Serialization and de-serialization routines must be implemented with a concrete base subclass, along with a method that generates a pandas database containing metrics.
-
abstract classmethod
from_array(array, **kwargs)[source]¶ Deserialises numpy array to return an instance of the class
-
abstract classmethod
from_json(data)[source]¶ Deserialises JSON data dictionary to return an instance of the class
-
abstract
generate_database(*args, **kwargs)[source]¶ Generates a Pandas database with all graph and segment metrics for assigned image
-
abstract classmethod