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

Description of terms within file format #12

Open
skinkie opened this issue May 26, 2020 · 4 comments
Open

Description of terms within file format #12

skinkie opened this issue May 26, 2020 · 4 comments

Comments

@skinkie
Copy link

skinkie commented May 26, 2020

As developer/user I am currently reviewing the .sfm fileformat. I want to know what for example an intrinsicId is. OpenMVG is obviously a good place to start https://readthedocs.org/projects/openmvg/

@natowi
Copy link
Member

natowi commented May 26, 2020

Yes, I have some notes on the sfm format.

intrinsicId is used for images that share the same camera intrinsics.

Related and needs to be added to the docs, too:
alicevision/Meshroom#683

and

https://gist.github.com/natowi/ad9ce6d9f912e089bba9b69ec91d7115

@skinkie
Copy link
Author

skinkie commented May 26, 2020

I was very surprised to see 2 intriniscs from the same smartphone camera. But I think this is the difference between focus macro vs infinity.

@natowi
Copy link
Member

natowi commented May 26, 2020

Yes. We can not use the same camera intrinsics for a different focus

@simogasp
Copy link
Member

simogasp commented May 26, 2020

More generally, the sfm file is a mapping of the SfmData structure into a json format, normally the same name for the fields is preserved
https://github.com/alicevision/AliceVision/blob/develop/src/aliceVision/sfmData/SfMData.hpp
https://github.com/alicevision/AliceVision/blob/develop/src/aliceVision/sfmData/View.hpp

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

No branches or pull requests

3 participants