public class BinarySegmentationThreshold extends BinarySegmentation
BinarySegmentation
that performs global
thresholding.Constructor and Description |
---|
BinarySegmentationThreshold() |
Modifier and Type | Method and Description |
---|---|
Thresholder |
getThresholder()
Performs the global thresholding.
|
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 |
setThresholder(Thresholder thresholder)
Performs the global thresholding.
|
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.public Thresholder getThresholder()
public void setThresholder(Thresholder thresholder)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.