main¶
tiatoolbox
.visualization
.bokeh_app
.main
Main module for the tiatoolbox visualization bokeh app.
Functions
Add a new layer to the visualization. |
|
Wrapper to bind a callback to a bokeh object. |
|
Wrapper to bind a callback to a bokeh toggle object. |
|
Callback to change the blur radius. |
|
Builds a predicate string. |
|
Update tilesources. |
|
Callback to change the color map. |
|
Callback to handle changing the color of an annotation type. |
|
Callback to handle selecting active window. |
|
Callback to handle removing a window. |
|
Change property to color by. |
|
Callback to change the size of the edges. |
|
Change predicate to be used to filter annotations. |
|
Callback to handle toggling non-annotation layers on and off. |
|
Format the slide info for display. |
|
Gather all the ui elements into a dict. |
|
Helper to get a value from a config dict. |
|
Helper to get appropriate mapper for a property. |
|
Helper to get the current view bounds. |
|
Handle adding a graph layer. |
|
Covert hex rgb string to float rgb(a) tuple. |
|
Initialise the newly selected overlay. |
|
Initialise the newly selected slide. |
|
Set up the newly chosen overlay. |
|
Callback to handle toggling specific annotation types on and off. |
|
Callback to handle changing the alpha of a layer. |
|
Helper to make a color dict from a list of types. |
|
Helper to make a color sequence from a colormap. |
|
Helper to make a name safe for use in a URL. |
|
Helper to make a tile source. |
|
Make a new window for a slide. |
|
Callback to handle model selection. |
|
Helper to get original type from stringified version. |
|
Placeholder callback to do something on node selection. |
|
Callback to handle options changes in the ui widget. |
|
Callback to change the alpha of all overlay layers. |
|
Callback to toggle the overlay on/off. |
|
Populate the layer list with the available overlays. |
|
Populate the slide list with the available slides. |
|
Callback to change the size of the points. |
|
Callback to switch between resolutions. |
|
Covert float rgb(a) tuple to hex string. |
|
Callback to handle saving annotations. |
|
Callback to change the max scale. |
|
Callback to run hovernet on a region of the slide. |
|
Set the fill and line alpha for a glyph. |
|
Set up the UI settings from the config file. |
|
Callback to change the alpha of the slide. |
|
Set up the newly chosen slide. |
|
Callback to toggle the slide on/off. |
|
Callback to handle double tap events to inspect annotations. |
|
Helper to convert from int to float rgb(a) tuple. |
|
Helper to convert from float to int rgb(a) tuple. |
|
Callback to run currently selected model. |
|
Convert a str representation of a number to a numerical value. |
|
Callback to handle changing a type-specific color property. |
|
Callback to ensure tiles are updated when needed. |
|
Helper to update the color mapper. |
|
Helper to update a renderer property. |
|
Update the UI when new annotations are added. |
Classes
Class to cycle through a list of colors. |
|
class to configure and set up a document. |
|
Dummy class to enable triggering a callback independently of a widget. |
|
Class to keep track of the current tile group. |
|
Wrapper class to access ui elements. |
|
Class to keep track of the current state of the viewer. |