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.

  • 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:
      runPlugin in interface qupath.lib.plugins.PathPlugin<BufferedImage>
      Overrides:
      runPlugin in class qupath.lib.plugins.AbstractPlugin<BufferedImage>
    • addRunnableTasks

      protected void addRunnableTasks(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.objects.PathObject parentObject, List<Runnable> tasks)
      Specified by:
      addRunnableTasks in class qupath.lib.plugins.AbstractPlugin<BufferedImage>
    • getDefaultParameterList

      public qupath.lib.plugins.parameters.ParameterList getDefaultParameterList(qupath.lib.images.ImageData<BufferedImage> imageData)
      Specified by:
      getDefaultParameterList in interface qupath.lib.plugins.PathInteractivePlugin<BufferedImage>
      Specified by:
      getDefaultParameterList in class qupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>
    • getName

      public String getName()
    • getLastResultsDescription

      public String getLastResultsDescription()
    • getDescription

      public String getDescription()
    • getParentObjects

      protected Collection<qupath.lib.objects.PathObject> getParentObjects(qupath.lib.images.ImageData<BufferedImage> imageData)
      Specified by:
      getParentObjects in class qupath.lib.plugins.AbstractPlugin<BufferedImage>
    • getSupportedParentObjectClasses

      public Collection<Class<? extends qupath.lib.objects.PathObject>> getSupportedParentObjectClasses()
    • alwaysPromptForObjects

      public boolean alwaysPromptForObjects()
      Specified by:
      alwaysPromptForObjects in interface qupath.lib.plugins.PathInteractivePlugin<BufferedImage>
      Overrides:
      alwaysPromptForObjects in class qupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>