From: <st...@us...> - 2009-07-17 13:24:14
|
Revision: 4050 http://hugin.svn.sourceforge.net/hugin/?rev=4050&view=rev Author: stativ Date: 2009-07-17 13:24:12 +0000 (Fri, 17 Jul 2009) Log Message: ----------- Added some code to extract probability Modified Paths: -------------- hugin/branches/gsoc2009_deghosting/src/deghosting/khan.cpp Modified: hugin/branches/gsoc2009_deghosting/src/deghosting/khan.cpp =================================================================== --- hugin/branches/gsoc2009_deghosting/src/deghosting/khan.cpp 2009-07-17 13:22:25 UTC (rev 4049) +++ hugin/branches/gsoc2009_deghosting/src/deghosting/khan.cpp 2009-07-17 13:24:12 UTC (rev 4050) @@ -314,7 +314,10 @@ transformImage(srcImageRange(*(weights[i])), destImage(*(weights[i])), NormalizeFunctor<float>(factor)); // do this only if probabilities are requested if (flags & ADV_ONLYP) { - // TODO + FImagePtr tmpInitWeight; + FLabImagePtr null; + preprocessImage(i, tmpInitWeight, null); + combineTwoImages(srcImageRange(*(weights[i])), srcImage(*tmpInitWeight), destImage(*(weights[i])), Arg1()/Arg2()); } } return weights; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |