Am Montag, 16. Oktober 2017 22:49:55 UTC+2 schrieb Iacovlev Pavel:
>
> Full frame fisheye ? is that it ? not 100% sure.
>

For a full frame fisheye (but not e.g. for the stereographic fisheye) the 
following equation should be correct from Hugins point of view:

var focalLengthMm = sensorSizeX / (hfov / 180 * Math.PI);

var focalLengthPx = (focalLengthMm / 5.70) * w;


But you are mixing constants and variables, e.q. you are calculating the 
sensorSizeX in the first place and then you are using the constant 5.7 in 
the last equation. 

And when you combine both equation you don't need sensorSizeX at all.


Also I don't know if OpenCV/nvidia is using the same convention.

-- 
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/d31c61d0-32d4-4d35-b119-9fa97b84987c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to