projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d154c9
)
minor changes in opencv_stitching
author
Alexey Spizhevoy
<no@email>
Tue, 17 May 2011 13:48:27 +0000
(13:48 +0000)
committer
Alexey Spizhevoy
<no@email>
Tue, 17 May 2011 13:48:27 +0000
(13:48 +0000)
modules/stitching/motion_estimators.cpp
patch
|
blob
|
history
diff --git
a/modules/stitching/motion_estimators.cpp
b/modules/stitching/motion_estimators.cpp
index
ca575d8
..
08be457
100644
(file)
--- a/
modules/stitching/motion_estimators.cpp
+++ b/
modules/stitching/motion_estimators.cpp
@@
-102,7
+102,7
@@
void HomographyBasedEstimator::estimate(const vector<Mat> &images, const vector<
for (int i = 0; i < num_images; ++i)
is_focals_estimated_ = is_focals_estimated_ && is_focal_estimated[i];
- // Find focal median
s and use them
as true focal length
+ // Find focal median
and use it
as true focal length
nth_element(focals.begin(), focals.end(), focals.begin() + focals.size() / 2);
cameras.resize(num_images);
for (int i = 0; i < num_images; ++i)