A cell tracking framework