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:
6944c0d
)
Fixed bug in checkRange - integer Mats were always in range
author
Andrey Kamaev
<no@email>
Thu, 4 Aug 2011 06:17:23 +0000
(06:17 +0000)
committer
Andrey Kamaev
<no@email>
Thu, 4 Aug 2011 06:17:23 +0000
(06:17 +0000)
modules/core/src/mathfuncs.cpp
patch
|
blob
|
history
diff --git
a/modules/core/src/mathfuncs.cpp
b/modules/core/src/mathfuncs.cpp
index
83970fa
..
88056e0
100644
(file)
--- a/
modules/core/src/mathfuncs.cpp
+++ b/
modules/core/src/mathfuncs.cpp
@@
-1990,8
+1990,8
@@
bool checkRange(InputArray _src, bool quiet, Point* pt,
if( depth < CV_32F )
{
- double m = 0, M = 0
, badValue = 0
;
- Point mp, MP
, badPt(-1,-1)
;
+ double m = 0, M = 0;
+ Point mp, MP;
minMaxLoc(src.reshape(1,0), &m, &M, &mp, &MP);
if( M >= maxVal )
{