SchmollerLab / Cell_ACDC

A Python GUI-based framework for segmentation, tracking and cell cycle annotations of microscopy data
BSD 3-Clause "New" or "Revised" License
127 stars 21 forks source link

Utility to visualize tracks in napari #151

Open ElpadoCan opened 2 years ago

ElpadoCan commented 2 years ago

Allow visualization of the tracks into napari via utiliy and via menu or button in the gui. Pseudo code:

video_path = 'path/to/video'

video_data = np.load(video_path)['arr_0']

acdc_df_path =  'path/to/acdc_output.csv'

acdc_df = pd.read_csv(acdc_df_path)

tracks_data = acdc_df[['Cell_ID', 'frame_i', 'y_centroid', 'x_centroid']].to_numpy()

viewer = napari.Viewer()
viewer.add_image(video_data, name='phase contrast')
viewer.add_tracks(tracks_data, name='phase contrast')

napari.run()
github-actions[bot] commented 1 year ago

Hi there, I'm the Cell-ACDC bot :wave:. This issue had no activity for more than 180 days. For now, we have marked it as "inactive" until there is some new activity. If this issue was not solved yet, unfortunately we haven't had the time to implement it or it requires more discussion. Note that it doesn't mean it has been ignored, but a little reminder from your side would help :D. Feel free to reach out to us here or on our forum. If you think that this issue is no longer relevant, you may close it by yourself. In any case, we apologise for the inconvenience and we thank you for your patience and contributions so far!