public class WatershedYeong extends SegmentChannelIntoObjects
See:
Note:
Constructor and Description |
---|
WatershedYeong() |
Modifier and Type | Method and Description |
---|---|
boolean |
isExitWithMinima()
If true, exits early and just returns the minima, without any further segmentation
|
ObjectCollection |
segment(Channel channel,
Optional<ObjectMask> objectMask,
Optional<ObjectCollection> seeds)
Segments a channel to produce an object-collection.
|
void |
setExitWithMinima(boolean exitWithMinima)
If true, exits early and just returns the minima, without any further segmentation
|
checkUnsupported3D, checkUnsupportedObjectMask, checkUnsupportedSeeds
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
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 boolean isExitWithMinima()
public void setExitWithMinima(boolean exitWithMinima)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.