micro-sam icon indicating copy to clipboard operation
micro-sam copied to clipboard

Implement saving tracking results to CTC format

Open constantinpape opened this issue 10 months ago • 2 comments

We should implement saving of tracking results to the CTC format, so that we can export them to a more standardized format. What we would need is a function

def export_tracking_result_to_ctc(segmentation: np.ndarray, lineages: List[Dict], output_folder: str) -> None:
   ...

It should be added to multi_dimensional_segmentation.py.

@anwai98 you're more familiar with the format than me, so maybe you could take care of this? We can also first discuss next week to clarify the details.

constantinpape avatar Apr 17 '25 20:04 constantinpape

Sure. I can take care of this! (as you mentioned, it would be best to discuss this first before I start with the implementation)

anwai98 avatar Apr 19 '25 12:04 anwai98

Following up on this issue, we have a first implementation of storing tracks from automatic tracking mode (taking the implementation from trackastra)

Next, we need to integrate it with interactive segmentation, to export the final output masks from the tracking annotator in CTC output.

anwai98 avatar Jun 03 '25 15:06 anwai98