View Single Post
Old 16th January 2020, 11:40   #49  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
Quote:
Originally Posted by redfordxx View Post
So... when I get the parameters from PTGui:
FoV, a, b, c

I will defish.dll with a,b,c...

Then I use lens transform with FoV value, it sould be correct?
Sounds good. A few notes:
I dont understand how defish uses fov parameter. It cant be both the angle and control distortion... Well, with a b c the fov is not used at all.
Similarly, defish does not tell you the new fov for resulting image.
So you should crop or scale the result in such way that pixels at positions (0,h/2) and (w,h/2) remain in same place. Otherwise you need to calculate the new fov yourself.

Link to defish for convenience
https://forum.doom9.org/showthread.p...26#post1375626
__________________
VirtualDub2
shekh is offline   Reply With Quote