Package qupath.imagej.detect.tissue
Class PositivePixelCounterIJ
java.lang.Object
qupath.lib.plugins.AbstractPlugin<BufferedImage>
qupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>
qupath.lib.plugins.AbstractDetectionPlugin<BufferedImage>
qupath.imagej.detect.tissue.PositivePixelCounterIJ
- All Implemented Interfaces:
PathInteractivePlugin<BufferedImage>,PathPlugin<BufferedImage>
Simple command to detect regions with positive staining.
For versions <= v0.1.2 this gave simple measurements that were influenced by the downsample values used. Later versions make calibrated measurements and give more flexibility in terms of output.
-
Field Summary
Fields inherited from class qupath.lib.plugins.AbstractInteractivePlugin
params -
Constructor Summary
Constructors -
Method Summary
Modifier 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.Methods inherited from class qupath.lib.plugins.AbstractDetectionPlugin
getParentObjects, getSupportedParentObjectClassesMethods inherited from class qupath.lib.plugins.AbstractInteractivePlugin
alwaysPromptForObjects, getLoggableParameters, getParameterList, parseArgumentMethods inherited from class qupath.lib.plugins.AbstractPlugin
addWorkflowStep, getTasks, postprocess, preprocess, rearrangeByStride, requestHierarchyUpdate, runPluginMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface qupath.lib.plugins.PathPlugin
runPlugin
-
Constructor Details
-
PositivePixelCounterIJ
public PositivePixelCounterIJ()
-
-
Method Details
-
getDefaultParameterList
Description copied from class:AbstractInteractivePluginThis should return a default ParameterList containing any information that is needed to repeat the task exactly.- Specified by:
getDefaultParameterListin interfacePathInteractivePlugin<BufferedImage>- Specified by:
getDefaultParameterListin classAbstractInteractivePlugin<BufferedImage>- Parameters:
imageData-- Returns:
-
getName
Description 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:
-
getDescription
Description copied from interface:PathPluginGet a brief description of the plugin's purpose & operation.If no description is provided, this may return null.
- Returns:
-
getLastResultsDescription
Description 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:
-
addRunnableTasks
protected 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 classAbstractPlugin<BufferedImage>- Parameters:
imageData-parentObject-tasks-
-