On Thu 15-Apr-2021 at 12:11 -0700, Sean McHone wrote:
I'm using Hugin to align images from multiple cameras. Secondary cameras are mounted at a known offset from the primary camera. I'm trying to use TrX, TrY, and TrZ to account for those offsets. Could someone tell me what the units are for those translation variables? Do those translation variables relate directly to the position of the secondary camera's entrance pupil relative to the primary camera's entrance pupil?

Yes, imagine that the output canvas is a projection screen and that each photo is being projected onto this screen from a position in space defined by these TrX, TrY and TrZ coordinates.

The default 0, 0, 0 location is exactly 1 unit distance from this screen. So, if you change TrZ of a photo to -0.5, the 'projector' is moving closer to the screen, and the image in the canvas view is half the size. If you set TrZ to -1 then the projected image is so small that you can't see it (the output canvas viewpoint always stays at 0, 0, 0)

A photo with an angle of view of 90 degrees placed at 0, 0, 0 will project an image onto the screen 2 units wide. A similar photo placed at TrX = 2 will be shifted just far enough that the two projected images sit side-by-side.

Hope this makes sense, it is a bit of a boggle, I suggest you open the Preview window, set output projection to rectilinear with a wide angle of view, and try moving the position of a photo around as described above.

--
Bruno

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/YHioUB/CX7Q/dxoU%40postle.net.

Reply via email to