Before the rush

Before the rush
by evan-pak

Submit your Photo
Hall of Fame

Please participate in Meta
and help us grow.

Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to stitch images through command line of Hugin as outlined here:

I did the first step to create control points; that is:

autopano-sift-c --projection 0,50 project.pto DSC_1234.JPG DSC_1235.JPG DSC_1236.JPG

But when I write this command:

celeste_standalone -i project.pto -o project.pto

This error comes:

Couldn't open SVM model file celeste.model

Also tried G:/huginbase/hugin-huild/INSTALL/FILES/share/hugin/data/celeste.model

Also for optimizer command, they say HFOV value is invalid. I tried using

autooptimiser -v 50 -a -l -s -m -o optimised.pto project.pto

and still the same error occurred.

What is this error and what should I do to avoid it?

share|improve this question
Hi koder, welcome to the forum. Your question, though related to photography, is actually about coding, so is more suited to the forum at which deals specifically with questions like this. You'll find more people with the relevant expertise who can help you out there. One of the moderators here should be able to migrate your question accordingly. – NickM Jan 22 '12 at 17:35
@NickMiners: The question is pretty specifically about post-processing photos with Hugin, even though its done with a command line. There is not actually any "programming" involved in the question here...just a bunch of command lines. Just because a command line is involved does not mean this is not photographic post processing, and as far as I can tell, this question is entirely on-topic. We have several members here who use hugin regularly, and one of them should be able to answer this. – jrista Jan 22 '12 at 17:44
This isn't about coding, it's just asking how to use command line options in a program. He might get an answer there, but I don't feel it's a programming question at all. – MikeW Jan 22 '12 at 17:45
koder, could you tell us if you're running on a Mac or Windows, and where you have hugin installed? Can you look and tell us the exact path where the file celeste.model is located? – MikeW Jan 22 '12 at 17:47
@MikeW : I am using Windows. I havent installed Hugin. I have just extracted the files from a zip folder on to my desktop. celeste.model is in the directory \hugin\share\hugin\data\ I dint install hugin because when the installed version doesnt have autopano-sift-c.exe in the bin folder. – koder Jan 23 '12 at 7:11

The command line you typed for celeste should work. What I would look into next is:

  • Confirm that the file celeste.model is in the same folder as celeste_standalone.exe
  • Look from what path you are calling it, and possibly adding the hugin\bin folder in the path for your command line 'SET PATH=%PATH%;c:\huginFolder\bin' Having it in the bin saved me from trouble a few times.

As for the HFOV value is invalid, your command line seems ok. Here is one I know works 'autooptimiser.exe -a -o "output.pto" "input.pto"'

Can you add more info, specifically the first few lines of your input PTO file, something like:

p f2 w3000 h1500 v360 n"JPEG q90"
m g1 i0

i w3168 h4752 f0 a0 b-0.01 c0 d0 e0 p0 r0 v180 y0 u10 n"IMG_2415.tif"
i w3168 h4752 f0 a=0 b=0 c=0 d0 e0 p0 r0 v=0 y0 u10 n"IMG_2416.tif"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.