Package qupath.lib.algorithms
Class IntensityFeaturesPlugin
java.lang.Object
qupath.lib.plugins.AbstractPlugin<BufferedImage>
qupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>
qupath.lib.algorithms.IntensityFeaturesPlugin
- All Implemented Interfaces:
qupath.lib.plugins.PathInteractivePlugin<BufferedImage>,qupath.lib.plugins.PathPlugin<BufferedImage>
public class IntensityFeaturesPlugin
extends qupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>
Plugin for calculating intensity-based features, including Haralick textures, within or around detections or tiles.
The ROIs of the detections can be used directly as masks, or else the textures can alternatively be calculated within square or circular regions around the object centroids. This latter option makes it possible to calculate a high density of tiles (for example), and then to compute textures at different resolutions independently of the tile size.
-
Field Summary
Fields inherited from class qupath.lib.plugins.AbstractInteractivePlugin
params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRunnableTasks(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.objects.PathObject parentObject, List<Runnable> tasks) booleanqupath.lib.plugins.parameters.ParameterListgetDefaultParameterList(qupath.lib.images.ImageData<BufferedImage> imageData) getName()protected Collection<qupath.lib.objects.PathObject> getParentObjects(qupath.lib.images.ImageData<BufferedImage> imageData) Collection<Class<? extends qupath.lib.objects.PathObject>> booleanrunPlugin(qupath.lib.plugins.TaskRunner taskRunner, qupath.lib.images.ImageData<BufferedImage> imageData, String arg) Methods inherited from class qupath.lib.plugins.AbstractInteractivePlugin
getLoggableParameters, getParameterList, parseArgumentMethods inherited from class qupath.lib.plugins.AbstractPlugin
addWorkflowStep, getTasks, postprocess, preprocess, rearrangeByStride, requestHierarchyUpdate
-
Constructor Details
-
IntensityFeaturesPlugin
public IntensityFeaturesPlugin()
-
-
Method Details
-
runPlugin
public boolean runPlugin(qupath.lib.plugins.TaskRunner taskRunner, qupath.lib.images.ImageData<BufferedImage> imageData, String arg) - Specified by:
runPluginin interfacequpath.lib.plugins.PathPlugin<BufferedImage>- Overrides:
runPluginin classqupath.lib.plugins.AbstractPlugin<BufferedImage>
-
addRunnableTasks
protected void addRunnableTasks(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.objects.PathObject parentObject, List<Runnable> tasks) - Specified by:
addRunnableTasksin classqupath.lib.plugins.AbstractPlugin<BufferedImage>
-
getDefaultParameterList
public qupath.lib.plugins.parameters.ParameterList getDefaultParameterList(qupath.lib.images.ImageData<BufferedImage> imageData) - Specified by:
getDefaultParameterListin interfacequpath.lib.plugins.PathInteractivePlugin<BufferedImage>- Specified by:
getDefaultParameterListin classqupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>
-
getName
-
getLastResultsDescription
-
getDescription
-
getParentObjects
protected Collection<qupath.lib.objects.PathObject> getParentObjects(qupath.lib.images.ImageData<BufferedImage> imageData) - Specified by:
getParentObjectsin classqupath.lib.plugins.AbstractPlugin<BufferedImage>
-
getSupportedParentObjectClasses
-
alwaysPromptForObjects
public boolean alwaysPromptForObjects()- Specified by:
alwaysPromptForObjectsin interfacequpath.lib.plugins.PathInteractivePlugin<BufferedImage>- Overrides:
alwaysPromptForObjectsin classqupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>
-