Package qupath.imagej.detect.tissue
Class SimpleTissueDetection2
java.lang.Object
qupath.lib.plugins.AbstractPlugin<BufferedImage>
qupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>
qupath.lib.plugins.AbstractDetectionPlugin<BufferedImage>
qupath.imagej.detect.tissue.SimpleTissueDetection2
- All Implemented Interfaces:
- PathInteractivePlugin<BufferedImage>,- PathPlugin<BufferedImage>
Very basic global thresholding command to identify tissue regions.
 
 Uses fixed approach to downsampling images & global threshold applied to RGB images only.
 
 TODO: Provide choice of channels to threshold
 TODO: Support 16-bit data
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddRunnableTasks(ImageData<BufferedImage> imageData, PathObject parentObject, List<Runnable> tasks) For a specified parent object, generate a task to run.getDefaultParameterList(ImageData<BufferedImage> 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<BufferedImage> 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, getLoggableParameters, getParameterList, parseArgumentMethods inherited from class qupath.lib.plugins.AbstractPluginaddWorkflowStep, 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.PathPluginrunPlugin
- 
Constructor Details- 
SimpleTissueDetection2public SimpleTissueDetection2()Constructor.
 
- 
- 
Method Details- 
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<BufferedImage>
- Specified by:
- getDefaultParameterListin class- AbstractInteractivePlugin<BufferedImage>
- Parameters:
- imageData-
- Returns:
 
- 
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:
 
- 
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:
 
- 
getDescriptionDescription copied from interface:PathPluginGet a brief description of the plugin's purpose & operation.If no description is provided, this may return null. - Returns:
 
- 
addRunnableTasksprotected void addRunnableTasks(ImageData<BufferedImage> 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<BufferedImage>
- Parameters:
- imageData-
- parentObject-
- tasks-
 
- 
getParentObjectsDescription copied from class:AbstractDetectionPluginGet all selected objects that are instances of a supported class.- Overrides:
- getParentObjectsin class- AbstractDetectionPlugin<BufferedImage>
- 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.- Specified by:
- getSupportedParentObjectClassesin interface- PathInteractivePlugin<BufferedImage>
- Overrides:
- getSupportedParentObjectClassesin class- AbstractDetectionPlugin<BufferedImage>
- Returns:
 
 
-