Ah this is a good idea. We just did the opposite with @Sebastien (output of TrackMate as label images).
I made a Python script for @philgi a while ago that does this. Can you check whether it works?
The discussion and script are here:
I’ve successfully used this with StarDist-based segmentations. It works great!
By the way, better integration between StarDist and TrackMate (and its relatives) is on our todo list for StarDist. I’m not sure when we’ll find the time to get to it though.
Pay me to do it
Hey, I nearly asked @tinevez the same - got labelled cells output from CellProfiler that I would like to input into TrackMate (or Mastodon etc)…
it would be nice…