Home
last modified time | relevance | path

Searched refs:focals (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/modules/stitching/src/
Dstitcher.cpp508 std::vector<double> focals; in estimateCameraParams() local
512 focals.push_back(cameras_[i].focal); in estimateCameraParams()
515 std::sort(focals.begin(), focals.end()); in estimateCameraParams()
516 if (focals.size() % 2 == 1) in estimateCameraParams()
517 warped_image_scale_ = static_cast<float>(focals[focals.size() / 2]); in estimateCameraParams()
519 …warped_image_scale_ = static_cast<float>(focals[focals.size() / 2 - 1] + focals[focals.size() / 2]… in estimateCameraParams()
Dautocalib.cpp98 std::vector<double> &focals) in estimateFocal() argument
101 focals.resize(num_images); in estimateFocal()
131 focals[i] = median; in estimateFocal()
140 focals[i] = focals_sum / num_images; in estimateFocal()
Dmotion_estimators.cpp141 std::vector<double> focals; in estimate() local
142 estimateFocal(features, pairwise_matches, focals); in estimate()
145 cameras[i].focal = focals[i]; in estimate()
/external/opencv3/samples/cpp/
Dstitching_detailed.cpp548 vector<double> focals; in main() local
552 focals.push_back(cameras[i].focal); in main()
555 sort(focals.begin(), focals.end()); in main()
557 if (focals.size() % 2 == 1) in main()
558 warped_image_scale = static_cast<float>(focals[focals.size() / 2]); in main()
560 …warped_image_scale = static_cast<float>(focals[focals.size() / 2 - 1] + focals[focals.size() / 2])… in main()
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/
Dautocalib.hpp77 std::vector<double> &focals);