Imported from https://github.com/SAIL-GuoLab/Cell_Segmentation_and_Tracking
