Hi Alister,

Am Mittwoch, 28. Oktober 2020 03:51:26 UTC+1 schrieb [email protected]:
>
>
> I am running nona in a script because I have 100 images to process.
> My question is.... can I use nona to line by line in a script 
>  roll by $roll1
>  pitch by $pitch1 (which takes it out of the field of view)
> roll by $roll2 (rotation in polar space coords)
> pitch by -1*$pitch1 (brings it back)
> roll by -1*$roll1 to make it near horizontal
>      which is programatically simpler because all the angles are 
> determined just before the rotations. But I don't see a method where the 
> image is held in memory waiting for the next nona command, and I can't see 
> saving to an image on disk then reopening it. 
>
> OR do I need to suck it up and figure out the code for matrix 
> multiplication to feed a single nona line with final yaw pitch roll values?
>
> Nona reads all positions from the pto file given. It can not modify the 
content of the pto file (and therefore can not change the angles).
For modifying the angle there are other command tools
pano_modify --rotate=yaw,pitch,roll .. for modifying the position of the 
output panorama (if you want several rotations you have to call it several 
times) and
pto_var --set=p=val+pitch1 .. for modifying the positions of the input 
images (here you can add several changes in one line)

Thomas

-- 
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/186b9426-04bd-4ba0-b391-6fcd975009d5o%40googlegroups.com.

Reply via email to