@@ -189,9 +189,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
189
189
int buffIdx = 0 ;
190
190
cv::Mat GMc0, GMc1, GMc2, GMc3;
191
191
cv::Vec2f Mc0, Mc1, Mc2, Mc3;
192
- int noIteration = 0 ;
193
- int noReusedIteration = 0 ;
194
- int noSolvedIteration = 0 ;
195
192
for ( j = 0 ; j < criteria.maxCount ; j++ )
196
193
{
197
194
cv::Point2f delta (0 ,0 );
@@ -536,7 +533,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
536
533
{
537
534
nextPts[ptidx] = backUpNextPt;
538
535
}
539
- noIteration++;
540
536
break ;
541
537
}
542
538
@@ -612,13 +608,10 @@ class TrackerInvoker : public cv::ParallelLoopBody
612
608
delta.y = inextPt.y + b - nextPt.y ;
613
609
} // isIn1 != isIn2
614
610
}
615
- if ( hasSolved == false )
616
- noIteration++;
617
611
}
618
612
else
619
613
{
620
614
hasSolved = false ;
621
- noReusedIteration++;
622
615
}
623
616
if ( hasSolved == false )
624
617
{
@@ -635,7 +628,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
635
628
{
636
629
nextPt += delta;
637
630
nextPts[ptidx] = nextPt - halfWin;
638
- noSolvedIteration++;
639
631
break ;
640
632
}
641
633
@@ -832,9 +824,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
832
824
int buffIdx = 0 ;
833
825
cv::Mat GMc0, GMc1, GMc2, GMc3;
834
826
cv::Vec4f Mc0, Mc1, Mc2, Mc3;
835
- int noIteration = 0 ;
836
- int noReusedIteration = 0 ;
837
- int noSolvedIteration = 0 ;
838
827
for ( j = 0 ; j < criteria.maxCount ; j++ )
839
828
{
840
829
cv::Point2f delta (0 ,0 );
@@ -859,7 +848,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
859
848
nextPts[ptidx] = backUpNextPt;
860
849
gainVecs[ptidx] = backUpGain;
861
850
}
862
- noIteration++;
863
851
break ;
864
852
}
865
853
@@ -1287,7 +1275,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
1287
1275
nextPts[ptidx] = backUpNextPt;
1288
1276
gainVecs[ptidx] = backUpGain;
1289
1277
}
1290
- noIteration++;
1291
1278
break ;
1292
1279
}
1293
1280
@@ -1399,13 +1386,10 @@ class TrackerInvoker : public cv::ParallelLoopBody
1399
1386
1400
1387
} // isIn1 != isIn2
1401
1388
}
1402
- if ( hasSolved == false )
1403
- noIteration++;
1404
1389
}
1405
1390
else
1406
1391
{
1407
1392
hasSolved = false ;
1408
- noReusedIteration++;
1409
1393
}
1410
1394
if ( hasSolved == false )
1411
1395
{
@@ -1430,7 +1414,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
1430
1414
nextPt += delta;
1431
1415
nextPts[ptidx] = nextPt - halfWin;
1432
1416
gainVecs[ptidx]= gainVec + deltaGain;
1433
- noSolvedIteration++;
1434
1417
break ;
1435
1418
}
1436
1419
@@ -1998,9 +1981,6 @@ namespace radial {
1998
1981
int j;
1999
1982
cv::Mat GMc0, GMc1, GMc2, GMc3;
2000
1983
cv::Vec4f Mc0, Mc1, Mc2, Mc3;
2001
- int noIteration = 0 ;
2002
- int noReusedIteration = 0 ;
2003
- int noSolvedIteration = 0 ;
2004
1984
for (j = 0 ; j < criteria.maxCount ; j++)
2005
1985
{
2006
1986
cv::Point2f delta (0 , 0 );
@@ -2025,7 +2005,6 @@ namespace radial {
2025
2005
nextPts[ptidx] = backUpNextPt;
2026
2006
gainVecs[ptidx] = backUpGain;
2027
2007
}
2028
- noIteration++;
2029
2008
break ;
2030
2009
}
2031
2010
@@ -2291,7 +2270,6 @@ namespace radial {
2291
2270
nextPts[ptidx] = backUpNextPt;
2292
2271
gainVecs[ptidx] = backUpGain;
2293
2272
}
2294
- noIteration++;
2295
2273
break ;
2296
2274
}
2297
2275
@@ -2403,13 +2381,10 @@ namespace radial {
2403
2381
2404
2382
} // isIn1 != isIn2
2405
2383
}
2406
- if (hasSolved == false )
2407
- noIteration++;
2408
2384
}
2409
2385
else
2410
2386
{
2411
2387
hasSolved = false ;
2412
- noReusedIteration++;
2413
2388
}
2414
2389
if (hasSolved == false )
2415
2390
{
@@ -2434,7 +2409,6 @@ namespace radial {
2434
2409
nextPt += delta;
2435
2410
nextPts[ptidx] = nextPt - halfWin;
2436
2411
gainVecs[ptidx] = gainVec + deltaGain;
2437
- noSolvedIteration++;
2438
2412
break ;
2439
2413
}
2440
2414
0 commit comments