Package qupath.lib.analysis.algorithms
Class MorphologicalReconstruction
java.lang.Object
qupath.lib.analysis.algorithms.MorphologicalReconstruction
Implementation of 2D morphological reconstruction, using 8-connectivity & a hybrid method.
TODO: Implement any further optimizations added to the ImageJ version
- Author:
- Pete Bankhead
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
morphologicalReconstruction
(SimpleModifiableImage imMarker, SimpleImage imMask) Apply morphological reconstruction with the specified marker and mask images.
-
Constructor Details
-
MorphologicalReconstruction
public MorphologicalReconstruction()
-
-
Method Details
-
morphologicalReconstruction
public static boolean morphologicalReconstruction(SimpleModifiableImage imMarker, SimpleImage imMask) Apply morphological reconstruction with the specified marker and mask images.- Parameters:
imMarker
-imMask
-- Returns:
- true if the reconstruction terminated successfully, false if it stopped early (e.g. due to an interruption).
-