Class ImposeMinima
Imposes minima in seed locations on the input-channel before performing the segmentation
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsegment
(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds, SegmentChannelIntoObjects upstreamSegmenter) Creates anObjectCollection
given the segmentation-results provided by the delegate.void
setMinimaImposition
(MinimaImposition minimaImposition) Methods inherited from class org.anchoranalysis.image.bean.segment.object.SegmentChannelIntoObjectsUnary
getSegment, segment, setSegment
Methods inherited from class org.anchoranalysis.image.bean.segment.object.SegmentChannelIntoObjects
checkUnsupported3D, checkUnsupportedObjectMask, checkUnsupportedSeeds
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ImposeMinima
public ImposeMinima()
-
-
Method Details
-
segment
public ObjectCollection segment(Channel channel, Optional<ObjectMask> objectMask, Optional<ObjectCollection> seeds, SegmentChannelIntoObjects upstreamSegmenter) throws SegmentationFailedException Description copied from class:SegmentChannelIntoObjectsUnary
Creates anObjectCollection
given the segmentation-results provided by the delegate.- Specified by:
segment
in classSegmentChannelIntoObjectsUnary
- Parameters:
channel
- the channel as passed toSegmentChannelIntoObjectsUnary.segment(Channel, Optional, Optional)
.objectMask
- the object-mask as passed toSegmentChannelIntoObjectsUnary.segment(Channel, Optional, Optional)
.seeds
- the seeds as passed toSegmentChannelIntoObjectsUnary.segment(Channel, Optional, Optional)
.upstreamSegmenter
- the delegate segmenter.- Returns:
- the created
ObjectCollection
that is returned by the segmentation. - Throws:
SegmentationFailedException
- if segmentation cannot complete successfully.
-
getMinimaImposition
-
setMinimaImposition
-