new optimized version

This commit is contained in:
Vladislav Vinogradov
2012-08-14 17:00:57 +04:00
parent 9201db32eb
commit c3fa7974e6
5 changed files with 163 additions and 43 deletions

View File

@@ -1155,7 +1155,7 @@ TEST_P(HoughLines, Accuracy)
const float rho = 1.0f;
const float theta = CV_PI / 180.0f;
const int threshold = 300;
const int threshold = 50;
cv::Mat img = readImage(fileName, cv::IMREAD_GRAYSCALE);
ASSERT_FALSE(img.empty());
@@ -1182,7 +1182,6 @@ INSTANTIATE_TEST_CASE_P(GPU_ImgProc, HoughLines, testing::Combine(
ALL_DEVICES,
testing::Values(std::string("../cv/shared/pic1.png"),
std::string("../cv/shared/pic3.png"),
std::string("../cv/shared/pic4.png"),
std::string("../cv/shared/pic5.png"),
std::string("../cv/shared/pic6.png"))));