--
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 hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/9e52d0be-baa7-443c-9acf-f6a77e6b5aa7n%40googlegroups.com.
Is there a good reference for what the following terms mean to Hugin?PositionViewTranslationBarrel
On Mon, 2021-12-27 at 00:20 +0000, Bruno Postle wrote:For your document assembly project, you will need to use all of these, but not all at once - this can confuse the optimiser. I suggest starting with translation, then adding position, then view and finally add barrelThat helps, let me restate to make sure I understand.Position refers to how the camera is rotated relative to the paper. So assuming the center of the camera is always at the center of each image and the distance to the image is the same, this corrects for how the camera may have rotated around a point.
View seems like it would be also covered by the position if using the same camera for all images. Am I correct?
Translation is how the center of the camera has changed relative to the center of the image. Am I correct that x and y are left/right and up/down and z is the distance the camera is from the object?Barrel fixes straight lines being curved.
I did find that telling Hugin to use separate lenses for each of the 2 images helps quite a bit.I stumbled upon this tutorial that suggested using 2 lenses http://hugin.sourceforge.net/tutorials/scans/en.shtml
When I specify recilinear as the output projection I get a warning from Hugin "With a wide field of view, panoramas with rectilinear projection get very stretched towards the edges. For a very wide panorama, try equirectangular projection instead. You could also try Panini projection.".Am I correct this warning doesn't apply because what I'm creating is technically a "mosaic" instead of a "panorama"?
With a small experiment I managed to get into this state by telling Hugin to optimize X, Y, Z only for the images. It ran the optimize and told me that the average distance between all control points was zero. At this point the project appears to be in an unusable state.
X and Y should hold the major values BUT I don't yet understand what units they are in: In the test I just ran, they must be quite big units because a value of 0.1 is big.
" you will need to use all of these, but not all at once - this can confuse the optimiser. "I want to understand that detail. Photos tab: Optimize Geometric: the calculate button:Does it start from zero when you click it or does it start from wherever any previous optimize finished? Your statement, that I want to understand, implies that previous values of its outputs influence it.
In other kinds of software, a typical optimizer can find a local optimum in the parameter space that might be much worse than the global optimum, so the starting point can make a big difference. I don't know whether that is what you mean by "confuse".
all the images are projected is at a Z distance of 1.
Bruno, when hugin loads a number of photos does it base its initial Z value for the output camera on the photo marked as the anchor?And then optimize other Z values to that?
--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 hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/CAJV99Zj8KUb8ezKExwEOa4DNGH1vhnyEFP_ssFoYzyCzSZ4ukg%40mail.gmail.com.
On Monday, December 27, 2021 at 9:56:13 AM UTC-5 bruno...@gmail.com wrote:all the images are projected is at a Z distance of 1.I'm taking that as the definition of the units X, Y and Z are all in. I want to use some math to verify that I understand what that means.I suddenly realize I don't know whether we normally talk about "angle of view" horizontally or diagonally. I'm more comfortable with horizontal.
If I'm doing my trig correctly, the width of the field of view matches its distance when the angle of view is 53.13 degrees. If that was the total angle of view of the resulting mosaic, then the X value of each photo would range from -0.5 though +0.5 based on the fraction of full mosiac width that each component photo is off center.For a narrower angle of view, those X numbers would be smaller (as in the test I mentioned in which 0.1 was a "large" value for X).The range -0.5 to 0.5 would be shifted if the anchor image were off center, and could also be increased or decreased if the yaw were nonzero.For a rough understanding of the scale of X, Y have I got that right?
Bruno … thanks for your quick responses on this forum. It is very much appreciated.1. Am I correct in saying that when hugin optimizes for translation that the canvas always stays at 0,0,1 and then the x,y,z values basically move the camera position of each photo so that the control points line up as best as possible?
2. When hugin optimizes for translation is there one photo that stays at Z=0?
--
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 hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/81dd2308-3a0a-4aaf-aa82-6add529fef36n%40googlegroups.com.
With a small experiment I managed to get into this state by telling Hugin to optimize X, Y, Z only for the images. It ran the optimize and told me that the average distance between all control points was zero. At this point the project appears to be in an unusable state.Maybe attach a PTO project (no need for the images), it may be obvious what the problem is.Attached.
--
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 hugin-ptx+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/265b7090-9719-4225-bc00-c9cb8d1c850bn%40googlegroups.com.
On Mon, 27 Dec 2021 at 15:22, Jon Schewe <jpsc...@mtu.net> wrote:With a small experiment I managed to get into this state by telling Hugin to optimize X, Y, Z only for the images. It ran the optimize and told me that the average distance between all control points was zero. At this point the project appears to be in an unusable state.Maybe attach a PTO project (no need for the images), it may be obvious what the problem is.Attached.I needed to change the output projection from cylindrical to rectilinear, the panorama angle of view to 120 degrees, and the canvas size to a more reasonable 10000 pixels. The angle of view of 69 degrees for the input photos seemed credible.As already noted, for some reason all the photos were assigned to the same stack, so I gave them all a separate stack in the photos tab (I've never seen this problem in a project before).
I deleted all the horizontal and vertical control points, these shouldn't be necessary for a mosaic unless there are a lack of other features to use for alignment. You may want to reintroduce a handful, just to straighten things up a bit.I set optimise -> custom parameters in the photos tab, and then in the optimiser tab optimised just X and Y (except the first anchor image) to get an initial layout, then I added in the Z parameter for all images (except the anchor image) and optimised again. At this point I had a maximum error of about 200 pixels which shows that this initial layout is more or less ok.Then I added in yaw, pitch and roll for all images (I didn't optimise roll for the anchor, otherwise the whole panorama might spin without a horizontal or vertical control point). This got the maximum error down to 120 pixels, so better but not great.Then I optimised the angle of view of your lens, which reduced from 69 degrees to 20 degrees - this is a big difference, if Hugin detected 69 degrees in the first place then this would be a bug.
I deleted some obviously bad control points: when a pair of images has a good spread of control points, but one of them has a much higher error distance, this is a sign that this point needs deleting.
So after all this, the average error is 10 pixels and the maximum error is 45, this may be the best you can get with this panorama.Attached, resulting PTO project.