public class FloodFillEachIntensityLevel extends SegmentChannelIntoObjects
startingColor
) by
flood-filling.
This algorithm only works with 2D images.
Constructor and Description |
---|
FloodFillEachIntensityLevel() |
Modifier and Type | Method and Description |
---|---|
int |
getMinimumBoundingBoxVolume()
Only objects whose bounding-box volume is greater or equal to this threshold are included.
|
int |
getStartingIntensity()
The first intensity-value to consider as a valid object (e.g.
|
ObjectCollection |
segment(Channel channel,
Optional<ObjectMask> objectMask,
Optional<ObjectCollection> seeds)
Segments a channel to produce an object-collection.
|
void |
setMinimumBoundingBoxVolume(int minimumBoundingBoxVolume)
Only objects whose bounding-box volume is greater or equal to this threshold are included.
|
void |
setStartingIntensity(int startingIntensity)
The first intensity-value to consider as a valid object (e.g.
|
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 int getMinimumBoundingBoxVolume()
public void setMinimumBoundingBoxVolume(int minimumBoundingBoxVolume)
public int getStartingIntensity()
public void setStartingIntensity(int startingIntensity)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.