Fix IPP version ifdef
This commit is contained in:
parent
8899ec1586
commit
d9013a85f1
@ -466,7 +466,7 @@ cv::Moments cv::moments( InputArray _src, bool binary )
|
|||||||
if( cn > 1 )
|
if( cn > 1 )
|
||||||
CV_Error( CV_StsBadArg, "Invalid image type (must be single-channel)" );
|
CV_Error( CV_StsBadArg, "Invalid image type (must be single-channel)" );
|
||||||
|
|
||||||
#if defined HAVE_IPP && (IPP_VERSION_MAJOR >= 8) && (IPP_VERSION_MINOR >= 1)
|
#if defined HAVE_IPP && (IPP_VERSION_MAJOR * 10 + IPP_VERSION_MINOR >= 81)
|
||||||
if (!binary)
|
if (!binary)
|
||||||
{
|
{
|
||||||
IppiSize roi = {mat.cols, mat.rows};
|
IppiSize roi = {mat.cols, mat.rows};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user