#include "_lsvm_fft.h"
#include "_lsvm_routine.h"
-#undef HAVE_TBB
-
#ifdef HAVE_TBB
#include "_lsvm_tbbversion.h"
#endif
CvPoint **points, int **levels, int *kPoints,
CvPoint ***partsDisplacement);
-#undef HAVE_TBB
-
#ifdef HAVE_TBB
/*
// int tbbThresholdFunctionalScore(const CvLSVMFilterObject **all_F, int n,
#include "_latentsvm.h"\r
#include "_lsvm_matching.h"\r
\r
-#undef HAVE_TBB\r
-\r
/*\r
// Transformation filter displacement from the block space \r
// to the space of pixels at the initial image\r
#include "precomp.hpp"\r
\r
-#undef HAVE_TBB\r
-\r
#ifdef HAVE_TBB\r
#include "_lsvm_tbbversion.h"\r
\r
for (i = 0; i < kLevels; i++)\r
{\r
level = procLevels[i];\r
- partsLevel = level - H->lambda;\r
+ partsLevel = level - LAMBDA;//H->lambda;\r
res = thresholdFunctionalScoreFixedLevel(\r
filters, n, H, level, b,\r
maxXBorder, maxYBorder, scoreThreshold, &(score[partsLevel]), \r
#include "_lsvm_matching.h"\r
#include <stdio.h>\r
\r
-#undef HAVE_TBB\r
-\r
#ifndef max\r
#define max(a,b) (((a) > (b)) ? (a) : (b))\r
#endif\r
// Computation the number of levels for seaching object,\r
// first lambda-levels are used for computation values\r
// of score function for each position of root filter\r
- numLevels = H->countLevel - H->lambda;\r
-\r
+ numLevels = H->numLevels;\r
kLevels = (int *)malloc(sizeof(int) * threadsNum);\r
procLevels = (int **)malloc(sizeof(int*) * threadsNum);\r
computeBorderSize(maxXBorder, maxYBorder, &bx, &by);\r
for (i = 0; i < numLevels; i++)\r
{\r
// Computation the number of level\r
- level = i + H->lambda; \r
+ level = i + LAMBDA;//H->lambda; \r
\r
// Addition a set of points\r
f += tmpKPoints[i];\r
#include "test_precomp.hpp"
-#undef HAVE_TBB
-
#include <string>
#ifdef HAVE_CVCONFIG_H