Ask Your Question

SFM module input parameters

asked 2016-04-12 16:26:32 -0500

Dodo gravatar image

updated 2016-04-12 16:26:57 -0500

Hi, I have just started experimenting with the SFM module, and I had a question, how would we obtain the input parameters, namely the focal length f, and the center of projection coordinates cx and cy?

I understand that the focal length can be obtained after doing a camera calibration in OpenCV, thus getting back focal lengths fx and fy, as well as the optical centres cx and cy in pixel coordinates (what do we do if fx and fy are not equal?). Are these the same that we need to pass on to the SFM functions, as described in the following tutorial? :


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-04-12 16:34:56 -0500

Tetragramm gravatar image

Yes. The camera matrix is indeed what you need If they aren't equal, they're likely close, just take the average. You may also be able to obtain these from a camera data sheet, but a calibration is going to be much more accurate.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-04-12 16:26:32 -0500

Seen: 108 times

Last updated: Apr 12 '16