Package boofcv.alg.feature.associate
Interface AssociateImageDistanceFunction
- All Known Implementing Classes:
AssociateImageDistanceEuclideanSq
public interface AssociateImageDistanceFunction
Computes the distance between two points. For use in
AssociateGreedyBase2D
-
Method Summary
Modifier and TypeMethodDescriptiondouble
convertPixelsToDistance
(double pixels) Converts a distance specified in pixels into the output distanec measureCopy for concurrency.double
distance
(int index, Point2D_F64 pixel) Distance from the sourcevoid
setSource
(int index, Point2D_F64 pixel) The source point which the distance is computed relative to
-
Method Details
-
setSource
The source point which the distance is computed relative to- Parameters:
index
- Index in the source listpixel
- pixel value
-
distance
Distance from the source- Parameters:
index
- Index in dst listpixel
- pixel value
-
copyConcurrent
AssociateImageDistanceFunction 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
-