Merge pull request #5698 from lupustr3:pvlasov/ipp9_fixes

This commit is contained in:
Alexander Alekhin 2015-11-23 16:28:03 +00:00
commit c9cba6433e

View File

@ -66,7 +66,9 @@ static bool ippCanny(const Mat& _src, Mat& _dst, float low, float high)
if (ippiFilterSobelHorizGetBufferSize_8u16s_C1R(roi, ippMskSize3x3, &size1) < 0)
return false;
#else
if(ippiFilterSobelGetBufferSize(roi, ippMskSize3x3, ippNormL2, ipp8u, ipp16s, 1, &size) < 0)
if (ippiFilterSobelNegVertBorderGetBufferSize(roi, ippMskSize3x3, ipp8u, ipp16s, 1, &size) < 0)
return false;
if (ippiFilterSobelHorizBorderGetBufferSize(roi, ippMskSize3x3, ipp8u, ipp16s, 1, &size1) < 0)
return false;
#endif