This study has been developed a methodology for identifying accurately the boundaries of individual bacterial cells and tracking them from frame to frame so as to construct the cells’ genealogy (bacterial cell segmentation and lineage tree construction) even in large-size microbial communities where there is great difficulty in identifying the individual cell boundaries.