royerlab / ultrack

Cell tracking and segmentation software
https://royerlab.github.io/ultrack
BSD 3-Clause "New" or "Revised" License
64 stars 7 forks source link

Stay with same cell #91

Open tischi opened 4 months ago

tischi commented 4 months ago

Timepoint t

image

Timepoint t+1

image

As indicated by the ImageJ ROIs, the algorithm decided that the optimal solution is to assign the "wrong" cell as the next cell in the track. Correct would have been the cell on the right to the selected cell in t+1. For the human this is obvious, because the "correct cell" would have been the one with a similar shape and also continuing the movement in a similar direction.

Are there parameters that we can try to improve the tracking along those lines?

JoOkuma commented 4 months ago

Hi @tischi, we have yet to implement a solution for this. We are long due to adding an API for custom association scores. Would that help you?

Related issue #46

Tuning the appearance and disappearance penalization parameters could help if the neighboring cells are disappearing/appearing and not moving out of the z-plane, but I can't tell from these images.

tischi commented 4 months ago

We are long due to adding an API for custom association scores. Would that help you?

That sounds like the thing that would indeed help :-) TrackMate has that and in fact seems to currently sometimes to a better job of following "the same" cell...