Package boofcv.abst.feature.associate
Class EnforceUniqueByScore.Describe2D<Desc>
java.lang.Object
boofcv.abst.feature.associate.EnforceUniqueByScore<Desc,AssociateDescription2D<Desc>>
boofcv.abst.feature.associate.EnforceUniqueByScore.Describe2D<Desc>
- Type Parameters:
Desc- Feature description type
- All Implemented Interfaces:
Associate<Desc>,AssociateDescription2D<Desc>
- Enclosing class:
- EnforceUniqueByScore<Desc,
A extends Associate<Desc>>
public static class EnforceUniqueByScore.Describe2D<Desc>
extends EnforceUniqueByScore<Desc,AssociateDescription2D<Desc>>
implements AssociateDescription2D<Desc>
Implementation of
EnforceUniqueByScore for AssociateDescription2D.-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.abst.feature.associate.EnforceUniqueByScore
EnforceUniqueByScore.Describe<Desc>, EnforceUniqueByScore.Describe2D<Desc> -
Field Summary
Fields inherited from class boofcv.abst.feature.associate.EnforceUniqueByScore
association, numDestination, numSource, unassociated, uniqueByScore -
Constructor Summary
ConstructorsConstructorDescriptionDescribe2D(AssociateDescription2D<Desc> alg, boolean checkSource, boolean checkDestination) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(int imageWidth, int imageHeight) Initialize by specifying the image width/height.voidsetDestination(FastAccess<Point2D_F64> location, FastAccess<Desc> listDst) Provide the location and descriptions for destination features.voidsetSource(FastAccess<Point2D_F64> location, FastAccess<Desc> listSrc) Provide the location and descriptions for source features.Methods inherited from class boofcv.abst.feature.associate.EnforceUniqueByScore
associate, getDescriptionType, getMatches, getScoreType, getUnassociatedDestination, getUnassociatedSource, setMaxScoreThreshold, uniqueDestination, uniqueSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.abst.feature.associate.Associate
associate, getDescriptionType, getMatches, getScoreType, getUnassociatedDestination, getUnassociatedSource, setMaxScoreThreshold, uniqueDestination, uniqueSource
-
Constructor Details
-
Describe2D
-
-
Method Details
-
initialize
public void initialize(int imageWidth, int imageHeight) Description copied from interface:AssociateDescription2DInitialize 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- Specified by:
initializein interfaceAssociateDescription2D<Desc>- Parameters:
imageWidth- Input image widthimageHeight- Input image height
-
setSource
Description copied from interface:AssociateDescription2DProvide the location and descriptions for source features.- Specified by:
setSourcein interfaceAssociateDescription2D<Desc>- Parameters:
location- Feature locations.listSrc- Feature descriptions.
-
setDestination
Description copied from interface:AssociateDescription2DProvide the location and descriptions for destination features.- Specified by:
setDestinationin interfaceAssociateDescription2D<Desc>- Parameters:
location- Feature locations.listDst- Feature descriptions.
-