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
ConstructorDescriptionDescribe2D
(AssociateDescription2D<Desc> alg, boolean checkSource, boolean checkDestination) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(int imageWidth, int imageHeight) Initialize by specifying the image width/height.void
setDestination
(FastAccess<Point2D_F64> location, FastAccess<Desc> listDst) Provide the location and descriptions for destination features.void
setSource
(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, uniqueSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:AssociateDescription2D
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- Specified by:
initialize
in interfaceAssociateDescription2D<Desc>
- Parameters:
imageWidth
- Input image widthimageHeight
- Input image height
-
setSource
Description copied from interface:AssociateDescription2D
Provide the location and descriptions for source features.- Specified by:
setSource
in interfaceAssociateDescription2D<Desc>
- Parameters:
location
- Feature locations.listSrc
- Feature descriptions.
-
setDestination
Description copied from interface:AssociateDescription2D
Provide the location and descriptions for destination features.- Specified by:
setDestination
in interfaceAssociateDescription2D<Desc>
- Parameters:
location
- Feature locations.listDst
- Feature descriptions.
-