A 2nd post about the new #TrackMate version:
Using TrackMate to segment 3D objects using a slice-by-slice approach.

1/n
Now that we have nice Deep-Learning based and Machine-Learning based segmentation algorithms that work especially well in 2D, we can use them to segment 3D objects with TrackMate.

2/n
The idea is to tell TrackMate "this is not a 3D image but a 2D+T image that you will track".
For instance you could use StarDist on the individual 2D slice to segment sections of the object, then merging the multiple 2D contours in a single 3D object.

3/n
For the merge across Z-slices we simply use TrackMate trackers, then swap T with Z. So we formulate merging as tracking across Z.

4/n
It works in practice. This is what @guijacquemet and @JwPylvanainen did on a drosophila embryo:

5/n
And on arabidopsis:

6/n
This looks like a TrackMate hack, but I would humbly argue that it's going to be an important and useful analysis pipeline.
Here is my logic, to be discussed:

7/n
For instance Deep-Learning algos are really effective and useful in Life-Sciences.
There are several frameworks for DL that can accept 3D images.
But in our humble and limited experience 3D models are less generalizable than 2D ones.

8/n
And it seems that 2D models are widely prevalent compared to 3D models. It's kind of expected. The annotation of images is much harder and longer in 3D compared to 2D. So it is common for a 3D model to 'see' a lower amount of objects during the training phase than in 2D.

9/n
The slice-by-slice approach allows for benefiting from the 2D model in 3D case. It fits well with many imaging modalities we use in Life-Science microscopy (confocal & friends).
There are already many framework that use this approach for 3D (for instance #cellpose)

10/n
Using TrackMate for this allows specifying the Z-merging step as a tracking problem, via a GUI. So it is accessible to anyone, without programming knowledge.

11/n
It turned to be so useful for our projects that we made a new tracker especially useful for this approach in the new TrackMate:
The overlap tracker. Simple, best explained with a figure:

12/n
(Works also very well for 2D+T or 3D+T tracking problems where the objects do not move too much between frames.)

Here is a step-by-step tutorial @JwPylvanainen wrote that shows how to use this approach for segmentation with StarDist:

imagej.net/plugins/trackm…

13/n

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Jean-Yves Tinevez

Jean-Yves Tinevez Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @jytinevez

17 Sep
New preprint from the IAH facility in @institutpasteur with @guijacquemet lab , @DumenilLab and friends:

Features a new version of #TrackMate, that broadens a lot its versatility.

"Bringing TrackMate in the era of machine-learning and deep-learning"

biorxiv.org/content/10.110…
Link to threads that tries and detail the new stuff:
1/ new detectors and segmentation algorithms based on Deep-Learning and Machine-Learning.
2/ Using TrackMate to segment 3D objects with a slice-by-slice approach.
Read 7 tweets
16 Sep
New #TrackMate version out (v&7)
With major changes and improvements I describe below (probably a long thread).

It is the product of a great (and cool) collaboration with @guijacquemet lab (@JwPylvanainen), the @DumenilLab lab in @institutpasteur and the IAH facility

1/n
The new version is the product of an almost Codiv19-induced full rewrite of TrackMate. Our main goal was to allow integrate SOTA segmentation algorithms and tools such as #StarDist, @ilastik_team, #Weka, @MorphoLibJ and #cellpose in TrackMate,

2/n
so that they can be used in a tracking pipeline and improve the tracking accuracy and results.

3/n
Read 29 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(