Skip to content

Commit

Permalink
[software] checkerboardCalibration: turn off independent pose flag on…
Browse files Browse the repository at this point in the history
… views before rig calibration
  • Loading branch information
mugulmd committed Sep 14, 2023
1 parent 60c9991 commit 244e0a0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/software/pipeline/main_checkerboardCalibration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,16 @@ bool estimateRigs(sfmData::SfMData& sfmData)
}
}

// Turn off independent pose flag on views
for (auto& pv : sfmData.getViews())
{
auto view = pv.second;
if (view->isPartOfRig())
{
view->setIndependantPose(false);
}
}

// Compute non-linear refinements
sfm::BundleAdjustmentCeres::CeresOptions options;
options.summary = true;
Expand Down

0 comments on commit 244e0a0

Please sign in to comment.