Remove gcd function from core headers

This commit is contained in:
Andrey Kamaev
2013-03-30 21:47:42 +04:00
parent c886afb502
commit 4ab650d15b
3 changed files with 50 additions and 46 deletions

View File

@@ -995,6 +995,8 @@ inline bool HOGDescriptorTester::is_failed() const
return failed;
}
static inline int gcd(int a, int b) { return (a % b == 0) ? b : gcd (b, a % b); }
void HOGDescriptorTester::detect(const Mat& img,
vector<Point>& hits, vector<double>& weights, double hitThreshold,
Size winStride, Size padding, const vector<Point>& locations) const