Searched refs:focals (Results 1 – 5 of 5) sorted by relevance
508 std::vector<double> focals; in estimateCameraParams() local512 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()
98 std::vector<double> &focals) in estimateFocal() argument101 focals.resize(num_images); in estimateFocal()131 focals[i] = median; in estimateFocal()140 focals[i] = focals_sum / num_images; in estimateFocal()
141 std::vector<double> focals; in estimate() local142 estimateFocal(features, pairwise_matches, focals); in estimate()145 cameras[i].focal = focals[i]; in estimate()
548 vector<double> focals; in main() local552 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()
77 std::vector<double> &focals);