--
You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugi...@googlegroups.com
To unsubscribe from this group, send email to hugin-ptx+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
> If you know the position of the images, you can write a PTstitcher
> script for the stitching, and stitch it with nona (hugin's replacement
> for PTstitcher).
Sadly i don't know the positions. The images are gained by recording a video, walking over a map and then extracting frames from the video in regular intervals. The intervals are chosen so there is always overlap between the images and it is not feasible to capture the images in an edge to edge manner.
So the issue is that, to assemble the images, i need to do some analysis to find overlap points and from those match their positions up. VIPS can't do that, right?
--
With regards,
Christian Walde
> You can optimize only the things you need. You can mark only what you want
> in the "Optimiser" tab by selecting "the Custom parameters below" and then
> selecting the appropriated checkboxes below. Another thing to be done is to
> put a small fov in the lens parameter so that hugin doesn't try do make a
> spherical panorama.
I'm already using a small fov. The custom parameters in the optimizer are fairly confusing because they're pretty unintuitive. Optimizing the XYZ variables of the images seems to only resize them?
> Take a look at this recent topic on doing mosaics:
>
> http://groups.google.com/group/hugin-ptx/browse_thread/thread/2cca964f5abf8f81
I'll try reading through that later and see if it has any hints.
> and also in the hugin tutorial on mending scanned images:
>
> http://hugin.sourceforge.net/tutorials/scans/en.shtml
I followed the tutorial and it gives great results for two images, but for any more than that it fails to actually align the control points on top of each other. Also, creating a new lens for each image is fairly tedious.
> 1. throw a bunch of images into hugin. Choose 'rectlilinear'
> projection and a small fov (like 1 degree, you want to get the whole
> lot in after all)
1.a) Don't go too small, or you'll have trouble actually previewing.
> 2. in the images tab, run cpfind. If you get at least one CP per
> overlapping image pair, go to 4)
2.a) Go through the control points and delete ones that are obviously
wrong.
> 3. if it did not find a control point for some overlapping pairs, you
> have to set one manually.
> 4. In the stitcher tab, set rectilinear as output projection
> 5. now go to the optimizer tab. uncheck EVERYTHING. Then check X and y
> for all but your anchor image. Optimize.
> 6. Now check the result in the quick preview. (It may be quite small,
> so you'll have to adjust the output viewing angles with the sliders).
Move the image around with the move tab and get the viewing angles as
close to the whole thing as possible.
6. a) Go back to 5 and repeat 3-4 times.
7.
> If all went well, you have the desired result and all you have to do
> is center and crop the output, stitch and you're done.
What was tripping me up:
Being a game it does reuse some tiles. There is generally *great* variety and most control points are perfect. However some are false positives. When the optimizer tries to match those up, strange things happen. I guess i can use the "show control point" option in the quick preview to suss those out a bit more easily. Would be nice if they displayed control point numbers.
Additionally: Chosing a very small fov means the optimizer starts out not making a lot of effort. Further runs after narrowing the field of view makes it become a lot more accurage.
A few questions: What does "control point distance" mean?
And: How do i get it to adapt the lightness differences between different images?
> Another question: Would it be possible to increase the comparison size
> for control points to avoid matching tiles?
Answered myself here: Stop using --fullscale
I had way too many control points, so I changed the cpfind parameters to this:
"c:\Program Files (x86)\Hugin\bin\cpfind" -o marp.pto 0003-0148.pto --linearmatch --linearmatchlen 2 --sieve2width 2 --sieve2height 2
The result, with a minimum of control point correction, is this: http://dl.dropbox.com/u/10190786/map.png
Exactly what i wanted. So, especially thanks to kfj! :)
This sounds like solutions mentioned on the thread about stitching
mosaics would be what you want.
--
Gnome Nomad
gnome...@gmail.com
wandering the landscape of god
http://www.cafepress.com/otherend/