Tegra optimization for CirclesGridClusterFinder::hierarchicalClustering

pull/13383/head
Andrey Kamaev 13 years ago
parent f262f58297
commit f45a886adc
  1. 4
      modules/calib3d/src/circlesgrid.cpp
  2. 4
      modules/calib3d/src/precomp.hpp

@ -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

Loading…
Cancel
Save