mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
Merge pull request #8470 from superbort:stitching-estimators
This commit is contained in:
commit
f34b2f7b8d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user