funkelab / motile

Multi-Object Tracker using Integer Linear Equations
https://funkelab.github.io/motile/
MIT License
27 stars 5 forks source link

Ignore appear/disappear cost in first/last frame by default? #115

Open bentaculum opened 3 months ago

bentaculum commented 3 months ago

When setting Appear/Disappear costs, I would suggest as a default behaviour that these costs are not set for nodes in the first/last frame of the TrackGraph. Right now one has to write this explicitly, and not doing so influences e.g. the SSVM fitting. Shall I draft a PR?

cmalinmayor commented 3 months ago

Manan and I discussed it and we think its a good idea to have the behavior you suggest as the default (and even potentially as the only option? We couldn't come up with a case where you'd want to pay appear at the beginning/disappear at the end). Jan has the final say, but if you draft a PR I will definitely bring it to his attention!