Class AssociateGreedyBase2D<D>

java.lang.Object
boofcv.alg.feature.associate.AssociateGreedyBase<D>
boofcv.alg.feature.associate.AssociateGreedyBase2D<D>
Direct Known Subclasses:
AssociateGreedyBruteForce2D, AssociateGreedyBruteForce2D_MT

public abstract class AssociateGreedyBase2D<D> extends AssociateGreedyBase<D>
Base class for associating image features using descriptions and 2D distance cropping. Distance is computed using AssociateImageDistanceFunction interface.
  • Field Details

  • Constructor Details

  • Method Details

    • init

      public void init(int imageWidth, int imageHeight)
      Initializes data structures. Must call before associate()
      Parameters:
      imageWidth - Width of input image
      imageHeight - Height of input image
    • setSource

      public void setSource(FastAccess<Point2D_F64> location, FastAccess<D> descriptions)
    • setDestination

      public void setDestination(FastAccess<Point2D_F64> location, FastAccess<D> descriptions)
    • associate

      public abstract void associate()
      Performs association by computing a 2D score matrix and discarding matches which fail max distance check. See AssociateGreedyBase for a full description.