Toolkit for linking cells from masks matrix, providing the empty graph to be filled in, and visualization tools like lineage, phase image.
The main idea is to store the linking result as a Graph of Cells:
- Class Cell:
self.frameself.labelself.polygon
- Class Graph:
self.nodeself.edge: (node, node)
The main data resource manager, called LinkComposer, stores phase/mask directories and cells set. It helps in quickly plotting information.
- Create a LinkComposer:
LinkComposer.read_folder(mask_folder, phase_folder)LinkComposer.read_tif(mask_tif, phase_tif)
- Ask composer for an empty directed graph:
composer.make_new_directed_graph() - Fill in edges on the tree:
composer.link(G, cell1, cell2) - Check results by visualization:
visualizer.quick_lineage(G)visualizer.get_label_info(G), composer.show_frame_phase(...)
- Finished. Also, multiple linker comparisons can be done, if desired.
Read Demo for more information:
Notice although the following data are all in group of three, they are not related to each other, I choice num=3 for each sample just because it looks nice in that way.
- Phase tracking videos: Cell Event Tracking Labeling: check different label demo for more information.
Cell Event Tracking Labeling: check different label demo for more information.
- Cross time phase video compasion:
Also, check demo visualization for more information

- Lineage comparsion:
Check demo visualization for more information, this lineage is from falimented cells rather than above data, since this data lineage is more interesting and falimented cells phase data more interesting, so using different data on different visualization.

