Package org.anchoranalysis.mpp.init
Class MarksInitialization
Object
org.anchoranalysis.mpp.init.MarksInitialization
- All Implemented Interfaces:
BeanInitialization
public class MarksInitialization extends Object implements BeanInitialization
Initialization class for marks-related components in the MPP framework.
This class manages the initialization of various mark-related stores and provides access to image and points initialization.
-
Constructor Summary
Constructors Constructor Description MarksInitialization(ImageInitialization image)Constructs a MarksInitialization with the given ImageInitialization. -
Method Summary
Modifier and Type Method Description DictionaryInitializationdictionary()Gets the DictionaryInitialization associated with this MarksInitialization.FeatureRelatedInitializationfeature()Gets the FeatureRelatedInitialization associated with this MarksInitialization.ImageInitializationimage()The image initialization associated with this marks initialization.NamedProviderStore<MarkBounds>markBounds()Store for mark bounds.NamedProviderStore<MarkCollectionProposer>markCollectionProposers()Store for mark collection proposers.NamedProviderStore<MarkMergeProposer>markMergeProposers()Store for mark merge proposers.NamedProviderStore<RandomCollection<MarkPair<Mark>>>markPairs()Store for random collections of mark pairs.NamedProviderStore<MarkProposer>markProposers()Store for mark proposers.NamedProviderStore<MarkCollection>marks()Store for mark collections.NamedProviderStore<MarkSplitProposer>markSplitProposers()Store for mark split proposers.PointsInitializationpoints()The points initialization associated with this marks initialization.voidpopulate(BeanInitializer<?> initializer, Define define, Logger logger)Populates the stores with beans from the given Define.
-
Constructor Details
-
MarksInitialization
Constructs a MarksInitialization with the given ImageInitialization.- Parameters:
image- The ImageInitialization to use
-
-
Method Details
-
feature
Gets the FeatureRelatedInitialization associated with this MarksInitialization.- Returns:
- The FeatureRelatedInitialization
-
dictionary
Gets the DictionaryInitialization associated with this MarksInitialization.- Returns:
- The DictionaryInitialization
-
populate
public void populate(BeanInitializer<?> initializer, Define define, Logger logger) throws OperationFailedExceptionPopulates the stores with beans from the given Define.- Parameters:
initializer- The BeanInitializer to usedefine- The Define containing the beans to populatelogger- The Logger to use for logging- Throws:
OperationFailedException- If the population operation fails
-
image
The image initialization associated with this marks initialization. -
points
The points initialization associated with this marks initialization. -
marks
Store for mark collections. -
markCollectionProposers
Store for mark collection proposers. -
markBounds
Store for mark bounds. -
markProposers
Store for mark proposers. -
markMergeProposers
Store for mark merge proposers. -
markSplitProposers
Store for mark split proposers. -
markPairs
Store for random collections of mark pairs.
-