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 ObjectCollectioncreateFromChannel(Channel channel) Creates anObjectCollectionfrom a sourceChannel.voidsetObjectsSeeds(ObjectCollectionProvider objectsSeeds) voidsetObjectsSource(ObjectCollectionProvider objectsSource) voidsetSegment(SegmentChannelIntoObjects segment) Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.WithChannelBase
get, getChannel, setChannelMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods 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:WithChannelBaseCreates anObjectCollectionfrom a sourceChannel.- Specified by:
createFromChannelin classWithChannelBase- Parameters:
channel- the source channel- Returns:
- the created object collection
- Throws:
ProvisionFailedException- if object creation fails
-
getObjectsSource
-
setObjectsSource
-
getObjectsSeeds
-
setObjectsSeeds
-
getSegment
-
setSegment
-