trackpy.annotate3d

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

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

Parameters:

centroids : DataFrame including columns x and y

image : image array (or string path to image file)

circle_size : Deprecated.

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

color : single matplotlib color or a list of multiple colors

default None

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

black and white. Default True.

ax : matplotlib axes object, defaults to current axes

split_category : string, parameter to use to split the data into sections

default None

split_thresh : single 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_style : dictionary of keyword arguments passed through to

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

plot_style : dictionary 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