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:
8521ac5
)
Fixed cheatsheet for loop (bug #2701)
author
Daniil Osokin
<daniil.osokin@itseez.com>
Mon, 28 Jan 2013 14:41:59 +0000
(18:41 +0400)
committer
Daniil Osokin
<daniil.osokin@itseez.com>
Mon, 28 Jan 2013 14:41:59 +0000
(18:41 +0400)
doc/opencv_cheatsheet.tex
patch
|
blob
|
history
diff --git
a/doc/opencv_cheatsheet.tex
b/doc/opencv_cheatsheet.tex
index
f00ea04
..
e76bd01
100644
(file)
--- a/
doc/opencv_cheatsheet.tex
+++ b/
doc/opencv_cheatsheet.tex
@@
-215,7
+215,7
@@
\> \texttt{for(int y = 1; y < image.rows-1; y++) \{}\\
\> \> \texttt{Vec3b* prevRow = image.ptr<Vec3b>(y-1);}\\
\> \> \texttt{Vec3b* nextRow = image.ptr<Vec3b>(y+1);}\\
-\> \> \texttt{for(int x = 0;
y
< image.cols; x++)}\\
+\> \> \texttt{for(int x = 0;
x
< image.cols; x++)}\\
\> \> \> \texttt{for(int c = 0; c < 3; c++)}\\
\> \> \> \texttt{ dyImage.at<Vec3b>(y,x)[c] =}\\
\> \> \> \texttt{ saturate\_cast<uchar>(}\\