|
From: Gustavo P. B. <gb...@us...> - 2005-07-03 02:42:00
|
Update of /cvsroot/kimageprocess/kimageprocess/src/plugins/fann In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16977 Modified Files: fann.cpp Log Message: The image is parsed inverted Index: fann.cpp =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/src/plugins/fann/fann.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- fann.cpp 3 Jul 2005 02:18:37 -0000 1.9 +++ fann.cpp 3 Jul 2005 02:41:49 -0000 1.10 @@ -142,11 +142,11 @@ } } level = maxclass * colorStep; - img->setPixel(x++, y, qRgb(level, level, level)); + img->setPixel(x, y++, qRgb(level, level, level)); if (x >= c_img->width()) { - x = 0; - y++; + y = 0; + x++; } i++; } |