mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
Enable ocl version of minmaxloc with mask
This commit is contained in:
parent
11a0e3ff78
commit
b48e487d53
@ -1452,7 +1452,7 @@ static bool ocl_minMaxIdx( InputArray _src, double* minVal, double* maxVal, int*
|
|||||||
|
|
||||||
CV_Assert(!haveSrc2 || _src2.type() == type);
|
CV_Assert(!haveSrc2 || _src2.type() == type);
|
||||||
|
|
||||||
if (depth == CV_32S || depth == CV_32F || !_mask.empty())
|
if (depth == CV_32S || depth == CV_32F)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ((depth == CV_64F || ddepth == CV_64F) && !doubleSupport)
|
if ((depth == CV_64F || ddepth == CV_64F) && !doubleSupport)
|
||||||
|
Loading…
Reference in New Issue
Block a user