trackpy.annotate3d

trackpy.annotate3d(centroids, image, **kwargs)

Annotates a 3D image and returns a scrollable stack for display in IPython.

Parameters:
centroidsDataFrame including columns x and y
imageimage array (or string path to image file)
circle_sizeDeprecated.

This will be removed in a future version of trackpy. Use plot_style={‘markersize’: …} instead.

colorsingle matplotlib color or a list of multiple colors

default None

invertIf you give a filepath as the image, specify whether to invert

black and white. Default True.

axmatplotlib axes object, defaults to current axes
split_categorystring, parameter to use to split the data into sections

default None

split_threshsingle value or list of ints or floats to split

particles into sections for plotting in multiple colors. List items should be ordered by increasing value. default None

imshow_styledictionary of keyword arguments passed through to

the Axes.imshow(…) command the displays the image

plot_styledictionary of keyword arguments passed through to

the Axes.plot(…) command that marks the features

Returns:
pims.Frame object containing a three-dimensional RGBA image

See also

annotate

annotation of 2D images