Class AssociateNearestNeighbor_MT<D>

java.lang.Object
boofcv.alg.feature.associate.AssociateNearestNeighbor<D>
boofcv.alg.feature.associate.AssociateNearestNeighbor_MT<D>
All Implemented Interfaces:
Associate<D>, AssociateDescription<D>

public class AssociateNearestNeighbor_MT<D>
extends AssociateNearestNeighbor<D>

Parallel associate version of AssociateNearestNeighbor_ST.

  • Constructor Details

    • AssociateNearestNeighbor_MT

      public AssociateNearestNeighbor_MT​(NearestNeighbor<D> alg, Class<D> descType)
  • Method Details

    • setSource

      public void setSource​(FastAccess<D> listSrc)
      Description copied from interface: AssociateDescription
      Sets the list of source features. NOTE: A reference to the input list might be saved internally until the next call to this function.
      Specified by:
      setSource in interface AssociateDescription<D>
      Overrides:
      setSource in class AssociateNearestNeighbor<D>
      Parameters:
      listSrc - List of features
    • setDestination

      public void setDestination​(FastAccess<D> listDst)
      Description copied from interface: AssociateDescription
      Sets the list of destination features NOTE: A reference to the input list might be saved internally until the next call to this function.
      Specified by:
      setDestination in interface AssociateDescription<D>
      Overrides:
      setDestination in class AssociateNearestNeighbor<D>
      Parameters:
      listDst - List of features
    • associate

      public void associate()
      Description copied from interface: Associate
      Finds the best match for each item in the source list with an item in the destination list.
    • getDescriptionType

      public Class<D> getDescriptionType()
      Description copied from interface: Associate
      Returns the type of object it can associate