From: Namgoo Lee Date: Wed, 5 Dec 2018 02:22:23 +0000 (+0900) Subject: Fix error in LineIterator example code in doc X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1^2~384^2~5^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83c7dfb6a46fd7568b34c722fab503d1dc24ebeb;p=platform%2Fupstream%2Fopencv.git Fix error in LineIterator example code in doc --- diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index d60343a..14a63f3 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -4819,7 +4819,7 @@ LineIterator it2 = it; vector 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)