Disabled ippiHoughLine_Region for cv::HoughLines
authorAlexander Karsakov <alexander.karsakov@itseez.com>
Thu, 24 Apr 2014 13:58:20 +0000 (17:58 +0400)
committerAlexander Karsakov <alexander.karsakov@itseez.com>
Thu, 24 Apr 2014 14:00:03 +0000 (18:00 +0400)
modules/imgproc/src/hough.cpp

index 6a60ada..dc98426 100644 (file)
@@ -98,7 +98,7 @@ HoughLinesStandard( const Mat& img, float rho, float theta,
     int numangle = cvRound((max_theta - min_theta) / theta);
     int numrho = cvRound(((width + height) * 2 + 1) / rho);
 
-#if (defined(HAVE_IPP) && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 801)
+#if (0 && defined(HAVE_IPP) && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 801)
     IppiSize srcSize = { width, height };
     IppPointPolar delta = { rho, theta };
     IppPointPolar dstRoi[2] = {{(Ipp32f) -(width + height), (Ipp32f) min_theta},{(Ipp32f) (width + height), (Ipp32f) max_theta}};
@@ -427,7 +427,7 @@ HoughLinesProbabilistic( Mat& image,
     int numangle = cvRound(CV_PI / theta);
     int numrho = cvRound(((width + height) * 2 + 1) / rho);
 
-#if (defined(HAVE_IPP) && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 801 && 0)
+#if (0 && defined(HAVE_IPP) && !defined(HAVE_IPP_ICV_ONLY) && IPP_VERSION_X100 >= 801)
     IppiSize srcSize = { width, height };
     IppPointPolar delta = { rho, theta };
     IppiHoughProbSpec* pSpec;