mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -550,7 +550,7 @@ double cv::findTransformECC(InputArray templateImage,
|
||||
|
||||
const double correlation = templateZM.dot(imageWarped);
|
||||
|
||||
// calculate enhanced correlation coefficiont (ECC)->rho
|
||||
// calculate enhanced correlation coefficient (ECC)->rho
|
||||
last_rho = rho;
|
||||
rho = correlation/(imgNorm*tmpNorm);
|
||||
if (cvIsNaN(rho)) {
|
||||
|
||||
@@ -1281,7 +1281,7 @@ void SparsePyrLKOpticalFlowImpl::calc( InputArray _prevImg, InputArray _nextImg,
|
||||
levels1 /= 2;
|
||||
}
|
||||
|
||||
// ensure that pyramid has reqired padding
|
||||
// ensure that pyramid has required padding
|
||||
if(levels1 > 0)
|
||||
{
|
||||
Size fullSize;
|
||||
@@ -1309,7 +1309,7 @@ void SparsePyrLKOpticalFlowImpl::calc( InputArray _prevImg, InputArray _nextImg,
|
||||
levels2 /= 2;
|
||||
}
|
||||
|
||||
// ensure that pyramid has reqired padding
|
||||
// ensure that pyramid has required padding
|
||||
if(levels2 > 0)
|
||||
{
|
||||
Size fullSize;
|
||||
|
||||
Reference in New Issue
Block a user