Skip to content

Commit

Permalink
Remove naive tracking functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinpape committed Sep 8, 2023
1 parent a07bfd7 commit 4031203
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 122 deletions.
1 change: 0 additions & 1 deletion elf/tracking/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from .naive_tracking import naive_tracking
4 changes: 1 addition & 3 deletions elf/tracking/motile_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def relabel_segmentation_across_time(segmentation):
return np.stack(relabeled)


# TODO exppose the relevant weights and constants!
def construct_problem(
segmentation,
node_costs,
Expand Down Expand Up @@ -148,9 +149,6 @@ def construct_problem(
graph = motile.TrackGraph(graph)
solver = motile.Solver(graph)

# TODO
# - expose all the weights and constants

# we can do linear reweighting of the costs: a * x + b
# where: a=weight, b=constant
solver.add_costs(costs.NodeSelection(weight=-1.0, attribute="score", constant=0))
Expand Down
118 changes: 0 additions & 118 deletions elf/tracking/naive_tracking.py

This file was deleted.

0 comments on commit 4031203

Please sign in to comment.