Searched refs:imageMask (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/video/src/ |
D | ecc.cpp | 401 Mat imageMask = Mat(hs, ws, CV_8U); //to store the final mask in findTransformECC() local 471 warpAffine(preMask, imageMask, map, imageMask.size(), maskFlags); in findTransformECC() 478 warpPerspective(preMask, imageMask, map, imageMask.size(), maskFlags); in findTransformECC() 482 meanStdDev(imageWarped, imgMean, imgStd, imageMask); in findTransformECC() 483 meanStdDev(templateFloat, tmpMean, tmpStd, imageMask); in findTransformECC() 485 subtract(imageWarped, imgMean, imageWarped, imageMask);//zero-mean input in findTransformECC() 487 subtract(templateFloat, tmpMean, templateZM, imageMask);//zero-mean template in findTransformECC() 489 const double tmpNorm = std::sqrt(countNonZero(imageMask)*(tmpStd.val[0])*(tmpStd.val[0])); in findTransformECC() 490 const double imgNorm = std::sqrt(countNonZero(imageMask)*(imgStd.val[0])*(imgStd.val[0])); in findTransformECC()
|