Home | History | Annotate | Download | only in src

Lines Matching refs:focals

508     std::vector<double> focals;
512 focals.push_back(cameras_[i].focal);
515 std::sort(focals.begin(), focals.end());
516 if (focals.size() % 2 == 1)
517 warped_image_scale_ = static_cast<float>(focals[focals.size() / 2]);
519 warped_image_scale_ = static_cast<float>(focals[focals.size() / 2 - 1] + focals[focals.size() / 2]) * 0.5f;