Package qupath.lib.plugins
Interface ObjectDetector<T>
- Type Parameters:
T
-
public interface ObjectDetector<T>
Minimal interface that may be used to plugins that perform detection within a specified ROI
and using a specified ImageData with set parameters.
This enables new detection plugins to be written with somewhat less boilerplate code.
- Author:
- Pete Bankhead
-
Method Summary
Modifier and TypeMethodDescriptionGet a String summarizing the result, which may be displayed to a user or logged.runDetection
(ImageData<T> imageData, ParameterList params, ROI roi) Detect objects.
-
Method Details
-
runDetection
Collection<PathObject> runDetection(ImageData<T> imageData, ParameterList params, ROI roi) throws IOException Detect objects.- Parameters:
imageData
- theImageData
for which objects should be detectedparams
- optional list of parameters required for the detectionroi
- specific region within which the detection should be applied- Returns:
- Throws:
IOException
-
getLastResultsDescription
String getLastResultsDescription()Get a String summarizing the result, which may be displayed to a user or logged.- Returns:
-