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,- 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...
- 
Field SummaryFields inherited from class qupath.lib.plugins.AbstractInteractivePluginparams
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.AbstractInteractivePluginalwaysPromptForObjects, getDefaultParameterList, getLoggableParameters, getParameterList, parseArgumentMethods inherited from class qupath.lib.plugins.AbstractPluginaddRunnableTasks, addWorkflowStep, getTasks, postprocess, preprocess, rearrangeByStride, requestHierarchyUpdate, runPluginMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface qupath.lib.plugins.PathPlugingetDescription, getLastResultsDescription, getName, runPlugin
- 
Constructor Details- 
AbstractDetectionPluginpublic AbstractDetectionPlugin()
 
- 
- 
Method Details- 
getSupportedParentObjectClassesDescription copied from interface:PathInteractivePluginGet 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:
 
- 
getParentObjectsGet all selected objects that are instances of a supported class.- Specified by:
- getParentObjectsin class- AbstractPlugin<T>
- Parameters:
- imageData-
- Returns:
 
 
-