[hugin-ptx] Converting Hugin pto lens parameters to OpenCV compatible ones

2017-10-16 Thread Iacovlev Pavel
6 photos are stitched into a panorama. For this I have a working Hugin .pto template file. It stitches well with the Hugin workflow. The pto template needs to be converted to rig_spec.xml for the new NVIDIA VRWorks 360 workflow which expects parameters from a successful OpenCV calibration

[hugin-ptx] Re: Converting Hugin pto lens parameters to OpenCV compatible ones

2017-10-16 Thread Iacovlev Pavel
Thank you for the info. I will try the suggestions from the link you provided, maybe it will be a fit (or at least good enough) for my case also, since I only use the `a` and `c` parameters. Any idea if my method for calculating `focal_pixels` is correct? On Monday, October 16, 2017 at

[hugin-ptx] Re: Converting Hugin pto lens parameters to OpenCV compatible ones

2017-10-16 Thread T. Modes
Am Montag, 16. Oktober 2017 14:38:36 UTC+2 schrieb Iacovlev Pavel: > > My challenge: > > Can someone point me into the right direction to figure out how to > properly calculate/convert `focal_pixels` and the `k1, k2, k3, k4` > parameters ? > > k1 - Most likely corresponds to `c` pto value. In

[hugin-ptx] Re: Converting Hugin pto lens parameters to OpenCV compatible ones

2017-10-16 Thread T. Modes
Am Montag, 16. Oktober 2017 20:38:24 UTC+2 schrieb Iacovlev Pavel: > > Thank you for the info. I will try the suggestions from the link you > provided, maybe it will be a fit (or at least good enough) for my case > also, since I only use the `a` and `c` parameters. > Any idea if my method for

Re: [hugin-ptx] Re: Converting Hugin pto lens parameters to OpenCV compatible ones

2017-10-16 Thread T. Modes
Am Montag, 16. Oktober 2017 22:12:05 UTC+2 schrieb Iacovlev Pavel: > > The projection is equirectangular, I have attached a screenshot of the > project tab from Hugin. > Sorry, but I was not clear enough. I was referring to the lens or input projection. Equirectangular is the output