|
From: Gustavo P. B. <gb...@us...> - 2005-07-08 20:28:23
|
Update of /cvsroot/kimageprocess/kimageprocess/src/plugins/mindist In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2201 Modified Files: mindist.cpp mindist.h Log Message: Cleanup Index: mindist.cpp =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/src/plugins/mindist/mindist.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mindist.cpp 3 Jul 2005 01:35:24 -0000 1.1 +++ mindist.cpp 8 Jul 2005 20:28:14 -0000 1.2 @@ -73,10 +73,7 @@ } for (int i=0; i < outputs; ++i) for (int j=0; j < inputs; ++j) - { m_mean[i][j] /= count[i]; - //kdDebug() << "MINDIST: m_mean[" << i << "][" << j << "] = " << m_mean[i][j] << endl; - } } @@ -121,12 +118,10 @@ minClass = j; } } - //kdDebug() << "MINDIST_CLASS: Pixel is of class " << minClass << endl; level = minClass * colorStep; img->setPixel(x, y++, qRgb(level, level, level)); if (y >= c_img->height()) { - kdDebug() << "y = " << y << endl; y = 0; x++; } Index: mindist.h =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/src/plugins/mindist/mindist.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mindist.h 3 Jul 2005 01:35:24 -0000 1.1 +++ mindist.h 8 Jul 2005 20:28:14 -0000 1.2 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004-2005 by * + * Copyright (C) 2004-2005 by * * Gustavo Pichorim Boiko <gus...@kd...> * * Herton Ronaldo Krzesinski <he...@my...> * * * |