I am a new user of Napari and have found it good (awesome!) so far. I am working on a mini-project where I want to segment moving bacteria using 1 channel and visualise the fluorescense of said bacteria in another channel. I got it working so far and I am now trying to visualise and plot my results.
######## To the point ###########
I am trying to plot my cell boundary on top of the segmented image (timeseries). Plotting the timeseries itself works well (all images are padded to have same dimensions).
I am not able to add_points as a timeseries however, but only a 2D array to a single image.
#paddedPoints is a list of 2D arrays with same size (padded with 0’s in case this is what broke Napari)
tmp=np.array(paddedPoints) #convert to array. tmp.shape=(379, 221, 2)
viewer = napari.Viewer()
viewer.add_points(tmp) #doesn’t work, but tmp shows points for first boundary in tmp
#A copy pase of what tmp looks like to give you an idea.
Is it just me who is not understanding how to properly use add_points / Napari? I found some examples online for the use but it is mostly the example of adding points to a single image (the famous astronaut), hence not helping me.
General comments and suggestions welcome! Keen to learn…