Interface PointMatchCreator
- All Known Implementing Classes:
ImageCorrelationPointMatchCreator,InterestPointMatchCreator,MetaDataWeakLinkCreator,WeakLinkPointMatchCreator
public interface PointMatchCreator
-
Method Summary
Modifier and TypeMethodDescription<M extends mpicbg.models.Model<M>>
voidassignPointMatches(HashMap<mpicbg.spim.data.sequence.ViewId, mpicbg.models.Tile<M>> tileMap, ArrayList<Group<mpicbg.spim.data.sequence.ViewId>> groups, Collection<mpicbg.spim.data.sequence.ViewId> fixedViews) assign pointmatches for all views that this object knows and that are present in tileMap.keySet(), which comes from getAllViews() plus what is in the group definition of the globalopt called last<M extends mpicbg.models.Model<M>>
voidassignWeights(HashMap<mpicbg.spim.data.sequence.ViewId, mpicbg.models.Tile<M>> tileMap, ArrayList<Group<mpicbg.spim.data.sequence.ViewId>> groups, Collection<mpicbg.spim.data.sequence.ViewId> fixedViews) By default all weights are 1, if wanted one can adjust them here, otherwise simply return.
-
Method Details
-
getAllViews
HashSet<mpicbg.spim.data.sequence.ViewId> getAllViews()- Returns:
- - all views that this class knows and that are part of the global opt, called first
-
assignWeights
<M extends mpicbg.models.Model<M>> void assignWeights(HashMap<mpicbg.spim.data.sequence.ViewId, mpicbg.models.Tile<M>> tileMap, ArrayList<Group<mpicbg.spim.data.sequence.ViewId>> groups, Collection<mpicbg.spim.data.sequence.ViewId> fixedViews) By default all weights are 1, if wanted one can adjust them here, otherwise simply return. The idea is to modify the weights in the PointMatchGeneric objects, that are later on just added called second- Type Parameters:
M- model type- Parameters:
tileMap- - the map from viewId to Tilegroups- - which groups existfixedViews- - which views are fixed (one might need it?)
-
assignPointMatches
<M extends mpicbg.models.Model<M>> void assignPointMatches(HashMap<mpicbg.spim.data.sequence.ViewId, mpicbg.models.Tile<M>> tileMap, ArrayList<Group<mpicbg.spim.data.sequence.ViewId>> groups, Collection<mpicbg.spim.data.sequence.ViewId> fixedViews) assign pointmatches for all views that this object knows and that are present in tileMap.keySet(), which comes from getAllViews() plus what is in the group definition of the globalopt called last- Type Parameters:
M- model type- Parameters:
tileMap- - the map from viewId to Tilegroups- - which groups exist (one might need it?)fixedViews- - which views are fixed (one might need it?)
-