forked from pool/hugin
27 lines
843 B
Diff
27 lines
843 B
Diff
--- src/Panorama/PTOptimise.cpp
|
|
+++ src/Panorama/PTOptimise.cpp
|
|
@@ -36,9 +36,6 @@
|
|
#include <boost/property_map.hpp>
|
|
#include <boost/graph/graph_utility.hpp>
|
|
|
|
-#define DEBUG_WRITE_OPTIM_OUTPUT
|
|
-#define DEBUG_WRITE_OPTIM_OUTPUT_FILE "hugin_debug_optim_results.txt"
|
|
-
|
|
using namespace std;
|
|
using namespace PT;
|
|
using namespace PTools;
|
|
@@ -132,13 +129,6 @@
|
|
RunLMOptimizer( &opt );
|
|
ainf.data = opt.message;
|
|
// get results from align info.
|
|
-#ifdef DEBUG_WRITE_OPTIM_OUTPUT
|
|
- fullPath path;
|
|
- StringtoFullPath(&path, DEBUG_WRITE_OPTIM_OUTPUT_FILE );
|
|
-
|
|
- ainf.data = opt.message;
|
|
- WriteResults( script, &path, &ainf, distSquared, 0);
|
|
-#endif
|
|
pano.updateVariables(GetAlignInfoVariables(ainf) );
|
|
pano.updateCtrlPointErrors( GetAlignInfoCtrlPoints(ainf) );
|
|
}
|