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

Compute iou #4

Closed cmalinmayor closed 6 months ago

cmalinmayor commented 6 months ago

Proposed Change

Add IOU computation to candidate graph creation. I tried doing the np.unique shortcut for IOU computation, but I had to tinker with it. Will check against a reference implementation before merging to see if it can be more efficient.

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.

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 97.14286% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 78.21%. Comparing base (b8b215f) to head (8e0616c).

Files Patch % Lines
...toolbox/candidate_graph/graph_from_segmentation.py 97.05% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #4 +/- ## ========================================== + Coverage 75.56% 78.21% +2.64% ========================================== Files 9 9 Lines 176 202 +26 ========================================== + Hits 133 158 +25 - Misses 43 44 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.