Skip to content

Commit

Permalink
edge case for intrinsics history
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Jan 9, 2025
1 parent fde8266 commit 2be1e77
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/aliceVision/sfm/pipeline/expanding/LbaPolicyConnexity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ void LbaPolicyConnexity::setupIntrinsics(sfmData::SfMData & sfmData)
for (auto & pi : sfmData.getIntrinsics())
{
const auto & vec = _historyHandler->getFocalHistory(pi.first);
if (vec.size() == 0)
{
pi.second->setState(EEstimatorParameterState::REFINED);
continue;
}

size_t lastGood = std::numeric_limits<size_t>::max();
std::vector<std::pair<size_t, double>> filtered;
Expand Down

0 comments on commit 2be1e77

Please sign in to comment.