mastodon-sc / mastodon

Mastodon – a large-scale tracking and track-editing framework for large, multi-view images.
BSD 2-Clause "Simplified" License
69 stars 20 forks source link

Import TrackMate files in Mastodon #345

Closed tinevez closed 1 week ago

tinevez commented 1 week ago

Mastodon can now import TrackMate files.

It actually was already working before, without us noticing, thanks to the work on starting Mastodon with an image opened in Fiji. This PR improves over this existing functionality.

The launcher now makes it explicit that users can import MaMuT and TrackMate file with the same action: mastodon_import_trackmate_02

If the user browses to a TrackMate file, it is opened normally, with all feature imported: mastodon_import_trackmate_03 mastodon_import_trackmate_05

The BDV views wrap an ImagePlus, transparently for the user. Upon saving, Mastodon offers to convert the source image to BDV (H5/XML). If the user declines, the image will still be opened as a normal Fiji image. mastodon_import_trackmate_04