projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11a0e3f
)
Enable ocl version of minmaxloc with mask
author
vbystricky
<user@user-pc.(none)>
Thu, 31 Jul 2014 15:12:10 +0000
(19:12 +0400)
committer
vbystricky
<user@user-pc.(none)>
Thu, 31 Jul 2014 15:12:10 +0000
(19:12 +0400)
modules/core/src/stat.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/stat.cpp
b/modules/core/src/stat.cpp
index
76aec13
..
a0fde76
100644
(file)
--- a/
modules/core/src/stat.cpp
+++ b/
modules/core/src/stat.cpp
@@
-1452,7
+1452,7
@@
static bool ocl_minMaxIdx( InputArray _src, double* minVal, double* maxVal, int*
CV_Assert(!haveSrc2 || _src2.type() == type);
- if (depth == CV_32S || depth == CV_32F
|| !_mask.empty()
)
+ if (depth == CV_32S || depth == CV_32F)
return false;
if ((depth == CV_64F || ddepth == CV_64F) && !doubleSupport)