From: <st...@us...> - 2009-08-12 14:18:55
|
Revision: 4200 http://hugin.svn.sourceforge.net/hugin/?rev=4200&view=rev Author: stativ Date: 2009-08-12 14:18:38 +0000 (Wed, 12 Aug 2009) Log Message: ----------- Adding some comments. Modified Paths: -------------- hugin/branches/gsoc2009_deghosting/src/deghosting/khan.cpp hugin/branches/gsoc2009_deghosting/src/deghosting/khan.h Modified: hugin/branches/gsoc2009_deghosting/src/deghosting/khan.cpp =================================================================== --- hugin/branches/gsoc2009_deghosting/src/deghosting/khan.cpp 2009-08-12 14:04:53 UTC (rev 4199) +++ hugin/branches/gsoc2009_deghosting/src/deghosting/khan.cpp 2009-08-12 14:18:38 UTC (rev 4200) @@ -1,16 +1,20 @@ #include "khan.h" #include <vigra/impex.hxx> +// for importImageAlpha, it's not really necessary #include <vigra_ext/impexalpha.hxx> // for EMoR #include <photometric/ResponseTransform.h> - -// neded for zeroNegative() +// neded for zeroNegative(), used in response transformation #include <vigra_ext/ImageTransforms.h> +// panotools format of image, needed for response transformation +#include <panotools/PanoToolsInterface.h> +#ifdef ATAN_KH // neded for atan and abs #include <cmath> +#endif // for GammaFunctor #include <vigra/transformimage.hxx> @@ -18,8 +22,6 @@ // for resampleImage #include <vigra/resizeimage.hxx> -#include <panotools/PanoToolsInterface.h> - // for snprintf #include <cstdio> using std::snprintf; Modified: hugin/branches/gsoc2009_deghosting/src/deghosting/khan.h =================================================================== --- hugin/branches/gsoc2009_deghosting/src/deghosting/khan.h 2009-08-12 14:04:53 UTC (rev 4199) +++ hugin/branches/gsoc2009_deghosting/src/deghosting/khan.h 2009-08-12 14:18:38 UTC (rev 4200) @@ -3,17 +3,15 @@ #define KHAN_H_ #include "deghosting.h" -// for AlgTinyVector +// for AlgTinyVector, NormalizeFunctor and LogarithmFunctor #include "support.h" -#include <vigra/rgbvalue.hxx> - // needed for RGB2Lab #include <vigra/imageinfo.hxx> #include <vigra/transformimage.hxx> #include <vigra/colorconversions.hxx> -// for hat function +// for RGBvalue used in hat function #include <vigra/rgbvalue.hxx> // needed for Kh() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |