Alex Romosan <
rom...@sycorax.lbl.gov> writes:
> "T. Modes" <
Thomas...@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...