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>

public class AssociateDescriptionArraySets<Desc>
extends BaseAssociateDescriptionSets<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.
  • Constructor Details

    • AssociateDescriptionArraySets

      public AssociateDescriptionArraySets​(AssociateDescription<Desc> associator)
      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:
      initialize in class BaseAssociateDescriptionSets<Desc>
    • addSource

      public void addSource​(Desc description, int set)
      Adds a new descriptor and its set to the list. The order that descriptors are added is important and saved.
      Specified by:
      addSource in class BaseAssociateDescriptionSets<Desc>
    • addDestination

      public void addDestination​(Desc description, int set)
      Adds a new descriptor and its set to the list. The order that descriptors are added is important and saved.
      Specified by:
      addDestination in class BaseAssociateDescriptionSets<Desc>
    • associate

      public void associate()
      Associates each set of features independently then puts them back into a single list for output