traccuracy.matchers._ctc
Module Contents
Classes
Match graph nodes based on measure used in cell tracking challenge benchmarking. |
- class traccuracy.matchers._ctc.CTCMatcher[source]
Match graph nodes based on measure used in cell tracking challenge benchmarking.
A computed marker (segmentation) is matched to a reference marker if the computed marker covers a majority of the reference marker.
Each reference marker can therefore only be matched to one computed marker, but multiple reference markers can be assigned to a single computed marker.
See https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0144959 for complete details.
- property info: dict[str, Any]
Dictionary of Matcher name and any parameters
- compute_mapping(gt_graph: traccuracy._tracking_graph.TrackingGraph, pred_graph: traccuracy._tracking_graph.TrackingGraph) traccuracy.matchers._matched.Matched
Run the matching on a given set of gt and pred TrackingGraph and returns a Matched object with a new copy of each TrackingGraph
- Parameters:
gt_graph (traccuracy.TrackingGraph) – Tracking graph object for the gt
pred_graph (traccuracy.TrackingGraph) – Tracking graph object for the pred
- Returns:
Matched data object
- Return type:
matched (traccuracy.matchers.Matched)
- Raises:
ValueError – gt and pred must be a TrackingGraph object