public class Repeat extends BinarySegmentationUnary
Constructor and Description |
---|
Repeat() |
Modifier and Type | Method and Description |
---|---|
int |
getIterations()
The maximum number of iterations.
|
BinaryVoxels<UnsignedByteBuffer> |
segmentFromExistingSegmentation(VoxelsUntyped voxels,
BinarySegmentationParameters parameters,
Optional<ObjectMask> objectMask,
BinarySegmentation segment)
Performs a binary-segmentation, in a similar manner to
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. |
void |
setIterations(int iterations)
The maximum number of iterations.
|
getSegment, segment, setSegment
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public BinaryVoxels<UnsignedByteBuffer> segmentFromExistingSegmentation(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask, BinarySegmentation segment) throws SegmentationFailedException
BinarySegmentationUnary
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.segmentFromExistingSegmentation
in class BinarySegmentationUnary
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 int getIterations()
public void setIterations(int iterations)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.