From: <st...@us...> - 2009-08-21 13:33:25
|
Revision: 4257 http://hugin.svn.sourceforge.net/hugin/?rev=4257&view=rev Author: stativ Date: 2009-08-21 13:33:18 +0000 (Fri, 21 Aug 2009) Log Message: ----------- Small change to interface. Modified Paths: -------------- hugin/branches/gsoc2009_deghosting/src/tools/hugin_hdrmerge.cpp Modified: hugin/branches/gsoc2009_deghosting/src/tools/hugin_hdrmerge.cpp =================================================================== --- hugin/branches/gsoc2009_deghosting/src/tools/hugin_hdrmerge.cpp 2009-08-20 22:44:13 UTC (rev 4256) +++ hugin/branches/gsoc2009_deghosting/src/tools/hugin_hdrmerge.cpp 2009-08-21 13:33:18 UTC (rev 4257) @@ -144,6 +144,11 @@ return true; } +bool mergeWeightedAverage(vector<string> inputFiles, FRGBImage & output) { + vector<FImagePtr> weights; + return mergeWeightedAverage(inputFiles, output, weights); +} + static void usage(const char * name) { cerr << name << ": merge overlapping images" << std::endl @@ -247,8 +252,7 @@ cout << "Running simple weighted avg algorithm" << std::endl; } - vector<FImagePtr> weights; - mergeWeightedAverage(inputFiles, output, weights); + mergeWeightedAverage(inputFiles, output); // save output file if (g_verbose > 0) { std::cout << "Writing " << outputFile << std::endl; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |