Add BFMatcher_OCL class alias for BruteForceMatcher_OCL.
This adds a similar interface with pure-cpp and gpu versions.
This commit is contained in:
parent
3f93c3cc4e
commit
d053f2165d
@ -1245,6 +1245,11 @@ namespace cv
|
||||
explicit BruteForceMatcher_OCL(Hamming /*d*/) : BruteForceMatcher_OCL_base(HammingDist) {}
|
||||
};
|
||||
|
||||
class CV_EXPORTS BFMatcher_OCL : public BruteForceMatcher_OCL_base
|
||||
{
|
||||
public:
|
||||
explicit BFMatcher_OCL(int norm = NORM_L2) : BruteForceMatcher_OCL_base(norm == NORM_L1 ? L1Dist : norm == NORM_L2 ? L2Dist : HammingDist) {}
|
||||
};
|
||||
/////////////////////////////// PyrLKOpticalFlow /////////////////////////////////////
|
||||
class CV_EXPORTS PyrLKOpticalFlow
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user