Remove all using directives for STL namespace and members
Made all STL usages explicit to be able automatically find all usages of particular class or function.
This commit is contained in:
@@ -300,8 +300,8 @@ void cv::matchTemplate( InputArray _img, InputArray _templ, OutputArray _result,
|
||||
}
|
||||
|
||||
templSum2 /= invArea;
|
||||
templNorm = sqrt(templNorm);
|
||||
templNorm /= sqrt(invArea); // care of accuracy here
|
||||
templNorm = std::sqrt(templNorm);
|
||||
templNorm /= std::sqrt(invArea); // care of accuracy here
|
||||
|
||||
q0 = (double*)sqsum.data;
|
||||
q1 = q0 + templ.cols*cn;
|
||||
@@ -359,7 +359,7 @@ void cv::matchTemplate( InputArray _img, InputArray _templ, OutputArray _result,
|
||||
|
||||
if( isNormed )
|
||||
{
|
||||
t = sqrt(MAX(wndSum2 - wndMean2,0))*templNorm;
|
||||
t = std::sqrt(MAX(wndSum2 - wndMean2,0))*templNorm;
|
||||
if( fabs(num) < t )
|
||||
num /= t;
|
||||
else if( fabs(num) < t*1.125 )
|
||||
|
Reference in New Issue
Block a user