I did not use a tripod. I just tried my best to keep my hands steady
with my cell phone. I've started a new project with just 2 of the
images that I'm having a very hard time lining up. I'm finding that
they were taken at different distances from the paper, so to line
things up one image needs to be stretched to match the other one. Does
Hugin support doing that? If so, which Geometric parameters need to be
adjusted? I see that y,p,r are listed next to "position". When I think
of position I think of x,y,z on a coordinate plan. 
Is there a good reference for what the following terms mean to
Hugin?PositionViewTranslationBarrel
BTW I found a reliable way to fix the preview window, if I press F11 I
can get the preview back when it's disappeared.
On Sun, 2021-12-26 at 15:38 -0800, [email protected] wrote:
> I suspect there are some very wrong control points involved in
> getting all the images on top of each other.
> 
> I'm not convinced more is better.  More increases the chance of
> failing to notice some very bad ones.
> 
> Handwriting on a sheet of paper should eliminate the problem of
> multiple control points in the same photo being significantly
> different distance from the camera.
> 
> Did you take the photos with a tripod and a carefully controlled axis
> of rotation (near the point at which the viewing angle converges)? 
> If so, then the x,y,z aren't really needed.  But for taking a photo
> of a large sheet of paper, I expect you didn't have that controlled
> axis of rotation, so x,y,z are really needed.
> 
> Still sounds like you need to experiment with part of the intended
> panorama in order to find out what is going wrong.
> 
> On Sunday, December 26, 2021 at 6:27:45 PM UTC-5 Jon Schewe wrote:
> > Thanks for the suggestions. 
> > 
> > I tried setting "Geometric" to "Custom Parameters" and then in the
> > Optimizer tab selected x, y, z and barrel (in the lens settings).
> > Then I clicked optimize and all of the images ended up on top of
> > each other. So that didn't work so well.
> > 
> > As far as control points, I have been working under the assumption
> > that more is better. In this case all of my images are hand writing
> > on sheets of paper, so I'm putting all of my control points on
> > corners of characters. Any control points not on characters I've
> > been removing.
> > 
> > Using the 2020 version, the zoom with the mouse in the preview is
> > working reasonably well. Although the preview still disappears on
> > me regularly.
> > 
> > On Sun, 2021-12-26 at 14:32 -0800, [email protected] wrote:
> > > I was really struggling to accomplish anything with Hugin, before
> > > I realized the "Simple" interface is harder to use than the
> > > "expert".  Maybe "Simple" is OK if you did a great job with your
> > > tripod making sure every photo is from the same axis point.  But
> > > I expect you did not.
> > > 
> > > In the photos tab, you need a good choice for "Geometric".  If
> > > you didn't do a great job keeping the axis stable, you need to
> > > include "translation" (x,y, and z).  If you want control points
> > > near the corner of any photo to do more good than harm, I think
> > > you need to include view and Barrel (I'm less clear on that, more
> > > reporting experience with partial understanding of the theory).
> > > 
> > > I never got the preview to be worth the trouble.  It is very hard
> > > to get a properly positioned and zoomed image and then the
> > > preview isn't accurate enough anyway (maybe others can give a
> > > better answer to that aspect).
> > > 
> > > I reviewed control points and improved on the choices made
> > > automatically.  Assuming the "translation" choice was really
> > > needed then between photos that need translation, control points
> > > at multiple distances do more harm than good.  I changed the
> > > selection of control points so they were all on the edges of
> > > objects that were about the same distance from the camera (get
> > > rid of all auto selected control points deep in background).
> > > 
> > > You may want to try experimenting with fewer images to get used
> > > to the tool.  When you want to assemble a lot, I'm still learning
> > > myself what the best approach is.
> > > 
> > > On Sunday, December 26, 2021 at 4:59:44 PM UTC-5 Jon Schewe
> > > wrote:
> > > > I'm piecing together a family tree that I took photos of with
> > > > the camera on my phone. I made sure to have some overlap across
> > > > the images so that I could stitch them together later. Now that
> > > > I'm doing that stitching I'm having a hard time getting a few
> > > > of the images to line up correctly. 80% of them are correct,
> > > > but a few are not. In one case 2 images are offset vertically
> > > > from where they should be. In another case I'm getting
> > > > duplicated data. In both cases I've found all of the
> > > > overlapping images and added numerous control points between
> > > > them. However that doesn't appear to fix things.
> > > > 
> > > > I'm sure this is user error as I'm very new to using Hugin.
> > > > I've read through a few of the tutorials and for the most part
> > > > things just work, but I'm not sure about the proper workflow
> > > > for making these changes.
> > > > Currently I do the following:
> > > > 1. add control points
> > > > 2. click optimize
> > > > 3. stitch
> > > > I then check the result and then repeat
> > > > Should I instead be using align instead of optimize? What's the
> > > > difference between these two operations?
> > > > 
> > > > I have 34 images, should I start with just a couple and build
> > > > up rather than loading all of them at once?
> > > > 
> > > > For the projection. I expect that the lens type should be
> > > > rectlinear. 
> > > > For the output, I'm not sure what is best. Rectlinear doesn't
> > > > appear to handle the wide image. Equirectangular appears
> > > > better. I've also tried cylindrical, which handles the size,
> > > > but curves the lines.
> > > > 
> > > > An oddity I've noticed is that the GL preview turns into a
> > > > blank window for me when making changes. I need to change the
> > > > interface view and then it shows up.
> > > > 
> > > > A minor oddity is that my PNG output files have a PNG offset.
> > > > When opening in Gimp I get prompted for what to do with this.
> > > > If I ignore it, the final image is visible, if I use it the
> > > > image is shifted to one side and much of the image is missing. 
> > > > 
> > > > I'm using Hugin version: 2019.2.0.b690aa0334b5 on Ubuntu Linux.
> > > > I've also tried version 2020.0.0.2f576e5d5b4a installed via
> > > > Flatpak.
> > > > 
> > > > Any and all help is greatly appreciated. If it helps, I can
> > > > post the images and some of the results on my website.
> > > > 
> > > > 
> > > > Jon
> > > > 
> > > > 
> > > 
> > > 

-- 
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/0e7dd585803cf7e730acb750e5227fb3331b1a99.camel%40mtu.net.

Reply via email to