On Fri, Oct 23, 2009 at 07:38:46AM -0400, Yuval Levy wrote:
> > * rerun CP generation using masks (masks being automagicaly applied to
> > the individual photos) to avoid bad CP
>
> it makes sense to *run* CP generation right away the first time using
> masks that maps out good areas / bad areas.
>
> Normally the best areas are those that don't move and are far away from
> the camera, and this does not depend on on pre-alignment - hence my
> above question, why run a CP generator & optimize for preliminary alignment?
Because it allows you to have a preliminary idea about where the
overlaps are.
I think I ran "align image stack" a while ago, and it tries to generate
CPs in equal amounts in 25 sub-areas of the image. This gives a much better
control point spread. Each sub-area is therefore about 400k pixels.
Having a preliminary idea about the layout, you can now say: images 1 and 2
overlap on an area of about 2 megapixels. You can subdivide that into 5 areas
of 400k pixels, and try to find say 5 controlpoints in each. Matching those
will find only control points in the corresponding 400k pixel area in image 2!
Thus the matching phase will be quite quick! It is acceptable if there is
little contrast in a whole area, to have no controlpoints at all. Not to
be preferred, but acceptable.
> Go on making such educated guesses (they are cheap). Then, based on the
> guesses, run a few random CP detections between a couple of likely to be
> adjacent pairs. This will tell you, their relative positions, and
> improve the guesses from wild to likely until the probability is very
> high that the guess is right.
This too would reduce the time needed for CP matching!
My suggestion is to simply match each image with its neighbors.
This is "cheap", and may provide a preliminary layout.
Suppose I shoot a snake patterned multi-row pano as below. Then
image 6 will be next to image 5, and then image 7 will be below
image six. This provides a hint that 8 and 5 might overlap as
well....
1 2 3 4 5 6
... 10 9 8 7
In the case that you shoot bracketing HDR, you'll find that
the stacks line up with very little difference between them, but
still you'll be able to make a "snake" like before!
> Once the guess is right (e.g.: there are 90 images in 3 exposure layers
> and they are arranged 6x5) spread their initial positions.
>
> Optional: pass your guess by the user (visualize it and ask him if it
> makes sense).
>
> Go on generating the CPs, pairwise, per adjacent pictures.
^^^^^^^ overlapping.
Roger.
--
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
** Delftechpark 26 2628 XH Delft, The Netherlands. KVK: 27239233 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement.
Does it sit on the couch all day? Is it unemployed? Please be specific!
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---