mastodon-sc / mastodon-tomancak

BSD 2-Clause "Simplified" License
1 stars 5 forks source link

Use angles between parent and cosequtive cell division for lineage registration (didn't give the expected results) #35

Closed maarzt closed 1 year ago

maarzt commented 1 year ago

Currently the lineage registration plugin registers two embryos and computes the angle between two paired cell divisions. But maybe the directions of cell division are not as much conserved with respect to a global coordinate system but are better defined if compared in a local coordinate system that uses the cell division directions of the parent cells for reference.

Steps

Idea

Let a1 be a cell division direction in embryo A. Let a2 denote the parent cell division direction, and a3 denote the grant parent cell division direction in embryo A.

Let b1, b2, b3 denote paired cell division directions in embryo B.

The points a2, -a2, a3, -a3 could serve as landmarks and be registered against b2, -b2, b3, -b3, the resulting transformation could be used to transform a1 and b1 into a common coordinate system, where one could measure the angle between the to cell division directions.

Results

Conclusion: The potential of local spatial registration is still inconclusive. It seem to improve some measures under certain conditions but not at all consistently and it doesn't improve the end result. It might help registration of later timepoints, but we probably fail earlier in lineage registration. We would need a more robust approach to leverage the potential of the local spatial registration.

There might be a pattern in division angles between consecutive cell division, that is picked up by the approach and leads to the reduce local angle on later timepoints.

Multi Embryo Lineage Registration Consistency Check:

A useful method for checking the consistency of lineage registration across multiple embryos was developed:

https://github.com/mastodon-sc/mastodon-tomancak/blob/multi-embryo-registration/src/test/java/org/mastodon/mamut/tomancak/lineage_registration/MultiEmbryoRegistration.java

It should be turned into a plugin.