I also just tried "-m avg_slow" this also core dumped but not
immediately:

2:% hugin_hdrmerge -o hdrmergeOutout_ -v -v -m avg_slow /Volumes/
Images/SmugMugDownloads/20090523/TIF/20090523037.tif /Volumes/Images/
SmugMugDownloads/20090523/TIF/20090523038.tif /Volumes/Images/
SmugMugDownloads/20090523/TIF/20090523039.tif /Volumes/Images/
SmugMugDownloads/20090523/TIF/20090523040.tif /Volumes/Images/
SmugMugDownloads/20090523/TIF/20090523041.tif /Volumes/Images/
SmugMugDownloads/20090523/TIF/20090523042.tif /Volumes/Images/
SmugMugDownloads/20090523/TIF/20090523043.tif /Volumes/Images/
SmugMugDownloads/20090523/TIF/20090523044.tif /Volumes/Images/
SmugMugDownloads/20090523/TIF/20090523045.tif

Running simple weighted avg algorithm
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523037.tif
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523038.tif
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523039.tif
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523040.tif
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523041.tif
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523042.tif
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523043.tif
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523044.tif
Loading image: /Volumes/Images/SmugMugDownloads/20090523/TIF/
20090523045.tif
Calculating weighted average
Writing hdrmergeOutout_
ContractViolation:
Precondition violation!
did not find a matching codec for the given file extension
(/Users/ippei/dev/hugin/hugin-0.7.0/mac/../src/foreign/vigra/
vigra_impex/codecmanager.cxx:271)

caught exception:
Precondition violation!
did not find a matching codec for the given file extension
(/Users/ippei/dev/hugin/hugin-0.7.0/mac/../src/foreign/vigra/
vigra_impex/codecmanager.cxx:271)

[1]    15508 abort (core dumped)  hugin_hdrmerge -o hdrmergeOutout_ -v
-v -m avg_slow

On May 25, 8:19 am, PortlandPano <[email protected]> wrote:
> I tried the below and it just core dumps immediately. I got the same
> results with 8 bit tifs with the "-m avg" option:
>
> hugin_hdrmerge -o hdrmergeOutout_ -v -v -m avg 20090523037.jpg
> 20090523038.jpg 20090523039.jpg 20090523040.jpg 20090523041.jpg
> 20090523042.jpg 20090523043.jpg 20090523044.jpg 20090523045.jpg
>
> caught exception: Cannot read image file "20090523037.jpg". File is
> not an image file.
> [1]    15299 abort (core dumped)  hugin_hdrmerge -o hdrmergeOutout_ -v
> -v -m avg 20090523037.jpg 20090523038.jp
>
> On May 25, 6:19 am, Lukáš Jirkovský <[email protected]> wrote:
>
> > 2009/5/25 Harry van der Wolf <[email protected]>:
>
> > > Hi PortlandPano,
>
> > > You are on Leopard on an Intel. That means that you can use a 64bit build.
> > > Please download and try the official 0.7 version. It is a 64bit version
> > > allowing you to allocate more memory. I have no idea whether that works.
> > > If not, we really need to go bugtracking for this issue.
>
> > > Harry
>
> > > 2009/5/25 PortlandPano <[email protected]>
>
> > >> I am getting the beliow error when running hugin_hdrmerge from the
> > >> command line sing either tif or jpeg as inputs. My guess would be I am
> > >> doing something wrong and would appreciate any help (OS X 10.5.7 2.16
> > >> GHZ intel):
>
> > >> 2:% hugin_hdrmerge -o hdrmergeOutout_ -v -v /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523001.jpg /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523002.jpg /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523003.jpg /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523004.jpg /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523005.jpg /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523006.jpg /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523007.jpg /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523008.jpg /Volumes/Images/
> > >> SmugMugDownloads/20090523/JPEG/20090523009.jpg
>
> > >> Running Khan algorithm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523001.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523001.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523001_gray.pgm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523002.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523002.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523002_gray.pgm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523003.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523003.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523003_gray.pgm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523004.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523004.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523004_gray.pgm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523005.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523005.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523005_gray.pgm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523006.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523006.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523006_gray.pgm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523007.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523007.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523007_gray.pgm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523008.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523008.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523008_gray.pgm
> > >> Loading and preparing /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523009.jpg
> > >> Loading source image: /Volumes/Images/SmugMugDownloads/20090523/JPEG/
> > >> 20090523009.jpg
> > >> Loading luminance image: /Volumes/Images/SmugMugDownloads/20090523/
> > >> JPEG/20090523009_gray.pgm
> > >> Remappin input images
> > >> Clearing gray input images
> > >> Clearing initial weight images
> > >> deghosting (Khan algorithm)
> > >> deghosting...
>
> > >> iteration 0
> > >> processing...
>
> > >> row 0 to 100
> > >> row 100 to 200
> > >> row 200 to 300
> > >> row 300 to 400
> > >> row 400 to 500
> > >> row 500 to 600
> > >> row 600 to 700
> > >> row 700 to 800
> > >> row 800 to 900
> > >> row 900 to 1000
> > >> row 1000 to 1100
> > >> row 1100 to 1200
> > >> row 1200 to 1300
> > >> row 1300 to 1400
> > >> row 1400 to 1500
> > >> row 1500 to 1600
> > >> row 1600 to 1700
> > >> row 1700 to 1800
> > >> row 1800 to 1900
> > >> row 1900 to 2000
> > >> row 2000 to 2100
> > >> row 2100 to 2200
> > >> row 2200 to 2300
> > >> row 2300 to 2400
> > >> row 2400 to 2500
> > >> row 2500 to 2600
> > >> row 2600 to 2700
> > >> row 2700 to 2800
> > >> hugin_hdrmerge(11864) malloc: *** mmap(size=39923712) failed (error
> > >> code=12)
> > >> *** error: can't allocate region
> > >> *** set a breakpoint in malloc_error_break to debug
> > >> caught exception: St9bad_alloc
> > >> [1]    11864 abort (core dumped)  hugin_hdrmerge -o hdrmergeOutout_ -v
> > >> -v
>
> > It has already been reported as bug #1880300 [1]. With such a number
> > of inputs khan could use several gigabytes of memory.
>
> > [1]https://sourceforge.net/tracker/?func=detail&aid=1880300&group_id=775...
>
> > Anyway, PortlandPano If you don't need deghosted images (that's what
> > hugin_hdrmerge does by default) you should specify "-m avg" (without
> > quotes) on the command line which shouldn't use vast amount of memory
> > as khan does.
>
> > Lukáš
--~--~---------~--~----~------------~-------~--~----~
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