Package boofcv.abst.feature.associate
Interface AssociateDescription2D<Desc>
- Type Parameters:
Desc- Feature description type.
- All Superinterfaces:
Associate<Desc>
- All Known Subinterfaces:
AssociateMaxDistance<D>
- All Known Implementing Classes:
AbstractAssociateDescription2D,AssociateDescription2DDefault,AssociateDescTo2D,AssociateStereo2D,EnforceUniqueByScore.Describe2D,WrapAssociateGreedy2D
Associates features from two images together using both 2D location and descriptor information. Each
source feature is paired up with a single feature in the destination. If a match is not found then it
is added to the unassociated list.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(int imageWidth, int imageHeight) Initialize by specifying the image width/height.voidsetDestination(FastAccess<Point2D_F64> location, FastAccess<Desc> descriptions) Provide the location and descriptions for destination features.voidsetSource(FastAccess<Point2D_F64> location, FastAccess<Desc> descriptions) Provide the location and descriptions for source features.Methods inherited from interface boofcv.abst.feature.associate.Associate
associate, getDescriptionType, getMatches, getScoreType, getUnassociatedDestination, getUnassociatedSource, setMaxScoreThreshold, uniqueDestination, uniqueSource
-
Method Details
-
initialize
void initialize(int imageWidth, int imageHeight) Initialize by specifying the image width/height. Used to precompute internal data structures and set thresholds. If images are different sizes just use the largest width/height- Parameters:
imageWidth- Input image widthimageHeight- Input image height
-
setSource
Provide the location and descriptions for source features.- Parameters:
location- Feature locations.descriptions- Feature descriptions.
-
setDestination
Provide the location and descriptions for destination features.- Parameters:
location- Feature locations.descriptions- Feature descriptions.
-