mpl_qt_viz.roiSelection.WaterShedPaintCreator
- class mpl_qt_viz.roiSelection.WaterShedPaintCreator(ax, im, onselect=None)[source]
Bases:
mpl_qt_viz.roiSelection._creatorWidgets._base.CreatorWidgetBaseUses Watershed technique in an attempt to highlight all bright selectable regions in a fluorescence image.
- Parameters
ax (Axes) – The matplotlib Axes that you want to interact with.
im (AxesImage) – A reference to a matplotlib AxesImage. The data from this object is used to detect bright regions.
onselect – A callback that will be called when the user hits ‘enter’. Should have signature (polygonCoords, sparseHandleCoords).