Skip to content

Commit

Permalink
remove sfmBootstraping bug
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Oct 25, 2024
1 parent ca8300f commit 65132a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/software/pipeline/main_sfmBootstraping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ int aliceVision_main(int argc, char** argv)
double refScore = sfm::ExpansionPolicyLegacy::computeScore(tracksHandler.getAllTracks(), usedTracks, pair.reference, maxref, 5);
double nextScore = sfm::ExpansionPolicyLegacy::computeScore(tracksHandler.getAllTracks(), usedTracks, pair.next, maxnext, 5);

double score = std::min(refScore, nextScore) * std::min(10.0, radianToDegree(angle));
double score = std::min(refScore, nextScore) * std::max(1.0, radianToDegree(angle));

if (score > bestScore)
{
Expand Down

0 comments on commit 65132a9

Please sign in to comment.