Thanks Bruno!

I am using pto_gen to create the pto project file. I noticed that the order 
in which the images are listed inside the pto file is alphabetic 
(regardless of the order in which I list the images in pto_gen command). I 
see that this alphabetic order is then used in the next steps. 
I want to create a 360 panorama in which the order of the images is known. 
I'm currently using cpfind with the --multirow option which sometimes 
creates bad panoramas (either "upside-down", or "inside-out"). I thought 
that maybe the prealigned will be better since I know the order of the 
images.
The images are taken in "rings". Each ring use the same angle of the camera 
from the z axis and it rotates the camera around the z axis. 
Assuming I can write a script that generates the pto with the right image 
order (under the #image lines part of the file), would that order be used 
if I use the --prealigned option in cpfind? 
Would it then match and create control points for all the pairs in the list 
according to their order? Anything else that I should do?

Thanks,
Amir

On Tuesday, May 12, 2020 at 10:14:48 AM UTC+3, Bruno Postle wrote:
>
> Hi Amir, in general a 'template' is just another PTO project file. When 
> you use it as a template, the image filenames are ignored. You can create a 
> template by saving a Hugin project, creating one in a text editor, or using 
> one of various tools that output PTO files. 
>
> -- 
> Bruno 
>
>
> On 11 May 2020 16:58:14 BST, Amir Shenhav <[email protected] <javascript:>> 
> wrote: 
> > 
> >I am trying to create a 360 panorama by using Hugin with the command line 
> >interface. The order of the images in known and I saw the following in 
> the 
> >documentation regarding the prealinged option: 
> > 
> >"This setting is for finding control points in panorama, in which the 
> rough 
> >positions of the images are already known (e.g. when using a template or 
> >when generating the pto file by a script)" 
> > 
> >I couldn't find any example or better instructions on how to create this 
> >"template". 
>

-- 
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/c13dffb8-cc08-4295-86e0-fe276aa08cd2%40googlegroups.com.

Reply via email to