Home | History | Annotate | Download | only in cpp

Lines Matching refs:focals

548     vector<double> focals;
552 focals.push_back(cameras[i].focal);
555 sort(focals.begin(), focals.end());
557 if (focals.size() % 2 == 1)
558 warped_image_scale = static_cast<float>(focals[focals.size() / 2]);
560 warped_image_scale = static_cast<float>(focals[focals.size() / 2 - 1] + focals[focals.size() / 2]) * 0.5f;