darsia.PointSelectionAssistant#
- class PointSelectionAssistant(img, **kwargs)[source]#
Bases:
BaseAssistantInteractive assistant for picking a set of points on a 2d image.
Methods
Attributes
Name of assistant / short version of instructions.
Selected points in voxel format with matrix indexing.
Flag controlling whether to return coordinates or voxels.
Labels for the image.
imgImage to be analyzed.
backgroundBackground image for plotting.
figFigure for analysis.
axAxes for analysis.
blockFlag controlling whether figure is blocking.
plot_gridFlag controlling whether grid is plotted (in 2d).
thresholdThreshold for active voxels (in 3d).
relativeFlag controlling whether threshold is relative (in 3d).
scalingScaling of points (in 3d).
scatterFlag controlling whether scatter plot is used (in 3d).
use_coordinatesFlag controlling whether plots use physical coordinates.
verbosityFlag controlling verbosity.
cmapColormap for plotting.
- labels#
Labels for the image.
- name#
Name of assistant / short version of instructions.
- pts#
Selected points in voxel format with matrix indexing.
- return_coordinates#
Flag controlling whether to return coordinates or voxels.