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:
b81d1b2
)
Fix histogram calculation in equalizeHist
author
Andrey Kamaev
<andrey.kamaev@itseez.com>
Thu, 10 Jan 2013 10:45:00 +0000
(14:45 +0400)
committer
Andrey Kamaev
<andrey.kamaev@itseez.com>
Thu, 10 Jan 2013 10:48:31 +0000
(14:48 +0400)
issue #2678
modules/imgproc/src/histogram.cpp
patch
|
blob
|
history
diff --git
a/modules/imgproc/src/histogram.cpp
b/modules/imgproc/src/histogram.cpp
index
3f0c3da
..
864b49b
100644
(file)
--- a/
modules/imgproc/src/histogram.cpp
+++ b/
modules/imgproc/src/histogram.cpp
@@
-3023,7
+3023,7
@@
public:
localHistogram[t0]++; localHistogram[t1]++;
}
- for (; x < width; ++x
, ++ptr
)
+ for (; x < width; ++x)
localHistogram[ptr[x]]++;
}