public class Sequence extends BinarySegmentation
Constructor and Description |
---|
Sequence() |
Modifier and Type | Method and Description |
---|---|
void |
checkMisconfigured(BeanInstanceMap defaultInstances)
Checks that a bean's properties conform to expectations.
|
List<BinarySegmentation> |
getList()
A list of binary-segmentations that are applied successively (the output of the predecessor
becomes the input of the sucecssor)
|
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.
|
void |
setList(List<BinarySegmentation> list)
A list of binary-segmentations that are applied successively (the output of the predecessor
becomes the input of the sucecssor)
|
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public void checkMisconfigured(BeanInstanceMap defaultInstances) throws BeanMisconfiguredException
AnchorBean
checkMisconfigured
in class AnchorBean<BinarySegmentation>
defaultInstances
- all available default instances if the DefaultInstance
annotation is usedBeanMisconfiguredException
- if the bean has not been configured properly as XMLpublic 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.public List<BinarySegmentation> getList()
public void setList(List<BinarySegmentation> list)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.