Class MinimaImposition
- Direct Known Subclasses:
MinimaImpositionGrayscaleReconstruction
Abstract base class for imposing minima on a channel for watershed segmentation.
This class provides a framework for different strategies of imposing minima on a channel, which is a crucial step in watershed-based segmentation algorithms.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ChannelimposeMinima(Channel channel, ObjectCollection seeds, Optional<ObjectMask> containingMask) Imposes minima on a channel based on seed objects and an optional containing mask.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
MinimaImposition
public MinimaImposition()
-
-
Method Details
-
imposeMinima
public abstract Channel imposeMinima(Channel channel, ObjectCollection seeds, Optional<ObjectMask> containingMask) throws OperationFailedException Imposes minima on a channel based on seed objects and an optional containing mask.- Parameters:
channel- theChannelon which to impose minimaseeds- theObjectCollectionrepresenting seed objects for minimacontainingMask- an optionalObjectMaskthat constrains the area where minima can be imposed- Returns:
- a new
Channelwith imposed minima - Throws:
OperationFailedException- if the minima imposition operation fails
-