It does make sense. I've been doing just that and am getting close to what I want to see, but I'd like to be a bit more precise with respect to this variable. Is there some way I can use the real word physical measurements I do know to calculate the correct offsets to apply to TrX and TrZ for the 1unit sphere projection? Specifically I have a secondary camera who's entrance pupil was physically located at -3.6" in the TrX direction and +1.6" in the TrZ direction with a Yaw of 48.9 relative to the primary camera who's corresponding location and yaw are zero. Isn't there some sort of formula I can apply to get an accurate TrX and TrZ value that applies to the 1 Unit Sphere? Perhaps the horizontal view angle of all the cameras (49.95 deg) would be a pertinent variable in such an equation?
On Thursday, April 15, 2021 at 3:55:47 PM UTC-5 [email protected] wrote: > 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/5a5c27d9-4ea2-4ddf-887c-670f3f4b6ecbn%40googlegroups.com.
