Class GrayscaleReconstructionByErosion
Object
AnchorBean<GrayscaleReconstructionByErosion>
GrayscaleReconstructionByErosion
- Direct Known Subclasses:
GrayscaleReconstructionRobinson
public abstract class GrayscaleReconstructionByErosion
extends AnchorBean<GrayscaleReconstructionByErosion>
Abstract base class for performing grayscale reconstruction by erosion.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract VoxelsUntypedreconstruction(VoxelsUntyped mask, VoxelsUntyped marker, Optional<ObjectMask> containingMask) Performs grayscale reconstruction of a mask image from a marker image.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
GrayscaleReconstructionByErosion
public GrayscaleReconstructionByErosion()
-
-
Method Details
-
reconstruction
public abstract VoxelsUntyped reconstruction(VoxelsUntyped mask, VoxelsUntyped marker, Optional<ObjectMask> containingMask) throws OperationFailedException Performs grayscale reconstruction of a mask image from a marker image.The reconstruction is performed such that
mask <= markerImg, but only inside the containingMask (if provided).- Parameters:
mask- theVoxelsUntypedrepresenting the mask imagemarker- theVoxelsUntypedrepresenting the marker imagecontainingMask- an optionalObjectMaskthat limits the reconstruction to a specific region- Returns:
- the reconstructed
VoxelsUntyped - Throws:
OperationFailedException- if the reconstruction operation fails
-