funkelab / motile_toolbox

A toolbox for tracking with motile, including constructing candidate graphs and computing common features.
https://funkelab.github.io/motile_toolbox/
4 stars 1 forks source link

Split graph creation #1

Closed cmalinmayor closed 7 months ago

cmalinmayor commented 7 months ago

Proposed Change

Split candidate graph creation into two functions, one that extracts nodes from a segmentation, and the other that adds edges. This allows the edge adding to be done the same way even if the detections are not from a segmentation.

Checklist

Go through these things before merge. Actions should run automatically to test them, but for information on how to run locally, see CONTRIBUTING.md.