How do I set the focal length from the command-line?

To make sure that I'm asking the right question, here's the background:

In Hugin, when I load images, I'm offered a dialog allowing me to set 
HFO(v), focal length, and a focal length multiplier.

(I understand that some cameras put this in the EXIF; mine doesn't.  This 
is the camera in question: 
https://docs.arducam.com/Raspberry-Pi-Camera/Native-camera/64MP-OV64A40/)

I know (from the spec sheet) my camera's focal length and FOV, so I choose 
a focal length multiplier which gives the correct results.  This works 
great.

But I want to be able to do this from the command-line.  Right now, my 
process is:

pto_gen -f 86 -o foo.pto

cpfind --multirow  -o foo.pto foo.pto

cpclean -o foo.pto foo.pto

autooptimiser -a -l -s -o foo.pto foo.pto

# unclear if needed

pano_modify -o foo.pto --center --straighten --canvas=AUTO --crop=AUTO 
foo.pto

nona -o outfile- -m TIFF_m foo.pto

This lets me set the FOV but not the focal length.  The result is different 
(and worse) than hugin, and I suspect that the focal length is the 
difference.  

Thanks!

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/7f767312-2958-4b42-9532-a9a7a7bd19ccn%40googlegroups.com.
  • [hugin-ptx] Set... 'David Turner' via hugin and other free panoramic software
    • [hugin-ptx... 'T. Modes' via hugin and other free panoramic software
      • Re: [h... 'David Turner' via hugin and other free panoramic software
        • Re... 'T. Modes' via hugin and other free panoramic software

Reply via email to