Interface AssociateImageDistanceFunction

All Known Implementing Classes:
AssociateImageDistanceEuclideanSq

public interface AssociateImageDistanceFunction
Computes the distance between two points. For use in AssociateGreedyBase2D
  • Method Details

    • setSource

      void setSource(int index, Point2D_F64 pixel)
      The source point which the distance is computed relative to
      Parameters:
      index - Index in the source list
      pixel - pixel value
    • distance

      double distance(int index, Point2D_F64 pixel)
      Distance from the source
      Parameters:
      index - Index in dst list
      pixel - pixel value
    • copyConcurrent

      Copy for concurrency. All functions must be thread safe
    • convertPixelsToDistance

      double convertPixelsToDistance(double pixels)
      Converts a distance specified in pixels into the output distanec measure