projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee865f
)
Fix error in LineIterator example code in doc
author
Namgoo Lee
<lee.namgoo@sualab.com>
Wed, 5 Dec 2018 02:22:23 +0000
(11:22 +0900)
committer
Namgoo Lee
<lee.namgoo@sualab.com>
Wed, 5 Dec 2018 02:31:19 +0000
(11:31 +0900)
modules/imgproc/include/opencv2/imgproc.hpp
patch
|
blob
|
history
diff --git
a/modules/imgproc/include/opencv2/imgproc.hpp
b/modules/imgproc/include/opencv2/imgproc.hpp
index
d60343a
..
14a63f3
100644
(file)
--- a/
modules/imgproc/include/opencv2/imgproc.hpp
+++ b/
modules/imgproc/include/opencv2/imgproc.hpp
@@
-4819,7
+4819,7
@@
LineIterator it2 = it;
vector<Vec3b> buf(it.count);
for(int i = 0; i < it.count; i++, ++it)
- buf[i] = *(const Vec3b)*it;
+ buf[i] = *(const Vec3b
*
)*it;
// alternative way of iterating through the line
for(int i = 0; i < it2.count; i++, ++it2)