MCPcopy Create free account
hub / github.com/colmap/colmap / PrintComparisonSummary

Function PrintComparisonSummary

src/colmap/exe/model.cc:204–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204void PrintComparisonSummary(std::ostream& out,
205 const std::vector<ImageAlignmentError>& errors) {
206 if (errors.empty()) {
207 out << "Cannot extract error statistics from empty input\n";
208 return;
209 }
210 AlignmentErrorSummary summary = AlignmentErrorSummary::Compute(errors);
211 out << "\nRotation errors (degrees)\n";
212 PrintErrorStats(out, summary.rotation_errors_deg);
213 out << "\nProjection center errors\n";
214 PrintErrorStats(out, summary.proj_center_errors);
215}
216
217} // namespace
218

Callers 2

RunModelComparerFunction · 0.85
CompareModelsFunction · 0.85

Calls 2

PrintErrorStatsFunction · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected