@@ -187,7 +187,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
187
187
cv::Size _winSize = winSize;
188
188
float MEstimatorScale = 1 ;
189
189
int buffIdx = 0 ;
190
- float c[8 ];
191
190
cv::Mat GMc0, GMc1, GMc2, GMc3;
192
191
cv::Vec2f Mc0, Mc1, Mc2, Mc3;
193
192
int noIteration = 0 ;
@@ -572,6 +571,7 @@ class TrackerInvoker : public cv::ParallelLoopBody
572
571
Mc3[0 ] = _b0[3 ];
573
572
Mc3[1 ] = _b1[3 ];
574
573
574
+ float c[8 ] = {};
575
575
c[0 ] = -Mc0[0 ];
576
576
c[1 ] = -Mc1[0 ];
577
577
c[2 ] = -Mc2[0 ];
@@ -830,7 +830,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
830
830
int j;
831
831
float MEstimatorScale = 1 ;
832
832
int buffIdx = 0 ;
833
- float c[8 ];
834
833
cv::Mat GMc0, GMc1, GMc2, GMc3;
835
834
cv::Vec4f Mc0, Mc1, Mc2, Mc3;
836
835
int noIteration = 0 ;
@@ -1355,6 +1354,7 @@ class TrackerInvoker : public cv::ParallelLoopBody
1355
1354
Mc3[3 ] = -_b3[3 ];
1356
1355
1357
1356
//
1357
+ float c[8 ] = {};
1358
1358
c[0 ] = -Mc0[0 ];
1359
1359
c[1 ] = -Mc1[0 ];
1360
1360
c[2 ] = -Mc2[0 ];
@@ -1620,7 +1620,6 @@ class TrackerInvoker : public cv::ParallelLoopBody
1620
1620
nextPt += halfWin;
1621
1621
Point2f prevDelta (0 ,0 );
1622
1622
1623
- float c[8 ];
1624
1623
for ( j = 0 ; j < criteria.maxCount ; j++ )
1625
1624
{
1626
1625
cv::Point2f delta;
@@ -1629,6 +1628,7 @@ class TrackerInvoker : public cv::ParallelLoopBody
1629
1628
b = nextPt.y - cvFloor (nextPt.y );
1630
1629
float ab = a * b;
1631
1630
1631
+ float c[8 ] = {};
1632
1632
1633
1633
if ( (inextPt.x != cvFloor (nextPt.x ) || inextPt.y != cvFloor (nextPt.y ) || j == 0 ))
1634
1634
{
@@ -1996,7 +1996,6 @@ namespace radial {
1996
1996
cv::Point2f backUpGain = gainVec;
1997
1997
cv::Size _winSize = winSize;
1998
1998
int j;
1999
- float c[8 ];
2000
1999
cv::Mat GMc0, GMc1, GMc2, GMc3;
2001
2000
cv::Vec4f Mc0, Mc1, Mc2, Mc3;
2002
2001
int noIteration = 0 ;
@@ -2359,6 +2358,7 @@ namespace radial {
2359
2358
Mc3[3 ] = -_b3[3 ];
2360
2359
2361
2360
//
2361
+ float c[8 ] = {};
2362
2362
c[0 ] = -Mc0[0 ];
2363
2363
c[1 ] = -Mc1[0 ];
2364
2364
c[2 ] = -Mc2[0 ];
0 commit comments