fixed compilation WITH_TBB
This commit is contained in:
@@ -224,10 +224,8 @@ namespace cv
|
|||||||
tvec.copyTo(initTvec);
|
tvec.copyTo(initTvec);
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
|
|
||||||
PnPSolver& operator=(const PnPSolver&);
|
PnPSolver& operator=(const PnPSolver&);
|
||||||
PnPSolver(const PnPSolver&);
|
|
||||||
|
|
||||||
const Mat& objectPoints;
|
const Mat& objectPoints;
|
||||||
const Mat& imagePoints;
|
const Mat& imagePoints;
|
||||||
const Parameters& parameters;
|
const Parameters& parameters;
|
||||||
|
@@ -272,7 +272,7 @@ int searchObjectThreshold(const CvLSVMFeaturePyramid *H,
|
|||||||
float scoreThreshold,
|
float scoreThreshold,
|
||||||
CvPoint **points, int **levels, int *kPoints,
|
CvPoint **points, int **levels, int *kPoints,
|
||||||
float **score, CvPoint ***partsDisplacement,
|
float **score, CvPoint ***partsDisplacement,
|
||||||
int /*numThreads*/)
|
int numThreads)
|
||||||
{
|
{
|
||||||
int opResult;
|
int opResult;
|
||||||
|
|
||||||
@@ -294,6 +294,8 @@ int searchObjectThreshold(const CvLSVMFeaturePyramid *H,
|
|||||||
scoreThreshold,
|
scoreThreshold,
|
||||||
score, points, levels,
|
score, points, levels,
|
||||||
kPoints, partsDisplacement);
|
kPoints, partsDisplacement);
|
||||||
|
|
||||||
|
(void)numThreads;
|
||||||
#endif
|
#endif
|
||||||
if (opResult != LATENT_SVM_OK)
|
if (opResult != LATENT_SVM_OK)
|
||||||
{
|
{
|
||||||
@@ -551,7 +553,7 @@ int searchObjectThresholdSomeComponents(const CvLSVMFeaturePyramid *H,
|
|||||||
const float *b, float scoreThreshold,
|
const float *b, float scoreThreshold,
|
||||||
CvPoint **points, CvPoint **oppPoints,
|
CvPoint **points, CvPoint **oppPoints,
|
||||||
float **score, int *kPoints,
|
float **score, int *kPoints,
|
||||||
int /*numThreads*/)
|
int numThreads)
|
||||||
{
|
{
|
||||||
int error = 0;
|
int error = 0;
|
||||||
int i, j, s, f, componentIndex;
|
int i, j, s, f, componentIndex;
|
||||||
@@ -592,6 +594,7 @@ int searchObjectThresholdSomeComponents(const CvLSVMFeaturePyramid *H,
|
|||||||
return LATENT_SVM_SEARCH_OBJECT_FAILED;
|
return LATENT_SVM_SEARCH_OBJECT_FAILED;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
(void)numThreads;
|
||||||
searchObjectThreshold(H, &(filters[componentIndex]), kPartFilters[i],
|
searchObjectThreshold(H, &(filters[componentIndex]), kPartFilters[i],
|
||||||
b[i], maxXBorder, maxYBorder, scoreThreshold,
|
b[i], maxXBorder, maxYBorder, scoreThreshold,
|
||||||
&(pointsArr[i]), &(levelsArr[i]), &(kPointsArr[i]),
|
&(pointsArr[i]), &(levelsArr[i]), &(kPointsArr[i]),
|
||||||
|
Reference in New Issue
Block a user