Package qupath.imagej.superpixels
Class SLICSuperpixelsPlugin
java.lang.Object
qupath.lib.plugins.AbstractPlugin<BufferedImage>
qupath.lib.plugins.AbstractInteractivePlugin<BufferedImage>
qupath.lib.plugins.AbstractDetectionPlugin<BufferedImage>
qupath.lib.plugins.AbstractTileableDetectionPlugin<BufferedImage>
qupath.imagej.superpixels.SLICSuperpixelsPlugin
- All Implemented Interfaces:
qupath.lib.plugins.PathInteractivePlugin<BufferedImage>,qupath.lib.plugins.PathPlugin<BufferedImage>
public class SLICSuperpixelsPlugin
extends qupath.lib.plugins.AbstractTileableDetectionPlugin<BufferedImage>
An implementation of SLIC superpixels, as described at http://ivrl.epfl.ch/research/superpixels
This largely follows the description at:
Radhakrishna Achanta, Appu Shaji, Kevin Smith, Aurelien Lucchi, Pascal Fua, and Sabine SüsstrunkIt doesn't follow the code made available by the authors, and differs in some details.
SLIC Superpixels Compared to State-of-the-art Superpixel Methods
IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 34, num. 11, p. 2274 - 2282, May 2012.
For example, the 'spacing' parameter is also used to determine the resolution at which the superpixel computation is performed, and a Gaussian filter is used to help reduce textures in advance. It is also possible to use color deconvolved images, rather than transforming RGB to CIELAB.
-
Field Summary
Fields inherited from class qupath.lib.plugins.AbstractInteractivePlugin
params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected qupath.lib.plugins.ObjectDetector<BufferedImage> createDetector(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.plugins.parameters.ParameterList params) qupath.lib.plugins.parameters.ParameterListgetDefaultParameterList(qupath.lib.images.ImageData<BufferedImage> imageData) getName()protected Collection<? extends qupath.lib.objects.PathObject> getParentObjects(qupath.lib.images.ImageData<BufferedImage> imageData) protected doublegetPreferredPixelSizeMicrons(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.plugins.parameters.ParameterList params) protected intgetTileOverlap(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.plugins.parameters.ParameterList params) Methods inherited from class qupath.lib.plugins.AbstractTileableDetectionPlugin
addRunnableTasksMethods inherited from class qupath.lib.plugins.AbstractDetectionPlugin
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
-
SLICSuperpixelsPlugin
public SLICSuperpixelsPlugin()
-
-
Method Details
-
getName
-
getLastResultsDescription
-
getPreferredPixelSizeMicrons
protected double getPreferredPixelSizeMicrons(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.plugins.parameters.ParameterList params) - Specified by:
getPreferredPixelSizeMicronsin classqupath.lib.plugins.AbstractTileableDetectionPlugin<BufferedImage>
-
createDetector
protected qupath.lib.plugins.ObjectDetector<BufferedImage> createDetector(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.plugins.parameters.ParameterList params) - Specified by:
createDetectorin classqupath.lib.plugins.AbstractTileableDetectionPlugin<BufferedImage>
-
getTileOverlap
protected int getTileOverlap(qupath.lib.images.ImageData<BufferedImage> imageData, qupath.lib.plugins.parameters.ParameterList params) - Specified by:
getTileOverlapin classqupath.lib.plugins.AbstractTileableDetectionPlugin<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>
-
getDescription
-
getParentObjects
protected Collection<? extends qupath.lib.objects.PathObject> getParentObjects(qupath.lib.images.ImageData<BufferedImage> imageData) - Overrides:
getParentObjectsin classqupath.lib.plugins.AbstractDetectionPlugin<BufferedImage>
-