Home | History | Annotate | Download | only in src

Lines Matching defs:imageMask

401     Mat imageMask		= Mat(hs, ws, CV_8U); //to store the final mask
471 warpAffine(preMask, imageMask, map, imageMask.size(), maskFlags);
478 warpPerspective(preMask, imageMask, map, imageMask.size(), maskFlags);
482 meanStdDev(imageWarped, imgMean, imgStd, imageMask);
483 meanStdDev(templateFloat, tmpMean, tmpStd, imageMask);
485 subtract(imageWarped, imgMean, imageWarped, imageMask);//zero-mean input
487 subtract(templateFloat, tmpMean, templateZM, imageMask);//zero-mean template
489 const double tmpNorm = std::sqrt(countNonZero(imageMask)*(tmpStd.val[0])*(tmpStd.val[0]));
490 const double imgNorm = std::sqrt(countNonZero(imageMask)*(imgStd.val[0])*(imgStd.val[0]));