Fix windows build warnings

This commit is contained in:
Andrey Kamaev
2012-09-17 00:42:34 +04:00
parent 089de14ed7
commit e73089bdb5
5 changed files with 10 additions and 10 deletions

View File

@@ -1739,7 +1739,7 @@ PERF_TEST_P(Method_Sz, ImgProc_GeneralizedHough, Combine(
for (int i = 0; i < objCount; ++i)
{
double scale = rng.uniform(0.7, 1.3);
bool rotate = rng.uniform(0, 2);
bool rotate = 1 == rng.uniform(0, 2);
cv::Mat obj;
cv::resize(templ, obj, cv::Size(), scale, scale);