I suspect Monkey was right - if that hack limits those levels from being
blended at all, it's pretty useless. I guess that would result in all finer
details being lost and only the lower frequency components being visible in
the image? Editing the masks by hand works but it becomes a lot of work for
more than a couple of images. The ideal solution would be if Enblend
somehow could determine when this treatment is called for and apply it
selectively along certain seams. The criteria in example image 1 could be:
when one image is more detailed than the other, turn this feature on for
that seam. Example 2 presents a greater challenge as both images have about
the same level of fine detail. Perhaps a straight per-pixel image
comparison taking spatial placement in consideration would do it, with a
threshold?:
foreach pixel in area of interest {
match += sqrt ((image1.red - image2.red)^2 + (image1.red - image2.red)^2 +
(image1.red - image2.red)^2)
if (image1.pixel != black) nonblacks1++;
if (image2.pixel != black) nonblacks2++;
}
avgblacks=(nonblacks1+nonblacks2)/2;
match=match/(avgblacks*441.672943); // Max vector length: 441.672943 =
sqrt(255*255 + 255*255 + 255*255 = 195075)
if (match > threshold) { turn feature on }
(That's how I compare images in my own utility PicStack that identifies and
merges similar images. It's somewhat superceded by Enfuse though...)
--
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/4a3101a1-c4a7-4e62-aabf-1ef900c626cf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.