|
|
|
@ -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; |
|
|
|
|