ActiveVisionLab / DFNet

DFNet: Enhance Absolute Pose Regression with Direct Feature Matching (ECCV 2022)
https://dfnet.active.vision
MIT License
94 stars 9 forks source link

The question about internal parameters of the rendering image #16

Closed shenyehui closed 10 months ago

shenyehui commented 10 months ago

Dear author, I have generated some images using your code. How can I obtain the internal parameters (fx, fy, cx, cy) of the generated images? Is fx=fy=f? How can I calculate cx and cy? The hwf of the image generated using my code is [240, 427, 372.0].

chenusc11 commented 10 months ago

Hi, sorry for the late reply. Not sure if I understood your problem correctly. Maybe just assume the center of the image as cx, cy? Yes, you could assume fx=fy=f.

shenyehui commented 10 months ago

Thank you!