Hi everyone, I have
manually succeeded in "tracking" stars in the sky when the originals were taken with a stationary camera-on-tripod, by using a series of Yaw Pitch Roll transformations using the Hugin interface. Hugin is really important since it handles barrel distortion in wide angle lenses that astronomy stacking software can't.
I am aware that any series of rotations can be transformed into a single 3-axis rotation using matrices, though I have never actually done this. I have successfully used nona in a script to reproject dual fisheye on a (tilted) equatorial platform into zenith up VR360 images., (with thanks of course to Thomas!), and now that looks uncomplicated.
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?
the value roll2 changes with each image (rotation of the earth!) so I can't just do one manually then use that pto to run through the other 100 images. I am not concerned about computational efficiency, I can let the computer run when I am sleeping.
I appreciate your thoughts! Thanks,
Alister.