Package qupath.lib.plugins.objects
Class FindConvexHullDetectionsPlugin<T>
java.lang.Object
qupath.lib.plugins.AbstractPlugin<T>
qupath.lib.plugins.AbstractInteractivePlugin<T>
qupath.lib.plugins.objects.FindConvexHullDetectionsPlugin<T>
- Type Parameters:
- T-
- All Implemented Interfaces:
- PathInteractivePlugin<T>,- PathPlugin<T>
Plugin to identify/remove detections from the convex hull of all detections.
 
Currently works only for TMA cores.
Purpose is to remove edge detections, where the tissue quality tends to be lower.
- 
Field SummaryFields inherited from class qupath.lib.plugins.AbstractInteractivePluginparams
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddRunnableTasks(ImageData<T> imageData, PathObject parentObject, List<Runnable> tasks) For a specified parent object, generate a task to run.getDefaultParameterList(ImageData<T> imageData) This should return a default ParameterList containing any information that is needed to repeat the task exactly.Get a brief description of the plugin's purpose & operation.(Optional) short one-line description of the results, e.g.getName()Get the name of the plugin for display.protected Collection<? extends PathObject> getParentObjects(ImageData<T> imageData) Get a collection of objects to process, based on the contents of the PluginRunner.Collection<Class<? extends PathObject>> Get a collection of possible parent objects that the plugin could have.booleanrunPlugin(TaskRunner taskRunner, ImageData<T> imageData, String arg) Run the plugin.Methods inherited from class qupath.lib.plugins.AbstractInteractivePluginalwaysPromptForObjects, getLoggableParameters, getParameterList, parseArgumentMethods inherited from class qupath.lib.plugins.AbstractPluginaddWorkflowStep, getTasks, postprocess, preprocess, rearrangeByStride, requestHierarchyUpdate
- 
Constructor Details- 
FindConvexHullDetectionsPluginpublic FindConvexHullDetectionsPlugin()
 
- 
- 
Method Details- 
getNameDescription copied from interface:PathPluginGet the name of the plugin for display.This should be descriptive and, above all, short - as it may be used for menu item names & dialog box titles. - Returns:
 
- 
getDescriptionDescription copied from interface:PathPluginGet a brief description of the plugin's purpose & operation.If no description is provided, this may return null. - Returns:
 
- 
getLastResultsDescriptionDescription copied from interface:PathPlugin(Optional) short one-line description of the results, e.g. to say how many objects detected. GUIs may choose to display this on a label during interactive processing.- Returns:
 
- 
getParentObjectsDescription copied from class:AbstractPluginGet a collection of objects to process, based on the contents of the PluginRunner. This could (for example) return the selected object, the root object, all detection objects... depending upon what the plugin does. Each object this returns will be passed to addRunnableTasks to create a task to run. In practice, this method can be overridden to return anything/nothing if getTasks is overridden instead.- Specified by:
- getParentObjectsin class- AbstractPlugin<T>
- Parameters:
- imageData-
- Returns:
 
- 
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:
 
- 
getDefaultParameterListDescription copied from class:AbstractInteractivePluginThis should return a default ParameterList containing any information that is needed to repeat the task exactly.- Specified by:
- getDefaultParameterListin interface- PathInteractivePlugin<T>
- Specified by:
- getDefaultParameterListin class- AbstractInteractivePlugin<T>
- Parameters:
- imageData-
- Returns:
 
- 
runPluginDescription copied from interface:PathPluginRun the plugin. A PluginRunner may be provided that this plugin can use to update the user on its progress.Note: This command should block until it has completed processing. - Specified by:
- runPluginin interface- PathPlugin<T>
- Overrides:
- runPluginin class- AbstractPlugin<T>
- Parameters:
- taskRunner-
- arg-
- Returns:
 
- 
addRunnableTasksprotected void addRunnableTasks(ImageData<T> imageData, PathObject parentObject, List<Runnable> tasks) Description copied from class:AbstractPluginFor a specified parent object, generate a task to run. In practice, this method can be overridden to return anything/nothing if getTasks is overridden instead.- Specified by:
- addRunnableTasksin class- AbstractPlugin<T>
- Parameters:
- imageData-
- parentObject-
- tasks-
 
 
-