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 ObjectCollectioncreateFromObjects(ObjectCollection objectsSource, Channel channelSource) Creates objects from a source collection and a channel.voidsetBinarySgmn(BinarySegmentation binarySgmn) Methods inherited from class org.anchoranalysis.plugin.image.bean.object.provider.UnaryWithChannelBase
createFromObjects, getChannel, setChannelMethods inherited from class org.anchoranalysis.image.bean.provider.ObjectCollectionProviderUnary
get, getObjects, setObjectsMethods 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
-
BinarySegmentByObject
public BinarySegmentByObject()
-
-
Method Details
-
createFromObjects
protected ObjectCollection createFromObjects(ObjectCollection objectsSource, Channel channelSource) throws ProvisionFailedException Description copied from class:UnaryWithChannelBaseCreates objects from a source collection and a channel.- Specified by:
createFromObjectsin classUnaryWithChannelBase- Parameters:
objectsSource- the source object collectionchannelSource- the source channel- Returns:
- the newly created object collection
- Throws:
ProvisionFailedException- if object creation fails
-
getBinarySgmn
-
setBinarySgmn
-