Package qupath.lib.plugins
Class AbstractDetectionPlugin<T>
java.lang.Object
qupath.lib.plugins.AbstractPlugin<T>
qupath.lib.plugins.AbstractInteractivePlugin<T>
qupath.lib.plugins.AbstractDetectionPlugin<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
PathInteractivePlugin<T>
,PathPlugin<T>
- Direct Known Subclasses:
AbstractTileableDetectionPlugin
,DetectCytokeratinCV
,PositivePixelCounterIJ
,SimpleTissueDetection2
,TileClassificationsToAnnotationsPlugin
,TilerPlugin
Abstract plugin aimed towards cases where new objects will be detected inside existing objects (normally TMA cores or annotations).
TODO: Note this isn't a very stable API (because it's quite awkward), and it's therefore liable to change...
- Author:
- Pete Bankhead
-
Field Summary
Fields inherited from class qupath.lib.plugins.AbstractInteractivePlugin
params
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Collection
<? extends PathObject> getParentObjects
(ImageData<T> imageData) Get all selected objects that are instances of a supported class.Collection
<Class<? extends PathObject>> Get a collection of possible parent objects that the plugin could have.Methods inherited from class qupath.lib.plugins.AbstractInteractivePlugin
alwaysPromptForObjects, getDefaultParameterList, getLoggableParameters, getParameterList, parseArgument
Methods inherited from class qupath.lib.plugins.AbstractPlugin
addRunnableTasks, addWorkflowStep, getTasks, postprocess, preprocess, rearrangeByStride, requestHierarchyUpdate, runPlugin
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface qupath.lib.plugins.PathPlugin
getDescription, getLastResultsDescription, getName, runPlugin
-
Constructor Details
-
AbstractDetectionPlugin
public AbstractDetectionPlugin()
-
-
Method Details
-
getSupportedParentObjectClasses
Description copied from interface:PathInteractivePlugin
Get a collection of possible parent objects that the plugin could have. This may be used, for example, to specified that analysis may be applied to any/all TMA cores or annotations. If no parent objects are required, PathRootObject.class should be returned in the list.- Returns:
-
getParentObjects
Get all selected objects that are instances of a supported class.- Specified by:
getParentObjects
in classAbstractPlugin<T>
- Parameters:
imageData
-- Returns:
-