Jim Waters wrote:

> I am curious of the algorithm you use to determine the seams. The code is well
> organized but not well documented.

I think it's pretty generous to even call it organized, but thanks ;)

> Does Multiblend look at the masks of the input images, or just the rectangular
> bounding box the image? Once it has been determined that a pixel should come
> from a particular image is there preference given to the adjacent pixels to 
> come
> from the same image?

It looks at the masks of each image, and first builds what I call the
XOR map - showing only those areas where one image's pixels are
present. From there the pixels spread outward and create a distance
map (not a true Euclidean distance transform, but good enough). This
is essentially what Enblend does (but it <i>does</i> use a true EDT),
but seaming more than two images requires a bit of extra care to be
taken.

(actually the XORing and the first stage of the distance transform are
combined, which makes for some tricky-to-read code)

> The two nadir images don't have the exact yrp, but even so, preference has to 
> be given to one
> image over the other.

Ideally yes, but the choice may have to be arbitrary (as it would be
in Enblend, since it would be determined by input order).

On Jan 3, 3:53 pm, Jan Martin <janmar...@diy-streetview.org> wrote:
> David found out that by reducing blending levels by one using  -l -1
> the seam at the 0-360 boundary vanishes.
> Anyone to test -l -1 with your images?

I should point out this isn't a general cure - some users may have to
use lower (more negative) numbers, and this will affect how wide the
blending is across the pano. I've had some ideas on other ways to deal
with the boundary - one of them could give a "perfect" result but will
require a lot of changes and may be inefficient (I love efficiency!)

Is there someone who can change the title of this discussion, as
multiblend is no longer Windows only?

David

-- 
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 hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to