Class GrayscaleReconstruction2DIJ
Object
AnchorBean<GrayscaleReconstructionByErosion>
GrayscaleReconstructionByErosion
GrayscaleReconstruction2DIJ
Performs 2D grayscale reconstruction using ImageJ's implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreconstruction
(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
-
GrayscaleReconstruction2DIJ
public GrayscaleReconstruction2DIJ()
-
-
Method Details
-
reconstruction
public VoxelsUntyped reconstruction(VoxelsUntyped mask, VoxelsUntyped marker, Optional<ObjectMask> containingMask) throws OperationFailedException Description copied from class:GrayscaleReconstructionByErosion
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).- Specified by:
reconstruction
in classGrayscaleReconstructionByErosion
- Parameters:
mask
- theVoxelsUntyped
representing the mask imagemarker
- theVoxelsUntyped
representing the marker imagecontainingMask
- an optionalObjectMask
that limits the reconstruction to a specific region- Returns:
- the reconstructed
VoxelsUntyped
- Throws:
OperationFailedException
- if the reconstruction operation fails
-