Class BinarySegmentByObject
- All Implemented Interfaces:
Provider<ObjectCollection>
Performs a binary-segmentation using the upstream objects as masks.
Note that if there is more than one upstream object, multiple segmentations occur (one for each mask) and are then combined.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectCollection
createFromObjects
(ObjectCollection objectsSource, Channel channelSource) Creates objects from a source collection and a channel.void
setBinarySgmn
(BinarySegmentation binarySgmn) Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.UnaryWithChannelBase
createFromObjects, getChannel, setChannel
Methods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
get, getObjects, setObjects
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
-
BinarySegmentByObject
public BinarySegmentByObject()
-
-
Method Details
-
createFromObjects
protected ObjectCollection createFromObjects(ObjectCollection objectsSource, Channel channelSource) throws ProvisionFailedException Description copied from class:UnaryWithChannelBase
Creates objects from a source collection and a channel.- Specified by:
createFromObjects
in classUnaryWithChannelBase
- Parameters:
objectsSource
- the source object collectionchannelSource
- the source channel- Returns:
- the newly created object collection
- Throws:
ProvisionFailedException
- if object creation fails
-
getBinarySgmn
-
setBinarySgmn
-