From e33f3e8345f04acdfe08b745f167cf17b319516c Mon Sep 17 00:00:00 2001 From: Daniil Osokin Date: Mon, 28 Jan 2013 18:41:59 +0400 Subject: [PATCH] Fixed cheatsheet for loop (bug #2701) --- doc/opencv_cheatsheet.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/opencv_cheatsheet.tex b/doc/opencv_cheatsheet.tex index f00ea04..e76bd01 100644 --- 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(y-1);}\\ \> \> \texttt{Vec3b* nextRow = image.ptr(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(y,x)[c] =}\\ \> \> \> \texttt{ saturate\_cast(}\\ -- 2.7.4