Package boofcv.abst.feature.associate
Class AssociateDescriptionArraySets<Desc>
java.lang.Object
boofcv.abst.feature.associate.BaseAssociateSets<Desc>
boofcv.abst.feature.associate.BaseAssociateDescriptionSets<Desc>
boofcv.abst.feature.associate.AssociateDescriptionArraySets<Desc>
- All Implemented Interfaces:
Associate<Desc>
Feature set aware association algorithm. It works by breaking sorting descriptors into their sets and then
performing association independently. The matches are then combined together again into a single list.
-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.abst.feature.associate.BaseAssociateSets
BaseAssociateSets.SetStruct -
Field Summary
Fields inherited from class boofcv.abst.feature.associate.BaseAssociateSets
countDst, countSrc, matches, sets, unassociatedDst, unassociatedSrc -
Constructor Summary
ConstructorsConstructorDescriptionAssociateDescriptionArraySets(AssociateDescription<Desc> associator) Provides the association algorithm and the descriptor type -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDestination(Desc description, int set) Adds a new descriptor and its set to the list.voidAdds a new descriptor and its set to the list.voidAssociates each set of features independently then puts them back into a single list for outputvoidinitialize(int numberOfSets) Override the default behavior which assumes there's a one-to-one match between index and set IDMethods inherited from class boofcv.abst.feature.associate.BaseAssociateSets
clearDestination, clearSource, getDescriptionType, getMatches, getScoreType, getUnassociatedDestination, getUnassociatedSource, newSetStruct, saveSetAssociateResults, setMaxScoreThreshold, uniqueDestination, uniqueSource
-
Constructor Details
-
AssociateDescriptionArraySets
Provides the association algorithm and the descriptor type- Parameters:
associator- Association algorithm
-
-
Method Details
-
initialize
public void initialize(int numberOfSets) Override the default behavior which assumes there's a one-to-one match between index and set ID- Specified by:
initializein classBaseAssociateDescriptionSets<Desc>
-
addSource
Adds a new descriptor and its set to the list. The order that descriptors are added is important and saved.- Specified by:
addSourcein classBaseAssociateDescriptionSets<Desc>
-
addDestination
Adds a new descriptor and its set to the list. The order that descriptors are added is important and saved.- Specified by:
addDestinationin classBaseAssociateDescriptionSets<Desc>
-
associate
public void associate()Associates each set of features independently then puts them back into a single list for output
-