Class SegmentWithSeeds
- All Implemented Interfaces:
Provider<ObjectCollection>
Takes each object one-by-one from
objectsSource
, and finds matching seeds from
objectsSeeds
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectCollection
createFromChannel
(Channel channel) Creates anObjectCollection
from a sourceChannel
.void
setObjectsSeeds
(ObjectCollectionProvider objectsSeeds) void
setObjectsSource
(ObjectCollectionProvider objectsSource) void
setSegment
(SegmentChannelIntoObjects segment) Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithChannelBase
get, getChannel, setChannel
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
-
SegmentWithSeeds
public SegmentWithSeeds()
-
-
Method Details
-
createFromChannel
Description copied from class:WithChannelBase
Creates anObjectCollection
from a sourceChannel
.- Specified by:
createFromChannel
in classWithChannelBase
- Parameters:
channel
- the source channel- Returns:
- the created object collection
- Throws:
ProvisionFailedException
- if object creation fails
-
getObjectsSource
-
setObjectsSource
-
getObjectsSeeds
-
setObjectsSeeds
-
getSegment
-
setSegment
-