Hello,
I've finally fixed the bug #2033756 (hugin_hdrmerge: incorrectly
generated weight mask), but there's one thing that really confuses me.
It seems that I'm only one who has been bothered by this bug. If this
bug existed on someone else system, I'm sure that someone would notice
it.
So I'm asking anyone who can test unpatched and optionally patched
hugin_hdrmerge to test it especially on windows and Mac OS X (I've
only Linux installed) and reply to me what result he got after
running:
hugin_hdrmerge -s w test_hdr_000*.exr -o test.exr
on the test files[1].
If resulting *.tiff files created with current hugin_hdrmerge (it
doesn't need to be the latest version, because hugin_hdrmerge haven't
changed for longer time) looks similar to the results in
http://blender6xx.ic.cz/pub/khan_testfiles/results_bad/ then this bug
really exist on other systems and patch can be applied to the trunk.
But if results looks like results in
http://blender6xx.ic.cz/pub/khan_testfiles/results_good/ then there is
something rotten in my computer ;-) as I'm the only one experiencing
this bug.
Patched version should give results similar to the
http://blender6xx.ic.cz/pub/khan_testfiles/results_good/
Patch is attached.
Thanks in advance,
Lukáš "stativ" Jirkovský
[1] http://blender6xx.ic.cz/pub/khan_testfiles/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Index: src/deghosting/khan.cpp
===================================================================
--- src/deghosting/khan.cpp (revision 3602)
+++ src/deghosting/khan.cpp (working copy)
@@ -141,7 +141,7 @@
(ui_mode & UI_EXPORT_INIT_WEIGHTS)) {
//load image
BImagePtr origGray(new BImage(info.size()));
- vigra::importImage(info, destImage(*origGray));
+ vigra::copyImage(srcImageRange(img,color2gray), destImage(*origGray));
FImagePtr weight(new FImage(info.size()));
// calculate initial weights, using mexican hat function