Sorry for message one after another, but it seems that adding "INTERNAL" 
blender works around it for me:
pano_modify --canvas=AUTO --crop=AUTO --blender=INTERNAL -o 
6.pano_modify.pto 5.autooptimiser.pto

W dniu czwartek, 16 kwietnia 2020 23:54:39 UTC+2 użytkownik San Zamoyski 
napisał:
>
> I've added to 6th pto --fine-mask by hand and it works now, but only for 
> the first 10 images.
>
> Thanks Bruno for useful suggestion!
> I've opened project in Hugin 5th and 6th pto - both look very similar.
> This showed me that some parts of image are not stitched all right. 
>
> Anyway 5th pto generates complete image but distorted and with black 
> something in the middle of the image.
> 6th gives same effect as cli - only 10 images are stitched. But cropped 
> and stitched correctly.
>
> So, I believe, there is something wrong with pano_modify command.
>
> Best regards!
>
>
> W dniu czwartek, 16 kwietnia 2020 23:21:28 UTC+2 użytkownik Bruno Postle 
> napisał:
>>
>> The error suggests that the images haven't aligned. Have you been opening 
>> the intermediate PTO project files in Hugin to see if the various steps are 
>> doing what you expect? Does 6.pano_modify.pto look reasonable in the Hugin 
>> Preview window? 
>>
>> -- 
>> Bruno 
>>
>>
>> On 16 April 2020 21:55:10 BST, San Zamoyski wrote: 
>> > 
>> >I have multiple images of size 1024x1024 (in test case 82), they are 
>> >overlapping each side-by-side for about 50%. I used basic example from 
>> >
>> http://hugin.sourceforge.net/docs/manual/Panorama_scripting_in_a_nutshell.html
>>  
>> to 
>> >create script: 
>> > 
>> >pto_gen -f 10 -o 1.pto_gen.pto *.png 
>> >cpfind -o 2.cpfind.pto --linearmatch --linearmatchlen 1 1.pto_gen.pto 
>> >cpclean -o 3.cpclean.pto 2.cpfind.pto 
>> >linefind -o 4.linefind.pto 3.cpclean.pto 
>> >autooptimiser -a -m -l -s -o 5.autooptimiser.pto 4.linefind.pto 
>> >pano_modify --canvas=AUTO --crop=AUTO -o 6.pano_modify.pto 
>> 5.autooptimiser.pto 
>> >hugin_executor --stitching --prefix=prefix 6.pano_modify.pto 
>> > 
>> >But the file is only partially merged. Reading output I've found I am 
>> >dealing with common bug: 
>> >
>> http://wiki.panotools.org/Hugin_FAQ#Enblend_error:_Mask_is_entirely_black.2C_but_white_image_was_not_identified_as_redundant
>>  
>> >But I have no idea, where should I add --fine-mask or 
>> >--no-optimaisation. 
>> >Also, I'm using enblend v4.2, while FAQ states that it will be fixed in 
>> > 
>> >v4.0 ;)). 
>>
>>

-- 
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/c0f3493e-9dfb-4fe6-a9ba-5ac31d0f5941%40googlegroups.com.

Reply via email to