Thank you a ton Thomas, with your input I was able to get pretty close to
what I need.

On Tue, Oct 17, 2017 at 6:41 PM, T. Modes <thomas.mo...@gmx.de> wrote:

>
>
> 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 a topic in the
> Google Groups "hugin and other free panoramic software" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/hugin-ptx/ZbrCrgLdNJk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> hugin-ptx+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/hugin-ptx/d31c61d0-32d4-4d35-b119-9fa97b84987c%40googlegroups.com
> <https://groups.google.com/d/msgid/hugin-ptx/d31c61d0-32d4-4d35-b119-9fa97b84987c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAHWp1L_JG3RmTN9zq2J01Xn8qAa8dRLVEQW8XLCE1a1-%2BAMGYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to