← Back to team overview

hugin-devs team mailing list archive

[Bug 1873256] [NEW] Merging only 10 images

 

Public bug reported:

Hi!

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:

-- code --
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
-- eoc --

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 ;)).

Best regards!

** Affects: hugin
     Importance: Undecided
         Status: New

** Description changed:

  Hi!
  
  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:
  
  -- code --
  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
  -- eoc --
  
  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 ;)).
  
  Best regards!

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1873256

Title:
  Merging only 10 images

Status in Hugin:
  New

Bug description:
  Hi!

  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:

  -- code --
  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
  -- eoc --

  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 ;)).

  Best regards!

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1873256/+subscriptions


Follow ups