I often run into out-of-memory problems with Hugin.  Most likely, your 
output image (1.6 Gigapixels) is simply too big.  I work around this by 
reducing the pixel size of the images I am stitching together.  I'd try 
shrinking your input images to 75% of their horizontal/vertical pixel 
sizes.  This will reduce your 1.6 Gigapixel output image to less than 1 
Gigapixels.  If that doesn't work, try reducing them more.  Wouldn't it be 
great if Hugin had an option to do this automatically?  It probably goes 
without saying, but be sure to leave your originals alone and make 
reduced-size copies.  This also probably goes without saying, but it is the 
pixel count of your input images, not the jpg file size (3.6 MB) that 
matters.  So, for example, it would not help at all to shrink your jpg 
files by increasing the compression.

Sometimes when I run out of memory, simply rebooting my Windows PC allows 
the stitch to complete.  I don't know if the Linux version is as 
susceptible to memory fragmentation as the Windows version, but you might 
try that first if you haven't already.

Good luck!
- Ken Fowkes

On Tuesday, August 21, 2012 4:42:52 AM UTC-7, AB wrote:
>
> Hi,
>
> I installed hugin 2011.4.0+dfsg-5, but when I try to generate the panorama 
> by stitching 11 jpgs of 3.6MB each I first get a warning that the resulting 
> image would be 1.6 Gigapixel big, then I get the following error in the log 
> file:
>
>
> ===========================================================================
> ***************  Panorama makefile generated by Hugin       ***************
> ===========================================================================
> System information
> ===========================================================================
> Operating system: GNU/Linux
> Release: 3.2.0-3-686-pae
> Kernel version: #1 SMP Thu Jun 28 08:56:46 UTC 2012
> Machine: i686
> Disc usage
> Dateisystem           Size  Used Avail Use% Eingehcaught exception: 
> std::bad_alloc
> make: *** [IMG_2306.CR2-IMG_2316.CR20000.tif] Fehler 1
>
> I assume bad_alloc is about memory problems? Any clue how to generate the 
> panorama nevertheless?
>
> Cheers
> Andre
>
>

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