Hi,

I'm trying to build a panorama from command line. This is the process that
I'm following:

autopano-sift-c.exe --projection 0,22 output_autopanosiftc.pto snap000.png
snap001.png snap002.png snap003.png snap004.png snap005.png snap006.png
(input pictures actually go from snap000.png - snap019.png)

autooptimiser.exe -o output_autooptimiser.pto -p output_autopanosiftc.pto

ptbatcher.exe -a output_autooptimiser.pto

ptbatcher.exe -b

Everything works fine up until I run PTBatcher. PTBatcher complains about
errors. The specific error is "enblend: excessive overlap detected; remove
one of the images". This is the output from Hugin:

C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 0
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 1
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 2
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 3
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 4
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 5
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 6
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 7
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 8
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 9
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 10
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 11
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 12
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 13
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 14
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 15
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 16
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 17
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 18
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\nona  -z PACKBITS -r ldr -m TIFF_m -o res -i 19
C:\DOCUME~1\sigh88\LOCALS~1\Temp\hug2.tmp
C:\Program\ Files\Hugin\bin\enblend --compression NONE -w -f3000x1500 -o
res.tif res0000.tif res0001.tif res0002.tif res0003.tif res0004.tif
res0005.tif res0006.tif res0007.tif res0008.tif res0009.tif res0010.tif
res0011.tif res0012.tif res0013.tif res0014.tif res0015.tif res0016.tif
res0017.tif res0018.tif res0019.tif
enblend: info: loading next image: res0000.tif 1/1
enblend: info: loading next image: res0001.tif 1/1

enblend: excessive overlap detected; remove one of the images
enblend: info: remove invalid output image "res.tif"
make: *** [res.tif] Error 1


This error goes away if, in Hugin on the "Stitcher" tab, I click "Calculate
Field of View" and "Calculate Optimal Size" and then click "Stitch now!". I
get a panorama with no errors.

So, my questions is how do I resolve the enblend error. Or how do I
calculate the field of view and optimal size through command line.

Thanks,
Joey

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

Reply via email to