Permalink
Browse files

pc_align: Enable convergence history

  • Loading branch information...
oleg-alexandrov committed Dec 20, 2013
1 parent 153cf7b commit 8a8785d180dbbda15808e48476695a9d0d7fa5f9
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/asp/Tools/pc_align.cc
@@ -1197,7 +1197,7 @@ int main( int argc, char *argv[] ) {
= PointMatcher<RealT>::Matrix::Identity(DIM + 1, DIM + 1);
if (opt.config_file == ""){
// Read the options from the command line
- icp.setParams(opt.num_iter, opt.outlier_ratio,
+ icp.setParams(opt.output_prefix, opt.num_iter, opt.outlier_ratio,
(2.0*M_PI/360.0)*opt.diff_rotation_err, // convert to radians
opt.diff_translation_err, opt.alignment_method,
false/*opt.verbose*/);
@@ -1287,6 +1287,8 @@ int main( int argc, char *argv[] ) {
save_errors(trans_source, end_errors, opt.output_prefix + "-end_errors.csv",
shift, actual_datum_str, is_lola_rdr_format, mean_longitude);
+ if (opt.verbose) vw_out() << "Writing: " << opt.output_prefix + "-iterationInfo.csv" << std::endl;
+
sw8.stop();
if (opt.verbose) vw_out() << "Saving to disk took "
<< sw8.elapsed_seconds() << " [s]" << endl;

0 comments on commit 8a8785d

Please sign in to comment.