Class ConfigAssociateNearestNeighbor

java.lang.Object
boofcv.factory.feature.associate.ConfigAssociateNearestNeighbor
All Implemented Interfaces:
Configuration, Serializable

public class ConfigAssociateNearestNeighbor extends Object implements Configuration
Configuration for AssociateNearestNeighbor_ST.
See Also:
  • Field Details

    • distanceIsSquared

      public boolean distanceIsSquared
      If true then the score which represents the distance between two features is squared. If this flag is true then when the score ratio is computed the square root will be used.
    • scoreRatioThreshold

      public double scoreRatioThreshold
      If less than one then the best two matches are found the ratio is defined as the distance of the best divided by the distance of the second best. Matches are only accepted if less than this ratio
    • maxErrorThreshold

      public double maxErrorThreshold
      If more than zero then this is the maximum allowed error/distance between two features for a match to be accepted
    • maxNodesSearched

      public int maxNodesSearched
      The maximum number of nodes it will search in a KD-Tree. Setting a limit will improve speed at the cost of accuracy.
  • Constructor Details

    • ConfigAssociateNearestNeighbor

      public ConfigAssociateNearestNeighbor()
  • Method Details