Class Repeat
Object
AnchorBean<BinarySegmentation>
InitializableBean<BinarySegmentation, ImageInitialization>
ImageBean<BinarySegmentation>
SegmentationBean<BinarySegmentation>
BinarySegmentation
BinarySegmentationUnary
Repeat
public class Repeat
extends BinarySegmentationUnary
Repeats a binary segmentation operation for a specified number of iterations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe maximum number of iterations.BinaryVoxels<UnsignedByteBuffer> segmentFromExistingSegmentation(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask, BinarySegmentation segment) voidsetIterations(int iterations) The maximum number of iterations.Methods inherited from class org.anchoranalysis.image.bean.segment.binary.BinarySegmentationUnary
getSegment, segment, setSegmentMethods 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
-
Repeat
public Repeat()
-
-
Method Details
-
segmentFromExistingSegmentation
public BinaryVoxels<UnsignedByteBuffer> segmentFromExistingSegmentation(VoxelsUntyped voxels, BinarySegmentationParameters parameters, Optional<ObjectMask> objectMask, BinarySegmentation segment) throws SegmentationFailedException - Specified by:
segmentFromExistingSegmentationin classBinarySegmentationUnary- Throws:
SegmentationFailedException
-
getIterations
public int getIterations()The maximum number of iterations.If the mask no longer has on voxels after fewer iterations, it will terminate earlier.
-
setIterations
public void setIterations(int iterations) The maximum number of iterations.If the mask no longer has on voxels after fewer iterations, it will terminate earlier.
-