mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #22035 from mohawk2:patch-1
This commit is contained in:
commit
f9c7931800
@ -116,7 +116,7 @@ cv::flann::L2 - Squared Euclidean distance functor, optimized version.
|
||||
|
||||
cv::flann::L1 - Manhattan distance functor, optimized version.
|
||||
|
||||
cv::flann::MinkowskiDistance - The Minkowsky distance functor.
|
||||
cv::flann::MinkowskiDistance - The Minkowski distance functor.
|
||||
This is highly optimised with loop unrolling.
|
||||
The computation of squared root at the end is omitted for efficiency.
|
||||
|
||||
|
@ -375,7 +375,7 @@ struct MinkowskiDistance
|
||||
MinkowskiDistance(int order_) : order(order_) {}
|
||||
|
||||
/**
|
||||
* Compute the Minkowsky (L_p) distance between two vectors.
|
||||
* Compute the Minkowski (L_p) distance between two vectors.
|
||||
*
|
||||
* This is highly optimised, with loop unrolling, as it is one
|
||||
* of the most expensive inner loops.
|
||||
|
Loading…
Reference in New Issue
Block a user