Commit f34b2f7b authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #8470 from superbort:stitching-estimators

parents 7cc97fd9 b2524f45
......@@ -199,7 +199,7 @@ bool AffineBasedEstimator::estimate(const std::vector<ImageFeatures> &features,
const std::vector<MatchesInfo> &pairwise_matches,
std::vector<CameraParams> &cameras)
{
cameras.resize(features.size());
cameras.assign(features.size(), CameraParams());
const int num_images = static_cast<int>(features.size());
// find maximum spaning tree on pairwise matches
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment