Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 195996
Collapse All | Expand All

(-)hugin-0.6.1/src/Panorama/PTOptimise.cpp (-10 lines)
Lines 36-44 Link Here
36
#include <boost/property_map.hpp>
36
#include <boost/property_map.hpp>
37
#include <boost/graph/graph_utility.hpp>
37
#include <boost/graph/graph_utility.hpp>
38
38
39
#define DEBUG_WRITE_OPTIM_OUTPUT
40
#define DEBUG_WRITE_OPTIM_OUTPUT_FILE "hugin_debug_optim_results.txt"
41
42
using namespace std;
39
using namespace std;
43
using namespace PT;
40
using namespace PT;
44
using namespace PTools;
41
using namespace PTools;
Lines 132-144 void PTools::optimize(Panorama & pano, Link Here
132
			RunLMOptimizer( &opt );
129
			RunLMOptimizer( &opt );
133
			ainf.data		= opt.message;
130
			ainf.data		= opt.message;
134
            // get results from align info.
131
            // get results from align info.
135
#ifdef DEBUG_WRITE_OPTIM_OUTPUT
136
            fullPath path;
137
            StringtoFullPath(&path, DEBUG_WRITE_OPTIM_OUTPUT_FILE );
138
139
		    ainf.data		= opt.message;
140
            WriteResults( script, &path, &ainf, distSquared, 0);
141
#endif
142
            pano.updateVariables(GetAlignInfoVariables(ainf) );
132
            pano.updateVariables(GetAlignInfoVariables(ainf) );
143
            pano.updateCtrlPointErrors( GetAlignInfoCtrlPoints(ainf) );
133
            pano.updateCtrlPointErrors( GetAlignInfoCtrlPoints(ainf) );
144
		}
134
		}

Return to bug 195996