public abstract class BinarySegmentationUnary extends BinarySegmentation
BinarySegmentation
that delegates to one other BinarySegmentation
.Constructor and Description |
---|
BinarySegmentationUnary() |
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public BinaryVoxels<UnsignedByteBuffer> segment(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask) throws SegmentationFailedException
BinarySegmentation
segment
in class BinarySegmentation
voxels
- voxels to segment.parameters
- parameters to guide the algorithm.objectMask
- if present, segmentation only occurs inside this object.voxels
, depending on implementation.SegmentationFailedException
- if the segmentation cannot be successfully completed.protected abstract BinaryVoxels<UnsignedByteBuffer> segmentFromExistingSegmentation(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask, BinarySegmentation segment) throws SegmentationFailedException
BinarySegmentation.segment(org.anchoranalysis.image.voxel.VoxelsUntyped, org.anchoranalysis.image.bean.nonbean.segment.BinarySegmentationParameters, java.util.Optional<org.anchoranalysis.image.voxel.object.ObjectMask>)
but
with the delegate as additional argument.voxels
- voxels to segment.parameters
- parameters to guide the algorithm.objectMask
- if present, segmentation only occurs inside this object.segment
- the delegate BinarySegmentation
.voxels
, depending on implementation.SegmentationFailedException
- if the segmentation cannot be successfully completed.public BinarySegmentation getSegment()
BinarySegmentation
that may be called.public void setSegment(BinarySegmentation segment)
BinarySegmentation
that may be called.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.