Set up camera axis to match Meshroom grid

1,146 views
Skip to first unread message

SteveS

unread,
Sep 18, 2018, 10:31:21 PM9/18/18
to AliceVision
How would I change my camera calibration so that the axis generated when importing images matches Meshroom's grid orientation?

Mine seems to always be on some random angle/orientation relative to the grid.

I haven't had to do anything in regards to my camera settings so far, I just drag & drop the images into Meshroom's image window.

I assuming it has to do with camera settings but if not, how else could you adjust the axis orientation created by Meshroom?

Jan Berger

unread,
Sep 23, 2018, 3:03:30 AM9/23/18
to AliceVision
I change it by importing the model in Maya and have markings on a base beneath the scanned model that tells me the axis and scale. Basically it is crosses on the X and Z axis 5 units away from the origin.

SteveS

unread,
Sep 23, 2018, 7:21:27 AM9/23/18
to AliceVision
Thanks, but I'm not sure you understood me, or vice versa maybe. I'm referring to within Meshroom. When it completes the StructureFromMotion node & your cameras appear in the 3D Viewer, my model is always upside down relative to the grid & locator, so that when I import into external program it is upside down & the origin point (in Blender anyway) is always off to one side as well.

Just wondering if I could change some settings in my camera intrinsics or in one of the other node settings to reverse/flip my camera orientation.

Jan Berger

unread,
Sep 23, 2018, 9:41:57 AM9/23/18
to AliceVision
I think I understood you, just wanted to point out to do it externally if there is no functionality for aligning the mesh/cameras in AliceVision. The only thing that I can think of that would achieve your goal within Meshroom could be the SfMAlignment and/or SfMTransform nodes which you can get by right clicking in the node section. But without some documentation it is hard to know... so it is just a guess, sorry.

matthew...@gmail.com

unread,
Jul 12, 2019, 1:05:00 PM7/12/19
to AliceVision
If I understand your problem, it's the same one that I encountered the first time I ran this program: The subject you are attempting to reconstruct is for some reason placed far from the center of the 3D viewer's origin, and probably upside-down as well. This makes rotating and viewing the reconstruction difficult, as rotating around the "origin" can cause the model to fly off the screen.

If this is your problem, I found the solution: Place the mouse cursor in the middle of the subject in the 3D viewer, and CTRL-Click. This should move the origin to the point under the mouse cursor. To get the subject facing the correct direction relative to the origin, rotate your subject until it is facing directly at you, and, with the mouse cursor in the center of your subject, CTRL-Click again. This should correct the position and orientation of your subject, relative to the viewer's origin.

Hope this helps.
Matt.
Reply all
Reply to author
Forward
0 new messages