Class EnsureUniqueAssociation

java.lang.Object
boofcv.alg.feature.associate.EnsureUniqueAssociation

public class EnsureUniqueAssociation extends Object
Removes any ambiguous associations. If multiple features from the 'src' match the same feature in the 'dst' then only the association with the lowest 'fitScore' is saved.
  • Constructor Details

    • EnsureUniqueAssociation

      public EnsureUniqueAssociation()
  • Method Details

    • process

      public void process(DogArray<AssociatedIndex> matches, int sizeDst)
      Removes ambiguous associations. Call getMatches() to get the list of unambiguous matches.
      Parameters:
      matches - List of candidate associations
      sizeDst - Number of 'dst' features
    • getMatches

      public FastAccess<AssociatedIndex> getMatches()
      List of unambiguous matches.
      Returns:
      list of matches