Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Equirectangular camera support for SFM #1801

Merged
merged 7 commits into from
Jan 10, 2025
Merged

Conversation

servantftechnicolor
Copy link
Contributor

  • Add a camera object which handles panorama images (equirectangular images) as input for SFM.
  • Some cleanup

Copy link
Contributor

@cbentejac cbentejac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/alicevision/AliceVision/blob/develop/src/software/pipeline/main_cameraInit.cpp#L218 needs to be modified so that the equirectangular type is included in the description of the parameter.

src/aliceVision/numeric/algebra.hpp Show resolved Hide resolved
src/aliceVision/numeric/algebra.hpp Show resolved Hide resolved
src/aliceVision/numeric/algebra.hpp Show resolved Hide resolved
src/aliceVision/camera/Equirectangular.cpp Show resolved Hide resolved
@cbentejac cbentejac changed the title Equirectangular camera for SFM Add Equirectangular camera support for SFM Jan 10, 2025
@cbentejac cbentejac merged commit 2b944e2 into develop Jan 10, 2025
5 checks passed
@cbentejac cbentejac deleted the dev/equirectangular branch January 10, 2025 09:15
@@ -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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (vec.empty())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants