Package qupath.process.gui.commands.ui
Class LoadResourceCommand<S>
java.lang.Object
qupath.process.gui.commands.ui.LoadResourceCommand<S>
- Type Parameters:
S
-
- All Implemented Interfaces:
Runnable
Create commands for displaying pixel classifiers and density maps.
- Author:
- Pete Bankhead
-
Method Summary
Modifier and TypeMethodDescriptioncreateLoadDensityMapCommand
(QuPathGUI qupath) Create aRunnable
to interactively load a density map and display it in all viewers.static LoadResourceCommand
<PixelClassifier> Create aRunnable
to interactively load a pixel classifier and display it in all viewers.void
run()
-
Method Details
-
createLoadPixelClassifierCommand
public static LoadResourceCommand<PixelClassifier> createLoadPixelClassifierCommand(QuPathGUI qupath) Create aRunnable
to interactively load a pixel classifier and display it in all viewers.- Parameters:
qupath
-- Returns:
-
createLoadDensityMapCommand
public static LoadResourceCommand<DensityMaps.DensityMapBuilder> createLoadDensityMapCommand(QuPathGUI qupath) Create aRunnable
to interactively load a density map and display it in all viewers.- Parameters:
qupath
-- Returns:
-
run
public void run()
-