PanoTools NG:
Star calibration and reprojection
Steinar Midtskogen steinar@... 2014-Oct-26 19:17:48
Hello,
I have a couple of Vivotek IP8172 IP cameras which have semi-fisheye
lenses (150 degrees diagonally). I'd like to be able to change the
projection. So I've got some video from the cameras shot overnight
which includes the brightest stars, and I wrote a program tracking the
positions of the stars as they moved across the frame so that I now have
a fair amount of pixel positions (about 1500) in the frame and their
corresponding azimuth and altitude location in the sky. Or put another
way, I have about 1500 control points: pixel positions from an image
taken with an unknown lens and their corresponding positions in an
equirectangular frame (using azimuth as x and 90-altitude as y). So far
so good.
How can I use the data to make a .pto file needed for nona to reproject
frames from my cameras?
I made this .pto file:
i w2560 h1920 v115.3 f3 n"frame.jpg"
i w360 h180 f4 v360 n"dummy.jpg"
# specify variables that should be optimized
v v0
v r0
v p0
v a0
v b0
v c0
v d0
v e0
v g0
v t0
# control points
c n0 N1 x468.43 y794.73 X166.154 Y65.766
c n0 N1 x474.67 y795.08 X166.426 Y65.737
c n0 N1 x479.56 y795.81 X166.698 Y65.707
... [and about 1500 more points]
But where do I go from there? I'm not really trying to stitch anything
here, the second frame doesn't really exists and would fully overlap
anyway (if I try to stich in Hugin, it complains about overlapping
frames...).
Let's say I want to change the camera frame "frame.jpg" into an
equirectangular projection.
Thanks!
--
Steinar
------------------------------------
Posted by: Steinar Midtskogen <#removed#>
------------------------------------
--
<*> Wiki: http://wiki.panotools.org
<*> User Guidelines: http://wiki.panotools.org/User_Guidelines
<*> Nabble (Web) http://panotoolsng.586017.n4.nabble.com/
<*> NG Member Map http://www.panomaps.com/ng
<*> Moderators/List Admins: #removed#
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/PanoToolsNG/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/PanoToolsNG/join
(Yahoo! ID required)
<*> To change settings via email:
#removed#
#removed#
<*> To unsubscribe from this group, send an email to:
#removed#
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/