Alex Romosan <romo...@sycorax.lbl.gov> writes:

> "T. Modes" <thomas.mo...@gmx.de> writes:
>
>> Am Freitag, 24. Februar 2017 18:00:18 UTC+1 schrieb Alex Romosan:
>>>
>>> that's not the problem. the blended panorama is just fine. the blended 
>>> and fused panorama is fine if i remove the position tag with gimp. this 
>>> is a bug that's been present for a while now. 
>>>
>>
>> So you need to provide more details and at best a *small* example which 
>> shows the issue. The best place for this would be the bug tracker of 
>> enblend-enfuse: https://bugs.launchpad.net/enblend/
>
> soryy, one more thing. i don't think the bug is with enblend/enfuse, the
> bug is with hugin. the position tag in the blended layers is bogus, it's
> set to the position of the first image in each layer which is wrong (i
> did try unchecking 'Copy metadata into final files using ExifTool'  but
> that had no effect). even if the blended layers were cropped the
> position should be set to the position of the top/left most image in the
> layer not the first one. but the blended layers are not cropped so this
> is a moot point.

so the problem is enblend/enfuse copies the exif data from the first
image into the final output if HAVE_EXIV2 is defined. if i comment that
part out:

--- a/src/enblend.h     Sun Feb 12 17:00:19 2017 +0100
+++ b/src/enblend.h     Sat Feb 25 08:41:24 2017 -0800
@@ -569,15 +569,15 @@
             std::cerr << command << ": warning: none of the input images 
contained valid metadata";
         } else {
             try {
-                metadata::named_meta_array::const_iterator
-                    input_meta(metadata::write(OutputFileName,
-                                               valid_named_metadata.begin(),
-                                               valid_named_metadata.end()));
-                if (Verbose >= VERBOSE_METADATA) {
-                    std::cerr <<
-                        command << ": info: attach metadata of input image \"" 
<<
-                        input_meta->filename() << "\" to output image \"" << 
OutputFileName << "\"\n";
-                }
+                //metadata::named_meta_array::const_iterator
+                //    input_meta(metadata::write(OutputFileName,
+                //                               valid_named_metadata.begin(),
+                //                               valid_named_metadata.end()));
+                //if (Verbose >= VERBOSE_METADATA) {
+                //    std::cerr <<
+                //        command << ": info: attach metadata of input image 
\"" <<
+                //        input_meta->filename() << "\" to output image \"" << 
OutputFileName << "\"\n";
+                //}
             }
             catch (Exiv2::Error& e) {
                 std::cerr <<

then i can generate blended fused panorama.

i'm not sure why this (copying the exif data from the first image) is
done in the first place...

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/87efym8bic.fsf%40sycorax.lbl.gov.
For more options, visit https://groups.google.com/d/optout.

Reply via email to