Class BinarySegmentation
- Direct Known Subclasses:
BinarySegmentationReference,BinarySegmentationThreshold,BinarySegmentationUnary,Sequence,ThresholdAgainstChannel
Performs a segmentation on voxels so that each voxel has an on or off state after
the operation.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BinaryVoxels<UnsignedByteBuffer> segment(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask) Performs a segmentation on voxels so that each voxel has an on or off state after the operation.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
BinarySegmentation
protected BinarySegmentation()
-
-
Method Details
-
segment
public abstract BinaryVoxels<UnsignedByteBuffer> segment(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask) throws SegmentationFailedException Performs a segmentation on voxels so that each voxel has an on or off state after the operation.- Parameters:
voxels- voxels to segment.parameters- parameters to guide the algorithm.objectMask- if present, segmentation only occurs inside this object.- Returns:
- voxels for a mask on the input-buffer, which may be newly-created, or may reuse the
input
voxels, depending on implementation. - Throws:
SegmentationFailedException- if the segmentation cannot be successfully completed.
-