added time measurements into opencv_stitching

This commit is contained in:
Alexey Spizhevoy
2011-05-19 05:59:10 +00:00
parent 2dc981aaa8
commit 2cb08d7fde
2 changed files with 29 additions and 6 deletions

View File

@@ -165,8 +165,8 @@ void BundleAdjuster::estimate(const vector<Mat> &images, const vector<ImageFeatu
cvCopy( &matErr, _err );
}
}
LOGLN("BA final error: " << sqrt(err_.dot(err_)));
LOGLN("BA iterations done: " << count);
LOGLN("Bundle adjustment, final error: " << sqrt(err_.dot(err_)));
LOGLN("Bundle adjustment, iteration done: " << count);
// Obtain global motion
for (int i = 0; i < num_images_; ++i)