Skip to content

Commit

Permalink
change threshold for sfm validity
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Oct 16, 2024
1 parent f784cd3 commit b966d25
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,16 @@ bool ReconstructionEngine_sequentialSfM::process()

exportStatistics(elapsedTime);

return !_sfmData.getPoses().empty();
int nbviews = _sfmData.getViews().size();
int nbposes = _sfmData.getPoses().size();

int minPoses = 1;
if (nbviews > 5)
{
minPoses = 2;
}

return (nbposes >= minPoses);
}

void ReconstructionEngine_sequentialSfM::initializePyramidScoring()
Expand Down

0 comments on commit b966d25

Please sign in to comment.