Tracking droplets fusion in microfluidic chamber with #TrackMate, a short thread.

Yesterday I got to discuss with Liridon Aliti (on forum.image.sc) about detecting droplet fusion events in movies like this one:

1/
We tried to do it in TrackMate, it was fun and I would like to share how we did it. It serves as a demo of the new TrackMate capabilities, but was done in <10min per movie, so it should not be considered a thorough analysis (we only tried one detector one tracker).

2/
The droplet are border objects, so using the excellent morphological segmentation in Fiji #MorphoLibJ by @david_legland and @IgnacioArganda seemed like a good idea. Plus the image quality is incredibly good given the fps (2k here)

3/
For it to work with your images, I first loaded the movie as a grayscale image, inverted it (Shift+I) so that the droplet borders are bright over dark background.

4/
Then I ran TrackMate with the MorphoLibJ detector and used these parameters:

You need to have the TrackMate-MorphoLibJ module installed: github.com/tinevez/TrackM…

5/
We have to remove the spots that are not corresponding to the droplets. In the spot filtering panel I specified a filter to keep only the smaller spots:
(also added a filter on X to prevent including spots that are ‘cut’ by the right border of the image in the measurements.)
6/
We see that the fusion events happen too quickly to be resolved in the movie, even at the insane speed it is acquired So we won’t be able to resolve them unambiguously. BUT!
If you continue the tracking steps with a classical tracker, such as the Simple LAP tracker:

7/
You can build single droplet tracks:
(visu in TrackMate)

8/
And we can analyze the area over time of these tracks, still in TrackMate. The results look like this:

9/
I find it amazing.

We can see that the area variable seems to display only discrete values. It really reminds me of molecular motor stepping (except with far less noisy traces).

10/
So we can assume that each atomic increase in area corresponds to a fusion event with the small droplets produces at the pinch of the tube, that have a fixed size.

I tried to annotate the above plot to guide the eye:

11/
Of course, this is very crude. We would have to look at the volume increase, not the area and then the chamber geometry come into play.

But still.

12/
We can even note that the duration of small area states are smaller than large ones. Which makes sense: small droplets only exist close to the pinch where there is plenty of opportunity to fuse.
We can see that if correlate the X position to the size:

13/
But I guess this is an obvious results. Note however again the stepwise pattern also in X.

Fortunately, Liridon also had movies at a faster acquisition rate: 5k fps 😮

/14
On this one we could use the LAP tracker of #TrackMate, that can be configured to detect fusion or fission events.

15/
Here are the results:

16/
TrackMate can show the 'lineage' of droplets. Here is a somewhat convoluted lineage of a droplet generated with the TrackScheme tool in TrackMate (time runs from top to bottom, fusion are indicated by 2 branches fusing):

17/
And we can still plot the area over time including the fusion events:
(Again, the area might not be strictly additive, the volume is etc.)
18/
Cool no?
This was done very quickly, using TrackMate everytime. A deeper analysis will reveal proper dynamics, but TrackMate served as an exploration tool with which it was very quick to build a working analysis pipeline.

The new TrackMate preprint:
biorxiv.org/content/10.110…

19/
This is shared with permission from Liridon. The data was generated at DHRTC (Danish Hydrocarbon Research and Technology Centre) in the Technical University of Denmark (DTU).

20/

• • •

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 21
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
17 Sep 21
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
Read 13 tweets
16 Sep 21
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

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(