public class ConnectedComponentsFromBinarySegmentation extends SegmentChannelIntoObjects
Constructor and Description |
---|
ConnectedComponentsFromBinarySegmentation() |
Modifier and Type | Method and Description |
---|---|
int |
getMinNumberVoxels() |
BinarySegmentation |
getSegment() |
ObjectCollection |
segment(Channel channel,
Optional<ObjectMask> objectMask,
Optional<ObjectCollection> seeds)
Segments a channel to produce an object-collection.
|
void |
setMinNumberVoxels(int minNumberVoxels) |
void |
setSegment(BinarySegmentation segment) |
checkUnsupported3D, checkUnsupportedObjectMask, checkUnsupportedSeeds
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ConnectedComponentsFromBinarySegmentation()
public ObjectCollection segment(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds) throws SegmentationFailedException
SegmentChannelIntoObjects
segment
in class SegmentChannelIntoObjects
channel
- the channel to segmentobjectMask
- an object-mask that can restrict which areas of the channel are considered.seeds
- seeds that can be used to determine starting-points for segmentation regions.SegmentationFailedException
- if anything goes wrong during the segmentation.public BinarySegmentation getSegment()
public void setSegment(BinarySegmentation segment)
public int getMinNumberVoxels()
public void setMinNumberVoxels(int minNumberVoxels)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.