mirror of
https://github.com/opencv/opencv.git
synced 2025-06-10 19:24:07 +08:00
Fix error in LineIterator example code in doc
This commit is contained in:
parent
aee865fec9
commit
83c7dfb6a4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user