refactored gpu::GeneralizedHough

This commit is contained in:
Vladislav Vinogradov
2013-04-30 13:59:10 +04:00
parent 4087a45e73
commit ad4d6bed9d
5 changed files with 150 additions and 141 deletions

View File

@@ -286,7 +286,7 @@ PERF_TEST_P(Method_Sz, GeneralizedHough,
const cv::gpu::GpuMat d_dy(dy);
cv::gpu::GpuMat posAndVotes;
cv::Ptr<cv::gpu::GeneralizedHough_GPU> d_hough = cv::gpu::GeneralizedHough_GPU::create(method);
cv::Ptr<cv::gpu::GeneralizedHough> d_hough = cv::gpu::GeneralizedHough::create(method);
if (method & GHT_ROTATION)
{
d_hough->set("maxAngle", 90.0);