@@ -767,7 +767,7 @@ class FarnebackOpticalFlowImpl : public FarnebackOpticalFlow
767
767
{
768
768
if (!gaussianBlurOcl (frames_[i], smoothSize/2 , blurredFrame[i]))
769
769
return false ;
770
- resize (blurredFrame[i], pyrLevel[i], Size (width, height), INTER_LINEAR_EXACT );
770
+ resize (blurredFrame[i], pyrLevel[i], Size (width, height), INTER_LINEAR );
771
771
if (!polynomialExpansionOcl (pyrLevel[i], R[i]))
772
772
return false ;
773
773
}
@@ -1153,7 +1153,7 @@ void FarnebackOpticalFlowImpl::calc(InputArray _prev0, InputArray _next0,
1153
1153
}
1154
1154
else
1155
1155
{
1156
- resize ( prevFlow, flow, Size (width, height), 0 , 0 , INTER_LINEAR);
1156
+ resize ( prevFlow, flow, Size (width, height), 0 , 0 , INTER_LINEAR );
1157
1157
flow *= 1 ./pyrScale_;
1158
1158
}
1159
1159
@@ -1162,7 +1162,7 @@ void FarnebackOpticalFlowImpl::calc(InputArray _prev0, InputArray _next0,
1162
1162
{
1163
1163
img[i]->convertTo (fimg, CV_32F);
1164
1164
GaussianBlur (fimg, fimg, Size (smooth_sz, smooth_sz), sigma, sigma);
1165
- resize ( fimg, I, Size (width, height), INTER_LINEAR);
1165
+ resize ( fimg, I, Size (width, height), INTER_LINEAR );
1166
1166
FarnebackPolyExp ( I, R[i], polyN_, polySigma_ );
1167
1167
}
1168
1168
0 commit comments