Commit f45a886a authored by Andrey Kamaev's avatar Andrey Kamaev

Tegra optimization for CirclesGridClusterFinder::hierarchicalClustering

parent f262f582
......@@ -52,6 +52,10 @@ using namespace std;
void CirclesGridClusterFinder::hierarchicalClustering(const vector<Point2f> points, const Size &patternSize, vector<Point2f> &patternPoints)
{
#ifdef HAVE_TEGRA_OPTIMIZATION
if(tegra::hierarchicalClustering(points, patternSize, patternPoints))
return;
#endif
int i, j, n = (int)points.size();
size_t pn = static_cast<size_t>(patternSize.area());
......
......@@ -57,4 +57,8 @@
#include "opencv2/features2d/features2d.hpp"
#include <vector>
#ifdef HAVE_TEGRA_OPTIMIZATION
#include "opencv2/calib3d/calib3d_tegra.hpp"
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment